balanced 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/.ruby-version +1 -1
  4. data/balanced.gemspec +2 -2
  5. data/examples/customers-with-meta-example.rb +141 -0
  6. data/examples/customers.rb +1 -6
  7. data/examples/examples.rb +1 -1
  8. data/lib/balanced/resources/marketplace.rb +1 -1
  9. data/lib/balanced/version.rb +1 -1
  10. data/scenario.cache +396 -383
  11. data/scenarios/account_add_card/ruby.mako +3 -3
  12. data/scenarios/account_capture_hold/request.rb +1 -1
  13. data/scenarios/account_capture_hold/ruby.mako +1 -1
  14. data/scenarios/account_create/ruby.mako +1 -1
  15. data/scenarios/account_create_buyer/request.rb +2 -1
  16. data/scenarios/account_create_buyer/ruby.mako +3 -2
  17. data/scenarios/account_create_debit/request.rb +1 -1
  18. data/scenarios/account_create_debit/ruby.mako +1 -1
  19. data/scenarios/account_create_hold/request.rb +1 -1
  20. data/scenarios/account_create_hold/ruby.mako +1 -1
  21. data/scenarios/account_create_merchant/ruby.mako +3 -3
  22. data/scenarios/account_underwrite_business/request.rb +2 -4
  23. data/scenarios/account_underwrite_business/ruby.mako +14 -4
  24. data/scenarios/account_underwrite_person/request.rb +1 -1
  25. data/scenarios/account_underwrite_person/ruby.mako +7 -2
  26. data/scenarios/bank_account_create/request.rb +1 -1
  27. data/scenarios/bank_account_create/ruby.mako +5 -2
  28. data/scenarios/bank_account_delete/ruby.mako +2 -2
  29. data/scenarios/bank_account_invalid_routing_number/request.rb +4 -1
  30. data/scenarios/bank_account_invalid_routing_number/ruby.mako +8 -2
  31. data/scenarios/bank_account_list/ruby.mako +1 -1
  32. data/scenarios/bank_account_show/ruby.mako +2 -2
  33. data/scenarios/bank_account_verification_create/ruby.mako +2 -2
  34. data/scenarios/bank_account_verification_show/ruby.mako +2 -2
  35. data/scenarios/bank_account_verification_update/request.rb +1 -2
  36. data/scenarios/bank_account_verification_update/ruby.mako +4 -5
  37. data/scenarios/callback_create/definition.rb +1 -1
  38. data/scenarios/callback_create/request.rb +1 -1
  39. data/scenarios/callback_create/ruby.mako +11 -0
  40. data/scenarios/callback_delete/definition.rb +1 -1
  41. data/scenarios/callback_delete/request.rb +1 -1
  42. data/scenarios/callback_delete/ruby.mako +10 -0
  43. data/scenarios/callback_list/definition.rb +1 -1
  44. data/scenarios/callback_list/ruby.mako +10 -0
  45. data/scenarios/callback_show/definition.rb +1 -1
  46. data/scenarios/callback_show/ruby.mako +9 -0
  47. data/scenarios/card_create/request.rb +1 -2
  48. data/scenarios/card_create/ruby.mako +5 -3
  49. data/scenarios/card_delete/ruby.mako +2 -2
  50. data/scenarios/card_invalidate/ruby.mako +2 -2
  51. data/scenarios/card_list/ruby.mako +1 -1
  52. data/scenarios/card_show/ruby.mako +2 -2
  53. data/scenarios/card_update/request.rb +1 -1
  54. data/scenarios/card_update/ruby.mako +5 -3
  55. data/scenarios/credit_account_merchant_create/request.rb +1 -1
  56. data/scenarios/credit_bank_account_list/ruby.mako +2 -2
  57. data/scenarios/credit_create_existing_bank_account/request.rb +1 -1
  58. data/scenarios/credit_create_existing_bank_account/ruby.mako +3 -3
  59. data/scenarios/credit_create_new_bank_account/request.rb +1 -1
  60. data/scenarios/credit_create_new_bank_account/ruby.mako +5 -2
  61. data/scenarios/credit_customer_list/ruby.mako +2 -2
  62. data/scenarios/credit_failed_state/request.rb +2 -2
  63. data/scenarios/credit_failed_state/ruby.mako +5 -2
  64. data/scenarios/credit_list/ruby.mako +1 -1
  65. data/scenarios/credit_paid_state/request.rb +2 -2
  66. data/scenarios/credit_paid_state/ruby.mako +5 -2
  67. data/scenarios/credit_pending_state/request.rb +2 -2
  68. data/scenarios/credit_pending_state/ruby.mako +5 -2
  69. data/scenarios/credit_show/ruby.mako +2 -2
  70. data/scenarios/customer_add_bank_account/ruby.mako +3 -3
  71. data/scenarios/customer_add_card/ruby.mako +3 -3
  72. data/scenarios/customer_capture_hold/request.rb +1 -1
  73. data/scenarios/customer_create/ruby.mako +1 -1
  74. data/scenarios/customer_create_debit/request.rb +1 -1
  75. data/scenarios/customer_create_debit/ruby.mako +3 -3
  76. data/scenarios/customer_create_hold/request.rb +1 -1
  77. data/scenarios/customer_create_hold/ruby.mako +1 -1
  78. data/scenarios/customer_credit/request.rb +1 -1
  79. data/scenarios/customer_credit/ruby.mako +2 -2
  80. data/scenarios/customer_delete/definition.rb +1 -0
  81. data/scenarios/customer_delete/request.rb +2 -0
  82. data/scenarios/customer_delete/ruby.mako +8 -0
  83. data/scenarios/debit_create/request.rb +3 -1
  84. data/scenarios/debit_create/ruby.mako +7 -3
  85. data/scenarios/debit_customer_list/ruby.mako +2 -2
  86. data/scenarios/debit_list/ruby.mako +1 -1
  87. data/scenarios/debit_refund/ruby.mako +2 -2
  88. data/scenarios/debit_show/ruby.mako +2 -2
  89. data/scenarios/debit_update/request.rb +3 -1
  90. data/scenarios/debit_update/ruby.mako +6 -3
  91. data/scenarios/event_list/ruby.mako +1 -1
  92. data/scenarios/event_show/ruby.mako +2 -2
  93. data/scenarios/helpers.rb +40 -7
  94. data/scenarios/hold_capture/request.rb +1 -1
  95. data/scenarios/hold_capture/ruby.mako +4 -3
  96. data/scenarios/hold_create/definition.rb +1 -1
  97. data/scenarios/hold_create/request.rb +3 -3
  98. data/scenarios/hold_create/ruby.mako +7 -6
  99. data/scenarios/hold_customer_list/ruby.mako +2 -2
  100. data/scenarios/hold_list/ruby.mako +1 -1
  101. data/scenarios/hold_show/ruby.mako +2 -2
  102. data/scenarios/hold_update/request.rb +3 -1
  103. data/scenarios/hold_update/ruby.mako +6 -3
  104. data/scenarios/hold_void/ruby.mako +2 -2
  105. data/scenarios/refund_account_list/ruby.mako +2 -2
  106. data/scenarios/refund_create/request.rb +4 -2
  107. data/scenarios/refund_create/ruby.mako +8 -4
  108. data/scenarios/refund_customer_list/ruby.mako +11 -0
  109. data/scenarios/refund_list/ruby.mako +1 -1
  110. data/scenarios/refund_show/ruby.mako +2 -2
  111. data/scenarios/refund_update/request.rb +3 -1
  112. data/scenarios/refund_update/ruby.mako +7 -3
  113. data/scenarios/render_mako.rb +1 -1
  114. metadata +23 -25
  115. data/.rbenv-version +0 -1
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 702de4ea3bdcd354e312e317d8d065c88a4b40f1
4
+ data.tar.gz: 21dbefe6a866777a6a2ef4372d254c3be9d41f05
5
+ SHA512:
6
+ metadata.gz: 2dd3628ee2e6de7a7f88aa21a11ffc097c3cb1dbdcc8f933ee9d3dfb137277b21d4cb203ace1fc4f39de4f385c274430de4b57322ecb06295463f024a2797539
7
+ data.tar.gz: 8d19b4684e94ef36beb8bc2d1119d665e7a0f489b1d76a68b932c00af99c784b2aad60cb047867e5e99e503dbe40fa49180bcad4ff24bbbce07efd8105c8ce56
data/.gitignore CHANGED
@@ -33,3 +33,4 @@ spec/cassettes
33
33
  # OS X
34
34
  .DS_Store
35
35
 
36
+ .ruby-version
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.0.0-p247
1
+ 2.1.0
data/balanced.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  gem.summary = %q{Sign up on https://balancedpayments.com/}
14
14
  gem.homepage = "https://balancedpayments.com"
15
15
 
16
- gem.add_dependency("faraday", '>= 0.8.6')
16
+ gem.add_dependency("faraday", '~> 0.8.6')
17
17
  gem.add_dependency("faraday_middleware", '~> 0.9.0')
18
18
 
19
19
  gem.files = `git ls-files`.split($\)
@@ -22,4 +22,4 @@ Gem::Specification.new do |gem|
22
22
  gem.name = "balanced"
23
23
  gem.require_paths = %w(lib)
24
24
  gem.version = Balanced::VERSION
25
- end
25
+ end
@@ -0,0 +1,141 @@
1
+ cwd = File.dirname(File.dirname(File.absolute_path(__FILE__)))
2
+ $:.unshift(cwd + "/lib")
3
+ require 'balanced'
4
+ require 'securerandom'
5
+
6
+
7
+ begin
8
+ Balanced::Card
9
+ rescue NameError
10
+ raise "wtf"
11
+ end
12
+
13
+ host = ENV.fetch('BALANCED_HOST') { nil }
14
+ options = {}
15
+ if host
16
+ options[:scheme] = 'http'
17
+ options[:host] = host
18
+ options[:port] = 5000
19
+ end
20
+
21
+ Balanced.configure(nil, options)
22
+
23
+ puts "create our new api key"
24
+ api_key = Balanced::ApiKey.new.save
25
+ puts "Our secret is: ", api_key.secret
26
+ secret = api_key.secret
27
+
28
+ puts "configure with our secret #{secret}"
29
+ Balanced.configure(secret)
30
+
31
+ puts "create our marketplace"
32
+ begin
33
+ marketplace = Balanced::Marketplace.new.save
34
+ rescue Balanced::Conflict => ex
35
+ marketplace = Balanced::Marketplace.mine
36
+ end
37
+
38
+ puts "create a customer"
39
+
40
+ uniq_id = ::SecureRandom.uuid
41
+
42
+ customer1 = Balanced::Customer.new(
43
+ :name => "Bill",
44
+ :email => "bill@bill.com",
45
+ :business_name => "Bill Inc.",
46
+ :ssn_last4 => "1234",
47
+ :address => {
48
+ :line1 => "1234 1st Street",
49
+ :city => "San Francisco",
50
+ :state => "CA"
51
+ },
52
+ :meta => {
53
+ :user_id => "MyUserID-#{uniq_id}-1"
54
+ }
55
+ ).save
56
+
57
+ customer2 = Balanced::Customer.new(
58
+ :name => "Bill",
59
+ :email => "bill@bill.com",
60
+ :business_name => "Bill Inc.",
61
+ :ssn_last4 => "1234",
62
+ :address => {
63
+ :line1 => "1234 1st Street",
64
+ :city => "San Francisco",
65
+ :state => "CA"
66
+ },
67
+ :meta => {
68
+ :user_id => "MyUserID-#{uniq_id}-2"
69
+ }
70
+ ).save
71
+
72
+ puts "our customer uri is #{customer1.uri}"
73
+
74
+ pager = Balanced::Pager.new(
75
+ marketplace.customers_uri,
76
+ {'meta.user_id' => "MyUserID-#{uniq_id}-1"}
77
+ )
78
+ customers = pager.all
79
+ raise "Wrong pager total" if customers.length != 1
80
+ customer = customers.first
81
+ raise "Wrong customer uri" if customer.uri != customer1.uri
82
+
83
+ puts "create a card and a bank account for our customer"
84
+
85
+ bank_account = Balanced::BankAccount.new(
86
+ :account_number => "1234567980",
87
+ :routing_number => "121000358",
88
+ :type => "CHECKING",
89
+ :name => "Jack Q Merchant"
90
+ ).save
91
+
92
+ card = Balanced::Card.new(
93
+ :card_number => "4111111111111111",
94
+ :expiration_month => "12",
95
+ :expiration_year => "2015",
96
+ ).save
97
+
98
+ puts "our bank account uri is #{bank_account.uri}"
99
+ puts "our card uri is #{card.uri}"
100
+
101
+ puts "associate the newly created bank account and card to our customer"
102
+
103
+ customer.add_card(card)
104
+ customer.add_bank_account(bank_account)
105
+
106
+ puts "check and make sure our customer now has a card and bank account listed"
107
+
108
+ raise "customer's cards should not be empty" unless customer.cards.any?
109
+ raise "customer's bank accounts should not be empty" unless customer.bank_accounts.any?
110
+
111
+ puts "create a debit on our customer"
112
+
113
+ customer.debit(
114
+ :amount => 5000,
115
+ :description => "new debit"
116
+ )
117
+
118
+ puts "check to make sure debit is added"
119
+
120
+ raise "customer should not have 0 debits" unless customer.debits.any?
121
+ raise "customer debit should be 5000" unless customer.debits.first.amount == 5000
122
+
123
+ puts "create a credit on our customer"
124
+
125
+ customer.credit(
126
+ :amount => 2500,
127
+ :description => "new credit"
128
+ )
129
+
130
+ puts "check to make sure credit is added"
131
+
132
+ raise "customer should not have 0 credits" unless customer.credits.any?
133
+ raise "customer should be 2500" unless customer.credits.first.amount == 2500
134
+
135
+ puts "check to see what is the active card for a customer"
136
+
137
+ raise "active card is incorrect" unless customer.active_card.id == card.id
138
+
139
+ puts "check to see what is the active bank_account for a customer"
140
+
141
+ raise "active bank account is incorrect" unless customer.active_bank_account.id == bank_account.id
@@ -1,7 +1,6 @@
1
1
  cwd = File.dirname(File.dirname(File.absolute_path(__FILE__)))
2
2
  $:.unshift(cwd + "/lib")
3
3
  require 'balanced'
4
- require 'ruby-debug'
5
4
 
6
5
 
7
6
  begin
@@ -46,7 +45,7 @@ customer = marketplace.create_customer(
46
45
  :line1 => "1234 1st Street",
47
46
  :city => "San Francisco",
48
47
  :state => "CA"
49
- }
48
+ }
50
49
  ).save
51
50
 
52
51
  puts "our customer uri is #{customer.uri}"
@@ -109,7 +108,3 @@ raise "active card is incorrect" unless customer.active_card.id == card.id
109
108
  puts "check to see what is the active bank_account for a customer"
110
109
 
111
110
  raise "active bank account is incorrect" unless customer.active_bank_account.id == bank_account.id
112
-
113
-
114
-
115
-
data/examples/examples.rb CHANGED
@@ -82,7 +82,7 @@ puts "ok, we have a merchant that's signing up, let's create an account for them
82
82
 
83
83
  bank_account = marketplace.create_bank_account(
84
84
  :account_number => "1234567890",
85
- :bank_code => "12",
85
+ :routing_number => "322271627",
86
86
  :name => "Jack Q Merchant",
87
87
  )
88
88
 
@@ -185,7 +185,7 @@ module Balanced
185
185
  card_number = args[0] || options.fetch(:card_number) { nil }
186
186
  expiration_month = args[1] || options.fetch(:expiration_month) { nil }
187
187
  expiration_year = args[2] || options.fetch(:expiration_year) { nil }
188
- security_code = args[3] || options.fetch(:expiration_year) { nil }
188
+ security_code = args[3] || options.fetch(:security_code) { nil }
189
189
  postal_code = args[4] || options.fetch(:postal_code) { nil }
190
190
  name = args[5] || options.fetch(:name) { nil }
191
191
  phone_number = args[6] || options.fetch(:phone_number) { nil }
@@ -1,3 +1,3 @@
1
1
  module Balanced
2
- VERSION = '0.7.4'
2
+ VERSION = '0.7.5'
3
3
  end
data/scenario.cache CHANGED
@@ -2,539 +2,552 @@
2
2
  "account_add_card": {
3
3
  "request": {
4
4
  "payload": {
5
- "card_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards/CC4GL1SYTyLy6nW6nf4kWw0w"
6
- },
7
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c"
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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n}"
10
- },
11
- "account_capture_hold": {
12
- "request": {
13
- "account_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX",
14
- "payload": {
15
- "amount": 1000,
16
- "hold_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL6t6iMvY9Touhig2PZnCOHk"
17
- },
18
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/debits"
19
- },
20
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/cards\", \n \"created_at\": \"2013-06-14T23:04:47.722321Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/credits\", \n \"customer_uri\": \"/v1/customers/AC6jdot989BbUks8LFIdRVcX\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/holds\", \n \"id\": \"AC6jdot989BbUks8LFIdRVcX\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX\"\n }, \n \"amount\": 1000, \n \"appears_on_statement_as\": \"example.com\", \n \"available_at\": \"2013-06-14T23:04:57.176213Z\", \n \"created_at\": \"2013-06-14T23:04:57.962338Z\", \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 \"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/CU6jFzgEc1h09yL1eV0ht7Nd/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/cards\", \n \"created_at\": \"2013-06-14T23:04:48.126397Z\", \n \"credits_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/credits\", \n \"debits_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/holds\", \n \"id\": \"CU6jFzgEc1h09yL1eV0ht7Nd\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/refunds\", \n \"source_uri\": \"/v1/customers/AC6jdot989BbUks8LFIdRVcX/cards/CC6iQ3QzBhyegVguKpz9ooAi\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd\"\n }, \n \"description\": null, \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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX\", \n \"amount\": 1000, \n \"created_at\": \"2013-06-14T23:04:56.520682Z\", \n \"customer_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD6uIEXRn01sg07VvQrQ2dYs\", \n \"description\": null, \n \"expires_at\": \"2013-06-21T23:04:56.420929Z\", \n \"fee\": null, \n \"id\": \"HL6t6iMvY9Touhig2PZnCOHk\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/cards/CC6iQ3QzBhyegVguKpz9ooAi\", \n \"transaction_number\": \"HL807-934-1978\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL6t6iMvY9Touhig2PZnCOHk\"\n }, \n \"id\": \"WD6uIEXRn01sg07VvQrQ2dYs\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD6uIEXRn01sg07VvQrQ2dYs/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:04:47.391940Z\", \n \"customer_uri\": \"/v1/customers/AC6jdot989BbUks8LFIdRVcX\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC6iQ3QzBhyegVguKpz9ooAi\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/cards/CC6iQ3QzBhyegVguKpz9ooAi\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W920-419-8540\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD6uIEXRn01sg07VvQrQ2dYs\"\n}"
21
- },
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
+ },
22
11
  "account_create": {
23
12
  "request": {
24
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts"
25
- },
26
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4CRbyiiG6HajXNabRntqqj/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4CRbyiiG6HajXNabRntqqj/cards\", \n \"created_at\": \"2013-06-14T23:03:14.936734Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4CRbyiiG6HajXNabRntqqj/credits\", \n \"customer_uri\": \"/v1/customers/AC4CRbyiiG6HajXNabRntqqj\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4CRbyiiG6HajXNabRntqqj/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4CRbyiiG6HajXNabRntqqj/holds\", \n \"id\": \"AC4CRbyiiG6HajXNabRntqqj\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4CRbyiiG6HajXNabRntqqj/refunds\", \n \"roles\": [], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4CRbyiiG6HajXNabRntqqj/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4CRbyiiG6HajXNabRntqqj\"\n}"
27
- },
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
+ },
28
17
  "account_create_buyer": {
29
18
  "request": {
30
19
  "payload": {
31
- "card_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards/CC6iQ3QzBhyegVguKpz9ooAi"
32
- },
33
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts"
34
- },
35
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/cards\", \n \"created_at\": \"2013-06-14T23:04:47.722321Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/credits\", \n \"customer_uri\": \"/v1/customers/AC6jdot989BbUks8LFIdRVcX\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/holds\", \n \"id\": \"AC6jdot989BbUks8LFIdRVcX\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX\"\n}"
36
- },
37
- "account_create_debit": {
38
- "request": {
39
- "account_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX",
40
- "payload": {
41
- "amount": 1000
42
- },
43
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/debits"
44
- },
45
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/cards\", \n \"created_at\": \"2013-06-14T23:04:47.722321Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/credits\", \n \"customer_uri\": \"/v1/customers/AC6jdot989BbUks8LFIdRVcX\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/holds\", \n \"id\": \"AC6jdot989BbUks8LFIdRVcX\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX\"\n }, \n \"amount\": 1000, \n \"appears_on_statement_as\": \"example.com\", \n \"available_at\": \"2013-06-14T23:04:52.739129Z\", \n \"created_at\": \"2013-06-14T23:04:53.038806Z\", \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 \"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/CU6jFzgEc1h09yL1eV0ht7Nd/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/cards\", \n \"created_at\": \"2013-06-14T23:04:48.126397Z\", \n \"credits_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/credits\", \n \"debits_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/holds\", \n \"id\": \"CU6jFzgEc1h09yL1eV0ht7Nd\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/refunds\", \n \"source_uri\": \"/v1/customers/AC6jdot989BbUks8LFIdRVcX/cards/CC6iQ3QzBhyegVguKpz9ooAi\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd\"\n }, \n \"description\": null, \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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX\", \n \"amount\": 1000, \n \"created_at\": \"2013-06-14T23:04:53.053183Z\", \n \"customer_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD6pbjGBoWPqkvlis2Bd84DS\", \n \"description\": null, \n \"expires_at\": \"2013-06-21T23:04:52.321843Z\", \n \"fee\": null, \n \"id\": \"HL6pcldUxfS08kav9RGSghew\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/cards/CC6iQ3QzBhyegVguKpz9ooAi\", \n \"transaction_number\": \"HL571-301-0260\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL6pcldUxfS08kav9RGSghew\"\n }, \n \"id\": \"WD6pbjGBoWPqkvlis2Bd84DS\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD6pbjGBoWPqkvlis2Bd84DS/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:04:47.391940Z\", \n \"customer_uri\": \"/v1/customers/AC6jdot989BbUks8LFIdRVcX\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC6iQ3QzBhyegVguKpz9ooAi\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/cards/CC6iQ3QzBhyegVguKpz9ooAi\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W131-162-3702\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD6pbjGBoWPqkvlis2Bd84DS\"\n}"
46
- },
47
- "account_create_hold": {
48
- "request": {
49
- "account_id": "AC6jdot989BbUks8LFIdRVcX",
50
- "account_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX",
51
- "payload": {
52
- "amount": 1000
53
- },
54
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/holds"
55
- },
56
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/cards\", \n \"created_at\": \"2013-06-14T23:04:47.722321Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/credits\", \n \"customer_uri\": \"/v1/customers/AC6jdot989BbUks8LFIdRVcX\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/holds\", \n \"id\": \"AC6jdot989BbUks8LFIdRVcX\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX\"\n }, \n \"amount\": 1000, \n \"created_at\": \"2013-06-14T23:04:56.520682Z\", \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 \"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/CU6jFzgEc1h09yL1eV0ht7Nd/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/cards\", \n \"created_at\": \"2013-06-14T23:04:48.126397Z\", \n \"credits_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/credits\", \n \"debits_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/holds\", \n \"id\": \"CU6jFzgEc1h09yL1eV0ht7Nd\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/refunds\", \n \"source_uri\": \"/v1/customers/AC6jdot989BbUks8LFIdRVcX/cards/CC6iQ3QzBhyegVguKpz9ooAi\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU6jFzgEc1h09yL1eV0ht7Nd\"\n }, \n \"debit\": null, \n \"description\": null, \n \"expires_at\": \"2013-06-21T23:04:56.420929Z\", \n \"fee\": null, \n \"id\": \"HL6t6iMvY9Touhig2PZnCOHk\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:04:47.391940Z\", \n \"customer_uri\": \"/v1/customers/AC6jdot989BbUks8LFIdRVcX\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC6iQ3QzBhyegVguKpz9ooAi\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC6jdot989BbUks8LFIdRVcX/cards/CC6iQ3QzBhyegVguKpz9ooAi\"\n }, \n \"transaction_number\": \"HL807-934-1978\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL6t6iMvY9Touhig2PZnCOHk\"\n}"
57
- },
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
+ },
58
26
  "account_create_merchant": {
59
27
  "request": {
60
28
  "payload": {
61
- "bank_account_uri": "/v1/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w"
62
- },
63
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c"
64
- },
65
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n}"
66
- },
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
+ },
67
35
  "account_underwrite_business": {
68
36
  "request": {
69
- "accounts_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts",
37
+ "accounts_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts",
70
38
  "payload": {
71
39
  "merchant": {
72
- "name": "Skripts4Kids",
40
+ "name": "Skripts4Kids",
73
41
  "person": {
74
- "dob": "1989-12",
75
- "name": "Timmy Q. CopyPasta",
76
- "phone_number": "+14089999999",
77
- "postal_code": "94110",
42
+ "dob": "1989-12",
43
+ "name": "Timmy Q. CopyPasta",
44
+ "phone_number": "+14089999999",
45
+ "postal_code": "94110",
78
46
  "street_address": "121 Skriptkid Row"
79
- },
80
- "phone_number": "+140899188155",
81
- "postal_code": "91111",
82
- "street_address": "555 VoidMain Road",
83
- "tax_id": "211111111",
47
+ },
48
+ "phone_number": "+140899188155",
49
+ "postal_code": "91111",
50
+ "street_address": "555 VoidMain Road",
51
+ "tax_id": "211111111",
84
52
  "type": "business"
85
53
  }
86
54
  }
87
- },
88
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4NtGI35QvY2B12fYidjeuQ/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4NtGI35QvY2B12fYidjeuQ/cards\", \n \"created_at\": \"2013-06-14T23:03:24.390990Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4NtGI35QvY2B12fYidjeuQ/credits\", \n \"customer_uri\": \"/v1/customers/AC4NtGI35QvY2B12fYidjeuQ\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4NtGI35QvY2B12fYidjeuQ/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4NtGI35QvY2B12fYidjeuQ/holds\", \n \"id\": \"AC4NtGI35QvY2B12fYidjeuQ\", \n \"meta\": {}, \n \"name\": \"Skripts4Kids\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4NtGI35QvY2B12fYidjeuQ/refunds\", \n \"roles\": [\n \"merchant\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4NtGI35QvY2B12fYidjeuQ/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4NtGI35QvY2B12fYidjeuQ\"\n}"
89
- },
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
+ },
90
58
  "account_underwrite_person": {
91
59
  "request": {
92
- "accounts_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts",
60
+ "accounts_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/accounts",
93
61
  "payload": {
94
62
  "merchant": {
95
- "dob": "1989-12",
96
- "name": "Timmy Q. CopyPasta",
97
- "phone_number": "+14089999999",
98
- "postal_code": "94110",
99
- "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",
100
68
  "type": "person"
101
69
  }
102
70
  }
103
- },
104
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4LCM3z28yJgalPw7ixEWNi/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4LCM3z28yJgalPw7ixEWNi/cards\", \n \"created_at\": \"2013-06-14T23:03:22.743275Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4LCM3z28yJgalPw7ixEWNi/credits\", \n \"customer_uri\": \"/v1/customers/AC4LCM3z28yJgalPw7ixEWNi\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4LCM3z28yJgalPw7ixEWNi/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4LCM3z28yJgalPw7ixEWNi/holds\", \n \"id\": \"AC4LCM3z28yJgalPw7ixEWNi\", \n \"meta\": {}, \n \"name\": \"Timmy Q. CopyPasta\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4LCM3z28yJgalPw7ixEWNi/refunds\", \n \"roles\": [\n \"merchant\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4LCM3z28yJgalPw7ixEWNi/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4LCM3z28yJgalPw7ixEWNi\"\n}"
105
- },
106
- "api_key": "8af725c6d54611e2bf5e026ba7f8ec28",
107
- "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-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",
108
76
  "bank_account_create": {
109
77
  "request": {
110
78
  "payload": {
111
- "account_number": "9900000001",
112
- "name": "Johann Bernoulli",
113
- "routing_number": "121000358",
79
+ "account_number": "9900000001",
80
+ "name": "Johann Bernoulli",
81
+ "routing_number": "121000358",
114
82
  "type": "checking"
115
- },
83
+ },
116
84
  "uri": "/v1/bank_accounts"
117
- },
118
- "response": "{\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\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-06-14T23:04:20.677469Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5ONs53HNn1Od9g99v0GNFJ/credits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA5ONs53HNn1Od9g99v0GNFJ\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5ONs53HNn1Od9g99v0GNFJ\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA5ONs53HNn1Od9g99v0GNFJ/verifications\"\n}"
119
- },
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
+ },
120
88
  "bank_account_delete": {
121
89
  "request": {
122
- "uri": "/v1/bank_accounts/BA4eTWiY1VPXkGpjaU6XPBhu"
90
+ "uri": "/v1/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee"
123
91
  }
124
- },
125
- "bank_account_find_and_credit": {
126
- "request": {
127
- "amount": 1000,
128
- "credits_uri": "https://api.balancedpayments.com/v1/bank_accounts/BA5ONs53HNn1Od9g99v0GNFJ/credits",
129
- "id": "BA5ONs53HNn1Od9g99v0GNFJ",
130
- "uri": "/v1/bank_accounts/BA5ONs53HNn1Od9g99v0GNFJ"
131
- },
132
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {}, \n \"amount\": 1000, \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 \"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-06-14T23:04:20.677469Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA5ONs53HNn1Od9g99v0GNFJ/credits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA5ONs53HNn1Od9g99v0GNFJ\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA5ONs53HNn1Od9g99v0GNFJ\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA5ONs53HNn1Od9g99v0GNFJ/verifications\"\n }, \n \"created_at\": \"2013-06-14T23:04:36.709369Z\", \n \"description\": null, \n \"id\": \"CR66OMj1wviHxcGRNrKKthEW\", \n \"meta\": {}, \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR66OMj1wviHxcGRNrKKthEW\"\n}"
133
- },
134
- "bank_account_find_and_delete": {
135
- "request": {
136
- "amount": 1000,
137
- "credits_uri": "https://api.balancedpayments.com/v1/bank_accounts/BA5ONs53HNn1Od9g99v0GNFJ/credits",
138
- "id": "BA5ONs53HNn1Od9g99v0GNFJ",
139
- "uri": "/v1/bank_accounts/BA5ONs53HNn1Od9g99v0GNFJ"
140
- }
141
- },
92
+ },
142
93
  "bank_account_invalid_routing_number": {
143
94
  "request": {
144
95
  "payload": {
145
- "account_number": "9900000001",
146
- "name": "Johann Bernoulli",
147
- "routing_number": "100000007",
96
+ "account_number": "9900000001",
97
+ "name": "Johann Bernoulli",
98
+ "routing_number": "100000007",
148
99
  "type": "checking"
149
- },
150
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/bank_accounts"
151
- },
152
- "response": "{\n \"additional\": null, \n \"category_code\": \"invalid-routing-number\", \n \"category_type\": \"request\", \n \"description\": \"Routing number is invalid. Your request id is OHMcaea28f4d54611e2881a026ba7c1aba6.\", \n \"extras\": {\n \"routing_number\": \"Routing number is invalid.\"\n }, \n \"request_id\": \"OHMcaea28f4d54611e2881a026ba7c1aba6\", \n \"status\": \"Bad Request\", \n \"status_code\": 400\n}"
153
- },
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
+ },
154
105
  "bank_account_list": {
155
106
  "request": {
156
107
  "uri": "/v1/bank_accounts"
157
- },
158
- "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 \"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-06-14T23:02:57.521714Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp/credits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA4jgL1IYTPL1da2wmwdWvPp\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp/verifications\"\n }, \n {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxxxxxxx5555\", \n \"bank_name\": \"WELLS FARGO BANK NA\", \n \"can_debit\": true, \n \"created_at\": \"2013-06-14T23:02:53.648797Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA4eTWiY1VPXkGpjaU6XPBhu/credits\", \n \"fingerprint\": \"6ybvaLUrJy07phK2EQ7pVk\", \n \"id\": \"BA4eTWiY1VPXkGpjaU6XPBhu\", \n \"meta\": {}, \n \"name\": \"TEST-MERCHANT-BANK-ACCOUNT\", \n \"routing_number\": \"121042882\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA4eTWiY1VPXkGpjaU6XPBhu\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4eTWiY1VPXkGpjaU6XPBhu/verifications\"\n }\n ], \n \"last_uri\": \"/v1/bank_accounts?limit=2&offset=0\", \n \"limit\": 2, \n \"next_uri\": null, \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 2, \n \"uri\": \"/v1/bank_accounts?limit=2&offset=0\"\n}"
159
- },
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
+ },
160
111
  "bank_account_show": {
161
112
  "request": {
162
- "uri": "/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp"
163
- },
164
- "response": "{\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\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-06-14T23:02:57.521714Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp/credits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA4jgL1IYTPL1da2wmwdWvPp\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp/verifications\"\n}"
165
- },
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
+ },
166
117
  "bank_account_verification_create": {
167
118
  "request": {
168
- "bank_account_uri": "/v1/bank_accounts/BA4p71EIOhci5Z6leAjFthCq",
169
- "payload": {
170
- "none": ""
171
- },
172
- "uri": "/v1/bank_accounts/BA4p71EIOhci5Z6leAjFthCq/verifications"
173
- },
174
- "response": "{\n \"_type\": \"bank_account_authentication\", \n \"_uris\": {}, \n \"attempts\": 0, \n \"id\": \"BZ4pWNaupBIKof947ENB5X9K\", \n \"remaining_attempts\": 3, \n \"state\": \"pending\", \n \"uri\": \"/v1/bank_accounts/BA4p71EIOhci5Z6leAjFthCq/verifications/BZ4pWNaupBIKof947ENB5X9K\"\n}"
175
- },
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
+ },
176
124
  "bank_account_verification_show": {
177
125
  "request": {
178
- "bank_account_uri": "/v1/bank_accounts/BA4rddoEDsMKlG1vSXAnkrT2",
179
- "uri": "/v1/bank_accounts/BA4rddoEDsMKlG1vSXAnkrT2/verifications/BZ4rN0mLXhpypdxLvRaKFt3F"
180
- },
181
- "response": "{\n \"_type\": \"bank_account_authentication\", \n \"_uris\": {}, \n \"attempts\": 0, \n \"id\": \"BZ4rN0mLXhpypdxLvRaKFt3F\", \n \"remaining_attempts\": 3, \n \"state\": \"pending\", \n \"uri\": \"/v1/bank_accounts/BA4rddoEDsMKlG1vSXAnkrT2/verifications/BZ4rN0mLXhpypdxLvRaKFt3F\"\n}"
182
- },
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
+ },
183
131
  "bank_account_verification_update": {
184
132
  "request": {
185
- "bank_account_uri": "/v1/bank_accounts/BA4tfzTrmuV1wXzXGg8Nf2t0",
133
+ "bank_account_uri": "/v1/bank_accounts/BA5uvDqG8xk4bGmwX3JTbIee",
186
134
  "payload": {
187
- "amount_1": 1,
135
+ "amount_1": 1,
188
136
  "amount_2": 1
189
- },
190
- "uri": "/v1/bank_accounts/BA4tfzTrmuV1wXzXGg8Nf2t0/verifications/BZ4tXRVE6BovN95NQN1AsIKr"
191
- },
192
- "response": "{\n \"_type\": \"bank_account_authentication\", \n \"_uris\": {}, \n \"attempts\": 1, \n \"id\": \"BZ4tXRVE6BovN95NQN1AsIKr\", \n \"remaining_attempts\": 2, \n \"state\": \"verified\", \n \"uri\": \"/v1/bank_accounts/BA4tfzTrmuV1wXzXGg8Nf2t0/verifications/BZ4tXRVE6BovN95NQN1AsIKr\"\n}"
193
- },
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
+ },
194
168
  "card_create": {
195
169
  "request": {
196
170
  "payload": {
197
- "card_number": "5105105105105100",
198
- "expiration_month": "12",
199
- "expiration_year": "2020",
171
+ "card_number": "5105105105105100",
172
+ "expiration_month": "12",
173
+ "expiration_year": "2020",
200
174
  "security_code": "123"
201
- },
202
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards"
203
- },
204
- "response": "{\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:04:47.391940Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC6iQ3QzBhyegVguKpz9ooAi\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards/CC6iQ3QzBhyegVguKpz9ooAi\"\n}"
205
- },
206
- "card_id": "CC4fU8CP0eQvL6wjRcJzyDMP",
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
+ },
180
+ "card_delete": {
181
+ "request": {
182
+ "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC5N3HHUDrAyvhNwQOoUd3UX"
183
+ }
184
+ },
185
+ "card_id": "CC4MhLvXQPH3q8EAMDUKa57i",
207
186
  "card_invalidate": {
208
187
  "request": {
209
188
  "payload": {
210
189
  "is_valid": "false"
211
- },
212
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards/CC4wel9K6ASutW6zqCWZpjsj"
213
- },
214
- "response": "{\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:09.045476Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4wel9K6ASutW6zqCWZpjsj\", \n \"is_valid\": false, \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_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards/CC4wel9K6ASutW6zqCWZpjsj\"\n}"
215
- },
190
+ },
191
+ "uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC5N3HHUDrAyvhNwQOoUd3UX"
192
+ },
193
+ "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
+ },
216
195
  "card_list": {
217
196
  "request": {
218
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards"
219
- },
220
- "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-MP4erLnXCYoaeyr3tx95WSKc/cards?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:09.045476Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4wel9K6ASutW6zqCWZpjsj\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards/CC4wel9K6ASutW6zqCWZpjsj\"\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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/cards\", \n \"created_at\": \"2013-06-14T23:02:54.794702Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/credits\", \n \"customer_uri\": \"/v1/customers/AC4gbQT0YEH3Gx3AlQFEcPk4\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/holds\", \n \"id\": \"AC4gbQT0YEH3Gx3AlQFEcPk4\", \n \"meta\": {}, \n \"name\": \"Benny Riemann\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4\"\n }, \n \"brand\": \"Visa\", \n \"card_type\": \"visa\", \n \"country_code\": \"USA\", \n \"created_at\": \"2013-06-14T23:02:54.529855Z\", \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 \"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/CU4gALH4EQuSjU9DhZitQYDm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm/cards\", \n \"created_at\": \"2013-06-14T23:02:55.152004Z\", \n \"credits_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm/credits\", \n \"debits_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm/holds\", \n \"id\": \"CU4gALH4EQuSjU9DhZitQYDm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm/refunds\", \n \"source_uri\": \"/v1/customers/AC4gbQT0YEH3Gx3AlQFEcPk4/cards/CC4fU8CP0eQvL6wjRcJzyDMP\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm\"\n }, \n \"expiration_month\": 4, \n \"expiration_year\": 2014, \n \"hash\": \"bd1c247d10c71b3134056f83165826241115d8e55fc107d303eeab955338eba2\", \n \"id\": \"CC4fU8CP0eQvL6wjRcJzyDMP\", \n \"is_valid\": true, \n \"last_four\": \"1111\", \n \"meta\": {}, \n \"name\": \"Benny Riemann\", \n \"postal_code\": \"10023\", \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": \"167 West 74th Street\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/cards/CC4fU8CP0eQvL6wjRcJzyDMP\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards?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-MP4erLnXCYoaeyr3tx95WSKc/cards?limit=2&offset=0\"\n}"
221
- },
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
+ },
222
201
  "card_show": {
223
202
  "request": {
224
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards/CC4wel9K6ASutW6zqCWZpjsj"
225
- },
226
- "response": "{\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:09.045476Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4wel9K6ASutW6zqCWZpjsj\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards/CC4wel9K6ASutW6zqCWZpjsj\"\n}"
227
- },
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
+ },
228
207
  "card_update": {
229
208
  "request": {
230
209
  "payload": {
231
210
  "meta": {
232
- "facebook.user_id": "0192837465",
233
- "my-own-customer-id": "12345",
211
+ "facebook.user_id": "0192837465",
212
+ "my-own-customer-id": "12345",
234
213
  "twitter.id": "1234987650"
235
214
  }
236
- },
237
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards/CC4wel9K6ASutW6zqCWZpjsj"
238
- },
239
- "response": "{\n \"_type\": \"card\", \n \"_uris\": {}, \n \"account\": null, \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:09.045476Z\", \n \"customer\": null, \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4wel9K6ASutW6zqCWZpjsj\", \n \"is_valid\": 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_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards/CC4wel9K6ASutW6zqCWZpjsj\"\n}"
240
- },
241
- "card_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards/CC4fU8CP0eQvL6wjRcJzyDMP",
242
- "credit_account_list": {
243
- "request": {
244
- "account_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c",
245
- "payload": {
246
- "amount": 100
247
- },
248
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits"
249
- },
250
- "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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"credit\", \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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 100, \n \"appears_on_statement_as\": \"example.com\", \n \"available_at\": null, \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"bank_code\": \"121000358\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-06-14T23:03:20.795726Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"is_valid\": true, \n \"last_four\": \"0001\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w/verifications\"\n }, \n \"created_at\": \"2013-06-14T23:03:33.456516Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\n }, \n \"description\": null, \n \"destination\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"bank_code\": \"121000358\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-06-14T23:03:20.795726Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"is_valid\": true, \n \"last_four\": \"0001\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w/verifications\"\n }, \n \"fee\": null, \n \"id\": \"CR4XGmhFE9a68pTA8XI4bhH4\", \n \"meta\": {}, \n \"state\": \"pending\", \n \"status\": \"pending\", \n \"transaction_number\": \"CR170-832-8835\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits/CR4XGmhFE9a68pTA8XI4bhH4\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/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/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits?limit=2&offset=0\"\n}"
251
- },
252
- "credit_account_merchant_create": {
253
- "request": {
254
- "account_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c",
255
- "payload": {
256
- "amount": 100
257
- },
258
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits"
259
- },
260
- "response": "{\n \"_type\": \"credit\", \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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 100, \n \"appears_on_statement_as\": \"example.com\", \n \"available_at\": null, \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"bank_code\": \"121000358\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-06-14T23:03:20.795726Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"is_valid\": true, \n \"last_four\": \"0001\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w/verifications\"\n }, \n \"created_at\": \"2013-06-14T23:03:33.456516Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\n }, \n \"description\": null, \n \"destination\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"credits_uri\": {\n \"_type\": \"page\", \n \"key\": \"credits\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }, \n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \n \"account_number\": \"xxxxxx0001\", \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"bank_code\": \"121000358\", \n \"bank_name\": \"BANK OF AMERICA, N.A.\", \n \"can_debit\": false, \n \"created_at\": \"2013-06-14T23:03:20.795726Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"is_valid\": true, \n \"last_four\": \"0001\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w/verifications\"\n }, \n \"fee\": null, \n \"id\": \"CR4XGmhFE9a68pTA8XI4bhH4\", \n \"meta\": {}, \n \"state\": \"pending\", \n \"status\": \"pending\", \n \"transaction_number\": \"CR170-832-8835\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits/CR4XGmhFE9a68pTA8XI4bhH4\"\n}"
261
- },
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",
262
221
  "credit_bank_account_list": {
263
222
  "request": {
264
- "id": "BA4jgL1IYTPL1da2wmwdWvPp",
265
- "uri": "/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp"
266
- },
267
- "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/BA4jgL1IYTPL1da2wmwdWvPp/credits?limit=2&offset=0\", \n \"items\": [\n {\n \"_type\": \"credit\", \n \"_uris\": {}, \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 \"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-06-14T23:02:57.521714Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp/credits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA4jgL1IYTPL1da2wmwdWvPp\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp/verifications\"\n }, \n \"created_at\": \"2013-06-14T23:03:28.152309Z\", \n \"description\": null, \n \"id\": \"CR4RHXoPMKcxCyyJpF7zpP0k\", \n \"meta\": {}, \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR4RHXoPMKcxCyyJpF7zpP0k\"\n }\n ], \n \"last_uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp/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/BA4jgL1IYTPL1da2wmwdWvPp/credits?limit=2&offset=0\"\n}"
268
- },
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
+ },
269
228
  "credit_create_existing_bank_account": {
270
229
  "request": {
271
- "id": "BA4jgL1IYTPL1da2wmwdWvPp",
230
+ "id": "BA5A8YcoSCEPQyCaPCTvmFnW",
272
231
  "payload": {
273
232
  "amount": 10000
274
- },
275
- "uri": "/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp"
276
- },
277
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {}, \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 \"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-06-14T23:02:57.521714Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp/credits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA4jgL1IYTPL1da2wmwdWvPp\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp/verifications\"\n }, \n \"created_at\": \"2013-06-14T23:03:28.152309Z\", \n \"description\": null, \n \"id\": \"CR4RHXoPMKcxCyyJpF7zpP0k\", \n \"meta\": {}, \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR4RHXoPMKcxCyyJpF7zpP0k\"\n}"
278
- },
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
+ },
279
238
  "credit_create_new_bank_account": {
280
239
  "request": {
281
- "amount": 10000,
282
- "bank_account": {
283
- "account_number": "9900000001",
284
- "name": "Johann Bernoulli",
285
- "routing_number": "121000358",
286
- "type": "checking"
287
- }
288
- },
289
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {}, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\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 \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4PBGKoruDYKDO6KDCYWClO/verifications\"\n }, \n \"created_at\": \"2013-06-14T23:03:26.497610Z\", \n \"description\": null, \n \"id\": \"CR4PR7caYHW7H4SFJsSDQ5So\", \n \"meta\": {}, \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR4PR7caYHW7H4SFJsSDQ5So\"\n}"
290
- },
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
+ },
253
+ "credit_customer_list": {
254
+ "request": {
255
+ "customer_uri": "/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo",
256
+ "payload": {
257
+ "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
+ },
291
263
  "credit_failed_state": {
292
264
  "request": {
293
- "amount": 10000,
294
- "bank_account": {
295
- "account_number": "9900000004",
296
- "name": "Johann Bernoulli",
297
- "routing_number": "121000358",
298
- "type": "checking"
299
- }
300
- },
301
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {}, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \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 \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA6gsEDwpijO6I4Xom8INsx2/verifications\"\n }, \n \"created_at\": \"2013-06-14T23:04:45.535087Z\", \n \"description\": null, \n \"id\": \"CR6gK4fRZmZcDPx6bQ4NQthC\", \n \"meta\": {}, \n \"status\": \"failed\", \n \"uri\": \"/v1/credits/CR6gK4fRZmZcDPx6bQ4NQthC\"\n}"
302
- },
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
+ },
303
278
  "credit_list": {
304
- "request": {},
305
- "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 \"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 \"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-06-14T23:02:57.521714Z\", \n \"credits_uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp/credits\", \n \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"id\": \"BA4jgL1IYTPL1da2wmwdWvPp\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4jgL1IYTPL1da2wmwdWvPp/verifications\"\n }, \n \"created_at\": \"2013-06-14T23:03:28.152309Z\", \n \"description\": null, \n \"id\": \"CR4RHXoPMKcxCyyJpF7zpP0k\", \n \"meta\": {}, \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR4RHXoPMKcxCyyJpF7zpP0k\"\n }, \n {\n \"_type\": \"credit\", \n \"_uris\": {}, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\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 \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4PBGKoruDYKDO6KDCYWClO/verifications\"\n }, \n \"created_at\": \"2013-06-14T23:03:26.497610Z\", \n \"description\": null, \n \"id\": \"CR4PR7caYHW7H4SFJsSDQ5So\", \n \"meta\": {}, \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR4PR7caYHW7H4SFJsSDQ5So\"\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}"
306
- },
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
+ },
307
282
  "credit_paid_state": {
308
283
  "request": {
309
- "amount": 10000,
310
- "bank_account": {
311
- "account_number": "9900000003",
312
- "name": "Johann Bernoulli",
313
- "routing_number": "121000358",
314
- "type": "checking"
315
- }
316
- },
317
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {}, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\n \"verifications_uri\": {\n \"_type\": \"page\", \n \"key\": \"verifications\"\n }\n }, \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 \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA6eyOoO1TwjxtBzD9azQVlu/verifications\"\n }, \n \"created_at\": \"2013-06-14T23:04:43.856157Z\", \n \"description\": null, \n \"id\": \"CR6eQZMBz07gIA5fK2CEWqlW\", \n \"meta\": {}, \n \"status\": \"paid\", \n \"uri\": \"/v1/credits/CR6eQZMBz07gIA5fK2CEWqlW\"\n}"
318
- },
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
+ },
319
297
  "credit_pending_state": {
320
298
  "request": {
321
- "amount": 10000,
322
- "bank_account": {
323
- "account_number": "9900000001",
324
- "name": "Johann Bernoulli",
325
- "routing_number": "121000358",
326
- "type": "checking"
327
- }
328
- },
329
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {}, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\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 \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA6csF3nic1VajJz7mkUOKIa/verifications\"\n }, \n \"created_at\": \"2013-06-14T23:04:42.020095Z\", \n \"description\": null, \n \"id\": \"CR6cNuNtSB4kJBp2O1G7bo9Q\", \n \"meta\": {}, \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR6cNuNtSB4kJBp2O1G7bo9Q\"\n}"
330
- },
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
+ },
331
312
  "credit_show": {
332
313
  "request": {
333
- "id": "CR4PR7caYHW7H4SFJsSDQ5So",
334
- "uri": "/v1/credits/CR4PR7caYHW7H4SFJsSDQ5So"
335
- },
336
- "response": "{\n \"_type\": \"credit\", \n \"_uris\": {}, \n \"amount\": 10000, \n \"appears_on_statement_as\": \"example.com\", \n \"bank_account\": {\n \"_type\": \"bank_account\", \n \"_uris\": {\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 \"fingerprint\": \"1eH719hwbYRpEILVKyboPs_pn\", \n \"meta\": {}, \n \"name\": \"Johann Bernoulli\", \n \"routing_number\": \"121000358\", \n \"type\": \"checking\", \n \"verification_uri\": null, \n \"verifications_uri\": \"/v1/bank_accounts/BA4PBGKoruDYKDO6KDCYWClO/verifications\"\n }, \n \"created_at\": \"2013-06-14T23:03:26.497610Z\", \n \"description\": null, \n \"id\": \"CR4PR7caYHW7H4SFJsSDQ5So\", \n \"meta\": {}, \n \"status\": \"pending\", \n \"uri\": \"/v1/credits/CR4PR7caYHW7H4SFJsSDQ5So\"\n}"
337
- },
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
+ },
338
319
  "customer_add_bank_account": {
339
320
  "request": {
321
+ "bank_account_verifications_uri": "/v1/bank_accounts/BA6oxYWJXxeM63vMorgtSIhI/verifications",
340
322
  "payload": {
341
- "bank_account_uri": "/v1/bank_accounts/BA5ONs53HNn1Od9g99v0GNFJ"
342
- },
343
- "uri": "/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ"
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 \"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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/cards\", \n \"created_at\": \"2013-06-14T23:04:19.886210Z\", \n \"credits_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/credits\", \n \"debits_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/debits\", \n \"destination_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/bank_accounts/BA5ONs53HNn1Od9g99v0GNFJ\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/holds\", \n \"id\": \"CU5NTZ8MGBW3x8Axx8fTzgeQ\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/refunds\", \n \"source_uri\": null, \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ\"\n}"
346
- },
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
+ },
347
329
  "customer_add_card": {
348
330
  "request": {
331
+ "card_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/cards/CC72hXVwWbCJsozvJoRELzIc",
349
332
  "payload": {
350
- "card_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/cards/CC5Lx8CAHB3bRXG1sENg7urM"
351
- },
352
- "uri": "/v1/customers/CU5KrnM7ufxhgePgmghE6f5K"
353
- },
354
- "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 \"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/CU5KrnM7ufxhgePgmghE6f5K/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU5KrnM7ufxhgePgmghE6f5K/cards\", \n \"created_at\": \"2013-06-14T23:04:16.808738Z\", \n \"credits_uri\": \"/v1/customers/CU5KrnM7ufxhgePgmghE6f5K/credits\", \n \"debits_uri\": \"/v1/customers/CU5KrnM7ufxhgePgmghE6f5K/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU5KrnM7ufxhgePgmghE6f5K/holds\", \n \"id\": \"CU5KrnM7ufxhgePgmghE6f5K\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU5KrnM7ufxhgePgmghE6f5K/refunds\", \n \"source_uri\": \"/v1/customers/CU5KrnM7ufxhgePgmghE6f5K/cards/CC5Lx8CAHB3bRXG1sENg7urM\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU5KrnM7ufxhgePgmghE6f5K/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU5KrnM7ufxhgePgmghE6f5K\"\n}"
355
- },
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
+ },
356
339
  "customer_create": {
357
340
  "request": {
341
+ "email": "william@example.com",
342
+ "name": "William Henry Cavendish III",
358
343
  "uri": "/v1/customers"
359
- },
360
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"address\": {}, \n \"bank_accounts_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/cards\", \n \"created_at\": \"2013-06-14T23:04:19.886210Z\", \n \"credits_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/credits\", \n \"debits_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/holds\", \n \"id\": \"CU5NTZ8MGBW3x8Axx8fTzgeQ\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/refunds\", \n \"source_uri\": null, \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU5NTZ8MGBW3x8Axx8fTzgeQ\"\n}"
361
- },
362
- "debit_account_list": {
363
- "request": {
364
- "debits_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits",
365
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c"
366
- },
367
- "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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:03:36.858511Z\", \n \"created_at\": \"2013-06-14T23:03:37.123995Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:37.140892Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:03:36.491820Z\", \n \"fee\": null, \n \"id\": \"HL51Px7zfuvdChGj8EGe8NGv\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"transaction_number\": \"HL026-087-0654\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL51Px7zfuvdChGj8EGe8NGv\"\n }, \n \"id\": \"WD51Ol3hw58fAlNvC3V0qLg3\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W832-154-9263\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits?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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits?limit=2&offset=0\"\n}"
368
- },
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
+ },
347
+ "customer_create_debit": {
348
+ "request": {
349
+ "customer_uri": "/v1/customers/CU6vs1tjxBtifgTuzKjCGtVS",
350
+ "payload": {
351
+ "amount": 5000,
352
+ "appears_on_statement_as": "Statement text",
353
+ "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
+ },
359
+ "customer_credit": {
360
+ "request": {
361
+ "customer_uri": "/v1/customers/CU5f64LhFMO8cf7N1sQSRVOo",
362
+ "payload": {
363
+ "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
+ },
369
+ "customer_delete": {
370
+ "request": {
371
+ "uri": "/v1/customers/CU6sqf8CB3M3l6VeSsBqVHhC"
372
+ }
373
+ },
369
374
  "debit_create": {
370
375
  "request": {
371
- "account_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c",
372
- "debits_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits",
376
+ "customer_uri": "/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS",
377
+ "debits_uri": "/v1/customers/CU7gMTGKh2yGHYn1lUxH9STS/debits",
373
378
  "payload": {
374
- "amount": 5000,
375
- "appears_on_statement_as": "Statement text",
379
+ "amount": 5000,
380
+ "appears_on_statement_as": "Statement text",
376
381
  "description": "Some descriptive text for the debit in the dashboard"
377
382
  }
378
- },
379
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:04:02.450574Z\", \n \"created_at\": \"2013-06-14T23:04:02.713094Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:04:02.741245Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:04:00.839598Z\", \n \"fee\": null, \n \"id\": \"HL5uCu2MnhYk5gxh5MGzb3YK\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"transaction_number\": \"HL708-786-3347\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5uCu2MnhYk5gxh5MGzb3YK\"\n }, \n \"id\": \"WD5uAv4hcfWPmB37xbtHkOTg\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W414-491-7994\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg\"\n}"
380
- },
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
+ },
386
+ "debit_customer_list": {
387
+ "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
+ },
381
393
  "debit_list": {
382
394
  "request": {
383
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits"
384
- },
385
- "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-MP4erLnXCYoaeyr3tx95WSKc/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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:03:36.858511Z\", \n \"created_at\": \"2013-06-14T23:03:37.123995Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:37.140892Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:03:36.491820Z\", \n \"fee\": null, \n \"id\": \"HL51Px7zfuvdChGj8EGe8NGv\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"transaction_number\": \"HL026-087-0654\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL51Px7zfuvdChGj8EGe8NGv\"\n }, \n \"id\": \"WD51Ol3hw58fAlNvC3V0qLg3\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W832-154-9263\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3\"\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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/cards\", \n \"created_at\": \"2013-06-14T23:02:54.794702Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/credits\", \n \"customer_uri\": \"/v1/customers/AC4gbQT0YEH3Gx3AlQFEcPk4\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/holds\", \n \"id\": \"AC4gbQT0YEH3Gx3AlQFEcPk4\", \n \"meta\": {}, \n \"name\": \"Benny Riemann\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4\"\n }, \n \"amount\": 10000000, \n \"appears_on_statement_as\": \"example.com\", \n \"available_at\": \"2013-06-14T23:02:56.360315Z\", \n \"created_at\": \"2013-06-14T23:02:56.653866Z\", \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 \"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/CU4gALH4EQuSjU9DhZitQYDm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm/cards\", \n \"created_at\": \"2013-06-14T23:02:55.152004Z\", \n \"credits_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm/credits\", \n \"debits_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm/debits\", \n \"destination_uri\": null, \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm/holds\", \n \"id\": \"CU4gALH4EQuSjU9DhZitQYDm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm/refunds\", \n \"source_uri\": \"/v1/customers/AC4gbQT0YEH3Gx3AlQFEcPk4/cards/CC4fU8CP0eQvL6wjRcJzyDMP\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm\"\n }, \n \"description\": null, \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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4\", \n \"amount\": 10000000, \n \"created_at\": \"2013-06-14T23:02:56.725947Z\", \n \"customer_uri\": \"/v1/customers/CU4gALH4EQuSjU9DhZitQYDm\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD4ii4lTTV3KAZEX8OuppioM\", \n \"description\": null, \n \"expires_at\": \"2013-06-21T23:02:55.988657Z\", \n \"fee\": null, \n \"id\": \"HL4in6yyj5W2YzI9E2GZZoWY\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/cards/CC4fU8CP0eQvL6wjRcJzyDMP\", \n \"transaction_number\": \"HL929-310-1638\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL4in6yyj5W2YzI9E2GZZoWY\"\n }, \n \"id\": \"WD4ii4lTTV3KAZEX8OuppioM\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD4ii4lTTV3KAZEX8OuppioM/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4\", \n \"brand\": \"Visa\", \n \"card_type\": \"visa\", \n \"country_code\": \"USA\", \n \"created_at\": \"2013-06-14T23:02:54.529855Z\", \n \"customer_uri\": \"/v1/customers/AC4gbQT0YEH3Gx3AlQFEcPk4\", \n \"expiration_month\": 4, \n \"expiration_year\": 2014, \n \"hash\": \"bd1c247d10c71b3134056f83165826241115d8e55fc107d303eeab955338eba2\", \n \"id\": \"CC4fU8CP0eQvL6wjRcJzyDMP\", \n \"is_valid\": true, \n \"last_four\": \"1111\", \n \"meta\": {}, \n \"name\": \"Benny Riemann\", \n \"postal_code\": \"10023\", \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"street_address\": \"167 West 74th Street\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4gbQT0YEH3Gx3AlQFEcPk4/cards/CC4fU8CP0eQvL6wjRcJzyDMP\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W905-804-1881\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD4ii4lTTV3KAZEX8OuppioM\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits?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-MP4erLnXCYoaeyr3tx95WSKc/debits?limit=2&offset=0\"\n}"
386
- },
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
+ },
387
399
  "debit_refund": {
388
400
  "request": {
389
- "debit_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5aKzkNv487e4XjjbbfV5TU",
390
- "refunds_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5aKzkNv487e4XjjbbfV5TU/refunds"
391
- },
392
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-06-14T23:03:46.487389Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:03:44.818338Z\", \n \"created_at\": \"2013-06-14T23:03:45.080611Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5aKVz7UeTqUor2v3nGWwoC\", \n \"id\": \"WD5aKzkNv487e4XjjbbfV5TU\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5aKzkNv487e4XjjbbfV5TU/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W767-064-1795\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5aKzkNv487e4XjjbbfV5TU\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"id\": \"RF5ckvWjd9VfhQvcnv4uJ4so\", \n \"meta\": {}, \n \"transaction_number\": \"RF739-687-2436\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/refunds/RF5ckvWjd9VfhQvcnv4uJ4so\"\n}"
393
- },
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
+ },
394
406
  "debit_show": {
395
407
  "request": {
396
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3"
397
- },
398
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:03:36.858511Z\", \n \"created_at\": \"2013-06-14T23:03:37.123995Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:37.140892Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:03:36.491820Z\", \n \"fee\": null, \n \"id\": \"HL51Px7zfuvdChGj8EGe8NGv\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"transaction_number\": \"HL026-087-0654\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL51Px7zfuvdChGj8EGe8NGv\"\n }, \n \"id\": \"WD51Ol3hw58fAlNvC3V0qLg3\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W832-154-9263\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3\"\n}"
399
- },
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
+ },
400
412
  "debit_update": {
401
413
  "request": {
402
414
  "payload": {
403
- "description": "New description for debit",
415
+ "description": "New description for debit",
404
416
  "meta": {
405
- "anykey": "valuegoeshere",
417
+ "anykey": "valuegoeshere",
406
418
  "facebook.id": "1234567890"
407
419
  }
408
- },
409
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3"
410
- },
411
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:03:36.858511Z\", \n \"created_at\": \"2013-06-14T23:03:37.123995Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:37.140892Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:03:36.491820Z\", \n \"fee\": null, \n \"id\": \"HL51Px7zfuvdChGj8EGe8NGv\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"transaction_number\": \"HL026-087-0654\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL51Px7zfuvdChGj8EGe8NGv\"\n }, \n \"id\": \"WD51Ol3hw58fAlNvC3V0qLg3\", \n \"meta\": {\n \"anykey\": \"valuegoeshere\", \n \"facebook.id\": \"1234567890\"\n }, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W832-154-9263\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD51Ol3hw58fAlNvC3V0qLg3\"\n}"
412
- },
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
+ },
413
425
  "event_list": {
414
426
  "request": {
415
427
  "uri": "/v1/events"
416
- },
417
- "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/EV8b1a77a6d54611e2bbc4026ba7f8ec28/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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/cards\", \n \"created_at\": \"2013-06-14T23:02:53.250754Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/credits\", \n \"customer_uri\": \"/v1/customers/AC4esc7kIzBr8xgfsreVU4OI\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/debits\", \n \"email_address\": \"whc@example.org\", \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/holds\", \n \"id\": \"AC4esc7kIzBr8xgfsreVU4OI\", \n \"meta\": {}, \n \"name\": \"William Henry Cavendish III\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/refunds\", \n \"roles\": [\n \"merchant\", \n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI\"\n }, \n \"id\": \"EV8b1a77a6d54611e2bbc4026ba7f8ec28\", \n \"occurred_at\": \"2013-06-14T23:02:53.250000Z\", \n \"type\": \"account.created\", \n \"uri\": \"/v1/events/EV8b1a77a6d54611e2bbc4026ba7f8ec28\"\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/EV8b531412d54611e2bbc4026ba7f8ec28/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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4eTJNupM3vGcuDsxKV4sAg/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4eTJNupM3vGcuDsxKV4sAg/cards\", \n \"created_at\": \"2013-06-14T23:02:53.645955Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4eTJNupM3vGcuDsxKV4sAg/credits\", \n \"customer_uri\": \"/v1/customers/AC4eTJNupM3vGcuDsxKV4sAg\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4eTJNupM3vGcuDsxKV4sAg/debits\", \n \"email_address\": \"escrow@poundpay.com\", \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4eTJNupM3vGcuDsxKV4sAg/holds\", \n \"id\": \"AC4eTJNupM3vGcuDsxKV4sAg\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4eTJNupM3vGcuDsxKV4sAg/refunds\", \n \"roles\": [], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4eTJNupM3vGcuDsxKV4sAg/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4eTJNupM3vGcuDsxKV4sAg\"\n }, \n \"id\": \"EV8b531412d54611e2bbc4026ba7f8ec28\", \n \"occurred_at\": \"2013-06-14T23:02:53.645000Z\", \n \"type\": \"account.created\", \n \"uri\": \"/v1/events/EV8b531412d54611e2bbc4026ba7f8ec28\"\n }\n ], \n \"last_uri\": \"/v1/events?limit=2&offset=82\", \n \"limit\": 2, \n \"next_uri\": \"/v1/events?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 83, \n \"uri\": \"/v1/events?limit=2&offset=0\"\n}"
418
- },
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
+ },
419
431
  "event_show": {
420
432
  "request": {
421
- "uri": "/v1/events/EV8b1a77a6d54611e2bbc4026ba7f8ec28"
422
- },
423
- "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/EV8b1a77a6d54611e2bbc4026ba7f8ec28/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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/cards\", \n \"created_at\": \"2013-06-14T23:02:53.250754Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/credits\", \n \"customer_uri\": \"/v1/customers/AC4esc7kIzBr8xgfsreVU4OI\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/debits\", \n \"email_address\": \"whc@example.org\", \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/holds\", \n \"id\": \"AC4esc7kIzBr8xgfsreVU4OI\", \n \"meta\": {}, \n \"name\": \"William Henry Cavendish III\", \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/refunds\", \n \"roles\": [\n \"merchant\", \n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4esc7kIzBr8xgfsreVU4OI\"\n }, \n \"id\": \"EV8b1a77a6d54611e2bbc4026ba7f8ec28\", \n \"occurred_at\": \"2013-06-14T23:02:53.250000Z\", \n \"type\": \"account.created\", \n \"uri\": \"/v1/events/EV8b1a77a6d54611e2bbc4026ba7f8ec28\"\n}"
424
- },
425
- "hold_account_list": {
426
- "request": {
427
- "account_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c",
428
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds"
429
- },
430
- "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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:48.203739Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:03:48.079848Z\", \n \"fee\": null, \n \"id\": \"HL5egN71JHX28fjIq5BbeR0s\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"transaction_number\": \"HL298-903-8113\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5egN71JHX28fjIq5BbeR0s\"\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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:45.085553Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:03:44.818338Z\", \n \"created_at\": \"2013-06-14T23:03:45.080611Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5aKVz7UeTqUor2v3nGWwoC\", \n \"id\": \"WD5aKzkNv487e4XjjbbfV5TU\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5aKzkNv487e4XjjbbfV5TU/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W767-064-1795\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5aKzkNv487e4XjjbbfV5TU\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:03:44.453922Z\", \n \"fee\": null, \n \"id\": \"HL5aKVz7UeTqUor2v3nGWwoC\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"transaction_number\": \"HL816-744-2662\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5aKVz7UeTqUor2v3nGWwoC\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds?limit=2&offset=2\", \n \"limit\": 2, \n \"next_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 3, \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds?limit=2&offset=0\"\n}"
431
- },
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
+ },
432
437
  "hold_capture": {
433
438
  "request": {
434
- "debits_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits",
435
- "hold_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5m1WNF0ste8ap24cZ5bVU4",
439
+ "debits_uri": "/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/debits",
440
+ "hold_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/holds/HL743q4NqJPc0cxbidCj1WGk",
436
441
  "payload": {
437
- "appears_on_statement_as": "ShowsUpOnStmt",
438
- "description": "Some descriptive text for the debit in the dashboard",
439
- "hold_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5m1WNF0ste8ap24cZ5bVU4"
442
+ "appears_on_statement_as": "ShowsUpOnStmt",
443
+ "description": "Some descriptive text for the debit in the dashboard"
440
444
  }
441
- },
442
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"ShowsUpOnStmt\", \n \"available_at\": \"2013-06-14T23:03:55.864096Z\", \n \"created_at\": \"2013-06-14T23:03:56.177178Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:55.103709Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"debit_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5necxsVjLihxpcxBMLGVg4\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:03:54.968020Z\", \n \"fee\": null, \n \"id\": \"HL5m1WNF0ste8ap24cZ5bVU4\", \n \"is_void\": false, \n \"meta\": {}, \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"transaction_number\": \"HL391-134-2291\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5m1WNF0ste8ap24cZ5bVU4\"\n }, \n \"id\": \"WD5necxsVjLihxpcxBMLGVg4\", \n \"meta\": {}, \n \"on_behalf_of\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5necxsVjLihxpcxBMLGVg4/refunds\", \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"status\": \"succeeded\", \n \"transaction_number\": \"W366-557-9184\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5necxsVjLihxpcxBMLGVg4\"\n}"
443
- },
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
+ },
444
448
  "hold_create": {
445
449
  "request": {
446
- "account_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c",
447
- "holds_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds",
450
+ "customer_uri": "/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb",
451
+ "debits_uri": "/v1/customers/CU70CIWA2NrZwwMQqjBuWFUb/debits",
448
452
  "payload": {
449
- "amount": 5000,
450
- "description": "Some descriptive text for the debit in the dashboard"
451
- }
452
- },
453
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:58.174887Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:03:58.001407Z\", \n \"fee\": null, \n \"id\": \"HL5ptvs6CKB2jsZOhuNNmGOA\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"transaction_number\": \"HL612-025-4751\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5ptvs6CKB2jsZOhuNNmGOA\"\n}"
454
- },
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
+ },
461
+ "hold_customer_list": {
462
+ "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
+ },
455
468
  "hold_list": {
456
469
  "request": {
457
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds"
458
- },
459
- "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-MP4erLnXCYoaeyr3tx95WSKc/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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:48.203739Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:03:48.079848Z\", \n \"fee\": null, \n \"id\": \"HL5egN71JHX28fjIq5BbeR0s\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"transaction_number\": \"HL298-903-8113\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5egN71JHX28fjIq5BbeR0s\"\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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:45.085553Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:03:44.818338Z\", \n \"created_at\": \"2013-06-14T23:03:45.080611Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5aKVz7UeTqUor2v3nGWwoC\", \n \"id\": \"WD5aKzkNv487e4XjjbbfV5TU\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5aKzkNv487e4XjjbbfV5TU/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W767-064-1795\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5aKzkNv487e4XjjbbfV5TU\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:03:44.453922Z\", \n \"fee\": null, \n \"id\": \"HL5aKVz7UeTqUor2v3nGWwoC\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"transaction_number\": \"HL816-744-2662\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5aKVz7UeTqUor2v3nGWwoC\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds?limit=2&offset=2\", \n \"limit\": 2, \n \"next_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds?limit=2&offset=2\", \n \"offset\": 0, \n \"previous_uri\": null, \n \"total\": 4, \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds?limit=2&offset=0\"\n}"
460
- },
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
+ },
461
474
  "hold_show": {
462
475
  "request": {
463
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5egN71JHX28fjIq5BbeR0s"
464
- },
465
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:48.203739Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:03:48.079848Z\", \n \"fee\": null, \n \"id\": \"HL5egN71JHX28fjIq5BbeR0s\", \n \"is_void\": false, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"transaction_number\": \"HL298-903-8113\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5egN71JHX28fjIq5BbeR0s\"\n}"
466
- },
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
+ },
467
480
  "hold_update": {
468
481
  "request": {
469
482
  "payload": {
470
- "description": "update this description",
483
+ "description": "update this description",
471
484
  "meta": {
472
- "holding.for": "user1",
485
+ "holding.for": "user1",
473
486
  "meaningful.key": "some.value"
474
487
  }
475
- },
476
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5egN71JHX28fjIq5BbeR0s"
477
- },
478
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:48.203739Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\n }, \n \"debit\": null, \n \"description\": \"update this description\", \n \"expires_at\": \"2013-06-21T23:03:48.079848Z\", \n \"fee\": null, \n \"id\": \"HL5egN71JHX28fjIq5BbeR0s\", \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\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"transaction_number\": \"HL298-903-8113\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5egN71JHX28fjIq5BbeR0s\"\n}"
479
- },
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
+ },
480
493
  "hold_void": {
481
494
  "request": {
482
495
  "payload": {
483
496
  "is_void": "true"
484
- },
485
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5ptvs6CKB2jsZOhuNNmGOA"
486
- },
487
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"created_at\": \"2013-06-14T23:03:58.174887Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\n }, \n \"debit\": null, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"expires_at\": \"2013-06-21T23:03:58.001407Z\", \n \"fee\": null, \n \"id\": \"HL5ptvs6CKB2jsZOhuNNmGOA\", \n \"is_void\": true, \n \"meta\": {}, \n \"source\": {\n \"_type\": \"card\", \n \"_uris\": {\n \"account_uri\": {\n \"_type\": \"account\", \n \"key\": \"account\"\n }, \n \"customer_uri\": {\n \"_type\": \"customer\", \n \"key\": \"customer\"\n }\n }, \n \"account_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"brand\": \"MasterCard\", \n \"card_type\": \"mastercard\", \n \"created_at\": \"2013-06-14T23:03:18.407783Z\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"expiration_month\": 12, \n \"expiration_year\": 2020, \n \"hash\": \"b7250dd4b4827a88d5e4132b67f02916bce6f8e83d4ca0d779d1351b360ff6af\", \n \"id\": \"CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"is_valid\": true, \n \"last_four\": \"5100\", \n \"meta\": {}, \n \"name\": null, \n \"postal_code_check\": \"true\", \n \"security_code_check\": \"true\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\"\n }, \n \"transaction_number\": \"HL612-025-4751\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5ptvs6CKB2jsZOhuNNmGOA\"\n}"
488
- },
489
- "marketplace_id": "TEST-MP4erLnXCYoaeyr3tx95WSKc",
490
- "marketplace_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc",
491
- "refund_account_list": {
492
- "request": {
493
- "account_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c",
494
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds"
495
- },
496
- "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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-06-14T23:04:03.643259Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:04:02.450574Z\", \n \"created_at\": \"2013-06-14T23:04:02.713094Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5uCu2MnhYk5gxh5MGzb3YK\", \n \"id\": \"WD5uAv4hcfWPmB37xbtHkOTg\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W414-491-7994\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg\"\n }, \n \"description\": \"Refund for Order #1111\", \n \"fee\": null, \n \"id\": \"RF5vCZH6cVJzfoyqPDLVjBvU\", \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"transaction_number\": \"RF263-613-3853\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/refunds/RF5vCZH6cVJzfoyqPDLVjBvU\"\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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-06-14T23:03:46.487389Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:03:44.818338Z\", \n \"created_at\": \"2013-06-14T23:03:45.080611Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5aKVz7UeTqUor2v3nGWwoC\", \n \"id\": \"WD5aKzkNv487e4XjjbbfV5TU\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5aKzkNv487e4XjjbbfV5TU/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W767-064-1795\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5aKzkNv487e4XjjbbfV5TU\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"id\": \"RF5ckvWjd9VfhQvcnv4uJ4so\", \n \"meta\": {}, \n \"transaction_number\": \"RF739-687-2436\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/refunds/RF5ckvWjd9VfhQvcnv4uJ4so\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds?limit=2&offset=0\"\n}"
497
- },
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",
498
504
  "refund_create": {
499
505
  "request": {
500
- "debit_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg",
506
+ "debit_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY",
501
507
  "payload": {
502
- "debit_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg",
503
- "description": "Refund for Order #1111",
508
+ "debit_uri": "/v1/marketplaces/TEST-MP4K6K0PWGyPtXL4LZ42sQSb/debits/WD7omMnm45N2JcPZ6fcaRRgY",
509
+ "description": "Refund for Order #1111",
504
510
  "meta": {
505
- "fulfillment.item.condition": "OK",
506
- "merchant.feedback": "positive",
511
+ "fulfillment.item.condition": "OK",
512
+ "merchant.feedback": "positive",
507
513
  "user.refund_reason": "not happy with product"
508
514
  }
509
- },
510
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds"
511
- },
512
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-06-14T23:04:03.643259Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:04:02.450574Z\", \n \"created_at\": \"2013-06-14T23:04:02.713094Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5uCu2MnhYk5gxh5MGzb3YK\", \n \"id\": \"WD5uAv4hcfWPmB37xbtHkOTg\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W414-491-7994\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg\"\n }, \n \"description\": \"Refund for Order #1111\", \n \"fee\": null, \n \"id\": \"RF5vCZH6cVJzfoyqPDLVjBvU\", \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"transaction_number\": \"RF263-613-3853\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/refunds/RF5vCZH6cVJzfoyqPDLVjBvU\"\n}"
513
- },
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
+ },
520
+ "refund_customer_list": {
521
+ "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
+ },
514
527
  "refund_list": {
515
528
  "request": {
516
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/refunds"
517
- },
518
- "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-MP4erLnXCYoaeyr3tx95WSKc/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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-06-14T23:04:03.643259Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:04:02.450574Z\", \n \"created_at\": \"2013-06-14T23:04:02.713094Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5uCu2MnhYk5gxh5MGzb3YK\", \n \"id\": \"WD5uAv4hcfWPmB37xbtHkOTg\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W414-491-7994\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg\"\n }, \n \"description\": \"Refund for Order #1111\", \n \"fee\": null, \n \"id\": \"RF5vCZH6cVJzfoyqPDLVjBvU\", \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"transaction_number\": \"RF263-613-3853\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/refunds/RF5vCZH6cVJzfoyqPDLVjBvU\"\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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-06-14T23:03:46.487389Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:03:44.818338Z\", \n \"created_at\": \"2013-06-14T23:03:45.080611Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5aKVz7UeTqUor2v3nGWwoC\", \n \"id\": \"WD5aKzkNv487e4XjjbbfV5TU\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5aKzkNv487e4XjjbbfV5TU/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W767-064-1795\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5aKzkNv487e4XjjbbfV5TU\"\n }, \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"id\": \"RF5ckvWjd9VfhQvcnv4uJ4so\", \n \"meta\": {}, \n \"transaction_number\": \"RF739-687-2436\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/refunds/RF5ckvWjd9VfhQvcnv4uJ4so\"\n }\n ], \n \"last_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/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-MP4erLnXCYoaeyr3tx95WSKc/refunds?limit=2&offset=0\"\n}"
519
- },
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
+ },
520
533
  "refund_show": {
521
534
  "request": {
522
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/refunds/RF5vCZH6cVJzfoyqPDLVjBvU"
523
- },
524
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-06-14T23:04:03.643259Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:04:02.450574Z\", \n \"created_at\": \"2013-06-14T23:04:02.713094Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5uCu2MnhYk5gxh5MGzb3YK\", \n \"id\": \"WD5uAv4hcfWPmB37xbtHkOTg\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W414-491-7994\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg\"\n }, \n \"description\": \"Refund for Order #1111\", \n \"fee\": null, \n \"id\": \"RF5vCZH6cVJzfoyqPDLVjBvU\", \n \"meta\": {\n \"fulfillment.item.condition\": \"OK\", \n \"merchant.feedback\": \"positive\", \n \"user.refund_reason\": \"not happy with product\"\n }, \n \"transaction_number\": \"RF263-613-3853\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/refunds/RF5vCZH6cVJzfoyqPDLVjBvU\"\n}"
525
- },
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
+ },
526
539
  "refund_update": {
527
540
  "request": {
528
541
  "payload": {
529
- "description": "update this description",
542
+ "description": "update this description",
530
543
  "meta": {
531
- "refund.reason": "user not happy with product",
532
- "user.notes": "very polite on the phone",
544
+ "refund.reason": "user not happy with product",
545
+ "user.notes": "very polite on the phone",
533
546
  "user.refund.count": "3"
534
547
  }
535
- },
536
- "uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/refunds/RF5vCZH6cVJzfoyqPDLVjBvU"
537
- },
538
- "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 \"transactions_uri\": {\n \"_type\": \"page\", \n \"key\": \"transactions\"\n }\n }, \n \"bank_accounts_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts\", \n \"cards_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards\", \n \"created_at\": \"2013-06-14T23:03:17.231429Z\", \n \"credits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/credits\", \n \"customer_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"debits_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits\", \n \"email_address\": null, \n \"holds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds\", \n \"id\": \"AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"meta\": {}, \n \"name\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/refunds\", \n \"roles\": [\n \"buyer\"\n ], \n \"transactions_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/transactions\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\"\n }, \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"created_at\": \"2013-06-14T23:04:03.643259Z\", \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 \"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/CU4FNBdDIUzPYbdkFAPEROTm/bank_accounts\", \n \"business_name\": null, \n \"cards_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/cards\", \n \"created_at\": \"2013-06-14T23:03:17.563680Z\", \n \"credits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/credits\", \n \"debits_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/debits\", \n \"destination_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/bank_accounts/BA4JrubjRE0vqvWWDBB5Kv1w\", \n \"dob\": null, \n \"ein\": null, \n \"email\": null, \n \"facebook\": null, \n \"holds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/holds\", \n \"id\": \"CU4FNBdDIUzPYbdkFAPEROTm\", \n \"is_identity_verified\": false, \n \"meta\": {}, \n \"name\": null, \n \"phone\": null, \n \"refunds_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/refunds\", \n \"source_uri\": \"/v1/customers/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"ssn_last4\": null, \n \"transactions_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm/transactions\", \n \"twitter\": null, \n \"uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\"\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-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c\", \n \"amount\": 5000, \n \"appears_on_statement_as\": \"Statement text\", \n \"available_at\": \"2013-06-14T23:04:02.450574Z\", \n \"created_at\": \"2013-06-14T23:04:02.713094Z\", \n \"customer_uri\": \"/v1/customers/CU4FNBdDIUzPYbdkFAPEROTm\", \n \"description\": \"Some descriptive text for the debit in the dashboard\", \n \"fee\": null, \n \"hold_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5uCu2MnhYk5gxh5MGzb3YK\", \n \"id\": \"WD5uAv4hcfWPmB37xbtHkOTg\", \n \"meta\": {}, \n \"on_behalf_of_uri\": null, \n \"refunds_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg/refunds\", \n \"source_uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/cards/CC4GL1SYTyLy6nW6nf4kWw0w\", \n \"status\": \"succeeded\", \n \"transaction_number\": \"W414-491-7994\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg\"\n }, \n \"description\": \"update this description\", \n \"fee\": null, \n \"id\": \"RF5vCZH6cVJzfoyqPDLVjBvU\", \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\": \"RF263-613-3853\", \n \"uri\": \"/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/refunds/RF5vCZH6cVJzfoyqPDLVjBvU\"\n}"
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}"
539
552
  }
540
- }
553
+ }