balanced 0.7.5 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -1
  3. data/.rbenv-version +1 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +1 -0
  6. data/balanced.gemspec +2 -2
  7. data/examples/bank_account_debits.rb +2 -1
  8. data/examples/customers.rb +8 -4
  9. data/examples/events_and_callbacks.rb +2 -1
  10. data/examples/examples.rb +6 -5
  11. data/examples/exception_handling.rb +2 -1
  12. data/lib/balanced/client.rb +3 -3
  13. data/lib/balanced/resources/account.rb +5 -3
  14. data/lib/balanced/resources/card.rb +3 -1
  15. data/lib/balanced/resources/credit.rb +12 -13
  16. data/lib/balanced/resources/customer.rb +1 -1
  17. data/lib/balanced/resources/debit.rb +1 -1
  18. data/lib/balanced/resources/resource.rb +83 -93
  19. data/lib/balanced/utils.rb +13 -4
  20. data/lib/balanced/version.rb +1 -1
  21. data/scenario.cache +299 -380
  22. data/scenarios/account_add_card/ruby.mako +3 -3
  23. data/scenarios/account_capture_hold/request.rb +1 -1
  24. data/scenarios/account_capture_hold/ruby.mako +1 -1
  25. data/scenarios/account_create/ruby.mako +1 -1
  26. data/scenarios/account_create_buyer/ruby.mako +2 -2
  27. data/scenarios/account_create_debit/request.rb +1 -1
  28. data/scenarios/account_create_debit/ruby.mako +1 -1
  29. data/scenarios/account_create_hold/request.rb +1 -1
  30. data/scenarios/account_create_hold/ruby.mako +1 -1
  31. data/scenarios/account_create_merchant/ruby.mako +3 -3
  32. data/scenarios/account_underwrite_business/ruby.mako +1 -1
  33. data/scenarios/account_underwrite_person/request.rb +1 -1
  34. data/scenarios/account_underwrite_person/ruby.mako +7 -7
  35. data/scenarios/bank_account_create/request.rb +1 -1
  36. data/scenarios/bank_account_create/ruby.mako +5 -5
  37. data/scenarios/bank_account_delete/ruby.mako +2 -2
  38. data/scenarios/bank_account_invalid_routing_number/ruby.mako +2 -8
  39. data/scenarios/bank_account_list/ruby.mako +1 -1
  40. data/scenarios/bank_account_show/ruby.mako +2 -2
  41. data/scenarios/bank_account_verification_create/ruby.mako +2 -2
  42. data/scenarios/bank_account_verification_show/ruby.mako +2 -2
  43. data/scenarios/bank_account_verification_update/ruby.mako +2 -2
  44. data/scenarios/callback_create/definition.rb +1 -1
  45. data/scenarios/callback_create/request.rb +1 -1
  46. data/scenarios/callback_create/ruby.mako +0 -11
  47. data/scenarios/callback_delete/definition.rb +1 -1
  48. data/scenarios/callback_delete/request.rb +1 -1
  49. data/scenarios/callback_delete/ruby.mako +0 -10
  50. data/scenarios/callback_list/definition.rb +1 -1
  51. data/scenarios/callback_list/ruby.mako +0 -10
  52. data/scenarios/callback_show/definition.rb +1 -1
  53. data/scenarios/callback_show/ruby.mako +0 -9
  54. data/scenarios/card_create/request.rb +2 -1
  55. data/scenarios/card_create/ruby.mako +6 -5
  56. data/scenarios/card_delete/ruby.mako +2 -2
  57. data/scenarios/card_invalidate/ruby.mako +2 -2
  58. data/scenarios/card_list/ruby.mako +1 -1
  59. data/scenarios/card_show/ruby.mako +2 -2
  60. data/scenarios/card_update/ruby.mako +2 -2
  61. data/scenarios/credit_bank_account_list/ruby.mako +2 -2
  62. data/scenarios/credit_create_existing_bank_account/ruby.mako +3 -3
  63. data/scenarios/credit_customer_list/ruby.mako +2 -2
  64. data/scenarios/credit_failed_state/request.rb +2 -2
  65. data/scenarios/credit_failed_state/ruby.mako +2 -5
  66. data/scenarios/credit_list/ruby.mako +1 -1
  67. data/scenarios/credit_paid_state/request.rb +2 -2
  68. data/scenarios/credit_paid_state/ruby.mako +2 -5
  69. data/scenarios/credit_pending_state/request.rb +2 -2
  70. data/scenarios/credit_pending_state/ruby.mako +2 -5
  71. data/scenarios/credit_show/ruby.mako +2 -2
  72. data/scenarios/customer_add_bank_account/ruby.mako +3 -3
  73. data/scenarios/customer_add_card/ruby.mako +3 -3
  74. data/scenarios/customer_capture_hold/request.rb +1 -1
  75. data/scenarios/customer_create/ruby.mako +1 -1
  76. data/scenarios/customer_create_debit/request.rb +1 -1
  77. data/scenarios/customer_create_debit/ruby.mako +3 -3
  78. data/scenarios/customer_create_hold/request.rb +1 -1
  79. data/scenarios/customer_create_hold/ruby.mako +1 -1
  80. data/scenarios/customer_credit/request.rb +1 -1
  81. data/scenarios/customer_credit/ruby.mako +2 -2
  82. data/scenarios/customer_delete/ruby.mako +1 -1
  83. data/scenarios/debit_create/ruby.mako +3 -3
  84. data/scenarios/debit_customer_list/ruby.mako +2 -2
  85. data/scenarios/debit_list/ruby.mako +1 -1
  86. data/scenarios/debit_refund/ruby.mako +2 -2
  87. data/scenarios/debit_show/ruby.mako +2 -2
  88. data/scenarios/debit_update/ruby.mako +2 -2
  89. data/scenarios/event_list/ruby.mako +1 -1
  90. data/scenarios/event_show/ruby.mako +2 -2
  91. data/scenarios/helpers.rb +1 -5
  92. data/scenarios/hold_capture/ruby.mako +4 -3
  93. data/scenarios/hold_create/request.rb +2 -2
  94. data/scenarios/hold_create/ruby.mako +6 -6
  95. data/scenarios/hold_customer_list/ruby.mako +2 -2
  96. data/scenarios/hold_list/ruby.mako +1 -1
  97. data/scenarios/hold_show/ruby.mako +2 -2
  98. data/scenarios/hold_update/ruby.mako +2 -2
  99. data/scenarios/hold_void/ruby.mako +2 -2
  100. data/scenarios/refund_create/ruby.mako +2 -2
  101. data/scenarios/refund_customer_list/ruby.mako +2 -2
  102. data/scenarios/refund_list/ruby.mako +1 -1
  103. data/scenarios/refund_show/ruby.mako +2 -2
  104. data/scenarios/refund_update/ruby.mako +2 -2
  105. data/scenarios/render.rb +1 -1
  106. data/scenarios/render_mako.rb +0 -1
  107. data/spec/balanced/error_spec.rb +4 -4
  108. data/spec/balanced/pager_spec.rb +7 -7
  109. data/spec/balanced/resources/account_spec.rb +51 -30
  110. data/spec/balanced/resources/bank_account_spec.rb +2 -2
  111. data/spec/balanced/resources/card_spec.rb +8 -8
  112. data/spec/balanced/resources/customer_spec.rb +11 -11
  113. data/spec/balanced/resources/hold_spec.rb +1 -1
  114. data/spec/balanced/resources/marketplace_spec.rb +12 -10
  115. data/spec/balanced/resources/resource_spec.rb +1 -1
  116. data/spec/scenarios_spec.rb +1 -1
  117. data/spec/spec_helper.rb +1 -1
  118. metadata +16 -15
  119. data/examples/customers-with-meta-example.rb +0 -141
@@ -42,11 +42,20 @@ module Balanced
42
42
  if value.is_a? Hash
43
43
  value = hash_with_indifferent_read_access value
44
44
  elsif value.respond_to? :each
45
- value.map! do |v|
46
- if v.is_a? Hash
47
- v = hash_with_indifferent_read_access v
45
+ if value.respond_to? :map!
46
+ value.map! do |v|
47
+ if v.is_a? Hash
48
+ v = hash_with_indifferent_read_access v
49
+ end
50
+ v
51
+ end
52
+ else
53
+ value.map do |v|
54
+ if v.is_a? Hash
55
+ v = hash_with_indifferent_read_access v
56
+ end
57
+ v
48
58
  end
49
- v
50
59
  end
51
60
  end
52
61
  indifferent[key.to_s] = value
@@ -1,3 +1,3 @@
1
1
  module Balanced
2
- VERSION = '0.7.5'
2
+ VERSION = '0.8.1'
3
3
  end
data/scenario.cache CHANGED
@@ -2,552 +2,471 @@
2
2
  "account_add_card": {
3
3
  "request": {
4
4
  "payload": {
5
- "card_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC4Zor9L2DEKXy0LJJ8PtkMM"
6
- },
7
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3"
8
- },
9
- "response": "{\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/cards\", \n \"created_at\": \"2013-11-14T16:20:11.280063Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/credits\", \n \"customer_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/holds\", \n \"id\": \"CU4WT2fC14gzGQIEcMKs5gm3\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3\"\n}"
10
- },
5
+ "card_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards/CC4Y12fGIP0HQ1jhcDgE9cFi"
6
+ },
7
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ"
8
+ },
9
+ "response": "{\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/cards\", \n \"created_at\": \"2013-08-26T22:27:00.763762Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/credits\", \n \"customer_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/holds\", \n \"id\": \"AC4SoZJ23TvXIUcUOBSTXYHQ\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ\"\n}"
10
+ },
11
11
  "account_create": {
12
12
  "request": {
13
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts"
14
- },
15
- "response": "{\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4S5l8l03hjVGvqrJNY0mqA/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4S5l8l03hjVGvqrJNY0mqA/cards\", \n \"created_at\": \"2013-11-14T16:20:07.018999Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4S5l8l03hjVGvqrJNY0mqA/credits\", \n \"customer_uri\": \"/v1/customers/CU4S5l8l03hjVGvqrJNY0mqA\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4S5l8l03hjVGvqrJNY0mqA/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4S5l8l03hjVGvqrJNY0mqA/holds\", \n \"id\": \"CU4S5l8l03hjVGvqrJNY0mqA\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4S5l8l03hjVGvqrJNY0mqA/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4S5l8l03hjVGvqrJNY0mqA/reversals\", \n \"roles\": [], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4S5l8l03hjVGvqrJNY0mqA/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4S5l8l03hjVGvqrJNY0mqA\"\n}"
16
- },
13
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts"
14
+ },
15
+ "response": "{\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4vHOqRpRUCRsbtZWfLkMeY/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4vHOqRpRUCRsbtZWfLkMeY/cards\", \n \"created_at\": \"2013-08-26T22:26:40.575252Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4vHOqRpRUCRsbtZWfLkMeY/credits\", \n \"customer_uri\": \"/v1/customers/AC4vHOqRpRUCRsbtZWfLkMeY\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4vHOqRpRUCRsbtZWfLkMeY/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4vHOqRpRUCRsbtZWfLkMeY/holds\", \n \"id\": \"AC4vHOqRpRUCRsbtZWfLkMeY\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4vHOqRpRUCRsbtZWfLkMeY/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4vHOqRpRUCRsbtZWfLkMeY/reversals\", \n \"roles\": [], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4vHOqRpRUCRsbtZWfLkMeY/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4vHOqRpRUCRsbtZWfLkMeY\"\n}"
16
+ },
17
17
  "account_create_buyer": {
18
18
  "request": {
19
19
  "payload": {
20
- "card_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC4WeeR0OUiQh9vvqNQvMl1o"
21
- },
22
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts"
23
- },
24
- "response": "{\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/cards\", \n \"created_at\": \"2013-11-14T16:20:11.280063Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/credits\", \n \"customer_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/holds\", \n \"id\": \"CU4WT2fC14gzGQIEcMKs5gm3\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3\"\n}"
25
- },
20
+ "card_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards/CC4KUcbT2dmJRIYoG0hBpO6S"
21
+ },
22
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts"
23
+ },
24
+ "response": "{\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/cards\", \n \"created_at\": \"2013-08-26T22:27:00.763762Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/credits\", \n \"customer_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/holds\", \n \"id\": \"AC4SoZJ23TvXIUcUOBSTXYHQ\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ\"\n}"
25
+ },
26
26
  "account_create_merchant": {
27
27
  "request": {
28
28
  "payload": {
29
- "bank_account_uri": "/v1/bank_accounts/BA53NVwHAXYx7fo98SdK41dg"
30
- },
31
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3"
32
- },
33
- "response": "{\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/cards\", \n \"created_at\": \"2013-11-14T16:20:11.280063Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/credits\", \n \"customer_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/holds\", \n \"id\": \"CU4WT2fC14gzGQIEcMKs5gm3\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3\"\n}"
34
- },
29
+ "bank_account_uri": "/v1/bank_accounts/BA5hNwwQFEWByAcdf1U5D5ok"
30
+ },
31
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ"
32
+ },
33
+ "response": "{\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/cards\", \n \"created_at\": \"2013-08-26T22:27:00.763762Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/credits\", \n \"customer_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/holds\", \n \"id\": \"AC4SoZJ23TvXIUcUOBSTXYHQ\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ\"\n}"
34
+ },
35
35
  "account_underwrite_business": {
36
36
  "request": {
37
- "accounts_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts",
37
+ "accounts_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts",
38
38
  "payload": {
39
39
  "merchant": {
40
- "name": "Skripts4Kids",
40
+ "name": "Skripts4Kids",
41
41
  "person": {
42
- "dob": "1989-12",
43
- "name": "Timmy Q. CopyPasta",
44
- "phone_number": "+14089999999",
45
- "postal_code": "94110",
42
+ "dob": "1989-12",
43
+ "name": "Timmy Q. CopyPasta",
44
+ "phone_number": "+14089999999",
45
+ "postal_code": "94110",
46
46
  "street_address": "121 Skriptkid Row"
47
- },
48
- "phone_number": "+140899188155",
49
- "postal_code": "91111",
50
- "street_address": "555 VoidMain Road",
51
- "tax_id": "211111111",
47
+ },
48
+ "phone_number": "+140899188155",
49
+ "postal_code": "91111",
50
+ "street_address": "555 VoidMain Road",
51
+ "tax_id": "211111111",
52
52
  "type": "business"
53
53
  }
54
54
  }
55
- },
56
- "response": "{\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU5brkNgZQFhaaVoBuaGTGm2/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU5brkNgZQFhaaVoBuaGTGm2/cards\", \n \"created_at\": \"2013-11-14T16:20:24.232747Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU5brkNgZQFhaaVoBuaGTGm2/credits\", \n \"customer_uri\": \"/v1/customers/CU5brkNgZQFhaaVoBuaGTGm2\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU5brkNgZQFhaaVoBuaGTGm2/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU5brkNgZQFhaaVoBuaGTGm2/holds\", \n \"id\": \"CU5brkNgZQFhaaVoBuaGTGm2\", \n \"meta\": {}, \n \"name\": \"Timmy Q. CopyPasta\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU5brkNgZQFhaaVoBuaGTGm2/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU5brkNgZQFhaaVoBuaGTGm2/reversals\", \n \"roles\": [\n \"merchant\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU5brkNgZQFhaaVoBuaGTGm2/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU5brkNgZQFhaaVoBuaGTGm2\"\n}"
57
- },
55
+ },
56
+ "response": "{\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5xdqmTOwcwgsK0Vue3Xz8k/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5xdqmTOwcwgsK0Vue3Xz8k/cards\", \n \"created_at\": \"2013-08-26T22:27:37.037766Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5xdqmTOwcwgsK0Vue3Xz8k/credits\", \n \"customer_uri\": \"/v1/customers/AC5xdqmTOwcwgsK0Vue3Xz8k\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5xdqmTOwcwgsK0Vue3Xz8k/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5xdqmTOwcwgsK0Vue3Xz8k/holds\", \n \"id\": \"AC5xdqmTOwcwgsK0Vue3Xz8k\", \n \"meta\": {}, \n \"name\": \"Timmy Q. CopyPasta\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5xdqmTOwcwgsK0Vue3Xz8k/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5xdqmTOwcwgsK0Vue3Xz8k/reversals\", \n \"roles\": [\n \"merchant\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5xdqmTOwcwgsK0Vue3Xz8k/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5xdqmTOwcwgsK0Vue3Xz8k\"\n}"
57
+ },
58
58
  "account_underwrite_person": {
59
59
  "request": {
60
- "accounts_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts",
60
+ "accounts_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts",
61
61
  "payload": {
62
62
  "merchant": {
63
- "dob": "1989-12",
64
- "name": "Timmy Q. CopyPasta",
65
- "phone_number": "+14089999999",
66
- "postal_code": "94110",
67
- "street_address": "121 Skriptkid Row",
63
+ "dob": "1989-12",
64
+ "name": "Timmy Q. CopyPasta",
65
+ "phone_number": "+14089999999",
66
+ "postal_code": "94110",
67
+ "street_address": "121 Skriptkid Row",
68
68
  "type": "person"
69
69
  }
70
70
  }
71
- },
72
- "response": "{\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU58OQXiQbnSls6eAaDfeLzp/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU58OQXiQbnSls6eAaDfeLzp/cards\", \n \"created_at\": \"2013-11-14T16:20:21.889378Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU58OQXiQbnSls6eAaDfeLzp/credits\", \n \"customer_uri\": \"/v1/customers/CU58OQXiQbnSls6eAaDfeLzp\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU58OQXiQbnSls6eAaDfeLzp/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU58OQXiQbnSls6eAaDfeLzp/holds\", \n \"id\": \"CU58OQXiQbnSls6eAaDfeLzp\", \n \"meta\": {}, \n \"name\": \"Timmy Q. CopyPasta\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU58OQXiQbnSls6eAaDfeLzp/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU58OQXiQbnSls6eAaDfeLzp/reversals\", \n \"roles\": [\n \"merchant\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU58OQXiQbnSls6eAaDfeLzp/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU58OQXiQbnSls6eAaDfeLzp\"\n}"
73
- },
74
- "api_key": "ak-test-2KZfoLyijij3Y6OyhDAvFRF9tXzelBLpD",
75
- "api_location": "https://api.balancedpayments.com",
71
+ },
72
+ "response": "{\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5scyGag05OTpJ07dophbES/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5scyGag05OTpJ07dophbES/cards\", \n \"created_at\": \"2013-08-26T22:27:32.581436Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5scyGag05OTpJ07dophbES/credits\", \n \"customer_uri\": \"/v1/customers/AC5scyGag05OTpJ07dophbES\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5scyGag05OTpJ07dophbES/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5scyGag05OTpJ07dophbES/holds\", \n \"id\": \"AC5scyGag05OTpJ07dophbES\", \n \"meta\": {}, \n \"name\": \"Timmy Q. CopyPasta\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5scyGag05OTpJ07dophbES/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5scyGag05OTpJ07dophbES/reversals\", \n \"roles\": [\n \"merchant\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5scyGag05OTpJ07dophbES/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC5scyGag05OTpJ07dophbES\"\n}"
73
+ },
74
+ "api_key": "8c3aeeb80e9e11e38901026ba7f8ec28",
75
+ "api_location": "https://api.balancedpayments.com",
76
76
  "bank_account_create": {
77
77
  "request": {
78
78
  "payload": {
79
- "account_number": "9900000001",
80
- "name": "Johann Bernoulli",
81
- "routing_number": "121000358",
79
+ "account_number": "9900000001",
80
+ "name": "Johann Bernoulli",
81
+ "routing_number": "121000358",
82
82
  "type": "checking"
83
- },
83
+ },
84
84
  "uri": "/v1/bank_accounts"
85
- },
86
- "response": "{\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-11-14T16:21:31.019599Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA6oxYWJXxeM63vMorgtSIhI/credits\", \n \"customer\": null, \n \"debits_uri\": \"/v1/bank_accounts/BA6oxYWJXxeM63vMorgtSIhI/debits\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"id\": \"BA6oxYWJXxeM63vMorgtSIhI\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA6oxYWJXxeM63vMorgtSIhI\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA6oxYWJXxeM63vMorgtSIhI/verifications\"\n}"
87
- },
85
+ },
86
+ "response": "{\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-08-26T22:28:53.439502Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA6V90Tau7B5YTGPFjC0PlzA/credits\", \n \"customer\": null, \n \"debits_uri\": \"/v1/bank_accounts/BA6V90Tau7B5YTGPFjC0PlzA/debits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA6V90Tau7B5YTGPFjC0PlzA\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA6V90Tau7B5YTGPFjC0PlzA\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA6V90Tau7B5YTGPFjC0PlzA/verifications\"\n}"
87
+ },
88
88
  "bank_account_delete": {
89
89
  "request": {
90
- "uri": "/v1/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee"
90
+ "uri": "/v1/bank_accounts/BA5LOM1tiKeY4HOVU9XqOpHi"
91
91
  }
92
- },
93
- "bank_account_invalid_routing_number": {
94
- "request": {
95
- "payload": {
96
- "account_number": "9900000001",
97
- "name": "Johann Bernoulli",
98
- "routing_number": "100000007",
99
- "type": "checking"
100
- },
101
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/bank_accounts"
102
- },
103
- "response": "{\n \"_uris\": {}, \n \"additional\": null, \n \"category_code\": \"invalid-routing-number\", \n \"category_type\": \"request\", \n \"description\": \"Routing number is invalid. Your request id is OHMea3158084d4c11e38a5302a1fe52a36c.\", \n \"extras\": {\n \"routing_number\": \"Routing number is invalid.\"\n }, \n \"request_id\": \"OHMea3158084d4c11e38a5302a1fe52a36c\", \n \"status\": \"Bad Request\", \n \"status_code\": 400\n}"
104
- },
92
+ },
105
93
  "bank_account_list": {
106
94
  "request": {
107
95
  "uri": "/v1/bank_accounts"
108
- },
109
- "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/bank_accounts?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-11-14T16:20:46.183358Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/credits\", \n \"customer\": null, \n \"debits_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/debits\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"id\": \"BA5A8YcoSCEPQyCaPCTvmFnW\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/verifications\"\n }, \n {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verification_uri\": {\n \"_type\": \"bank_account_authentication\", \n \"key\": \"verification\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"SAN MATEO CREDIT UNION\", \n \"can_debit\": true, \n \"created_at\": \"2013-11-14T16:20:41.178834Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee/credits\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"destination_uri\": {\n \"_type\": \"bank_account\", \n \"key\": \"destination\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"bank_account\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {\n \"country_code\": \"USA\"\n }, \n \"bank_accounts_uri\": \"/v1/customers/CU5uQkLqcmDGZtSV5BITGri0/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU5uQkLqcmDGZtSV5BITGri0/cards\", \n \"created_at\": \"2013-11-14T16:20:41.479001Z\", \n \"credits_uri\": \"/v1/customers/CU5uQkLqcmDGZtSV5BITGri0/credits\", \n \"debits_uri\": \"/v1/customers/CU5uQkLqcmDGZtSV5BITGri0/debits\", \n \"destination_uri\": \"/v1/customers/CU5uQkLqcmDGZtSV5BITGri0/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU5uQkLqcmDGZtSV5BITGri0/holds\", \n \"id\": \"CU5uQkLqcmDGZtSV5BITGri0\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU5uQkLqcmDGZtSV5BITGri0/refunds\", \n \"reversals_uri\": \"/v1/customers/CU5uQkLqcmDGZtSV5BITGri0/reversals\", \n \"source_uri\": \"/v1/customers/CU5uQkLqcmDGZtSV5BITGri0/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU5uQkLqcmDGZtSV5BITGri0/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU5uQkLqcmDGZtSV5BITGri0\"\n }, \n \"debits_uri\": \"/v1/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee/debits\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"id\": \"BA5uvDqG8xk4bGmwX3JTbIee\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"321174851\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee\", \n \"verification_uri\": \"/v1/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee/verifications/BZ5wpXXDTZxqLCHiX6V4XXvA\", \n \"verifications_uri\": \"/v1/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee/verifications\"\n }\n ], \n \"last_uri\": \"/v1/bank_accounts?limit=2&offset=4\", \n \"limit\": 2, \n \"next_uri\": \"/v1/bank_accounts?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 6, \n \"uri\": \"/v1/bank_accounts?limit=2&offset=0\"\n}"
110
- },
96
+ },
97
+ "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/bank_accounts?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-08-26T22:27:55.567873Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/credits\", \n \"customer\": null, \n \"debits_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/debits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA5S3reJdyJBbAYKepbneBe2\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/verifications\"\n }, \n {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verification_uri\": {\n \"_type\": \"bank_account_authentication\", \n \"key\": \"verification\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"SAN MATEO CREDIT UNION\", \n \"can_debit\": true, \n \"created_at\": \"2013-08-26T22:27:50.025727Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5LOM1tiKeY4HOVU9XqOpHi/credits\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"destination_uri\": {\n \"_type\": \"bank_account\", \n \"key\": \"destination\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"bank_account\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC5Mac34ZUWpmeEKSsNo0rRK/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC5Mac34ZUWpmeEKSsNo0rRK/cards\", \n \"created_at\": \"2013-08-26T22:27:50.332892Z\", \n \"credits_uri\": \"/v1/customers/AC5Mac34ZUWpmeEKSsNo0rRK/credits\", \n \"debits_uri\": \"/v1/customers/AC5Mac34ZUWpmeEKSsNo0rRK/debits\", \n \"destination_uri\": \"/v1/customers/AC5Mac34ZUWpmeEKSsNo0rRK/bank_accounts/BA5LOM1tiKeY4HOVU9XqOpHi\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC5Mac34ZUWpmeEKSsNo0rRK/holds\", \n \"id\": \"AC5Mac34ZUWpmeEKSsNo0rRK\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC5Mac34ZUWpmeEKSsNo0rRK/refunds\", \n \"reversals_uri\": \"/v1/customers/AC5Mac34ZUWpmeEKSsNo0rRK/reversals\", \n \"source_uri\": \"/v1/customers/AC5Mac34ZUWpmeEKSsNo0rRK/bank_accounts/BA5LOM1tiKeY4HOVU9XqOpHi\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC5Mac34ZUWpmeEKSsNo0rRK/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC5Mac34ZUWpmeEKSsNo0rRK\"\n }, \n \"debits_uri\": \"/v1/bank_accounts/BA5LOM1tiKeY4HOVU9XqOpHi/debits\", \n \"fingerprint\": \"kTo2ltJS0fWSMnWIq72zL_pn\", \n \"id\": \"BA5LOM1tiKeY4HOVU9XqOpHi\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"321174851\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5LOM1tiKeY4HOVU9XqOpHi\", \n \"verification_uri\": \"/v1/bank_accounts/BA5LOM1tiKeY4HOVU9XqOpHi/verifications/BZ5OeVKxqc8c1ne4qZzi9LJl\", \n \"verifications_uri\": \"/v1/bank_accounts/BA5LOM1tiKeY4HOVU9XqOpHi/verifications\"\n }\n ], \n \"last_uri\": \"/v1/bank_accounts?limit=2&offset=4\", \n \"limit\": 2, \n \"next_uri\": \"/v1/bank_accounts?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 6, \n \"uri\": \"/v1/bank_accounts?limit=2&offset=0\"\n}"
98
+ },
111
99
  "bank_account_show": {
112
100
  "request": {
113
- "uri": "/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW"
114
- },
115
- "response": "{\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-11-14T16:20:46.183358Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/credits\", \n \"customer\": null, \n \"debits_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/debits\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"id\": \"BA5A8YcoSCEPQyCaPCTvmFnW\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/verifications\"\n}"
116
- },
101
+ "uri": "/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2"
102
+ },
103
+ "response": "{\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-08-26T22:27:55.567873Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/credits\", \n \"customer\": null, \n \"debits_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/debits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA5S3reJdyJBbAYKepbneBe2\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/verifications\"\n}"
104
+ },
117
105
  "bank_account_verification_create": {
118
106
  "request": {
119
- "bank_account_uri": "/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO",
120
- "uri": "/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/verifications"
121
- },
122
- "response": "{\n \"_type\": \"bank_account_authentication\", \n \"_uris\": {}, \n \"attempts\": 0, \n \"created_at\": \"2013-11-14T16:20:32.104822Z\", \n \"id\": \"BZ5kihRbLIgd64iMWFkWesdw\", \n \"remaining_attempts\": 3, \n \"state\": \"deposit_succeeded\", \n \"updated_at\": \"2013-11-14T16:20:32.600599Z\", \n \"uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/verifications/BZ5kihRbLIgd64iMWFkWesdw\"\n}"
123
- },
107
+ "bank_account_uri": "/v1/bank_accounts/BA5BveXWeSilJaZGTX3P6g9x",
108
+ "payload": {
109
+ "none": ""
110
+ },
111
+ "uri": "/v1/bank_accounts/BA5BveXWeSilJaZGTX3P6g9x/verifications"
112
+ },
113
+ "response": "{\n \"_uris\": {}, \n \"additional\": null, \n \"category_code\": \"bank-account-no-account\", \n \"category_type\": \"logical\", \n \"description\": \"Bank account BA5BveXWeSilJaZGTX3P6g9x must be associated with a customer before it can be verified. Your request id is OHMb87831660e9e11e38a5a026ba7cd33d0.\", \n \"extras\": {}, \n \"request_id\": \"OHMb87831660e9e11e38a5a026ba7cd33d0\", \n \"status\": \"Conflict\", \n \"status_code\": 409\n}"
114
+ },
124
115
  "bank_account_verification_show": {
125
116
  "request": {
126
- "bank_account_uri": "/v1/bank_accounts/BA5nW8SMsXjaU3GVWdhR9d60",
127
- "uri": "/v1/bank_accounts/BA5nW8SMsXjaU3GVWdhR9d60/verifications/BZ5rcuNvebC49kZyTGAaJu2A"
128
- },
129
- "response": "{\n \"_type\": \"bank_account_authentication\", \n \"_uris\": {}, \n \"attempts\": 0, \n \"created_at\": \"2013-11-14T16:20:38.229597Z\", \n \"id\": \"BZ5rcuNvebC49kZyTGAaJu2A\", \n \"remaining_attempts\": 3, \n \"state\": \"deposit_succeeded\", \n \"updated_at\": \"2013-11-14T16:20:38.546816Z\", \n \"uri\": \"/v1/bank_accounts/BA5nW8SMsXjaU3GVWdhR9d60/verifications/BZ5rcuNvebC49kZyTGAaJu2A\"\n}"
130
- },
117
+ "bank_account_uri": "/v1/bank_accounts/BA5Frg9td6vFAzSIwx9aShjW",
118
+ "uri": "/v1/bank_accounts/BA5Frg9td6vFAzSIwx9aShjW/verifications/BZ5IyyZBbFCVWMaNzHwiq5bx"
119
+ },
120
+ "response": "{\n \"_type\": \"bank_account_authentication\", \n \"_uris\": {}, \n \"attempts\": 0, \n \"created_at\": \"2013-08-26T22:27:47.124483Z\", \n \"id\": \"BZ5IyyZBbFCVWMaNzHwiq5bx\", \n \"remaining_attempts\": 3, \n \"state\": \"pending\", \n \"updated_at\": \"2013-08-26T22:27:47.124490Z\", \n \"uri\": \"/v1/bank_accounts/BA5Frg9td6vFAzSIwx9aShjW/verifications/BZ5IyyZBbFCVWMaNzHwiq5bx\"\n}"
121
+ },
131
122
  "bank_account_verification_update": {
132
123
  "request": {
133
- "bank_account_uri": "/v1/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee",
124
+ "bank_account_uri": "/v1/bank_accounts/BA5LOM1tiKeY4HOVU9XqOpHi",
134
125
  "payload": {
135
- "amount_1": 1,
126
+ "amount_1": 1,
136
127
  "amount_2": 1
137
- },
138
- "uri": "/v1/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee/verifications/BZ5wpXXDTZxqLCHiX6V4XXvA"
139
- },
140
- "response": "{\n \"_type\": \"bank_account_authentication\", \n \"_uris\": {}, \n \"attempts\": 1, \n \"created_at\": \"2013-11-14T16:20:42.870606Z\", \n \"id\": \"BZ5wpXXDTZxqLCHiX6V4XXvA\", \n \"remaining_attempts\": 2, \n \"state\": \"verified\", \n \"updated_at\": \"2013-11-14T16:20:44.324057Z\", \n \"uri\": \"/v1/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee/verifications/BZ5wpXXDTZxqLCHiX6V4XXvA\"\n}"
141
- },
142
- "callback_create": {
143
- "request": {
144
- "payload": {
145
- "url": "http://www.example.com/callback"
146
- },
147
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/callbacks"
148
- },
149
- "response": "{\n \"_type\": \"callback\", \n \"_uris\": {}, \n \"id\": \"CB5GFgGfugkhbKueLUJL6hAa\", \n \"method\": \"post\", \n \"uri\": \"/v1/callbacks/CB5GFgGfugkhbKueLUJL6hAa\", \n \"url\": \"http://www.example.com/callback\"\n}"
150
- },
151
- "callback_delete": {
152
- "request": {
153
- "uri": "/v1/callbacks/CB5GFgGfugkhbKueLUJL6hAa"
154
- }
155
- },
156
- "callback_list": {
157
- "request": {
158
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/callbacks"
159
- },
160
- "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/callbacks?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"callback\", \n \"_uris\": {}, \n \"id\": \"CB5GFgGfugkhbKueLUJL6hAa\", \n \"method\": \"post\", \n \"uri\": \"/v1/callbacks/CB5GFgGfugkhbKueLUJL6hAa\", \n \"url\": \"http://www.example.com/callback\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/callbacks?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 1, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/callbacks?limit=2&offset=0\"\n}"
161
- },
162
- "callback_show": {
163
- "request": {
164
- "uri": "/v1/callbacks/CB5GFgGfugkhbKueLUJL6hAa"
165
- },
166
- "response": "{\n \"_type\": \"callback\", \n \"_uris\": {}, \n \"id\": \"CB5GFgGfugkhbKueLUJL6hAa\", \n \"method\": \"post\", \n \"uri\": \"/v1/callbacks/CB5GFgGfugkhbKueLUJL6hAa\", \n \"url\": \"http://www.example.com/callback\"\n}"
167
- },
128
+ },
129
+ "uri": "/v1/bank_accounts/BA5LOM1tiKeY4HOVU9XqOpHi/verifications/BZ5OeVKxqc8c1ne4qZzi9LJl"
130
+ },
131
+ "response": "{\n \"_type\": \"bank_account_authentication\", \n \"_uris\": {}, \n \"attempts\": 1, \n \"created_at\": \"2013-08-26T22:27:52.177326Z\", \n \"id\": \"BZ5OeVKxqc8c1ne4qZzi9LJl\", \n \"remaining_attempts\": 2, \n \"state\": \"verified\", \n \"updated_at\": \"2013-08-26T22:27:53.362310Z\", \n \"uri\": \"/v1/bank_accounts/BA5LOM1tiKeY4HOVU9XqOpHi/verifications/BZ5OeVKxqc8c1ne4qZzi9LJl\"\n}"
132
+ },
168
133
  "card_create": {
169
134
  "request": {
170
135
  "payload": {
171
- "card_number": "5105105105105100",
172
- "expiration_month": "12",
173
- "expiration_year": "2020",
136
+ "card_number": "5105105105105100",
137
+ "expiration_month": "12",
138
+ "expiration_year": "2020",
174
139
  "security_code": "123"
175
- },
176
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards"
177
- },
178
- "response": "{\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:50:44.333724Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC72hXVwWbCJsozvJoRELzIc\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC72hXVwWbCJsozvJoRELzIc\"\n}"
179
- },
140
+ },
141
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards"
142
+ },
143
+ "response": "{\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:30:28.061829Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CCQv8XnGsBHF9afrEdc0um3\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards/CCQv8XnGsBHF9afrEdc0um3\"\n}"
144
+ },
180
145
  "card_delete": {
181
146
  "request": {
182
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC5N3HHUDrAyvhNwQOoUd3UX"
147
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/cards/CC4Y12fGIP0HQ1jhcDgE9cFi"
183
148
  }
184
- },
185
- "card_id": "CC4MhLvXQPH3q8EAMDUKa57i",
149
+ },
150
+ "card_id": "CC4jIqe0l6vFzZv934bMgy6Q",
186
151
  "card_invalidate": {
187
152
  "request": {
188
153
  "payload": {
189
154
  "is_valid": "false"
190
- },
191
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC5N3HHUDrAyvhNwQOoUd3UX"
192
- },
155
+ },
156
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards/CC5ZP031cwTSKE3pSIHNNMRi"
157
+ },
193
158
  "response": "{\n \"_type\": \"card\", \n \"_uris\": {}, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"last_four\": \"5100\", \n \"meta\": {\n \"facebook.user_id\": \"0192837465\", \n \"my-own-customer-id\": \"12345\", \n \"twitter.id\": \"1234987650\"\n }, \n \"name\": null\n}"
194
- },
159
+ },
195
160
  "card_list": {
196
161
  "request": {
197
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards"
198
- },
199
- "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:20:57.668888Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC5N3HHUDrAyvhNwQOoUd3UX\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC5N3HHUDrAyvhNwQOoUd3UX\"\n }, \n {\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/cards\", \n \"created_at\": \"2013-11-14T16:20:11.280063Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/credits\", \n \"customer_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/holds\", \n \"id\": \"CU4WT2fC14gzGQIEcMKs5gm3\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3\"\n }, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:20:13.522503Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"destination_uri\": {\n \"_type\": \"bank_account\", \n \"key\": \"destination\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3/cards\", \n \"created_at\": \"2013-11-14T16:20:11.280063Z\", \n \"credits_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3/credits\", \n \"debits_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3/debits\", \n \"destination_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3/bank_accounts/BA53NVwHAXYx7fo98SdK41dg\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3/holds\", \n \"id\": \"CU4WT2fC14gzGQIEcMKs5gm3\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3/refunds\", \n \"reversals_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3/reversals\", \n \"source_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3/cards/CC4Zor9L2DEKXy0LJJ8PtkMM\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4WT2fC14gzGQIEcMKs5gm3\"\n }, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC4Zor9L2DEKXy0LJJ8PtkMM\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4WT2fC14gzGQIEcMKs5gm3/cards/CC4Zor9L2DEKXy0LJJ8PtkMM\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards?limit=2&offset=2\", \n \"limit\": 2, \n \"next_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 4, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards?limit=2&offset=0\"\n}"
200
- },
162
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards"
163
+ },
164
+ "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:28:02.476425Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC5ZP031cwTSKE3pSIHNNMRi\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards/CC5ZP031cwTSKE3pSIHNNMRi\"\n }, \n {\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/cards\", \n \"created_at\": \"2013-08-26T22:27:00.763762Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/credits\", \n \"customer_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/holds\", \n \"id\": \"AC4SoZJ23TvXIUcUOBSTXYHQ\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ\"\n }, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:27:05.741478Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"destination_uri\": {\n \"_type\": \"bank_account\", \n \"key\": \"destination\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ/cards\", \n \"created_at\": \"2013-08-26T22:27:00.763762Z\", \n \"credits_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ/credits\", \n \"debits_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ/debits\", \n \"destination_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ/bank_accounts/BA5hNwwQFEWByAcdf1U5D5ok\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ/holds\", \n \"id\": \"AC4SoZJ23TvXIUcUOBSTXYHQ\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ/refunds\", \n \"reversals_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ/reversals\", \n \"source_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ/cards/CC4Y12fGIP0HQ1jhcDgE9cFi\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC4SoZJ23TvXIUcUOBSTXYHQ\"\n }, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC4Y12fGIP0HQ1jhcDgE9cFi\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/cards/CC4Y12fGIP0HQ1jhcDgE9cFi\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards?limit=2&offset=2\", \n \"limit\": 2, \n \"next_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 4, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards?limit=2&offset=0\"\n}"
165
+ },
201
166
  "card_show": {
202
167
  "request": {
203
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC5N3HHUDrAyvhNwQOoUd3UX"
204
- },
205
- "response": "{\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:20:57.668888Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC5N3HHUDrAyvhNwQOoUd3UX\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC5N3HHUDrAyvhNwQOoUd3UX\"\n}"
206
- },
168
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards/CC5ZP031cwTSKE3pSIHNNMRi"
169
+ },
170
+ "response": "{\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:28:02.476425Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC5ZP031cwTSKE3pSIHNNMRi\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards/CC5ZP031cwTSKE3pSIHNNMRi\"\n}"
171
+ },
207
172
  "card_update": {
208
173
  "request": {
209
174
  "payload": {
210
175
  "meta": {
211
- "facebook.user_id": "0192837465",
212
- "my-own-customer-id": "12345",
176
+ "facebook.user_id": "0192837465",
177
+ "my-own-customer-id": "12345",
213
178
  "twitter.id": "1234987650"
214
179
  }
215
- },
216
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC5N3HHUDrAyvhNwQOoUd3UX"
217
- },
218
- "response": "{\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:20:57.668888Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC5N3HHUDrAyvhNwQOoUd3UX\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {\n \"facebook.user_id\": \"0192837465\", \n \"my-own-customer-id\": \"12345\", \n \"twitter.id\": \"1234987650\"\n }, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC5N3HHUDrAyvhNwQOoUd3UX\"\n}"
219
- },
220
- "card_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC4MhLvXQPH3q8EAMDUKa57i",
180
+ },
181
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards/CC5ZP031cwTSKE3pSIHNNMRi"
182
+ },
183
+ "response": "{\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:28:02.476425Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC5ZP031cwTSKE3pSIHNNMRi\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {\n \"facebook.user_id\": \"0192837465\", \n \"my-own-customer-id\": \"12345\", \n \"twitter.id\": \"1234987650\"\n }, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards/CC5ZP031cwTSKE3pSIHNNMRi\"\n}"
184
+ },
185
+ "card_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards/CC4jIqe0l6vFzZv934bMgy6Q",
221
186
  "credit_bank_account_list": {
222
187
  "request": {
223
- "id": "BA5A8YcoSCEPQyCaPCTvmFnW",
224
- "uri": "/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW"
225
- },
226
- "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/credits?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"credit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-11-14T16:20:46.183358Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/credits\", \n \"customer_uri\": null, \n \"debits_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/debits\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"id\": \"BA5A8YcoSCEPQyCaPCTvmFnW\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/verifications\"\n }, \n \"created_at\": \"2013-11-14T16:21:10.756688Z\", \n \"description\": null, \n \"events_uri\": \"/v1/credits/CR61MbRIN0QG26HfN20Rbeb0/events\", \n \"id\": \"CR61MbRIN0QG26HfN20Rbeb0\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR61MbRIN0QG26HfN20Rbeb0/reversals\", \n \"status\": \"paid\", \n \"uri\": \"/v1/credits/CR61MbRIN0QG26HfN20Rbeb0\"\n }\n ], \n \"last_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/credits?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 1, \n \"uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/credits?limit=2&offset=0\"\n}"
227
- },
188
+ "id": "BA5S3reJdyJBbAYKepbneBe2",
189
+ "uri": "/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2"
190
+ },
191
+ "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/credits?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"credit\", \n \"_uris\": {\n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-08-26T22:27:55.567873Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/credits\", \n \"customer_uri\": null, \n \"debits_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/debits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA5S3reJdyJBbAYKepbneBe2\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/verifications\"\n }, \n \"created_at\": \"2013-08-26T22:28:24.028243Z\", \n \"description\": null, \n \"id\": \"CR6o1ELy2X93DO7IiWKoqjxw\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/credits/CR6o1ELy2X93DO7IiWKoqjxw/reversals\", \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR6o1ELy2X93DO7IiWKoqjxw\"\n }\n ], \n \"last_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/credits?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 1, \n \"uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/credits?limit=2&offset=0\"\n}"
192
+ },
228
193
  "credit_create_existing_bank_account": {
229
194
  "request": {
230
- "id": "BA5A8YcoSCEPQyCaPCTvmFnW",
195
+ "id": "BA5S3reJdyJBbAYKepbneBe2",
231
196
  "payload": {
232
197
  "amount": 10000
233
- },
234
- "uri": "/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW"
235
- },
236
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-11-14T16:20:46.183358Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/credits\", \n \"customer_uri\": null, \n \"debits_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/debits\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"id\": \"BA5A8YcoSCEPQyCaPCTvmFnW\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/verifications\"\n }, \n \"created_at\": \"2013-11-14T16:21:10.756688Z\", \n \"description\": null, \n \"events_uri\": \"/v1/credits/CR61MbRIN0QG26HfN20Rbeb0/events\", \n \"id\": \"CR61MbRIN0QG26HfN20Rbeb0\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR61MbRIN0QG26HfN20Rbeb0/reversals\", \n \"status\": \"paid\", \n \"uri\": \"/v1/credits/CR61MbRIN0QG26HfN20Rbeb0\"\n}"
237
- },
198
+ },
199
+ "uri": "/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2"
200
+ },
201
+ "response": "{\n \"_type\": \"credit\", \n \"_uris\": {\n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-08-26T22:27:55.567873Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/credits\", \n \"customer_uri\": null, \n \"debits_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/debits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA5S3reJdyJBbAYKepbneBe2\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/verifications\"\n }, \n \"created_at\": \"2013-08-26T22:28:24.028243Z\", \n \"description\": null, \n \"id\": \"CR6o1ELy2X93DO7IiWKoqjxw\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/credits/CR6o1ELy2X93DO7IiWKoqjxw/reversals\", \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR6o1ELy2X93DO7IiWKoqjxw\"\n}"
202
+ },
238
203
  "credit_create_new_bank_account": {
239
204
  "request": {
240
- "payload": {
241
- "amount": 10000,
242
- "bank_account": {
243
- "account_number": "9900000001",
244
- "name": "Johann Bernoulli",
245
- "routing_number": "121000358",
246
- "type": "checking"
247
- }
248
- },
249
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits"
250
- },
251
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"account\": null, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"available_at\": null, \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"created_at\": \"2013-11-14T16:21:08.065371Z\", \n \"customer\": null, \n \"description\": null, \n \"destination\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"events_uri\": \"/v1/credits/CR5YK26rTyl5vlFK928nhxUI/events\", \n \"fee\": null, \n \"id\": \"CR5YK26rTyl5vlFK928nhxUI\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR5YK26rTyl5vlFK928nhxUI/reversals\", \n \"state\": \"pending\", \n \"status\": \"pending\", \n \"transaction_number\": \"CR297-882-8786\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR5YK26rTyl5vlFK928nhxUI\"\n}"
252
- },
205
+ "amount": 10000,
206
+ "bank_account": {
207
+ "account_number": "9900000001",
208
+ "name": "Johann Bernoulli",
209
+ "routing_number": "121000358",
210
+ "type": "checking"
211
+ }
212
+ },
213
+ "response": "{\n \"_type\": \"credit\", \n \"_uris\": {\n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"created_at\": \"2013-08-26T22:28:21.913214Z\", \n \"description\": null, \n \"id\": \"CR6lEmXFHCW9aNOoLQk9XjfG\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/credits/CR6lEmXFHCW9aNOoLQk9XjfG/reversals\", \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR6lEmXFHCW9aNOoLQk9XjfG\"\n}"
214
+ },
253
215
  "credit_customer_list": {
254
216
  "request": {
255
- "customer_uri": "/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo",
217
+ "account_uri": "/v1/customers/AC6xddA9naLGxrOBkAig9b4a",
256
218
  "payload": {
257
219
  "amount": 100
258
- },
259
- "uri": "/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/credits"
260
- },
261
- "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/credits?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"credit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 100, \n \"appears_on_statement_as\": \"example.com\", \n \"available_at\": \"2013-11-14T16:21:18.584003Z\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verification_uri\": {\n \"_type\": \"bank_account_authentication\", \n \"key\": \"verification\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_code\": \"121000358\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-11-14T16:20:28.771031Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/credits\", \n \"customer_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo\", \n \"debits_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/debits\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"id\": \"BA5gy1b8X8dIGaBWFuoWvkxO\", \n \"is_valid\": true, \n \"last_four\": \"0001\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO\", \n \"verification_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/verifications/BZ5kihRbLIgd64iMWFkWesdw\", \n \"verifications_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/verifications\"\n }, \n \"created_at\": \"2013-11-14T16:21:18.267102Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"destination_uri\": {\n \"_type\": \"bank_account\", \n \"key\": \"destination\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/cards\", \n \"created_at\": \"2013-11-14T16:20:27.468419Z\", \n \"credits_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/credits\", \n \"debits_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/debits\", \n \"destination_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/holds\", \n \"id\": \"CU5f64LhFMO8cf7N1sQSRVOo\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/refunds\", \n \"reversals_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/reversals\", \n \"source_uri\": null, \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo\"\n }, \n \"description\": null, \n \"destination\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verification_uri\": {\n \"_type\": \"bank_account_authentication\", \n \"key\": \"verification\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_code\": \"121000358\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-11-14T16:20:28.771031Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/credits\", \n \"customer_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo\", \n \"debits_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/debits\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"id\": \"BA5gy1b8X8dIGaBWFuoWvkxO\", \n \"is_valid\": true, \n \"last_four\": \"0001\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO\", \n \"verification_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/verifications/BZ5kihRbLIgd64iMWFkWesdw\", \n \"verifications_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/verifications\"\n }, \n \"events_uri\": \"/v1/credits/CR6admOtZKuECF3I9UlCiWzm/events\", \n \"fee\": null, \n \"id\": \"CR6admOtZKuECF3I9UlCiWzm\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR6admOtZKuECF3I9UlCiWzm/reversals\", \n \"state\": \"cleared\", \n \"status\": \"paid\", \n \"transaction_number\": \"CR004-468-9882\", \n \"uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/credits/CR6admOtZKuECF3I9UlCiWzm\"\n }\n ], \n \"last_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/credits?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 1, \n \"uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/credits?limit=2&offset=0\"\n}"
262
- },
263
- "credit_failed_state": {
264
- "request": {
265
- "payload": {
266
- "amount": 10000,
267
- "bank_account": {
268
- "account_number": "9900000004",
269
- "name": "Johann Bernoulli",
270
- "routing_number": "121000358",
271
- "type": "checking"
272
- }
273
- },
274
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits"
275
- },
276
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"account\": null, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"available_at\": \"2013-11-14T16:50:56.446903Z\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0004\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"67GbCVK8LlYAZ13WbmDQT9_fd\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"created_at\": \"2013-11-14T16:50:56.132757Z\", \n \"customer\": null, \n \"description\": null, \n \"destination\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0004\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"67GbCVK8LlYAZ13WbmDQT9_fd\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"events_uri\": \"/v1/credits/CR7fyJUrLr9NSnvr2gt8CVra/events\", \n \"fee\": null, \n \"id\": \"CR7fyJUrLr9NSnvr2gt8CVra\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR7fyJUrLr9NSnvr2gt8CVra/reversals\", \n \"state\": \"rejected\", \n \"status\": \"failed\", \n \"transaction_number\": \"CR468-698-5178\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR7fyJUrLr9NSnvr2gt8CVra\"\n}"
277
- },
220
+ },
221
+ "uri": "/v1/customers/AC6xddA9naLGxrOBkAig9b4a/credits"
222
+ },
223
+ "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/customers/AC6xddA9naLGxrOBkAig9b4a/credits?limit=2&offset=0\", \n \"items\": [], \n \"last_uri\": \"/v1/customers/AC6xddA9naLGxrOBkAig9b4a/credits?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 0, \n \"uri\": \"/v1/customers/AC6xddA9naLGxrOBkAig9b4a/credits?limit=2&offset=0\"\n}"
224
+ },
278
225
  "credit_list": {
279
- "request": {},
280
- "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/credits?limit=10&offset=0\", \n \"items\": [\n {\n \"_type\": \"credit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-11-14T16:20:46.183358Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/credits\", \n \"customer_uri\": null, \n \"debits_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/debits\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"id\": \"BA5A8YcoSCEPQyCaPCTvmFnW\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA5A8YcoSCEPQyCaPCTvmFnW/verifications\"\n }, \n \"created_at\": \"2013-11-14T16:21:10.756688Z\", \n \"description\": null, \n \"events_uri\": \"/v1/credits/CR61MbRIN0QG26HfN20Rbeb0/events\", \n \"id\": \"CR61MbRIN0QG26HfN20Rbeb0\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR61MbRIN0QG26HfN20Rbeb0/reversals\", \n \"status\": \"paid\", \n \"uri\": \"/v1/credits/CR61MbRIN0QG26HfN20Rbeb0\"\n }, \n {\n \"_type\": \"credit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"created_at\": \"2013-11-14T16:21:08.065371Z\", \n \"description\": null, \n \"events_uri\": \"/v1/credits/CR5YK26rTyl5vlFK928nhxUI/events\", \n \"id\": \"CR5YK26rTyl5vlFK928nhxUI\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR5YK26rTyl5vlFK928nhxUI/reversals\", \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR5YK26rTyl5vlFK928nhxUI\"\n }\n ], \n \"last_uri\": \"/v1/credits?limit=10&offset=0\", \n \"limit\": 10, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 2, \n \"uri\": \"/v1/credits?limit=10&offset=0\"\n}"
281
- },
282
- "credit_paid_state": {
283
- "request": {
284
- "payload": {
285
- "amount": 10000,
286
- "bank_account": {
287
- "account_number": "9900000003",
288
- "name": "Johann Bernoulli",
289
- "routing_number": "121000358",
290
- "type": "checking"
291
- }
292
- },
293
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits"
294
- },
295
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"account\": null, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"available_at\": \"2013-11-14T16:50:54.322108Z\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0003\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"2voYRuvBfmMa5e098L7Rpd_pd\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"created_at\": \"2013-11-14T16:50:53.934354Z\", \n \"customer\": null, \n \"description\": null, \n \"destination\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0003\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"2voYRuvBfmMa5e098L7Rpd_pd\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"events_uri\": \"/v1/credits/CR7d6lwEhZXyc0pQPtL1GRTa/events\", \n \"fee\": null, \n \"id\": \"CR7d6lwEhZXyc0pQPtL1GRTa\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR7d6lwEhZXyc0pQPtL1GRTa/reversals\", \n \"state\": \"cleared\", \n \"status\": \"paid\", \n \"transaction_number\": \"CR454-866-1422\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR7d6lwEhZXyc0pQPtL1GRTa\"\n}"
296
- },
297
- "credit_pending_state": {
298
- "request": {
299
- "payload": {
300
- "amount": 10000,
301
- "bank_account": {
302
- "account_number": "9900000000",
303
- "name": "Johann Bernoulli",
304
- "routing_number": "121000358",
305
- "type": "checking"
306
- }
307
- },
308
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits"
309
- },
310
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"account\": null, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"available_at\": null, \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0000\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"1Y1Iq2DIr9MUiY8poVBAlf_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"created_at\": \"2013-11-14T16:50:51.375357Z\", \n \"customer\": null, \n \"description\": null, \n \"destination\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0000\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"1Y1Iq2DIr9MUiY8poVBAlf_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"events_uri\": \"/v1/credits/CR7acqrh4TCVQPYuNcfvLYHQ/events\", \n \"fee\": null, \n \"id\": \"CR7acqrh4TCVQPYuNcfvLYHQ\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR7acqrh4TCVQPYuNcfvLYHQ/reversals\", \n \"state\": \"pending\", \n \"status\": \"pending\", \n \"transaction_number\": \"CR399-334-5977\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR7acqrh4TCVQPYuNcfvLYHQ\"\n}"
311
- },
226
+ "request": {},
227
+ "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/credits?limit=10&offset=0\", \n \"items\": [\n {\n \"_type\": \"credit\", \n \"_uris\": {\n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-08-26T22:27:55.567873Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/credits\", \n \"customer_uri\": null, \n \"debits_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/debits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA5S3reJdyJBbAYKepbneBe2\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA5S3reJdyJBbAYKepbneBe2/verifications\"\n }, \n \"created_at\": \"2013-08-26T22:28:24.028243Z\", \n \"description\": null, \n \"id\": \"CR6o1ELy2X93DO7IiWKoqjxw\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/credits/CR6o1ELy2X93DO7IiWKoqjxw/reversals\", \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR6o1ELy2X93DO7IiWKoqjxw\"\n }, \n {\n \"_type\": \"credit\", \n \"_uris\": {\n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"created_at\": \"2013-08-26T22:28:21.913214Z\", \n \"description\": null, \n \"id\": \"CR6lEmXFHCW9aNOoLQk9XjfG\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/credits/CR6lEmXFHCW9aNOoLQk9XjfG/reversals\", \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR6lEmXFHCW9aNOoLQk9XjfG\"\n }\n ], \n \"last_uri\": \"/v1/credits?limit=10&offset=0\", \n \"limit\": 10, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 2, \n \"uri\": \"/v1/credits?limit=10&offset=0\"\n}"
228
+ },
312
229
  "credit_show": {
313
230
  "request": {
314
- "id": "CR5YK26rTyl5vlFK928nhxUI",
315
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR5YK26rTyl5vlFK928nhxUI"
316
- },
317
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"created_at\": \"2013-11-14T16:21:08.065371Z\", \n \"description\": null, \n \"events_uri\": \"/v1/credits/CR5YK26rTyl5vlFK928nhxUI/events\", \n \"id\": \"CR5YK26rTyl5vlFK928nhxUI\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR5YK26rTyl5vlFK928nhxUI/reversals\", \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR5YK26rTyl5vlFK928nhxUI\"\n}"
318
- },
231
+ "id": "CR6lEmXFHCW9aNOoLQk9XjfG",
232
+ "uri": "/v1/credits/CR6lEmXFHCW9aNOoLQk9XjfG"
233
+ },
234
+ "response": "{\n \"_type\": \"credit\", \n \"_uris\": {\n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {}, \n \"account_number\": \"xxxxxx0001\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\"\n }, \n \"created_at\": \"2013-08-26T22:28:21.913214Z\", \n \"description\": null, \n \"id\": \"CR6lEmXFHCW9aNOoLQk9XjfG\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/credits/CR6lEmXFHCW9aNOoLQk9XjfG/reversals\", \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR6lEmXFHCW9aNOoLQk9XjfG\"\n}"
235
+ },
319
236
  "customer_add_bank_account": {
320
237
  "request": {
321
- "bank_account_verifications_uri": "/v1/bank_accounts/BA6oxYWJXxeM63vMorgtSIhI/verifications",
322
238
  "payload": {
323
- "bank_account_uri": "/v1/bank_accounts/BA6oxYWJXxeM63vMorgtSIhI"
324
- },
325
- "uri": "/v1/customers/CU6n0viWQoT86ttbkCsPgV0Y"
326
- },
327
- "response": "{\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"destination_uri\": {\n \"_type\": \"bank_account\", \n \"key\": \"destination\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6n0viWQoT86ttbkCsPgV0Y/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6n0viWQoT86ttbkCsPgV0Y/cards\", \n \"created_at\": \"2013-11-14T16:21:29.626033Z\", \n \"credits_uri\": \"/v1/customers/CU6n0viWQoT86ttbkCsPgV0Y/credits\", \n \"debits_uri\": \"/v1/customers/CU6n0viWQoT86ttbkCsPgV0Y/debits\", \n \"destination_uri\": \"/v1/customers/CU6n0viWQoT86ttbkCsPgV0Y/bank_accounts/BA6oxYWJXxeM63vMorgtSIhI\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6n0viWQoT86ttbkCsPgV0Y/holds\", \n \"id\": \"CU6n0viWQoT86ttbkCsPgV0Y\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6n0viWQoT86ttbkCsPgV0Y/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6n0viWQoT86ttbkCsPgV0Y/reversals\", \n \"source_uri\": null, \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6n0viWQoT86ttbkCsPgV0Y/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6n0viWQoT86ttbkCsPgV0Y\"\n}"
328
- },
239
+ "bank_account_uri": "/v1/bank_accounts/BA6V90Tau7B5YTGPFjC0PlzA"
240
+ },
241
+ "uri": "/v1/customers/AC6TepGAIZ5HUdhfTZKOoUhh"
242
+ },
243
+ "response": "{\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"destination_uri\": {\n \"_type\": \"bank_account\", \n \"key\": \"destination\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC6TepGAIZ5HUdhfTZKOoUhh/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC6TepGAIZ5HUdhfTZKOoUhh/cards\", \n \"created_at\": \"2013-08-26T22:28:51.740313Z\", \n \"credits_uri\": \"/v1/customers/AC6TepGAIZ5HUdhfTZKOoUhh/credits\", \n \"debits_uri\": \"/v1/customers/AC6TepGAIZ5HUdhfTZKOoUhh/debits\", \n \"destination_uri\": \"/v1/customers/AC6TepGAIZ5HUdhfTZKOoUhh/bank_accounts/BA6V90Tau7B5YTGPFjC0PlzA\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC6TepGAIZ5HUdhfTZKOoUhh/holds\", \n \"id\": \"AC6TepGAIZ5HUdhfTZKOoUhh\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC6TepGAIZ5HUdhfTZKOoUhh/refunds\", \n \"reversals_uri\": \"/v1/customers/AC6TepGAIZ5HUdhfTZKOoUhh/reversals\", \n \"source_uri\": null, \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC6TepGAIZ5HUdhfTZKOoUhh/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC6TepGAIZ5HUdhfTZKOoUhh\"\n}"
244
+ },
329
245
  "customer_add_card": {
330
246
  "request": {
331
- "card_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC72hXVwWbCJsozvJoRELzIc",
332
247
  "payload": {
333
- "card_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC72hXVwWbCJsozvJoRELzIc"
334
- },
335
- "uri": "/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb"
336
- },
337
- "response": "{\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/cards\", \n \"created_at\": \"2013-11-14T16:50:42.841208Z\", \n \"credits_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/credits\", \n \"debits_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/holds\", \n \"id\": \"CU70CIWA2NrZwwMQqjBuWFUb\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/refunds\", \n \"reversals_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/reversals\", \n \"source_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/cards/CC72hXVwWbCJsozvJoRELzIc\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb\"\n}"
338
- },
248
+ "card_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/cards/CCQv8XnGsBHF9afrEdc0um3"
249
+ },
250
+ "uri": "/v1/customers/ACO702cHD2tPiOCRSKYzVf1"
251
+ },
252
+ "response": "{\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"debits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"source_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\"\n}"
253
+ },
339
254
  "customer_create": {
340
255
  "request": {
341
- "email": "william@example.com",
342
- "name": "William Henry Cavendish III",
343
256
  "uri": "/v1/customers"
344
- },
345
- "response": "{\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/cards\", \n \"created_at\": \"2013-11-14T16:50:42.841208Z\", \n \"credits_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/credits\", \n \"debits_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/holds\", \n \"id\": \"CU70CIWA2NrZwwMQqjBuWFUb\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/refunds\", \n \"reversals_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/reversals\", \n \"source_uri\": null, \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb\"\n}"
346
- },
257
+ },
258
+ "response": "{\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"debits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"source_uri\": null, \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\"\n}"
259
+ },
347
260
  "customer_create_debit": {
348
261
  "request": {
349
- "customer_uri": "/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS",
262
+ "customer_uri": "/v1/customers/AC73sGhakFEQQFbLDX6WSq9y",
350
263
  "payload": {
351
- "amount": 5000,
352
- "appears_on_statement_as": "Statement text",
264
+ "amount": 5000,
265
+ "appears_on_statement_as": "Statement text",
353
266
  "description": "Some descriptive text for the debit in the dashboard"
354
- },
355
- "uri": "/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/debits"
356
- },
357
- "response": "{\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:21:40.856280Z\", \n \"created_at\": \"2013-11-14T16:21:40.047691Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"debits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"source_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD6yIHxqPrzb1apVYERuB72G/events\", \n \"fee\": null, \n \"hold\": {\n \"_type\": \"hold\", \n \"_uris\": {\n \"debit_uri\": {\n \"_type\": \"debit\", \n \"key\": \"debit\"\n }, \n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:21:39.991162Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6yIHxqPrzb1apVYERuB72G\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/holds/HL6yF80ERpTXcYkszqKCUlHY/events\", \n \"expires_at\": \"2013-11-21T16:21:40.450966Z\", \n \"fee\": null, \n \"id\": \"HL6yF80ERpTXcYkszqKCUlHY\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"transaction_number\": \"HL560-602-3542\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL6yF80ERpTXcYkszqKCUlHY\"\n }, \n \"id\": \"WD6yIHxqPrzb1apVYERuB72G\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6yIHxqPrzb1apVYERuB72G/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {}, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:21:38.681465Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC6xbFPglEtPRSEA65a5Bd60\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W597-916-7221\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6yIHxqPrzb1apVYERuB72G\"\n}"
358
- },
267
+ },
268
+ "uri": "/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/debits"
269
+ },
270
+ "response": "{\n \"_type\": \"debit\", \n \"_uris\": {\n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:29:20.876140Z\", \n \"created_at\": \"2013-08-26T22:29:20.234742Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"debits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"source_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold\": {\n \"_type\": \"hold\", \n \"_uris\": {\n \"debit_uri\": {\n \"_type\": \"debit\", \n \"key\": \"debit\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:29:20.257997Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7pham6kYGqj2RgJDKKuejJ\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-09-02T22:29:18.998863Z\", \n \"fee\": null, \n \"id\": \"HL7piYDaLspl6Vb839KbdnQP\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"transaction_number\": \"HL272-913-9906\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL7piYDaLspl6Vb839KbdnQP\"\n }, \n \"id\": \"WD7pham6kYGqj2RgJDKKuejJ\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7pham6kYGqj2RgJDKKuejJ/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {}, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:29:03.557075Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W732-249-7555\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7pham6kYGqj2RgJDKKuejJ\"\n}"
271
+ },
359
272
  "customer_credit": {
360
273
  "request": {
361
- "customer_uri": "/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo",
274
+ "customer_uri": "/v1/customers/AC6xddA9naLGxrOBkAig9b4a",
362
275
  "payload": {
363
276
  "amount": 100
364
- },
365
- "uri": "/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/credits"
366
- },
367
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }\n }, \n \"amount\": 100, \n \"appears_on_statement_as\": \"example.com\", \n \"available_at\": \"2013-11-14T16:21:18.584003Z\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verification_uri\": {\n \"_type\": \"bank_account_authentication\", \n \"key\": \"verification\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_code\": \"121000358\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-11-14T16:20:28.771031Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/credits\", \n \"customer_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo\", \n \"debits_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/debits\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"id\": \"BA5gy1b8X8dIGaBWFuoWvkxO\", \n \"is_valid\": true, \n \"last_four\": \"0001\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO\", \n \"verification_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/verifications/BZ5kihRbLIgd64iMWFkWesdw\", \n \"verifications_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/verifications\"\n }, \n \"created_at\": \"2013-11-14T16:21:18.267102Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"destination_uri\": {\n \"_type\": \"bank_account\", \n \"key\": \"destination\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/cards\", \n \"created_at\": \"2013-11-14T16:20:27.468419Z\", \n \"credits_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/credits\", \n \"debits_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/debits\", \n \"destination_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/holds\", \n \"id\": \"CU5f64LhFMO8cf7N1sQSRVOo\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/refunds\", \n \"reversals_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/reversals\", \n \"source_uri\": null, \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo\"\n }, \n \"description\": null, \n \"destination\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verification_uri\": {\n \"_type\": \"bank_account_authentication\", \n \"key\": \"verification\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"bank_code\": \"121000358\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-11-14T16:20:28.771031Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/credits\", \n \"customer_uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo\", \n \"debits_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/debits\", \n \"fingerprint\": \"5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14\", \n \"id\": \"BA5gy1b8X8dIGaBWFuoWvkxO\", \n \"is_valid\": true, \n \"last_four\": \"0001\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO\", \n \"verification_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/verifications/BZ5kihRbLIgd64iMWFkWesdw\", \n \"verifications_uri\": \"/v1/bank_accounts/BA5gy1b8X8dIGaBWFuoWvkxO/verifications\"\n }, \n \"events_uri\": \"/v1/credits/CR6admOtZKuECF3I9UlCiWzm/events\", \n \"fee\": null, \n \"id\": \"CR6admOtZKuECF3I9UlCiWzm\", \n \"meta\": {}, \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/credits/CR6admOtZKuECF3I9UlCiWzm/reversals\", \n \"state\": \"cleared\", \n \"status\": \"paid\", \n \"transaction_number\": \"CR004-468-9882\", \n \"uri\": \"/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo/credits/CR6admOtZKuECF3I9UlCiWzm\"\n}"
368
- },
277
+ },
278
+ "uri": "/v1/customers/AC6xddA9naLGxrOBkAig9b4a/credits"
279
+ },
280
+ "response": "{\n \"_uris\": {}, \n \"additional\": null, \n \"category_code\": \"no-funding-destination\", \n \"category_type\": \"logical\", \n \"description\": \"Account AC6xddA9naLGxrOBkAig9b4a has no funding destination. Your request id is OHMd76856960e9e11e38fbd026ba7cd33d0.\", \n \"extras\": {}, \n \"request_id\": \"OHMd76856960e9e11e38fbd026ba7cd33d0\", \n \"status\": \"Conflict\", \n \"status_code\": 409\n}"
281
+ },
369
282
  "customer_delete": {
370
283
  "request": {
371
- "uri": "/v1/customers/CU6sqf8CB3M3l6VeSsBqVHhC"
284
+ "uri": "/v1/customers/AC6YytlZWy1ECh6PGUXxqeFy"
372
285
  }
373
- },
286
+ },
374
287
  "debit_create": {
375
288
  "request": {
376
- "customer_uri": "/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS",
377
- "debits_uri": "/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/debits",
289
+ "customer_uri": "/v1/customers/ACO702cHD2tPiOCRSKYzVf1",
290
+ "debits_uri": "/v1/customers/ACO702cHD2tPiOCRSKYzVf1/debits",
378
291
  "payload": {
379
- "amount": 5000,
380
- "appears_on_statement_as": "Statement text",
292
+ "amount": 5000,
293
+ "appears_on_statement_as": "Statement text",
381
294
  "description": "Some descriptive text for the debit in the dashboard"
382
295
  }
383
- },
384
- "response": "{\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:22:26.746556Z\", \n \"created_at\": \"2013-11-14T16:22:25.975814Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards\", \n \"created_at\": \"2013-11-14T16:22:19.231687Z\", \n \"credits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/credits\", \n \"debits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/holds\", \n \"id\": \"CU7gMTGKh2yGHYn1lUxH9STS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/reversals\", \n \"source_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD7omMnm45N2JcPZ6fcaRRgY/events\", \n \"fee\": null, \n \"hold\": {\n \"_type\": \"hold\", \n \"_uris\": {\n \"debit_uri\": {\n \"_type\": \"debit\", \n \"key\": \"debit\"\n }, \n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:22:25.945916Z\", \n \"customer_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/holds/HL7ol64Qezs7DVaup1KqTHn2/events\", \n \"expires_at\": \"2013-11-21T16:22:26.324832Z\", \n \"fee\": null, \n \"id\": \"HL7ol64Qezs7DVaup1KqTHn2\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"transaction_number\": \"HL750-344-1146\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL7ol64Qezs7DVaup1KqTHn2\"\n }, \n \"id\": \"WD7omMnm45N2JcPZ6fcaRRgY\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {}, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:22:20.900440Z\", \n \"customer_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W109-369-8530\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY\"\n}"
385
- },
296
+ },
297
+ "response": "{\n \"_type\": \"debit\", \n \"_uris\": {\n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:30:46.793463Z\", \n \"created_at\": \"2013-08-26T22:30:46.269164Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"debits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"source_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold\": {\n \"_type\": \"hold\", \n \"_uris\": {\n \"debit_uri\": {\n \"_type\": \"debit\", \n \"key\": \"debit\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:30:46.313389Z\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-09-02T22:30:45.932902Z\", \n \"fee\": null, \n \"id\": \"HL1b1ZIkXBGoplsgir431CbM\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"transaction_number\": \"HL449-758-6305\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL1b1ZIkXBGoplsgir431CbM\"\n }, \n \"id\": \"WD1aYGtAuoJxpGSUYr8jVlyy\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {}, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:30:28.061829Z\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CCQv8XnGsBHF9afrEdc0um3\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W495-350-9517\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy\"\n}"
298
+ },
386
299
  "debit_customer_list": {
387
300
  "request": {
388
- "debits_uri": "/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/debits",
389
- "uri": "/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS"
390
- },
391
- "response": "{\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"debits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"source_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\"\n}"
392
- },
301
+ "debits_uri": "/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/debits",
302
+ "uri": "/v1/customers/AC73sGhakFEQQFbLDX6WSq9y"
303
+ },
304
+ "response": "{\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"debits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"source_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\"\n}"
305
+ },
393
306
  "debit_list": {
394
307
  "request": {
395
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits"
396
- },
397
- "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:21:43.776719Z\", \n \"created_at\": \"2013-11-14T16:21:43.104998Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"debits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"source_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD6Ca1z3nrRRCdiYT1evN19S/events\", \n \"fee\": null, \n \"hold\": {\n \"_type\": \"hold\", \n \"_uris\": {\n \"debit_uri\": {\n \"_type\": \"debit\", \n \"key\": \"debit\"\n }, \n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:21:43.080028Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6Ca1z3nrRRCdiYT1evN19S\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/holds/HL6C8GKLqXoEYiAu7LZdXPLa/events\", \n \"expires_at\": \"2013-11-21T16:21:43.420514Z\", \n \"fee\": null, \n \"id\": \"HL6C8GKLqXoEYiAu7LZdXPLa\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"transaction_number\": \"HL927-455-6133\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL6C8GKLqXoEYiAu7LZdXPLa\"\n }, \n \"id\": \"WD6Ca1z3nrRRCdiYT1evN19S\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6Ca1z3nrRRCdiYT1evN19S/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:21:38.681465Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC6xbFPglEtPRSEA65a5Bd60\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W402-648-3361\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6Ca1z3nrRRCdiYT1evN19S\"\n }, \n {\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:21:40.856280Z\", \n \"created_at\": \"2013-11-14T16:21:40.047691Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"debits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"source_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD6yIHxqPrzb1apVYERuB72G/events\", \n \"fee\": null, \n \"hold\": {\n \"_type\": \"hold\", \n \"_uris\": {\n \"debit_uri\": {\n \"_type\": \"debit\", \n \"key\": \"debit\"\n }, \n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:21:39.991162Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6yIHxqPrzb1apVYERuB72G\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/holds/HL6yF80ERpTXcYkszqKCUlHY/events\", \n \"expires_at\": \"2013-11-21T16:21:40.450966Z\", \n \"fee\": null, \n \"id\": \"HL6yF80ERpTXcYkszqKCUlHY\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"transaction_number\": \"HL560-602-3542\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL6yF80ERpTXcYkszqKCUlHY\"\n }, \n \"id\": \"WD6yIHxqPrzb1apVYERuB72G\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6yIHxqPrzb1apVYERuB72G/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:21:38.681465Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC6xbFPglEtPRSEA65a5Bd60\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W597-916-7221\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6yIHxqPrzb1apVYERuB72G\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits?limit=2&offset=2\", \n \"limit\": 2, \n \"next_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 3, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits?limit=2&offset=0\"\n}"
398
- },
308
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits"
309
+ },
310
+ "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"debit\", \n \"_uris\": {\n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:29:26.538968Z\", \n \"created_at\": \"2013-08-26T22:29:26.021110Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"debits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"source_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold\": {\n \"_type\": \"hold\", \n \"_uris\": {\n \"debit_uri\": {\n \"_type\": \"debit\", \n \"key\": \"debit\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\", \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:29:26.042372Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7vMDuOPWwViP0L8mniBOJF\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-09-02T22:29:25.317675Z\", \n \"fee\": null, \n \"id\": \"HL7vOp0S9EPPFnLJ2LMKC9MX\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"transaction_number\": \"HL282-862-1013\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL7vOp0S9EPPFnLJ2LMKC9MX\"\n }, \n \"id\": \"WD7vMDuOPWwViP0L8mniBOJF\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7vMDuOPWwViP0L8mniBOJF/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:29:03.557075Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W853-902-9854\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7vMDuOPWwViP0L8mniBOJF\"\n }, \n {\n \"_type\": \"debit\", \n \"_uris\": {\n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:29:20.876140Z\", \n \"created_at\": \"2013-08-26T22:29:20.234742Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"debits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"source_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold\": {\n \"_type\": \"hold\", \n \"_uris\": {\n \"debit_uri\": {\n \"_type\": \"debit\", \n \"key\": \"debit\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\", \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:29:20.257997Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7pham6kYGqj2RgJDKKuejJ\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-09-02T22:29:18.998863Z\", \n \"fee\": null, \n \"id\": \"HL7piYDaLspl6Vb839KbdnQP\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"transaction_number\": \"HL272-913-9906\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL7piYDaLspl6Vb839KbdnQP\"\n }, \n \"id\": \"WD7pham6kYGqj2RgJDKKuejJ\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7pham6kYGqj2RgJDKKuejJ/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:29:03.557075Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W732-249-7555\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7pham6kYGqj2RgJDKKuejJ\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits?limit=2&offset=2\", \n \"limit\": 2, \n \"next_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 3, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits?limit=2&offset=0\"\n}"
311
+ },
399
312
  "debit_refund": {
400
313
  "request": {
401
- "debit_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6MTAHor9FhO4G2nvZwaXvi",
402
- "refunds_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6MTAHor9FhO4G2nvZwaXvi/refunds"
403
- },
404
- "response": "{\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-11-14T16:21:54.905713Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"debits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"source_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:21:54.005354Z\", \n \"created_at\": \"2013-11-14T16:21:52.648535Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD6MTAHor9FhO4G2nvZwaXvi/events\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL6MSFloTodCzP9beAgM2IBW\", \n \"id\": \"WD6MTAHor9FhO4G2nvZwaXvi\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6MTAHor9FhO4G2nvZwaXvi/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W409-412-6948\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6MTAHor9FhO4G2nvZwaXvi\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/refunds/RF6PpVmJdJsmaBdtMDwtVd4Q/events\", \n \"fee\": null, \n \"id\": \"RF6PpVmJdJsmaBdtMDwtVd4Q\", \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RF480-493-3185\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/refunds/RF6PpVmJdJsmaBdtMDwtVd4Q\"\n}"
405
- },
314
+ "debit_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7HfOnPU0KhbO9WUEGw0qJq",
315
+ "refunds_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7HfOnPU0KhbO9WUEGw0qJq/refunds"
316
+ },
317
+ "response": "{\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-08-26T22:29:38.157939Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"debits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"source_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:29:36.864936Z\", \n \"created_at\": \"2013-08-26T22:29:36.215761Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL7HhYrTzfLRziBfes3VAlEk\", \n \"id\": \"WD7HfOnPU0KhbO9WUEGw0qJq\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7HfOnPU0KhbO9WUEGw0qJq/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W748-731-0310\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7HfOnPU0KhbO9WUEGw0qJq\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"id\": \"RF7JoC6EaAVQ4F7kkUsWc3Ta\", \n \"meta\": {}, \n \"transaction_number\": \"RF326-933-1975\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/refunds/RF7JoC6EaAVQ4F7kkUsWc3Ta\"\n}"
318
+ },
406
319
  "debit_show": {
407
320
  "request": {
408
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6Ca1z3nrRRCdiYT1evN19S"
409
- },
410
- "response": "{\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:21:43.776719Z\", \n \"created_at\": \"2013-11-14T16:21:43.104998Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"debits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"source_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD6Ca1z3nrRRCdiYT1evN19S/events\", \n \"fee\": null, \n \"hold\": {\n \"_type\": \"hold\", \n \"_uris\": {\n \"debit_uri\": {\n \"_type\": \"debit\", \n \"key\": \"debit\"\n }, \n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:21:43.080028Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6Ca1z3nrRRCdiYT1evN19S\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/holds/HL6C8GKLqXoEYiAu7LZdXPLa/events\", \n \"expires_at\": \"2013-11-21T16:21:43.420514Z\", \n \"fee\": null, \n \"id\": \"HL6C8GKLqXoEYiAu7LZdXPLa\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"transaction_number\": \"HL927-455-6133\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL6C8GKLqXoEYiAu7LZdXPLa\"\n }, \n \"id\": \"WD6Ca1z3nrRRCdiYT1evN19S\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6Ca1z3nrRRCdiYT1evN19S/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:21:38.681465Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC6xbFPglEtPRSEA65a5Bd60\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W402-648-3361\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6Ca1z3nrRRCdiYT1evN19S\"\n}"
411
- },
321
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7vMDuOPWwViP0L8mniBOJF"
322
+ },
323
+ "response": "{\n \"_type\": \"debit\", \n \"_uris\": {\n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:29:26.538968Z\", \n \"created_at\": \"2013-08-26T22:29:26.021110Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"debits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"source_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold\": {\n \"_type\": \"hold\", \n \"_uris\": {\n \"debit_uri\": {\n \"_type\": \"debit\", \n \"key\": \"debit\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\", \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:29:26.042372Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7vMDuOPWwViP0L8mniBOJF\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-09-02T22:29:25.317675Z\", \n \"fee\": null, \n \"id\": \"HL7vOp0S9EPPFnLJ2LMKC9MX\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"transaction_number\": \"HL282-862-1013\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL7vOp0S9EPPFnLJ2LMKC9MX\"\n }, \n \"id\": \"WD7vMDuOPWwViP0L8mniBOJF\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7vMDuOPWwViP0L8mniBOJF/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:29:03.557075Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W853-902-9854\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7vMDuOPWwViP0L8mniBOJF\"\n}"
324
+ },
412
325
  "debit_update": {
413
326
  "request": {
414
327
  "payload": {
415
- "description": "New description for debit",
328
+ "description": "New description for debit",
416
329
  "meta": {
417
- "anykey": "valuegoeshere",
330
+ "anykey": "valuegoeshere",
418
331
  "facebook.id": "1234567890"
419
332
  }
420
- },
421
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6Ca1z3nrRRCdiYT1evN19S"
422
- },
423
- "response": "{\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:21:43.776719Z\", \n \"created_at\": \"2013-11-14T16:21:43.104998Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"debits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"source_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"description\": \"New description for debit\", \n \"events_uri\": \"/v1/debits/WD6Ca1z3nrRRCdiYT1evN19S/events\", \n \"fee\": null, \n \"hold\": {\n \"_type\": \"hold\", \n \"_uris\": {\n \"debit_uri\": {\n \"_type\": \"debit\", \n \"key\": \"debit\"\n }, \n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:21:43.080028Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6Ca1z3nrRRCdiYT1evN19S\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/holds/HL6C8GKLqXoEYiAu7LZdXPLa/events\", \n \"expires_at\": \"2013-11-21T16:21:43.420514Z\", \n \"fee\": null, \n \"id\": \"HL6C8GKLqXoEYiAu7LZdXPLa\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"transaction_number\": \"HL927-455-6133\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL6C8GKLqXoEYiAu7LZdXPLa\"\n }, \n \"id\": \"WD6Ca1z3nrRRCdiYT1evN19S\", \n \"meta\": {\n \"anykey\": \"valuegoeshere\", \n \"facebook.id\": \"1234567890\"\n }, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6Ca1z3nrRRCdiYT1evN19S/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:21:38.681465Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC6xbFPglEtPRSEA65a5Bd60\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W402-648-3361\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6Ca1z3nrRRCdiYT1evN19S\"\n}"
424
- },
333
+ },
334
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7vMDuOPWwViP0L8mniBOJF"
335
+ },
336
+ "response": "{\n \"_type\": \"debit\", \n \"_uris\": {\n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:29:26.538968Z\", \n \"created_at\": \"2013-08-26T22:29:26.021110Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"debits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"source_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"description\": \"New description for debit\", \n \"fee\": null, \n \"hold\": {\n \"_type\": \"hold\", \n \"_uris\": {\n \"debit_uri\": {\n \"_type\": \"debit\", \n \"key\": \"debit\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\", \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:29:26.042372Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7vMDuOPWwViP0L8mniBOJF\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-09-02T22:29:25.317675Z\", \n \"fee\": null, \n \"id\": \"HL7vOp0S9EPPFnLJ2LMKC9MX\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"transaction_number\": \"HL282-862-1013\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL7vOp0S9EPPFnLJ2LMKC9MX\"\n }, \n \"id\": \"WD7vMDuOPWwViP0L8mniBOJF\", \n \"meta\": {\n \"anykey\": \"valuegoeshere\", \n \"facebook.id\": \"1234567890\"\n }, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7vMDuOPWwViP0L8mniBOJF/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:29:03.557075Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W853-902-9854\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7vMDuOPWwViP0L8mniBOJF\"\n}"
337
+ },
425
338
  "event_list": {
426
339
  "request": {
427
340
  "uri": "/v1/events"
428
- },
429
- "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/events?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"event\", \n \"_uris\": {\n \"callbacks_uri\": {\n \"_type\": \"page\", \n \"key\": \"callbacks\"\n }\n }, \n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"callbacks_uri\": \"/v1/events/EV9be5771e4d4811e38afd026ba7d31e6f/callbacks\", \n \"entity\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/cards\", \n \"created_at\": \"2013-11-14T16:19:59.943199Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/credits\", \n \"customer_uri\": \"/v1/customers/CU4K8uglOjNRpZ8JgnSKNCuX\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/debits\", \n \"email_address\": \"whc@example.org\", \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/holds\", \n \"id\": \"CU4K8uglOjNRpZ8JgnSKNCuX\", \n \"meta\": {}, \n \"name\": \"William Henry Cavendish III\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/reversals\", \n \"roles\": [\n \"merchant\", \n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX\"\n }, \n \"id\": \"EV9be5771e4d4811e38afd026ba7d31e6f\", \n \"occurred_at\": \"2013-11-14T16:20:00.110000Z\", \n \"type\": \"account.created\", \n \"uri\": \"/v1/events/EV9be5771e4d4811e38afd026ba7d31e6f\"\n }, \n {\n \"_type\": \"event\", \n \"_uris\": {\n \"callbacks_uri\": {\n \"_type\": \"page\", \n \"key\": \"callbacks\"\n }\n }, \n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"callbacks_uri\": \"/v1/events/EV9c39c6704d4811e38afd026ba7d31e6f/callbacks\", \n \"entity\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxxxxxxx5555\", \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX\", \n \"bank_code\": \"121042882\", \n \"bank_name\": \"WELLS FARGO BANK NA\", \n \"can_debit\": true, \n \"created_at\": \"2013-11-14T16:20:00.469540Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA4Kmu7splqbtDnER3r9nypx/credits\", \n \"customer_uri\": \"/v1/customers/CU4K8uglOjNRpZ8JgnSKNCuX\", \n \"debits_uri\": \"/v1/bank_accounts/BA4Kmu7splqbtDnER3r9nypx/debits\", \n \"fingerprint\": \"6ybvaLUrJy07phK2EQ7pVk\", \n \"id\": \"BA4Kmu7splqbtDnER3r9nypx\", \n \"is_valid\": true, \n \"last_four\": \"5555\", \n \"meta\": {}, \n \"name\": \"TEST-MERCHANT-BANK-ACCOUNT\", \n \"routing_number\": \"121042882\", \n \"type\": \"CHECKING\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/bank_accounts/BA4Kmu7splqbtDnER3r9nypx\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4Kmu7splqbtDnER3r9nypx/verifications\"\n }, \n \"id\": \"EV9c39c6704d4811e38afd026ba7d31e6f\", \n \"occurred_at\": \"2013-11-14T16:20:00.469000Z\", \n \"type\": \"bank_account.created\", \n \"uri\": \"/v1/events/EV9c39c6704d4811e38afd026ba7d31e6f\"\n }\n ], \n \"last_uri\": \"/v1/events?limit=2&offset=86\", \n \"limit\": 2, \n \"next_uri\": \"/v1/events?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 87, \n \"uri\": \"/v1/events?limit=2&offset=0\"\n}"
430
- },
341
+ },
342
+ "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/events?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"event\", \n \"_uris\": {\n \"callbacks_uri\": {\n \"_type\": \"page\", \n \"key\": \"callbacks\"\n }\n }, \n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"callbacks_uri\": \"/v1/events/EV8c8e419e0e9e11e39281026ba7d31e6f/callbacks\", \n \"entity\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/cards\", \n \"created_at\": \"2013-08-26T22:26:27.643906Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/credits\", \n \"customer_uri\": \"/v1/customers/AC4haawTNd2hOEfoEeVoeVl5\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/debits\", \n \"email_address\": \"whc@example.org\", \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/holds\", \n \"id\": \"AC4haawTNd2hOEfoEeVoeVl5\", \n \"meta\": {}, \n \"name\": \"William Henry Cavendish III\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/reversals\", \n \"roles\": [\n \"merchant\", \n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5\"\n }, \n \"id\": \"EV8c8e419e0e9e11e39281026ba7d31e6f\", \n \"occurred_at\": \"2013-08-26T22:26:27.845000Z\", \n \"type\": \"account.created\", \n \"uri\": \"/v1/events/EV8c8e419e0e9e11e39281026ba7d31e6f\"\n }, \n {\n \"_type\": \"event\", \n \"_uris\": {\n \"callbacks_uri\": {\n \"_type\": \"page\", \n \"key\": \"callbacks\"\n }\n }, \n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"callbacks_uri\": \"/v1/events/EV8ccdbafe0e9e11e39281026ba7d31e6f/callbacks\", \n \"entity\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4hFIU0tEHE7puvhutYDfu7/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4hFIU0tEHE7puvhutYDfu7/cards\", \n \"created_at\": \"2013-08-26T22:26:28.096422Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4hFIU0tEHE7puvhutYDfu7/credits\", \n \"customer_uri\": \"/v1/customers/AC4hFIU0tEHE7puvhutYDfu7\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4hFIU0tEHE7puvhutYDfu7/debits\", \n \"email_address\": \"escrow@poundpay.com\", \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4hFIU0tEHE7puvhutYDfu7/holds\", \n \"id\": \"AC4hFIU0tEHE7puvhutYDfu7\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4hFIU0tEHE7puvhutYDfu7/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4hFIU0tEHE7puvhutYDfu7/reversals\", \n \"roles\": [], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4hFIU0tEHE7puvhutYDfu7/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4hFIU0tEHE7puvhutYDfu7\"\n }, \n \"id\": \"EV8ccdbafe0e9e11e39281026ba7d31e6f\", \n \"occurred_at\": \"2013-08-26T22:26:28.096000Z\", \n \"type\": \"account.created\", \n \"uri\": \"/v1/events/EV8ccdbafe0e9e11e39281026ba7d31e6f\"\n }\n ], \n \"last_uri\": \"/v1/events?limit=2&offset=80\", \n \"limit\": 2, \n \"next_uri\": \"/v1/events?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 81, \n \"uri\": \"/v1/events?limit=2&offset=0\"\n}"
343
+ },
431
344
  "event_show": {
432
345
  "request": {
433
- "uri": "/v1/events/EV9be5771e4d4811e38afd026ba7d31e6f"
434
- },
435
- "response": "{\n \"_type\": \"event\", \n \"_uris\": {\n \"callbacks_uri\": {\n \"_type\": \"page\", \n \"key\": \"callbacks\"\n }\n }, \n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"callbacks_uri\": \"/v1/events/EV9be5771e4d4811e38afd026ba7d31e6f/callbacks\", \n \"entity\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/cards\", \n \"created_at\": \"2013-11-14T16:19:59.943199Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/credits\", \n \"customer_uri\": \"/v1/customers/CU4K8uglOjNRpZ8JgnSKNCuX\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/debits\", \n \"email_address\": \"whc@example.org\", \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/holds\", \n \"id\": \"CU4K8uglOjNRpZ8JgnSKNCuX\", \n \"meta\": {}, \n \"name\": \"William Henry Cavendish III\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/reversals\", \n \"roles\": [\n \"merchant\", \n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU4K8uglOjNRpZ8JgnSKNCuX\"\n }, \n \"id\": \"EV9be5771e4d4811e38afd026ba7d31e6f\", \n \"occurred_at\": \"2013-11-14T16:20:00.110000Z\", \n \"type\": \"account.created\", \n \"uri\": \"/v1/events/EV9be5771e4d4811e38afd026ba7d31e6f\"\n}"
436
- },
346
+ "uri": "/v1/events/EV8c8e419e0e9e11e39281026ba7d31e6f"
347
+ },
348
+ "response": "{\n \"_type\": \"event\", \n \"_uris\": {\n \"callbacks_uri\": {\n \"_type\": \"page\", \n \"key\": \"callbacks\"\n }\n }, \n \"callback_statuses\": {\n \"failed\": 0, \n \"pending\": 0, \n \"retrying\": 0, \n \"succeeded\": 0\n }, \n \"callbacks_uri\": \"/v1/events/EV8c8e419e0e9e11e39281026ba7d31e6f/callbacks\", \n \"entity\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/cards\", \n \"created_at\": \"2013-08-26T22:26:27.643906Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/credits\", \n \"customer_uri\": \"/v1/customers/AC4haawTNd2hOEfoEeVoeVl5\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/debits\", \n \"email_address\": \"whc@example.org\", \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/holds\", \n \"id\": \"AC4haawTNd2hOEfoEeVoeVl5\", \n \"meta\": {}, \n \"name\": \"William Henry Cavendish III\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/reversals\", \n \"roles\": [\n \"merchant\", \n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4haawTNd2hOEfoEeVoeVl5\"\n }, \n \"id\": \"EV8c8e419e0e9e11e39281026ba7d31e6f\", \n \"occurred_at\": \"2013-08-26T22:26:27.845000Z\", \n \"type\": \"account.created\", \n \"uri\": \"/v1/events/EV8c8e419e0e9e11e39281026ba7d31e6f\"\n}"
349
+ },
437
350
  "hold_capture": {
438
351
  "request": {
439
- "debits_uri": "/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/debits",
440
- "hold_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL743q4NqJPc0cxbidCj1WGk",
352
+ "debits_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC4SoZJ23TvXIUcUOBSTXYHQ/debits",
353
+ "hold_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HLKvFGAzFm4LqiLblBvyCzm",
441
354
  "payload": {
442
- "appears_on_statement_as": "ShowsUpOnStmt",
443
- "description": "Some descriptive text for the debit in the dashboard"
355
+ "appears_on_statement_as": "ShowsUpOnStmt",
356
+ "description": "Some descriptive text for the debit in the dashboard",
357
+ "hold_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HLKvFGAzFm4LqiLblBvyCzm"
444
358
  }
445
- },
446
- "response": "{\n \"_uris\": {}, \n \"additional\": null, \n \"category_code\": \"request\", \n \"category_type\": \"request\", \n \"description\": \"Missing required field [amount] Your request id is OHMe956b8424d4c11e3b9de026ba7cd33d0.\", \n \"extras\": {\n \"amount\": \"Missing required field [amount]\"\n }, \n \"request_id\": \"OHMe956b8424d4c11e3b9de026ba7cd33d0\", \n \"status\": \"Bad Request\", \n \"status_code\": 400\n}"
447
- },
359
+ },
360
+ "response": "{\n \"_uris\": {}, \n \"additional\": null, \n \"category_code\": \"request\", \n \"category_type\": \"request\", \n \"description\": \"Invalid field [account_uri] - Hold HLKvFGAzFm4LqiLblBvyCzm is not associated with account AC4SoZJ23TvXIUcUOBSTXYHQ Your request id is OHM1906f88c0e9f11e3aa87026ba7f8ec28.\", \n \"extras\": {\n \"account_uri\": \"Hold HLKvFGAzFm4LqiLblBvyCzm is not associated with account AC4SoZJ23TvXIUcUOBSTXYHQ\"\n }, \n \"request_id\": \"OHM1906f88c0e9f11e3aa87026ba7f8ec28\", \n \"status\": \"Bad Request\", \n \"status_code\": 400\n}"
361
+ },
448
362
  "hold_create": {
449
363
  "request": {
450
- "customer_uri": "/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb",
451
- "debits_uri": "/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/debits",
364
+ "customer_uri": "/v1/customers/ACO702cHD2tPiOCRSKYzVf1",
452
365
  "payload": {
453
- "amount": 5000,
454
- "description": "Some descriptive text for the debit in the dashboard",
455
- "source_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC72hXVwWbCJsozvJoRELzIc"
456
- },
457
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds"
458
- },
459
- "response": "{\n \"_type\": \"hold\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU70CIWA2NrZwwMQqjBuWFUb/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU70CIWA2NrZwwMQqjBuWFUb/cards\", \n \"created_at\": \"2013-11-14T16:50:42.841208Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU70CIWA2NrZwwMQqjBuWFUb/credits\", \n \"customer_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU70CIWA2NrZwwMQqjBuWFUb/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU70CIWA2NrZwwMQqjBuWFUb/holds\", \n \"id\": \"CU70CIWA2NrZwwMQqjBuWFUb\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU70CIWA2NrZwwMQqjBuWFUb/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU70CIWA2NrZwwMQqjBuWFUb/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU70CIWA2NrZwwMQqjBuWFUb/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU70CIWA2NrZwwMQqjBuWFUb\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:50:45.885960Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/cards\", \n \"created_at\": \"2013-11-14T16:50:42.841208Z\", \n \"credits_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/credits\", \n \"debits_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/holds\", \n \"id\": \"CU70CIWA2NrZwwMQqjBuWFUb\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/refunds\", \n \"reversals_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/reversals\", \n \"source_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/cards/CC72hXVwWbCJsozvJoRELzIc\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/holds/HL743q4NqJPc0cxbidCj1WGk/events\", \n \"expires_at\": \"2013-11-21T16:50:46.060543Z\", \n \"fee\": null, \n \"id\": \"HL743q4NqJPc0cxbidCj1WGk\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU70CIWA2NrZwwMQqjBuWFUb\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:50:44.333724Z\", \n \"customer_uri\": \"/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC72hXVwWbCJsozvJoRELzIc\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU70CIWA2NrZwwMQqjBuWFUb/cards/CC72hXVwWbCJsozvJoRELzIc\"\n }, \n \"transaction_number\": \"HL886-578-0900\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL743q4NqJPc0cxbidCj1WGk\"\n}"
460
- },
366
+ "amount": 5000,
367
+ "description": "Some descriptive text for the debit in the dashboard"
368
+ },
369
+ "uri": "/v1/customers/ACO702cHD2tPiOCRSKYzVf1/holds"
370
+ },
371
+ "response": "{\n \"_type\": \"hold\", \n \"_uris\": {}, \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:30:41.736735Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"debits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"source_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-09-02T22:30:41.396736Z\", \n \"fee\": null, \n \"id\": \"HL15SKbacqwCIDMvoCQx3GbB\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {}, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:30:28.061829Z\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CCQv8XnGsBHF9afrEdc0um3\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\"\n }, \n \"transaction_number\": \"HL013-858-3805\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL15SKbacqwCIDMvoCQx3GbB\"\n}"
372
+ },
461
373
  "hold_customer_list": {
462
374
  "request": {
463
- "customer_uri": "/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe",
464
- "uri": "/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/holds"
465
- },
466
- "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/holds?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"hold\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:22:08.051562Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards\", \n \"created_at\": \"2013-11-14T16:22:04.139451Z\", \n \"credits_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/credits\", \n \"debits_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/holds\", \n \"id\": \"CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/reversals\", \n \"source_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards/CC720AgbiWsOVlGJ0n9KYp6K\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/holds/HL74dRg2HWc5vQwX0kQ9XQfM/events\", \n \"expires_at\": \"2013-11-21T16:22:08.270146Z\", \n \"fee\": null, \n \"id\": \"HL74dRg2HWc5vQwX0kQ9XQfM\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {}, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:22:06.098768Z\", \n \"customer_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC720AgbiWsOVlGJ0n9KYp6K\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards/CC720AgbiWsOVlGJ0n9KYp6K\"\n }, \n \"transaction_number\": \"HL274-121-5099\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL74dRg2HWc5vQwX0kQ9XQfM\"\n }\n ], \n \"last_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/holds?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 1, \n \"uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/holds?limit=2&offset=0\"\n}"
467
- },
375
+ "customer_uri": "/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg",
376
+ "uri": "/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/holds"
377
+ },
378
+ "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/holds?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"hold\", \n \"_uris\": {}, \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:30:03.490563Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/cards\", \n \"created_at\": \"2013-08-26T22:29:49.262012Z\", \n \"credits_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/credits\", \n \"debits_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/holds\", \n \"id\": \"AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/refunds\", \n \"reversals_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/reversals\", \n \"source_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/cards/CCbq3UzEtDsRwR7wMgs5cHZ\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-09-02T22:30:03.251746Z\", \n \"fee\": null, \n \"id\": \"HLoRDe8mOJ3arKOC95Yd0k0\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {}, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:29:51.535502Z\", \n \"customer_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CCbq3UzEtDsRwR7wMgs5cHZ\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/cards/CCbq3UzEtDsRwR7wMgs5cHZ\"\n }, \n \"transaction_number\": \"HL695-083-3827\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HLoRDe8mOJ3arKOC95Yd0k0\"\n }\n ], \n \"last_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/holds?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 1, \n \"uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/holds?limit=2&offset=0\"\n}"
379
+ },
468
380
  "hold_list": {
469
381
  "request": {
470
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds"
471
- },
472
- "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"hold\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards\", \n \"created_at\": \"2013-11-14T16:22:04.139451Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/credits\", \n \"customer_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/holds\", \n \"id\": \"CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:22:08.051562Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards\", \n \"created_at\": \"2013-11-14T16:22:04.139451Z\", \n \"credits_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/credits\", \n \"debits_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/holds\", \n \"id\": \"CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/reversals\", \n \"source_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards/CC720AgbiWsOVlGJ0n9KYp6K\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/holds/HL74dRg2HWc5vQwX0kQ9XQfM/events\", \n \"expires_at\": \"2013-11-21T16:22:08.270146Z\", \n \"fee\": null, \n \"id\": \"HL74dRg2HWc5vQwX0kQ9XQfM\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:22:06.098768Z\", \n \"customer_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC720AgbiWsOVlGJ0n9KYp6K\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards/CC720AgbiWsOVlGJ0n9KYp6K\"\n }, \n \"transaction_number\": \"HL274-121-5099\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL74dRg2HWc5vQwX0kQ9XQfM\"\n }, \n {\n \"_type\": \"hold\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:21:52.630344Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"debits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"source_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:21:54.005354Z\", \n \"created_at\": \"2013-11-14T16:21:52.648535Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD6MTAHor9FhO4G2nvZwaXvi/events\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL6MSFloTodCzP9beAgM2IBW\", \n \"id\": \"WD6MTAHor9FhO4G2nvZwaXvi\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6MTAHor9FhO4G2nvZwaXvi/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W409-412-6948\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6MTAHor9FhO4G2nvZwaXvi\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/holds/HL6MSFloTodCzP9beAgM2IBW/events\", \n \"expires_at\": \"2013-11-21T16:21:52.937144Z\", \n \"fee\": null, \n \"id\": \"HL6MSFloTodCzP9beAgM2IBW\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:21:38.681465Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC6xbFPglEtPRSEA65a5Bd60\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\"\n }, \n \"transaction_number\": \"HL391-682-9054\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL6MSFloTodCzP9beAgM2IBW\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds?limit=2&offset=4\", \n \"limit\": 2, \n \"next_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 5, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds?limit=2&offset=0\"\n}"
473
- },
382
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds"
383
+ },
384
+ "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"hold\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/cards\", \n \"created_at\": \"2013-08-26T22:29:49.262012Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/credits\", \n \"customer_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/holds\", \n \"id\": \"AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:30:03.490563Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/cards\", \n \"created_at\": \"2013-08-26T22:29:49.262012Z\", \n \"credits_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/credits\", \n \"debits_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/holds\", \n \"id\": \"AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/refunds\", \n \"reversals_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/reversals\", \n \"source_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/cards/CCbq3UzEtDsRwR7wMgs5cHZ\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-09-02T22:30:03.251746Z\", \n \"fee\": null, \n \"id\": \"HLoRDe8mOJ3arKOC95Yd0k0\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:29:51.535502Z\", \n \"customer_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CCbq3UzEtDsRwR7wMgs5cHZ\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/cards/CCbq3UzEtDsRwR7wMgs5cHZ\"\n }, \n \"transaction_number\": \"HL695-083-3827\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HLoRDe8mOJ3arKOC95Yd0k0\"\n }, \n {\n \"_type\": \"hold\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:29:36.243310Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"debits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"source_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:29:36.864936Z\", \n \"created_at\": \"2013-08-26T22:29:36.215761Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL7HhYrTzfLRziBfes3VAlEk\", \n \"id\": \"WD7HfOnPU0KhbO9WUEGw0qJq\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7HfOnPU0KhbO9WUEGw0qJq/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W748-731-0310\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7HfOnPU0KhbO9WUEGw0qJq\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-09-02T22:29:35.884810Z\", \n \"fee\": null, \n \"id\": \"HL7HhYrTzfLRziBfes3VAlEk\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:29:03.557075Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\"\n }, \n \"transaction_number\": \"HL683-007-0604\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL7HhYrTzfLRziBfes3VAlEk\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds?limit=2&offset=4\", \n \"limit\": 2, \n \"next_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 5, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds?limit=2&offset=0\"\n}"
385
+ },
474
386
  "hold_show": {
475
387
  "request": {
476
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL74dRg2HWc5vQwX0kQ9XQfM"
477
- },
478
- "response": "{\n \"_type\": \"hold\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards\", \n \"created_at\": \"2013-11-14T16:22:04.139451Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/credits\", \n \"customer_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/holds\", \n \"id\": \"CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:22:08.051562Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards\", \n \"created_at\": \"2013-11-14T16:22:04.139451Z\", \n \"credits_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/credits\", \n \"debits_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/holds\", \n \"id\": \"CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/reversals\", \n \"source_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards/CC720AgbiWsOVlGJ0n9KYp6K\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/holds/HL74dRg2HWc5vQwX0kQ9XQfM/events\", \n \"expires_at\": \"2013-11-21T16:22:08.270146Z\", \n \"fee\": null, \n \"id\": \"HL74dRg2HWc5vQwX0kQ9XQfM\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:22:06.098768Z\", \n \"customer_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC720AgbiWsOVlGJ0n9KYp6K\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards/CC720AgbiWsOVlGJ0n9KYp6K\"\n }, \n \"transaction_number\": \"HL274-121-5099\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL74dRg2HWc5vQwX0kQ9XQfM\"\n}"
479
- },
388
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HLoRDe8mOJ3arKOC95Yd0k0"
389
+ },
390
+ "response": "{\n \"_type\": \"hold\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/cards\", \n \"created_at\": \"2013-08-26T22:29:49.262012Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/credits\", \n \"customer_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/holds\", \n \"id\": \"AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:30:03.490563Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/cards\", \n \"created_at\": \"2013-08-26T22:29:49.262012Z\", \n \"credits_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/credits\", \n \"debits_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/holds\", \n \"id\": \"AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/refunds\", \n \"reversals_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/reversals\", \n \"source_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/cards/CCbq3UzEtDsRwR7wMgs5cHZ\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-09-02T22:30:03.251746Z\", \n \"fee\": null, \n \"id\": \"HLoRDe8mOJ3arKOC95Yd0k0\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:29:51.535502Z\", \n \"customer_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CCbq3UzEtDsRwR7wMgs5cHZ\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/cards/CCbq3UzEtDsRwR7wMgs5cHZ\"\n }, \n \"transaction_number\": \"HL695-083-3827\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HLoRDe8mOJ3arKOC95Yd0k0\"\n}"
391
+ },
480
392
  "hold_update": {
481
393
  "request": {
482
394
  "payload": {
483
- "description": "update this description",
395
+ "description": "update this description",
484
396
  "meta": {
485
- "holding.for": "user1",
397
+ "holding.for": "user1",
486
398
  "meaningful.key": "some.value"
487
399
  }
488
- },
489
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL74dRg2HWc5vQwX0kQ9XQfM"
490
- },
491
- "response": "{\n \"_type\": \"hold\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards\", \n \"created_at\": \"2013-11-14T16:22:04.139451Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/credits\", \n \"customer_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/holds\", \n \"id\": \"CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:22:08.051562Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards\", \n \"created_at\": \"2013-11-14T16:22:04.139451Z\", \n \"credits_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/credits\", \n \"debits_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/holds\", \n \"id\": \"CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/reversals\", \n \"source_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards/CC720AgbiWsOVlGJ0n9KYp6K\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe\"\n }, \n \"debit\": null, \n \"description\": \"update this description\", \n \"events_uri\": \"/v1/holds/HL74dRg2HWc5vQwX0kQ9XQfM/events\", \n \"expires_at\": \"2013-11-21T16:22:08.270146Z\", \n \"fee\": null, \n \"id\": \"HL74dRg2HWc5vQwX0kQ9XQfM\", \n \"is_void\": false, \n \"meta\": {\n \"holding.for\": \"user1\", \n \"meaningful.key\": \"some.value\"\n }, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:22:06.098768Z\", \n \"customer_uri\": \"/v1/customers/CU6ZO6HM8Hf8NMQRMm3ZlCAe\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC720AgbiWsOVlGJ0n9KYp6K\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6ZO6HM8Hf8NMQRMm3ZlCAe/cards/CC720AgbiWsOVlGJ0n9KYp6K\"\n }, \n \"transaction_number\": \"HL274-121-5099\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL74dRg2HWc5vQwX0kQ9XQfM\"\n}"
492
- },
400
+ },
401
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HLoRDe8mOJ3arKOC95Yd0k0"
402
+ },
403
+ "response": "{\n \"_type\": \"hold\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/cards\", \n \"created_at\": \"2013-08-26T22:29:49.262012Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/credits\", \n \"customer_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/holds\", \n \"id\": \"AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:30:03.490563Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/cards\", \n \"created_at\": \"2013-08-26T22:29:49.262012Z\", \n \"credits_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/credits\", \n \"debits_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/holds\", \n \"id\": \"AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/refunds\", \n \"reversals_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/reversals\", \n \"source_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/cards/CCbq3UzEtDsRwR7wMgs5cHZ\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg\"\n }, \n \"debit\": null, \n \"description\": \"update this description\", \n \"expires_at\": \"2013-09-02T22:30:03.251746Z\", \n \"fee\": null, \n \"id\": \"HLoRDe8mOJ3arKOC95Yd0k0\", \n \"is_void\": false, \n \"meta\": {\n \"holding.for\": \"user1\", \n \"meaningful.key\": \"some.value\"\n }, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:29:51.535502Z\", \n \"customer_uri\": \"/v1/customers/AC8REMQqvuj8Kz8Yc3tpOPg\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CCbq3UzEtDsRwR7wMgs5cHZ\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC8REMQqvuj8Kz8Yc3tpOPg/cards/CCbq3UzEtDsRwR7wMgs5cHZ\"\n }, \n \"transaction_number\": \"HL695-083-3827\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HLoRDe8mOJ3arKOC95Yd0k0\"\n}"
404
+ },
493
405
  "hold_void": {
494
406
  "request": {
495
407
  "payload": {
496
408
  "is_void": "true"
497
- },
498
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL7kzlIJiVvhAmp8xFTMmMPB"
499
- },
500
- "response": "{\n \"_type\": \"hold\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }\n }, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/cards\", \n \"created_at\": \"2013-11-14T16:22:19.231687Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/credits\", \n \"customer_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/holds\", \n \"id\": \"CU7gMTGKh2yGHYn1lUxH9STS\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-11-14T16:22:22.585825Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards\", \n \"created_at\": \"2013-11-14T16:22:19.231687Z\", \n \"credits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/credits\", \n \"debits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/holds\", \n \"id\": \"CU7gMTGKh2yGHYn1lUxH9STS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/reversals\", \n \"source_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/holds/HL7kzlIJiVvhAmp8xFTMmMPB/events\", \n \"expires_at\": \"2013-11-21T16:22:22.788253Z\", \n \"fee\": null, \n \"id\": \"HL7kzlIJiVvhAmp8xFTMmMPB\", \n \"is_void\": true, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-11-14T16:22:20.900440Z\", \n \"customer_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"unknown\", \n \"security_code_check\": \"passed\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\"\n }, \n \"transaction_number\": \"HL161-334-3152\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL7kzlIJiVvhAmp8xFTMmMPB\"\n}"
501
- },
502
- "marketplace_id": "TEST-MP4K6K0PWGyPtXL4LZ42sQSb",
503
- "marketplace_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb",
409
+ },
410
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL15SKbacqwCIDMvoCQx3GbB"
411
+ },
412
+ "response": "{\n \"_type\": \"hold\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-08-26T22:30:41.736735Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"debits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"source_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-09-02T22:30:41.396736Z\", \n \"fee\": null, \n \"id\": \"HL15SKbacqwCIDMvoCQx3GbB\", \n \"is_void\": true, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"customer\", \n \"key\": \"account\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"country_code\": null, \n \"created_at\": \"2013-08-26T22:30:28.061829Z\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788\", \n \"id\": \"CCQv8XnGsBHF9afrEdc0um3\", \n \"is_valid\": true, \n \"is_verified\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": null, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\"\n }, \n \"transaction_number\": \"HL013-858-3805\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL15SKbacqwCIDMvoCQx3GbB\"\n}"
413
+ },
414
+ "marketplace_id": "TEST-MP4h8BxozeLxe7VAllP6b5gj",
415
+ "marketplace_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj",
416
+ "refund_account_list": {
417
+ "request": {
418
+ "customer_uri": "/v1/customers/ACO702cHD2tPiOCRSKYzVf1",
419
+ "uri": "/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds"
420
+ },
421
+ "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-08-26T22:30:48.042906Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"debits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"source_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:30:46.793463Z\", \n \"created_at\": \"2013-08-26T22:30:46.269164Z\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL1b1ZIkXBGoplsgir431CbM\", \n \"id\": \"WD1aYGtAuoJxpGSUYr8jVlyy\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W495-350-9517\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy\"\n }, \n \"description\": \"Refund for Order #1111\", \n \"fee\": null, \n \"id\": \"RF1cWzNKWwQnCCbeonFdLVkC\", \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"transaction_number\": \"RF504-732-3118\", \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds/RF1cWzNKWwQnCCbeonFdLVkC\"\n }\n ], \n \"last_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 1, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds?limit=2&offset=0\"\n}"
422
+ },
504
423
  "refund_create": {
505
424
  "request": {
506
- "debit_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY",
425
+ "debit_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy",
507
426
  "payload": {
508
- "debit_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY",
509
- "description": "Refund for Order #1111",
427
+ "debit_uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy",
428
+ "description": "Refund for Order #1111",
510
429
  "meta": {
511
- "fulfillment.item.condition": "OK",
512
- "merchant.feedback": "positive",
430
+ "fulfillment.item.condition": "OK",
431
+ "merchant.feedback": "positive",
513
432
  "user.refund_reason": "not happy with product"
514
433
  }
515
- },
516
- "uri": "/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds"
517
- },
518
- "response": "{\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-11-14T16:22:27.894146Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards\", \n \"created_at\": \"2013-11-14T16:22:19.231687Z\", \n \"credits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/credits\", \n \"debits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/holds\", \n \"id\": \"CU7gMTGKh2yGHYn1lUxH9STS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/reversals\", \n \"source_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:22:26.746556Z\", \n \"created_at\": \"2013-11-14T16:22:25.975814Z\", \n \"customer_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD7omMnm45N2JcPZ6fcaRRgY/events\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL7ol64Qezs7DVaup1KqTHn2\", \n \"id\": \"WD7omMnm45N2JcPZ6fcaRRgY\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W109-369-8530\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY\"\n }, \n \"description\": \"Refund for Order #1111\", \n \"events_uri\": \"/v1/refunds/RF7qwuLxprQJuVGf7sTAdwKc/events\", \n \"fee\": null, \n \"id\": \"RF7qwuLxprQJuVGf7sTAdwKc\", \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RF442-144-9327\", \n \"uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds/RF7qwuLxprQJuVGf7sTAdwKc\"\n}"
519
- },
434
+ },
435
+ "uri": "/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds"
436
+ },
437
+ "response": "{\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-08-26T22:30:48.042906Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"debits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"source_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:30:46.793463Z\", \n \"created_at\": \"2013-08-26T22:30:46.269164Z\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL1b1ZIkXBGoplsgir431CbM\", \n \"id\": \"WD1aYGtAuoJxpGSUYr8jVlyy\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W495-350-9517\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy\"\n }, \n \"description\": \"Refund for Order #1111\", \n \"fee\": null, \n \"id\": \"RF1cWzNKWwQnCCbeonFdLVkC\", \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"transaction_number\": \"RF504-732-3118\", \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds/RF1cWzNKWwQnCCbeonFdLVkC\"\n}"
438
+ },
520
439
  "refund_customer_list": {
521
440
  "request": {
522
- "customer_uri": "/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS",
523
- "uri": "/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds"
524
- },
525
- "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-11-14T16:22:27.894146Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards\", \n \"created_at\": \"2013-11-14T16:22:19.231687Z\", \n \"credits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/credits\", \n \"debits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/holds\", \n \"id\": \"CU7gMTGKh2yGHYn1lUxH9STS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/reversals\", \n \"source_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:22:26.746556Z\", \n \"created_at\": \"2013-11-14T16:22:25.975814Z\", \n \"customer_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD7omMnm45N2JcPZ6fcaRRgY/events\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL7ol64Qezs7DVaup1KqTHn2\", \n \"id\": \"WD7omMnm45N2JcPZ6fcaRRgY\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W109-369-8530\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY\"\n }, \n \"description\": \"Refund for Order #1111\", \n \"events_uri\": \"/v1/refunds/RF7qwuLxprQJuVGf7sTAdwKc/events\", \n \"fee\": null, \n \"id\": \"RF7qwuLxprQJuVGf7sTAdwKc\", \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RF442-144-9327\", \n \"uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds/RF7qwuLxprQJuVGf7sTAdwKc\"\n }\n ], \n \"last_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 1, \n \"uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds?limit=2&offset=0\"\n}"
526
- },
441
+ "customer_uri": "/v1/customers/ACO702cHD2tPiOCRSKYzVf1",
442
+ "uri": "/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds"
443
+ },
444
+ "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-08-26T22:30:48.042906Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"debits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"source_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:30:46.793463Z\", \n \"created_at\": \"2013-08-26T22:30:46.269164Z\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL1b1ZIkXBGoplsgir431CbM\", \n \"id\": \"WD1aYGtAuoJxpGSUYr8jVlyy\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W495-350-9517\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy\"\n }, \n \"description\": \"update this description\", \n \"fee\": null, \n \"id\": \"RF1cWzNKWwQnCCbeonFdLVkC\", \n \"meta\": {\n \"refund.reason\": \"user not happy with product\", \n \"user.notes\": \"very polite on the phone\", \n \"user.refund.count\": \"3\"\n }, \n \"transaction_number\": \"RF504-732-3118\", \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds/RF1cWzNKWwQnCCbeonFdLVkC\"\n }\n ], \n \"last_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 1, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds?limit=2&offset=0\"\n}"
445
+ },
527
446
  "refund_list": {
528
447
  "request": {
529
- "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/refunds"
530
- },
531
- "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/refunds?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/cards\", \n \"created_at\": \"2013-11-14T16:22:19.231687Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/credits\", \n \"customer_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/holds\", \n \"id\": \"CU7gMTGKh2yGHYn1lUxH9STS\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-11-14T16:22:27.894146Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards\", \n \"created_at\": \"2013-11-14T16:22:19.231687Z\", \n \"credits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/credits\", \n \"debits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/holds\", \n \"id\": \"CU7gMTGKh2yGHYn1lUxH9STS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/reversals\", \n \"source_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:22:26.746556Z\", \n \"created_at\": \"2013-11-14T16:22:25.975814Z\", \n \"customer_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD7omMnm45N2JcPZ6fcaRRgY/events\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL7ol64Qezs7DVaup1KqTHn2\", \n \"id\": \"WD7omMnm45N2JcPZ6fcaRRgY\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W109-369-8530\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY\"\n }, \n \"description\": \"Refund for Order #1111\", \n \"events_uri\": \"/v1/refunds/RF7qwuLxprQJuVGf7sTAdwKc/events\", \n \"fee\": null, \n \"id\": \"RF7qwuLxprQJuVGf7sTAdwKc\", \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RF442-144-9327\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/refunds/RF7qwuLxprQJuVGf7sTAdwKc\"\n }, \n {\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-11-14T16:21:54.905713Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards\", \n \"created_at\": \"2013-11-14T16:21:37.144218Z\", \n \"credits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/credits\", \n \"debits_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/holds\", \n \"id\": \"CU6vs1tjxBtifgTuzKjCGtVS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/reversals\", \n \"source_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:21:54.005354Z\", \n \"created_at\": \"2013-11-14T16:21:52.648535Z\", \n \"customer_uri\": \"/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD6MTAHor9FhO4G2nvZwaXvi/events\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL6MSFloTodCzP9beAgM2IBW\", \n \"id\": \"WD6MTAHor9FhO4G2nvZwaXvi\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6MTAHor9FhO4G2nvZwaXvi/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU6vs1tjxBtifgTuzKjCGtVS/cards/CC6xbFPglEtPRSEA65a5Bd60\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W409-412-6948\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD6MTAHor9FhO4G2nvZwaXvi\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/refunds/RF6PpVmJdJsmaBdtMDwtVd4Q/events\", \n \"fee\": null, \n \"id\": \"RF6PpVmJdJsmaBdtMDwtVd4Q\", \n \"meta\": {}, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RF480-493-3185\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/refunds/RF6PpVmJdJsmaBdtMDwtVd4Q\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/refunds?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 2, \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/refunds?limit=2&offset=0\"\n}"
532
- },
448
+ "uri": "/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/refunds"
449
+ },
450
+ "response": "{\n \"_type\": \"page\", \n \"_uris\": {\n \"first_uri\": {\n \"_type\": \"page\", \n \"key\": \"first\"\n }, \n \"last_uri\": {\n \"_type\": \"page\", \n \"key\": \"last\"\n }, \n \"next_uri\": {\n \"_type\": \"page\", \n \"key\": \"next\"\n }, \n \"previous_uri\": {\n \"_type\": \"page\", \n \"key\": \"previous\"\n }\n }, \n \"first_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/refunds?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-08-26T22:30:48.042906Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"debits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"source_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:30:46.793463Z\", \n \"created_at\": \"2013-08-26T22:30:46.269164Z\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL1b1ZIkXBGoplsgir431CbM\", \n \"id\": \"WD1aYGtAuoJxpGSUYr8jVlyy\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W495-350-9517\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy\"\n }, \n \"description\": \"Refund for Order #1111\", \n \"fee\": null, \n \"id\": \"RF1cWzNKWwQnCCbeonFdLVkC\", \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"transaction_number\": \"RF504-732-3118\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/refunds/RF1cWzNKWwQnCCbeonFdLVkC\"\n }, \n {\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-08-26T22:29:38.157939Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards\", \n \"created_at\": \"2013-08-26T22:29:00.832477Z\", \n \"credits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/credits\", \n \"debits_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/holds\", \n \"id\": \"AC73sGhakFEQQFbLDX6WSq9y\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/refunds\", \n \"reversals_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/reversals\", \n \"source_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:29:36.864936Z\", \n \"created_at\": \"2013-08-26T22:29:36.215761Z\", \n \"customer_uri\": \"/v1/customers/AC73sGhakFEQQFbLDX6WSq9y\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL7HhYrTzfLRziBfes3VAlEk\", \n \"id\": \"WD7HfOnPU0KhbO9WUEGw0qJq\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7HfOnPU0KhbO9WUEGw0qJq/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/AC73sGhakFEQQFbLDX6WSq9y/cards/CC76wxKkWO9RoCf8lX8oI9Cy\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W748-731-0310\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD7HfOnPU0KhbO9WUEGw0qJq\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"id\": \"RF7JoC6EaAVQ4F7kkUsWc3Ta\", \n \"meta\": {}, \n \"transaction_number\": \"RF326-933-1975\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/refunds/RF7JoC6EaAVQ4F7kkUsWc3Ta\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/refunds?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 2, \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/refunds?limit=2&offset=0\"\n}"
451
+ },
533
452
  "refund_show": {
534
453
  "request": {
535
- "uri": "/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds/RF7qwuLxprQJuVGf7sTAdwKc"
536
- },
537
- "response": "{\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/cards\", \n \"created_at\": \"2013-11-14T16:22:19.231687Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/credits\", \n \"customer_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/holds\", \n \"id\": \"CU7gMTGKh2yGHYn1lUxH9STS\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-11-14T16:22:27.894146Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards\", \n \"created_at\": \"2013-11-14T16:22:19.231687Z\", \n \"credits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/credits\", \n \"debits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/holds\", \n \"id\": \"CU7gMTGKh2yGHYn1lUxH9STS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/reversals\", \n \"source_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:22:26.746556Z\", \n \"created_at\": \"2013-11-14T16:22:25.975814Z\", \n \"customer_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD7omMnm45N2JcPZ6fcaRRgY/events\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL7ol64Qezs7DVaup1KqTHn2\", \n \"id\": \"WD7omMnm45N2JcPZ6fcaRRgY\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W109-369-8530\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY\"\n }, \n \"description\": \"Refund for Order #1111\", \n \"events_uri\": \"/v1/refunds/RF7qwuLxprQJuVGf7sTAdwKc/events\", \n \"fee\": null, \n \"id\": \"RF7qwuLxprQJuVGf7sTAdwKc\", \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RF442-144-9327\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/refunds/RF7qwuLxprQJuVGf7sTAdwKc\"\n}"
538
- },
454
+ "uri": "/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds/RF1cWzNKWwQnCCbeonFdLVkC"
455
+ },
456
+ "response": "{\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-08-26T22:30:48.042906Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"debits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"source_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:30:46.793463Z\", \n \"created_at\": \"2013-08-26T22:30:46.269164Z\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL1b1ZIkXBGoplsgir431CbM\", \n \"id\": \"WD1aYGtAuoJxpGSUYr8jVlyy\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W495-350-9517\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy\"\n }, \n \"description\": \"Refund for Order #1111\", \n \"fee\": null, \n \"id\": \"RF1cWzNKWwQnCCbeonFdLVkC\", \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"transaction_number\": \"RF504-732-3118\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/refunds/RF1cWzNKWwQnCCbeonFdLVkC\"\n}"
457
+ },
539
458
  "refund_update": {
540
459
  "request": {
541
460
  "payload": {
542
- "description": "update this description",
461
+ "description": "update this description",
543
462
  "meta": {
544
- "refund.reason": "user not happy with product",
545
- "user.notes": "very polite on the phone",
463
+ "refund.reason": "user not happy with product",
464
+ "user.notes": "very polite on the phone",
546
465
  "user.refund.count": "3"
547
466
  }
548
- },
549
- "uri": "/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds/RF7qwuLxprQJuVGf7sTAdwKc"
550
- },
551
- "response": "{\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/cards\", \n \"created_at\": \"2013-11-14T16:22:19.231687Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/credits\", \n \"customer_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/holds\", \n \"id\": \"CU7gMTGKh2yGHYn1lUxH9STS\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-11-14T16:22:27.894146Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards\", \n \"created_at\": \"2013-11-14T16:22:19.231687Z\", \n \"credits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/credits\", \n \"debits_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/holds\", \n \"id\": \"CU7gMTGKh2yGHYn1lUxH9STS\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/refunds\", \n \"reversals_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/reversals\", \n \"source_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"events_uri\": {\n \"_type\": \"page\", \n \"key\": \"events\"\n }, \n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-11-14T16:22:26.746556Z\", \n \"created_at\": \"2013-11-14T16:22:25.975814Z\", \n \"customer_uri\": \"/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"events_uri\": \"/v1/debits/WD7omMnm45N2JcPZ6fcaRRgY/events\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL7ol64Qezs7DVaup1KqTHn2\", \n \"id\": \"WD7omMnm45N2JcPZ6fcaRRgY\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts/CU7gMTGKh2yGHYn1lUxH9STS/cards/CC7iFRCb5AvLuZ9qzIF0VMmA\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W109-369-8530\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY\"\n }, \n \"description\": \"update this description\", \n \"events_uri\": \"/v1/refunds/RF7qwuLxprQJuVGf7sTAdwKc/events\", \n \"fee\": null, \n \"id\": \"RF7qwuLxprQJuVGf7sTAdwKc\", \n \"meta\": {\n \"refund.reason\": \"user not happy with product\", \n \"user.notes\": \"very polite on the phone\", \n \"user.refund.count\": \"3\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"RF442-144-9327\", \n \"uri\": \"/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/refunds/RF7qwuLxprQJuVGf7sTAdwKc\"\n}"
467
+ },
468
+ "uri": "/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds/RF1cWzNKWwQnCCbeonFdLVkC"
469
+ },
470
+ "response": "{\n \"_type\": \"refund\", \n \"_uris\": {}, \n \"account\": {\n \"_type\": \"account\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-08-26T22:30:48.042906Z\", \n \"customer\": {\n \"_type\": \"customer\", \n \"_uris\": {\n \"bank_accounts_uri\": {\n \"_type\": \"page\", \n \"key\": \"bank_accounts\"\n }, \n \"cards_uri\": {\n \"_type\": \"page\", \n \"key\": \"cards\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"debits_uri\": {\n \"_type\": \"page\", \n \"key\": \"debits\"\n }, \n \"holds_uri\": {\n \"_type\": \"page\", \n \"key\": \"holds\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }, \n \"reversals_uri\": {\n \"_type\": \"page\", \n \"key\": \"reversals\"\n }, \n \"source_uri\": {\n \"_type\": \"card\", \n \"key\": \"source\"\n }, \n \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards\", \n \"created_at\": \"2013-08-26T22:30:25.937376Z\", \n \"credits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/credits\", \n \"debits_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/holds\", \n \"id\": \"ACO702cHD2tPiOCRSKYzVf1\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/refunds\", \n \"reversals_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/reversals\", \n \"source_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\"\n }, \n \"debit\": {\n \"_type\": \"debit\", \n \"_uris\": {\n \"hold_uri\": {\n \"_type\": \"hold\", \n \"key\": \"hold\"\n }, \n \"refunds_uri\": {\n \"_type\": \"page\", \n \"key\": \"refunds\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-08-26T22:30:46.793463Z\", \n \"created_at\": \"2013-08-26T22:30:46.269164Z\", \n \"customer_uri\": \"/v1/customers/ACO702cHD2tPiOCRSKYzVf1\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/holds/HL1b1ZIkXBGoplsgir431CbM\", \n \"id\": \"WD1aYGtAuoJxpGSUYr8jVlyy\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/accounts/ACO702cHD2tPiOCRSKYzVf1/cards/CCQv8XnGsBHF9afrEdc0um3\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W495-350-9517\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/debits/WD1aYGtAuoJxpGSUYr8jVlyy\"\n }, \n \"description\": \"update this description\", \n \"fee\": null, \n \"id\": \"RF1cWzNKWwQnCCbeonFdLVkC\", \n \"meta\": {\n \"refund.reason\": \"user not happy with product\", \n \"user.notes\": \"very polite on the phone\", \n \"user.refund.count\": \"3\"\n }, \n \"transaction_number\": \"RF504-732-3118\", \n \"uri\": \"/v1/marketplaces/TEST-MP4h8BxozeLxe7VAllP6b5gj/refunds/RF1cWzNKWwQnCCbeonFdLVkC\"\n}"
552
471
  }
553
472
  }