balanced 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) hide show
  1. data/.gitignore +3 -1
  2. data/.travis.yml +1 -0
  3. data/CONTRIBUTORS +3 -1
  4. data/README.md +19 -3
  5. data/Rakefile +17 -0
  6. data/examples/customers.rb +1 -1
  7. data/lib/balanced/resources.rb +1 -1
  8. data/lib/balanced/resources/credit.rb +18 -0
  9. data/lib/balanced/resources/invoice.rb +11 -0
  10. data/lib/balanced/resources/marketplace.rb +3 -1
  11. data/lib/balanced/resources/reversal.rb +20 -0
  12. data/lib/balanced/resources/transaction.rb +1 -2
  13. data/lib/balanced/version.rb +1 -1
  14. data/scenario.cache +540 -0
  15. data/scenarios/account_add_card/definition.rb +1 -0
  16. data/scenarios/account_add_card/request.rb +3 -0
  17. data/scenarios/account_add_card/ruby.mako +11 -0
  18. data/scenarios/account_capture_hold/definition.rb +1 -0
  19. data/scenarios/account_capture_hold/request.rb +3 -0
  20. data/scenarios/account_capture_hold/ruby.mako +11 -0
  21. data/scenarios/account_create/definition.rb +1 -0
  22. data/scenarios/account_create/request.rb +2 -0
  23. data/scenarios/account_create/ruby.mako +10 -0
  24. data/scenarios/account_create_buyer/definition.rb +1 -0
  25. data/scenarios/account_create_buyer/request.rb +4 -0
  26. data/scenarios/account_create_buyer/ruby.mako +12 -0
  27. data/scenarios/account_create_debit/definition.rb +1 -0
  28. data/scenarios/account_create_debit/request.rb +3 -0
  29. data/scenarios/account_create_debit/ruby.mako +11 -0
  30. data/scenarios/account_create_hold/definition.rb +1 -0
  31. data/scenarios/account_create_hold/request.rb +3 -0
  32. data/scenarios/account_create_hold/ruby.mako +11 -0
  33. data/scenarios/account_create_merchant/definition.rb +1 -0
  34. data/scenarios/account_create_merchant/request.rb +3 -0
  35. data/scenarios/account_create_merchant/ruby.mako +11 -0
  36. data/scenarios/account_underwrite_business/definition.rb +1 -0
  37. data/scenarios/account_underwrite_business/request.rb +19 -0
  38. data/scenarios/account_underwrite_business/ruby.mako +27 -0
  39. data/scenarios/account_underwrite_person/definition.rb +1 -0
  40. data/scenarios/account_underwrite_person/request.rb +18 -0
  41. data/scenarios/account_underwrite_person/ruby.mako +26 -0
  42. data/scenarios/bank_account_create/definition.rb +1 -0
  43. data/scenarios/bank_account_create/request.rb +4 -0
  44. data/scenarios/bank_account_create/ruby.mako +12 -0
  45. data/scenarios/bank_account_delete/definition.rb +1 -0
  46. data/scenarios/bank_account_delete/request.rb +3 -0
  47. data/scenarios/bank_account_delete/ruby.mako +11 -0
  48. data/scenarios/bank_account_find_and_credit/definition.rb +1 -0
  49. data/scenarios/bank_account_find_and_credit/request.rb +5 -0
  50. data/scenarios/bank_account_find_and_credit/ruby.mako +13 -0
  51. data/scenarios/bank_account_find_and_delete/definition.rb +1 -0
  52. data/scenarios/bank_account_find_and_delete/request.rb +3 -0
  53. data/scenarios/bank_account_find_and_delete/ruby.mako +10 -0
  54. data/scenarios/bank_account_invalid_routing_number/definition.rb +1 -0
  55. data/scenarios/bank_account_invalid_routing_number/request.rb +8 -0
  56. data/scenarios/bank_account_invalid_routing_number/ruby.mako +16 -0
  57. data/scenarios/bank_account_list/definition.rb +1 -0
  58. data/scenarios/bank_account_list/request.rb +2 -0
  59. data/scenarios/bank_account_list/ruby.mako +10 -0
  60. data/scenarios/bank_account_show/definition.rb +1 -0
  61. data/scenarios/bank_account_show/request.rb +2 -0
  62. data/scenarios/bank_account_show/ruby.mako +10 -0
  63. data/scenarios/bank_account_verification_create/definition.rb +1 -0
  64. data/scenarios/bank_account_verification_create/request.rb +3 -0
  65. data/scenarios/bank_account_verification_create/ruby.mako +11 -0
  66. data/scenarios/bank_account_verification_show/definition.rb +1 -0
  67. data/scenarios/bank_account_verification_show/request.rb +2 -0
  68. data/scenarios/bank_account_verification_show/ruby.mako +10 -0
  69. data/scenarios/bank_account_verification_update/definition.rb +1 -0
  70. data/scenarios/bank_account_verification_update/request.rb +7 -0
  71. data/scenarios/bank_account_verification_update/ruby.mako +17 -0
  72. data/scenarios/callback_create/definition.rb +1 -0
  73. data/scenarios/callback_create/request.rb +4 -0
  74. data/scenarios/callback_create/ruby.mako +0 -0
  75. data/scenarios/callback_delete/definition.rb +1 -0
  76. data/scenarios/callback_delete/request.rb +3 -0
  77. data/scenarios/callback_delete/ruby.mako +0 -0
  78. data/scenarios/callback_list/definition.rb +1 -0
  79. data/scenarios/callback_list/request.rb +3 -0
  80. data/scenarios/callback_list/ruby.mako +0 -0
  81. data/scenarios/callback_show/definition.rb +1 -0
  82. data/scenarios/callback_show/request.rb +2 -0
  83. data/scenarios/callback_show/ruby.mako +0 -0
  84. data/scenarios/card_create/definition.rb +1 -0
  85. data/scenarios/card_create/request.rb +5 -0
  86. data/scenarios/card_create/ruby.mako +13 -0
  87. data/scenarios/card_invalidate/definition.rb +1 -0
  88. data/scenarios/card_invalidate/request.rb +3 -0
  89. data/scenarios/card_invalidate/ruby.mako +10 -0
  90. data/scenarios/card_list/definition.rb +1 -0
  91. data/scenarios/card_list/request.rb +2 -0
  92. data/scenarios/card_list/ruby.mako +9 -0
  93. data/scenarios/card_show/definition.rb +1 -0
  94. data/scenarios/card_show/request.rb +2 -0
  95. data/scenarios/card_show/ruby.mako +9 -0
  96. data/scenarios/card_update/definition.rb +1 -0
  97. data/scenarios/card_update/request.rb +6 -0
  98. data/scenarios/card_update/ruby.mako +14 -0
  99. data/scenarios/credit_account_list/definition.rb +1 -0
  100. data/scenarios/credit_account_list/request.rb +3 -0
  101. data/scenarios/credit_account_list/ruby.mako +10 -0
  102. data/scenarios/credit_account_merchant_create/definition.rb +1 -0
  103. data/scenarios/credit_account_merchant_create/request.rb +5 -0
  104. data/scenarios/credit_account_merchant_create/ruby.mako +12 -0
  105. data/scenarios/credit_bank_account_list/definition.rb +1 -0
  106. data/scenarios/credit_bank_account_list/request.rb +5 -0
  107. data/scenarios/credit_bank_account_list/ruby.mako +12 -0
  108. data/scenarios/credit_create_existing_bank_account/definition.rb +1 -0
  109. data/scenarios/credit_create_existing_bank_account/request.rb +5 -0
  110. data/scenarios/credit_create_existing_bank_account/ruby.mako +12 -0
  111. data/scenarios/credit_create_new_bank_account/definition.rb +1 -0
  112. data/scenarios/credit_create_new_bank_account/request.rb +10 -0
  113. data/scenarios/credit_create_new_bank_account/ruby.mako +18 -0
  114. data/scenarios/credit_customer_list/definition.rb +1 -0
  115. data/scenarios/credit_customer_list/request.rb +4 -0
  116. data/scenarios/credit_customer_list/ruby.mako +12 -0
  117. data/scenarios/credit_failed_state/definition.rb +1 -0
  118. data/scenarios/credit_failed_state/request.rb +10 -0
  119. data/scenarios/credit_failed_state/ruby.mako +18 -0
  120. data/scenarios/credit_list/definition.rb +1 -0
  121. data/scenarios/credit_list/request.rb +4 -0
  122. data/scenarios/credit_list/ruby.mako +11 -0
  123. data/scenarios/credit_paid_state/definition.rb +1 -0
  124. data/scenarios/credit_paid_state/request.rb +11 -0
  125. data/scenarios/credit_paid_state/ruby.mako +19 -0
  126. data/scenarios/credit_pending_state/definition.rb +1 -0
  127. data/scenarios/credit_pending_state/request.rb +9 -0
  128. data/scenarios/credit_pending_state/ruby.mako +17 -0
  129. data/scenarios/credit_show/definition.rb +1 -0
  130. data/scenarios/credit_show/request.rb +4 -0
  131. data/scenarios/credit_show/ruby.mako +11 -0
  132. data/scenarios/customer_add_bank_account/definition.rb +1 -0
  133. data/scenarios/customer_add_bank_account/request.rb +3 -0
  134. data/scenarios/customer_add_bank_account/ruby.mako +11 -0
  135. data/scenarios/customer_add_card/definition.rb +1 -0
  136. data/scenarios/customer_add_card/request.rb +3 -0
  137. data/scenarios/customer_add_card/ruby.mako +11 -0
  138. data/scenarios/customer_capture_hold/definition.rb +1 -0
  139. data/scenarios/customer_capture_hold/request.rb +3 -0
  140. data/scenarios/customer_capture_hold/ruby.mako +0 -0
  141. data/scenarios/customer_create/definition.rb +1 -0
  142. data/scenarios/customer_create/request.rb +2 -0
  143. data/scenarios/customer_create/ruby.mako +10 -0
  144. data/scenarios/customer_create_debit/definition.rb +1 -0
  145. data/scenarios/customer_create_debit/request.rb +3 -0
  146. data/scenarios/customer_create_debit/ruby.mako +11 -0
  147. data/scenarios/customer_create_hold/definition.rb +1 -0
  148. data/scenarios/customer_create_hold/request.rb +3 -0
  149. data/scenarios/customer_create_hold/ruby.mako +11 -0
  150. data/scenarios/customer_credit/definition.rb +1 -0
  151. data/scenarios/customer_credit/request.rb +2 -0
  152. data/scenarios/customer_credit/ruby.mako +8 -0
  153. data/scenarios/debit_account_list/definition.rb +1 -0
  154. data/scenarios/debit_account_list/request.rb +3 -0
  155. data/scenarios/debit_account_list/ruby.mako +10 -0
  156. data/scenarios/debit_create/definition.rb +1 -0
  157. data/scenarios/debit_create/request.rb +3 -0
  158. data/scenarios/debit_create/ruby.mako +11 -0
  159. data/scenarios/debit_customer_list/definition.rb +1 -0
  160. data/scenarios/debit_customer_list/request.rb +4 -0
  161. data/scenarios/debit_customer_list/ruby.mako +12 -0
  162. data/scenarios/debit_list/definition.rb +1 -0
  163. data/scenarios/debit_list/request.rb +4 -0
  164. data/scenarios/debit_list/ruby.mako +11 -0
  165. data/scenarios/debit_refund/definition.rb +1 -0
  166. data/scenarios/debit_refund/request.rb +3 -0
  167. data/scenarios/debit_refund/ruby.mako +10 -0
  168. data/scenarios/debit_show/definition.rb +1 -0
  169. data/scenarios/debit_show/request.rb +2 -0
  170. data/scenarios/debit_show/ruby.mako +10 -0
  171. data/scenarios/debit_update/definition.rb +1 -0
  172. data/scenarios/debit_update/request.rb +5 -0
  173. data/scenarios/debit_update/ruby.mako +13 -0
  174. data/scenarios/delete.rb +7 -0
  175. data/scenarios/event_list/definition.rb +1 -0
  176. data/scenarios/event_list/request.rb +3 -0
  177. data/scenarios/event_list/ruby.mako +10 -0
  178. data/scenarios/event_replay/definition.rb +0 -0
  179. data/scenarios/event_replay/request.rb +1 -0
  180. data/scenarios/event_replay/ruby.mako +0 -0
  181. data/scenarios/event_show/definition.rb +1 -0
  182. data/scenarios/event_show/request.rb +2 -0
  183. data/scenarios/event_show/ruby.mako +10 -0
  184. data/scenarios/execute.rb +27 -0
  185. data/scenarios/helpers.rb +15 -0
  186. data/scenarios/hold_account_list/definition.rb +1 -0
  187. data/scenarios/hold_account_list/request.rb +3 -0
  188. data/scenarios/hold_account_list/ruby.mako +10 -0
  189. data/scenarios/hold_capture/definition.rb +1 -0
  190. data/scenarios/hold_capture/request.rb +5 -0
  191. data/scenarios/hold_capture/ruby.mako +13 -0
  192. data/scenarios/hold_create/definition.rb +1 -0
  193. data/scenarios/hold_create/request.rb +5 -0
  194. data/scenarios/hold_create/ruby.mako +13 -0
  195. data/scenarios/hold_customer_list/definition.rb +1 -0
  196. data/scenarios/hold_customer_list/request.rb +3 -0
  197. data/scenarios/hold_customer_list/ruby.mako +11 -0
  198. data/scenarios/hold_list/definition.rb +1 -0
  199. data/scenarios/hold_list/request.rb +4 -0
  200. data/scenarios/hold_list/ruby.mako +11 -0
  201. data/scenarios/hold_show/definition.rb +1 -0
  202. data/scenarios/hold_show/request.rb +2 -0
  203. data/scenarios/hold_show/ruby.mako +10 -0
  204. data/scenarios/hold_update/definition.rb +1 -0
  205. data/scenarios/hold_update/request.rb +5 -0
  206. data/scenarios/hold_update/ruby.mako +13 -0
  207. data/scenarios/hold_void/definition.rb +1 -0
  208. data/scenarios/hold_void/request.rb +3 -0
  209. data/scenarios/hold_void/ruby.mako +10 -0
  210. data/scenarios/refund_account_list/definition.rb +1 -0
  211. data/scenarios/refund_account_list/request.rb +3 -0
  212. data/scenarios/refund_account_list/ruby.mako +10 -0
  213. data/scenarios/refund_create/definition.rb +1 -0
  214. data/scenarios/refund_create/request.rb +6 -0
  215. data/scenarios/refund_create/ruby.mako +14 -0
  216. data/scenarios/refund_customer_list/definition.rb +1 -0
  217. data/scenarios/refund_customer_list/request.rb +3 -0
  218. data/scenarios/refund_list/definition.rb +1 -0
  219. data/scenarios/refund_list/request.rb +4 -0
  220. data/scenarios/refund_list/ruby.mako +11 -0
  221. data/scenarios/refund_show/definition.rb +1 -0
  222. data/scenarios/refund_show/request.rb +2 -0
  223. data/scenarios/refund_show/ruby.mako +10 -0
  224. data/scenarios/refund_update/definition.rb +1 -0
  225. data/scenarios/refund_update/request.rb +5 -0
  226. data/scenarios/refund_update/ruby.mako +13 -0
  227. data/scenarios/render.rb +32 -0
  228. data/scenarios/render_mako.rb +43 -0
  229. data/scenarios/render_one.rb +32 -0
  230. data/spec/balanced/resources/credit_spec.rb +23 -0
  231. data/spec/scenarios_spec.rb +39 -0
  232. data/spec/spec_helper.rb +2 -1
  233. metadata +237 -11
  234. checksums.yaml +0 -7
data/.gitignore CHANGED
@@ -12,6 +12,7 @@ spec/reports
12
12
  test/tmp
13
13
  test/version_tmp
14
14
  tmp
15
+ executable.rb
15
16
 
16
17
  # YARD artifacts
17
18
  .yardoc
@@ -30,4 +31,5 @@ Gemfile.lock
30
31
  spec/cassettes
31
32
 
32
33
  # OS X
33
- .DS_Store
34
+ .DS_Store
35
+
data/.travis.yml CHANGED
@@ -4,3 +4,4 @@ script: "bundle exec rake spec"
4
4
  rvm:
5
5
  - 1.9.2
6
6
  - 1.9.3
7
+ - 2.0.0
data/CONTRIBUTORS CHANGED
@@ -6,4 +6,6 @@ Ivan Lyutov
6
6
  Alex Sharp
7
7
  Marc Sherry
8
8
  Joonas Bergius
9
- Ben Mills
9
+ Ben Mills
10
+ Ryan Loomba
11
+ Jesus De Abreu
data/README.md CHANGED
@@ -60,18 +60,34 @@ spec/cassettes. To clear them and regenerate:
60
60
 
61
61
  ### Issues
62
62
 
63
- All issues should be documented at
63
+ All issues should be documented at
64
64
  [balanced-ruby/issues](https://github.com/balanced/balanced-ruby/issues)
65
65
 
66
66
 
67
67
  ### Building Documentation
68
68
 
69
69
  Documentation is built using YARD - http://rubydoc.info/docs/yard
70
-
70
+
71
71
  export AMAZON_ACCESS_KEY_ID='xxx'
72
- export AMAZON_SECRET_ACCESS_KEY='yyy'
72
+ export AMAZON_SECRET_ACCESS_KEY='yyy'
73
73
  ./upload_docs.rb
74
74
 
75
+ ### Scenarios
76
+
77
+ ####Render
78
+
79
+ To render executable files from scenario templates run `rake render_executables`
80
+ Check /scenarios and make sure each scenario has an executable.rb file
81
+
82
+ ####Delete
83
+
84
+ To delete previously generated executable files run `rake delete_executables`
85
+
86
+ ####Test
87
+
88
+ After generating executable files, make sure they are valid Ruby files by running
89
+ `rspec scenarios/execute.rb` from the root directory
90
+
75
91
  ### Troubleshooting
76
92
 
77
93
  #####OpenSSL
data/Rakefile CHANGED
@@ -1,7 +1,9 @@
1
1
  #!/usr/bin/env rake
2
+
2
3
  require "rake"
3
4
  require "rspec/core/rake_task"
4
5
  require "bundler/gem_tasks"
6
+ require 'rspec'
5
7
 
6
8
  desc "Run spec suite"
7
9
  RSpec::Core::RakeTask.new(:spec) { |t| }
@@ -9,4 +11,19 @@ RSpec::Core::RakeTask.new(:spec) { |t| }
9
11
  desc "Default the task to run the spec"
10
12
  task :default => [:spec]
11
13
 
14
+ desc "Render template files"
15
+ task :render_executables do
16
+ ruby File.dirname(__FILE__) + "/scenarios/render.rb"
17
+ end
18
+
19
+ desc "delete executables"
20
+ task :delete_executables do
21
+ ruby File.dirname(__FILE__) + "/scenarios/delete.rb"
22
+ end
12
23
 
24
+ desc "render one template file"
25
+ task :render_one, :name do
26
+ name = ENV['NAME']
27
+ file = File.dirname(__FILE__) + "/scenarios/render_one.rb"
28
+ ruby file, name
29
+ end
@@ -69,7 +69,7 @@ puts "our bank account uri is #{bank_account.uri}"
69
69
  puts "our card uri is #{card.uri}"
70
70
 
71
71
  puts "associate the newly created bank account and card to our customer"
72
- debugger
72
+
73
73
  customer.add_card(card)
74
74
  customer.add_bank_account(bank_account)
75
75
 
@@ -10,8 +10,8 @@ require "hold"
10
10
  require "marketplace"
11
11
  require "merchant"
12
12
  require "refund"
13
+ require "reversal"
13
14
  require "transaction"
14
15
  require "callback"
15
16
  require "event"
16
17
  require "customer"
17
-
@@ -51,5 +51,23 @@ module Balanced
51
51
 
52
52
  super attributes
53
53
  end
54
+
55
+ def reverse *args
56
+ warn_on_positional args
57
+
58
+ options = args.last.is_a?(Hash) ? args.pop : {}
59
+ amount = args[0] || options.fetch(:amount) { nil }
60
+ description = args[1] || options.fetch(:description) { nil }
61
+
62
+ reversal = Reversal.new(
63
+ :uri => self.reversals_uri,
64
+ :credit_uri => self.uri,
65
+ :amount => amount,
66
+ :description => description,
67
+ )
68
+
69
+ reversal.save
70
+ end
71
+
54
72
  end
55
73
  end
@@ -0,0 +1,11 @@
1
+ module Balanced
2
+
3
+ # An Invoice is the invoice that Balanced generates instrumenting all
4
+ # the events
5
+
6
+ class Invoice
7
+ include Balanced::Resource
8
+
9
+ end
10
+
11
+ end
@@ -125,13 +125,15 @@ module Balanced
125
125
  bank_account_uri = args[2] || options.fetch(:bank_account_uri) { nil }
126
126
  name = args[3] || options.fetch(:name) { nil }
127
127
  meta = args[4] || options.fetch(:meta) { nil }
128
+ bank_account = args[5] || options.fetch(:bank_account) { nil }
128
129
 
129
130
  account_attributes = {
130
131
  :uri => self.accounts_uri,
131
132
  :email_address => email_address,
132
133
  :bank_account_uri => bank_account_uri,
133
134
  :name => name,
134
- :meta => meta
135
+ :meta => meta,
136
+ :bank_account => bank_account
135
137
  }
136
138
 
137
139
  if merchant.respond_to? :keys
@@ -0,0 +1,20 @@
1
+ module Balanced
2
+ # A Reversal represents a reversal of funds from a Credit. A Credit can have
3
+ # many Reversals associated with it up to the total amount of the original
4
+ # Reversal. Funds are returned to your Marketplace's Merchant Account
5
+ # proportional to the amount of the Reversal.
6
+ #
7
+ class Reversal
8
+ include Balanced::Resource
9
+
10
+ def initialize attributes = {}
11
+ Balanced::Utils.stringify_keys! attributes
12
+ unless attributes.has_key? 'uri'
13
+ attributes['uri'] = self.class.uri
14
+ end
15
+ super attributes
16
+ end
17
+
18
+ end
19
+
20
+ end
@@ -1,6 +1,6 @@
1
1
  module Balanced
2
2
  # Any transfer, or potential transfer of, funds from or to, your
3
- # Marketplace. E.g. a Credit, Debit, Refund, or Hold.
3
+ # Marketplace. E.g. a Credit, Debit, Refund, Reversal, or Hold.
4
4
  #
5
5
  class Transaction
6
6
  include Balanced::Resource
@@ -15,4 +15,3 @@ module Balanced
15
15
 
16
16
  end
17
17
  end
18
-
@@ -1,3 +1,3 @@
1
1
  module Balanced
2
- VERSION = '0.7.1'
2
+ VERSION = '0.7.2'
3
3
  end
data/scenario.cache ADDED
@@ -0,0 +1,540 @@
1
+ {
2
+ "account_add_card": {
3
+ "request": {
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
+ },
22
+ "account_create": {
23
+ "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
+ },
28
+ "account_create_buyer": {
29
+ "request": {
30
+ "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
+ },
58
+ "account_create_merchant": {
59
+ "request": {
60
+ "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
+ },
67
+ "account_underwrite_business": {
68
+ "request": {
69
+ "accounts_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts",
70
+ "payload": {
71
+ "merchant": {
72
+ "name": "Skripts4Kids",
73
+ "person": {
74
+ "dob": "1989-12",
75
+ "name": "Timmy Q. CopyPasta",
76
+ "phone_number": "+14089999999",
77
+ "postal_code": "94110",
78
+ "street_address": "121 Skriptkid Row"
79
+ },
80
+ "phone_number": "+140899188155",
81
+ "postal_code": "91111",
82
+ "street_address": "555 VoidMain Road",
83
+ "tax_id": "211111111",
84
+ "type": "business"
85
+ }
86
+ }
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
+ },
90
+ "account_underwrite_person": {
91
+ "request": {
92
+ "accounts_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts",
93
+ "payload": {
94
+ "merchant": {
95
+ "dob": "1989-12",
96
+ "name": "Timmy Q. CopyPasta",
97
+ "phone_number": "+14089999999",
98
+ "postal_code": "94110",
99
+ "street_address": "121 Skriptkid Row",
100
+ "type": "person"
101
+ }
102
+ }
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",
108
+ "bank_account_create": {
109
+ "request": {
110
+ "payload": {
111
+ "account_number": "9900000001",
112
+ "name": "Johann Bernoulli",
113
+ "routing_number": "121000358",
114
+ "type": "checking"
115
+ },
116
+ "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
+ },
120
+ "bank_account_delete": {
121
+ "request": {
122
+ "uri": "/v1/bank_accounts/BA4eTWiY1VPXkGpjaU6XPBhu"
123
+ }
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
+ },
142
+ "bank_account_invalid_routing_number": {
143
+ "request": {
144
+ "payload": {
145
+ "account_number": "9900000001",
146
+ "name": "Johann Bernoulli",
147
+ "routing_number": "100000007",
148
+ "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
+ },
154
+ "bank_account_list": {
155
+ "request": {
156
+ "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
+ },
160
+ "bank_account_show": {
161
+ "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
+ },
166
+ "bank_account_verification_create": {
167
+ "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
+ },
176
+ "bank_account_verification_show": {
177
+ "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
+ },
183
+ "bank_account_verification_update": {
184
+ "request": {
185
+ "bank_account_uri": "/v1/bank_accounts/BA4tfzTrmuV1wXzXGg8Nf2t0",
186
+ "payload": {
187
+ "amount_1": 1,
188
+ "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
+ },
194
+ "card_create": {
195
+ "request": {
196
+ "payload": {
197
+ "card_number": "5105105105105100",
198
+ "expiration_month": "12",
199
+ "expiration_year": "2020",
200
+ "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",
207
+ "card_invalidate": {
208
+ "request": {
209
+ "payload": {
210
+ "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
+ },
216
+ "card_list": {
217
+ "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
+ },
222
+ "card_show": {
223
+ "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
+ },
228
+ "card_update": {
229
+ "request": {
230
+ "payload": {
231
+ "meta": {
232
+ "facebook.user_id": "0192837465",
233
+ "my-own-customer-id": "12345",
234
+ "twitter.id": "1234987650"
235
+ }
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
+ },
262
+ "credit_bank_account_list": {
263
+ "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
+ },
269
+ "credit_create_existing_bank_account": {
270
+ "request": {
271
+ "id": "BA4jgL1IYTPL1da2wmwdWvPp",
272
+ "payload": {
273
+ "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
+ },
279
+ "credit_create_new_bank_account": {
280
+ "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
+ },
291
+ "credit_failed_state": {
292
+ "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
+ },
303
+ "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
+ },
307
+ "credit_paid_state": {
308
+ "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
+ },
319
+ "credit_pending_state": {
320
+ "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
+ },
331
+ "credit_show": {
332
+ "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
+ },
338
+ "customer_add_bank_account": {
339
+ "request": {
340
+ "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
+ },
347
+ "customer_add_card": {
348
+ "request": {
349
+ "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
+ },
356
+ "customer_create": {
357
+ "request": {
358
+ "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
+ },
369
+ "debit_create": {
370
+ "request": {
371
+ "account_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c",
372
+ "debits_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits",
373
+ "payload": {
374
+ "amount": 5000,
375
+ "appears_on_statement_as": "Statement text",
376
+ "description": "Some descriptive text for the debit in the dashboard"
377
+ }
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
+ },
381
+ "debit_list": {
382
+ "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
+ },
387
+ "debit_refund": {
388
+ "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
+ },
394
+ "debit_show": {
395
+ "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
+ },
400
+ "debit_update": {
401
+ "request": {
402
+ "payload": {
403
+ "description": "New description for debit",
404
+ "meta": {
405
+ "anykey": "valuegoeshere",
406
+ "facebook.id": "1234567890"
407
+ }
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
+ },
413
+ "event_list": {
414
+ "request": {
415
+ "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
+ },
419
+ "event_show": {
420
+ "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
+ },
432
+ "hold_capture": {
433
+ "request": {
434
+ "debits_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/debits",
435
+ "hold_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/holds/HL5m1WNF0ste8ap24cZ5bVU4",
436
+ "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"
440
+ }
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
+ },
444
+ "hold_create": {
445
+ "request": {
446
+ "account_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c",
447
+ "holds_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/accounts/AC4FqqEyFyTcd3eHhh2YXL4c/holds",
448
+ "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
+ },
455
+ "hold_list": {
456
+ "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
+ },
461
+ "hold_show": {
462
+ "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
+ },
467
+ "hold_update": {
468
+ "request": {
469
+ "payload": {
470
+ "description": "update this description",
471
+ "meta": {
472
+ "holding.for": "user1",
473
+ "meaningful.key": "some.value"
474
+ }
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
+ },
480
+ "hold_void": {
481
+ "request": {
482
+ "payload": {
483
+ "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
+ },
498
+ "refund_create": {
499
+ "request": {
500
+ "debit_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg",
501
+ "payload": {
502
+ "debit_uri": "/v1/marketplaces/TEST-MP4erLnXCYoaeyr3tx95WSKc/debits/WD5uAv4hcfWPmB37xbtHkOTg",
503
+ "description": "Refund for Order #1111",
504
+ "meta": {
505
+ "fulfillment.item.condition": "OK",
506
+ "merchant.feedback": "positive",
507
+ "user.refund_reason": "not happy with product"
508
+ }
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
+ },
514
+ "refund_list": {
515
+ "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
+ },
520
+ "refund_show": {
521
+ "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
+ },
526
+ "refund_update": {
527
+ "request": {
528
+ "payload": {
529
+ "description": "update this description",
530
+ "meta": {
531
+ "refund.reason": "user not happy with product",
532
+ "user.notes": "very polite on the phone",
533
+ "user.refund.count": "3"
534
+ }
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}"
539
+ }
540
+ }