Browse files

Merge pull request #139 from balanced/acounts_settlements_scenarios

Fix scenario formatting
  • Loading branch information...
2 parents d720dc3 + bbd4d14 commit 1df86b45c36a97ec2e214480c6806c4df3c79860 @rserna2010 rserna2010 committed Jan 9, 2015
Showing with 368 additions and 342 deletions.
  1. +1 −1 scenarios/_mj/api_key_create/executable.py
  2. +2 −2 scenarios/_mj/api_key_create/python.mako
  3. +6 −3 scenarios/account_credit/executable.py
  4. +7 −4 scenarios/account_credit/python.mako
  5. +7 −1 scenarios/account_credit/request.mako
  6. +1 −1 scenarios/account_list/executable.py
  7. +1 −1 scenarios/account_list/python.mako
  8. +2 −2 scenarios/account_list_customer/executable.py
  9. +2 −2 scenarios/account_list_customer/python.mako
  10. +2 −2 scenarios/account_show/executable.py
  11. +3 −3 scenarios/account_show/python.mako
  12. +1 −1 scenarios/api_key_create/executable.py
  13. +2 −2 scenarios/api_key_create/python.mako
  14. +2 −2 scenarios/api_key_delete/executable.py
  15. +2 −2 scenarios/api_key_delete/python.mako
  16. +1 −1 scenarios/api_key_list/executable.py
  17. +1 −1 scenarios/api_key_list/python.mako
  18. +2 −2 scenarios/api_key_show/executable.py
  19. +3 −3 scenarios/api_key_show/python.mako
  20. +3 −3 scenarios/bank_account_associate_to_customer/executable.py
  21. +4 −4 scenarios/bank_account_associate_to_customer/python.mako
  22. +1 −1 scenarios/bank_account_create/executable.py
  23. +2 −2 scenarios/bank_account_create/python.mako
  24. +2 −2 scenarios/bank_account_credit/executable.py
  25. +3 −3 scenarios/bank_account_credit/python.mako
  26. +3 −3 scenarios/bank_account_debit_order/executable.py
  27. +4 −4 scenarios/bank_account_debit_order/python.mako
  28. +2 −2 scenarios/bank_account_delete/executable.py
  29. +2 −2 scenarios/bank_account_delete/python.mako
  30. +1 −1 scenarios/bank_account_list/executable.py
  31. +1 −1 scenarios/bank_account_list/python.mako
  32. +2 −2 scenarios/bank_account_show/executable.py
  33. +3 −3 scenarios/bank_account_show/python.mako
  34. +2 −2 scenarios/bank_account_update/executable.py
  35. +3 −3 scenarios/bank_account_update/python.mako
  36. +2 −2 scenarios/bank_account_verification_create/executable.py
  37. +3 −3 scenarios/bank_account_verification_create/python.mako
  38. +2 −2 scenarios/bank_account_verification_show/executable.py
  39. +3 −3 scenarios/bank_account_verification_show/python.mako
  40. +2 −2 scenarios/bank_account_verification_update/executable.py
  41. +3 −3 scenarios/bank_account_verification_update/python.mako
  42. +2 −2 scenarios/callback_create/executable.py
  43. +3 −3 scenarios/callback_create/python.mako
  44. +2 −2 scenarios/callback_delete/executable.py
  45. +2 −2 scenarios/callback_delete/python.mako
  46. +1 −1 scenarios/callback_list/executable.py
  47. +1 −1 scenarios/callback_list/python.mako
  48. +2 −2 scenarios/callback_show/executable.py
  49. +3 −3 scenarios/callback_show/python.mako
  50. +3 −3 scenarios/card_associate_to_customer/executable.py
  51. +4 −4 scenarios/card_associate_to_customer/python.mako
  52. +1 −1 scenarios/card_create/executable.py
  53. +2 −2 scenarios/card_create/python.mako
  54. +1 −1 scenarios/card_create_creditable/executable.py
  55. +2 −2 scenarios/card_create_creditable/python.mako
  56. +1 −1 scenarios/card_create_dispute/executable.py
  57. +2 −2 scenarios/card_create_dispute/python.mako
  58. +3 −3 scenarios/card_credit_order/executable.py
  59. +4 −4 scenarios/card_credit_order/python.mako
  60. +2 −2 scenarios/card_debit/executable.py
  61. +3 −3 scenarios/card_debit/python.mako
  62. +2 −2 scenarios/card_debit_dispute/executable.py
  63. +3 −3 scenarios/card_debit_dispute/python.mako
  64. +2 −2 scenarios/card_delete/executable.py
  65. +2 −2 scenarios/card_delete/python.mako
  66. +2 −2 scenarios/card_hold_capture/executable.py
  67. +3 −3 scenarios/card_hold_capture/python.mako
  68. +2 −2 scenarios/card_hold_create/executable.py
  69. +3 −3 scenarios/card_hold_create/python.mako
  70. +1 −1 scenarios/card_hold_list/executable.py
  71. +1 −1 scenarios/card_hold_list/python.mako
  72. +4 −4 scenarios/card_hold_order/executable.py
  73. +5 −5 scenarios/card_hold_order/python.mako
  74. +2 −2 scenarios/card_hold_show/executable.py
  75. +3 −3 scenarios/card_hold_show/python.mako
  76. +2 −2 scenarios/card_hold_update/executable.py
  77. +3 −3 scenarios/card_hold_update/python.mako
  78. +2 −2 scenarios/card_hold_void/executable.py
  79. +3 −3 scenarios/card_hold_void/python.mako
  80. +1 −1 scenarios/card_list/executable.py
  81. +1 −1 scenarios/card_list/python.mako
  82. +2 −2 scenarios/card_show/executable.py
  83. +3 −3 scenarios/card_show/python.mako
  84. +2 −2 scenarios/card_update/executable.py
  85. +3 −3 scenarios/card_update/python.mako
  86. +1 −1 scenarios/credit_list/executable.py
  87. +1 −1 scenarios/credit_list/python.mako
  88. +2 −2 scenarios/credit_list_bank_account/executable.py
  89. +2 −2 scenarios/credit_list_bank_account/python.mako
  90. +3 −3 scenarios/credit_order/executable.py
  91. +3 −3 scenarios/credit_order/python.mako
  92. +2 −2 scenarios/credit_show/executable.py
  93. +3 −3 scenarios/credit_show/python.mako
  94. +2 −2 scenarios/credit_update/executable.py
  95. +3 −3 scenarios/credit_update/python.mako
  96. +1 −1 scenarios/customer_create/executable.py
  97. +2 −2 scenarios/customer_create/python.mako
  98. +2 −2 scenarios/customer_delete/executable.py
  99. +2 −2 scenarios/customer_delete/python.mako
  100. +1 −1 scenarios/customer_list/executable.py
  101. +1 −1 scenarios/customer_list/python.mako
  102. +2 −2 scenarios/customer_show/executable.py
  103. +3 −3 scenarios/customer_show/python.mako
  104. +2 −2 scenarios/customer_update/executable.py
  105. +3 −3 scenarios/customer_update/python.mako
  106. +2 −2 scenarios/debit_dispute_show/executable.py
  107. +3 −3 scenarios/debit_dispute_show/python.mako
  108. +1 −1 scenarios/debit_list/executable.py
  109. +1 −1 scenarios/debit_list/python.mako
  110. +3 −3 scenarios/debit_order/executable.py
  111. +4 −4 scenarios/debit_order/python.mako
  112. +2 −2 scenarios/debit_show/executable.py
  113. +3 −3 scenarios/debit_show/python.mako
  114. +2 −2 scenarios/debit_update/executable.py
  115. +3 −3 scenarios/debit_update/python.mako
  116. +1 −1 scenarios/dispute_list/executable.py
  117. +1 −1 scenarios/dispute_list/python.mako
  118. +2 −2 scenarios/dispute_show/executable.py
  119. +3 −3 scenarios/dispute_show/python.mako
  120. +1 −1 scenarios/event_list/executable.py
  121. +1 −1 scenarios/event_list/python.mako
  122. +2 −2 scenarios/event_show/executable.py
  123. +3 −3 scenarios/event_show/python.mako
  124. +2 −2 scenarios/order_create/executable.py
  125. +3 −3 scenarios/order_create/python.mako
  126. +1 −1 scenarios/order_list/executable.py
  127. +1 −1 scenarios/order_list/python.mako
  128. +2 −2 scenarios/order_show/executable.py
  129. +3 −3 scenarios/order_show/python.mako
  130. +2 −2 scenarios/order_update/executable.py
  131. +3 −3 scenarios/order_update/python.mako
  132. +2 −2 scenarios/refund_create/executable.py
  133. +3 −3 scenarios/refund_create/python.mako
  134. +1 −1 scenarios/refund_list/executable.py
  135. +1 −1 scenarios/refund_list/python.mako
  136. +2 −2 scenarios/refund_show/executable.py
  137. +3 −3 scenarios/refund_show/python.mako
  138. +2 −2 scenarios/refund_update/executable.py
  139. +3 −3 scenarios/refund_update/python.mako
  140. +2 −2 scenarios/reversal_create/executable.py
  141. +3 −3 scenarios/reversal_create/python.mako
  142. +1 −1 scenarios/reversal_list/executable.py
  143. +1 −1 scenarios/reversal_list/python.mako
  144. +2 −2 scenarios/reversal_show/executable.py
  145. +3 −3 scenarios/reversal_show/python.mako
  146. +2 −2 scenarios/reversal_update/executable.py
  147. +3 −3 scenarios/reversal_update/python.mako
  148. +8 −4 scenarios/settlement_create/executable.py
  149. +9 −5 scenarios/settlement_create/python.mako
  150. +7 −1 scenarios/settlement_create/request.mako
  151. +1 −1 scenarios/settlement_list/executable.py
  152. +1 −1 scenarios/settlement_list/python.mako
  153. +2 −2 scenarios/settlement_list_account/executable.py
  154. +2 −2 scenarios/settlement_list_account/python.mako
  155. +2 −2 scenarios/settlement_show/executable.py
  156. +3 −3 scenarios/settlement_show/python.mako
  157. +1 −1 scenarios/settlement_show/request.mako
View
2 scenarios/_mj/api_key_create/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
api_key = balanced.APIKey()
api_key.save()
View
4 scenarios/_mj/api_key_create/python.mako
@@ -4,10 +4,10 @@ balanced.APIKey
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
api_key = balanced.APIKey()
api_key.save()
% elif mode == 'response':
-APIKey(links={}, created_at=u'2014-12-18T18:20:54.950589Z', secret=u'ak-test-2s6vMXj5TtFJzMDptyJufa0QObbpZkWqf', href=u'/api_keys/AK2Phglc8FZEbSJWy3H7UeB7', meta={}, id=u'AK2Phglc8FZEbSJWy3H7UeB7')
+APIKey(links={}, created_at=u'2015-01-09T03:23:00.061959Z', secret=u'ak-test-2i4j501b699lmRiGiCcIg45CM0bBI0JAQ', href=u'/api_keys/AK3DQGzROuoRYulKXMQdHBxX', meta={}, id=u'AK3DQGzROuoRYulKXMQdHBxX')
% endif
View
9 scenarios/account_credit/executable.py
@@ -1,11 +1,14 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-payable_account = balanced.Account.fetch('/accounts/AT2E6Ju62P9AnTJwe0fL5kOI')
+payable_account = balanced.Account.fetch('/accounts/AT3ogJE07IErLJYR510QO6sM')
payable_account.credit(
appears_on_statement_as='ThingsCo',
amount=1000,
description='A simple credit',
- order='/orders/OR2JfBYxYlDAF3L48u9DtIEU'meta[rating]=8,
+ order='/orders/OR3vURGwVtqDnnkRS9fgH41G',
+ meta={
+ 'rating': '8'
+ }
)
View
11 scenarios/account_credit/python.mako
@@ -3,15 +3,18 @@ balanced.Account.credit()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-payable_account = balanced.Account.fetch('/accounts/AT2E6Ju62P9AnTJwe0fL5kOI')
+payable_account = balanced.Account.fetch('/accounts/AT3ogJE07IErLJYR510QO6sM')
payable_account.credit(
appears_on_statement_as='ThingsCo',
amount=1000,
description='A simple credit',
- order='/orders/OR2JfBYxYlDAF3L48u9DtIEU'meta[rating]=8,
+ order='/orders/OR3vURGwVtqDnnkRS9fgH41G',
+ meta={
+ 'rating': '8'
+ }
)
% elif mode == 'response':
-Credit(status=u'succeeded', description=u'A simple credit', links={u'customer': u'CU2DRnwOXfbxBlKb5CUWwWJi', u'destination': u'AT2E6Ju62P9AnTJwe0fL5kOI', u'order': u'OR2JfBYxYlDAF3L48u9DtIEU'}, amount=1000, created_at=u'2014-12-19T19:33:31.202845Z', updated_at=u'2014-12-19T19:33:31.295273Z', failure_reason=None, currency=u'USD', transaction_number=u'CR77S-5TO-YRYQ', href=u'/credits/CR5bM6mv38qwW1NEo0ssJTiR', meta={u'rating': u'8'}, failure_reason_code=None, appears_on_statement_as=u'ThingsCo', id=u'CR5bM6mv38qwW1NEo0ssJTiR')
+Credit(status=u'succeeded', description=u'A simple credit', links={u'customer': u'CU3o1ZAd8Gtxz6ZTIFK9YmsM', u'destination': u'AT3ogJE07IErLJYR510QO6sM', u'order': u'OR3vURGwVtqDnnkRS9fgH41G'}, amount=1000, created_at=u'2015-01-09T03:22:56.285894Z', updated_at=u'2015-01-09T03:22:56.407717Z', failure_reason=None, currency=u'USD', transaction_number=u'CRMJJ-XQI-MUMX', href=u'/credits/CR3zAL8gnvuDGGTqr1UqehlS', meta={u'rating': u'8'}, failure_reason_code=None, appears_on_statement_as=u'ThingsCo', id=u'CR3zAL8gnvuDGGTqr1UqehlS')
% endif
View
8 scenarios/account_credit/request.mako
@@ -3,5 +3,11 @@
payable_account = balanced.Account.fetch('${request['href']}')
payable_account.credit(
- <% main.payload_expand(request['payload']) %>
+ appears_on_statement_as='${request['payload']['appears_on_statement_as']}',
+ amount=${request['payload']['amount']},
+ description='${request['payload']['description']}',
+ order='${request['payload']['order']}',
+ meta={
+ 'rating': '${request['payload']['meta']['rating']}'
+ }
)
View
2 scenarios/account_list/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
accounts = balanced.Account.query
View
2 scenarios/account_list/python.mako
@@ -4,7 +4,7 @@ balanced.Account.query
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
accounts = balanced.Account.query
% elif mode == 'response':
View
4 scenarios/account_list_customer/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-customer = balanced.Customer.fetch('/customers/CU4CZc7Xjn8gGJXl1LyzZk7S')
+customer = balanced.Customer.fetch('/customers/CU3o1ZAd8Gtxz6ZTIFK9YmsM')
customer.accounts
View
4 scenarios/account_list_customer/python.mako
@@ -4,9 +4,9 @@ balanced.Account.query
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-customer = balanced.Customer.fetch('/customers/CU4CZc7Xjn8gGJXl1LyzZk7S')
+customer = balanced.Customer.fetch('/customers/CU3o1ZAd8Gtxz6ZTIFK9YmsM')
customer.accounts
% elif mode == 'response':
View
4 scenarios/account_show/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-account = balanced.Account.fetch('/accounts/AT2t2NS6otEMnPT0jVuRAE6Y')
+account = balanced.Account.fetch('/accounts/AT2V7l4MoUJH8xDse641Xqog')
View
6 scenarios/account_show/python.mako
@@ -4,9 +4,9 @@ balanced.Account.fetch()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-account = balanced.Account.fetch('/accounts/AT2t2NS6otEMnPT0jVuRAE6Y')
+account = balanced.Account.fetch('/accounts/AT2V7l4MoUJH8xDse641Xqog')
% elif mode == 'response':
-Account(links={u'customer': u'CU2sWdT0agfxWIbJN2W5LR0k'}, can_credit=True, can_debit=True, created_at=u'2014-12-18T18:20:35.215938Z', updated_at=u'2014-12-18T18:20:35.215939Z', currency=u'USD', href=u'/accounts/AT2t2NS6otEMnPT0jVuRAE6Y', meta={}, balance=0, type=u'payable', id=u'AT2t2NS6otEMnPT0jVuRAE6Y')
+Account(links={u'customer': u'CU2V0zJeFwPUCzJsaK48Ly3S'}, can_credit=True, can_debit=True, created_at=u'2015-01-09T03:22:20.308375Z', updated_at=u'2015-01-09T03:22:20.308376Z', currency=u'USD', href=u'/accounts/AT2V7l4MoUJH8xDse641Xqog', meta={}, balance=0, type=u'payable', id=u'AT2V7l4MoUJH8xDse641Xqog')
% endif
View
2 scenarios/api_key_create/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
api_key = balanced.APIKey().save()
View
4 scenarios/api_key_create/python.mako
@@ -3,9 +3,9 @@ balanced.APIKey()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
api_key = balanced.APIKey().save()
% elif mode == 'response':
-APIKey(links={}, created_at=u'2014-12-18T18:20:54.950589Z', secret=u'ak-test-2s6vMXj5TtFJzMDptyJufa0QObbpZkWqf', href=u'/api_keys/AK2Phglc8FZEbSJWy3H7UeB7', meta={}, id=u'AK2Phglc8FZEbSJWy3H7UeB7')
+APIKey(links={}, created_at=u'2015-01-09T03:23:00.061959Z', secret=u'ak-test-2i4j501b699lmRiGiCcIg45CM0bBI0JAQ', href=u'/api_keys/AK3DQGzROuoRYulKXMQdHBxX', meta={}, id=u'AK3DQGzROuoRYulKXMQdHBxX')
% endif
View
4 scenarios/api_key_delete/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-key = balanced.APIKey.fetch('/api_keys/AK2Phglc8FZEbSJWy3H7UeB7')
+key = balanced.APIKey.fetch('/api_keys/AK3DQGzROuoRYulKXMQdHBxX')
key.delete()
View
4 scenarios/api_key_delete/python.mako
@@ -3,9 +3,9 @@ balanced.APIKey().delete()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-key = balanced.APIKey.fetch('/api_keys/AK2Phglc8FZEbSJWy3H7UeB7')
+key = balanced.APIKey.fetch('/api_keys/AK3DQGzROuoRYulKXMQdHBxX')
key.delete()
% elif mode == 'response':
View
2 scenarios/api_key_list/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
keys = balanced.APIKey.query
View
2 scenarios/api_key_list/python.mako
@@ -4,7 +4,7 @@ balanced.APIKey.query
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
keys = balanced.APIKey.query
% elif mode == 'response':
View
4 scenarios/api_key_show/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-key = balanced.APIKey.fetch('/api_keys/AK2Phglc8FZEbSJWy3H7UeB7')
+key = balanced.APIKey.fetch('/api_keys/AK3DQGzROuoRYulKXMQdHBxX')
View
6 scenarios/api_key_show/python.mako
@@ -4,9 +4,9 @@ balanced.APIKey.fetch()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-key = balanced.APIKey.fetch('/api_keys/AK2Phglc8FZEbSJWy3H7UeB7')
+key = balanced.APIKey.fetch('/api_keys/AK3DQGzROuoRYulKXMQdHBxX')
% elif mode == 'response':
-APIKey(created_at=u'2014-12-18T18:20:54.950589Z', href=u'/api_keys/AK2Phglc8FZEbSJWy3H7UeB7', meta={}, id=u'AK2Phglc8FZEbSJWy3H7UeB7', links={})
+APIKey(created_at=u'2015-01-09T03:23:00.061959Z', href=u'/api_keys/AK3DQGzROuoRYulKXMQdHBxX', meta={}, id=u'AK3DQGzROuoRYulKXMQdHBxX', links={})
% endif
View
6 scenarios/bank_account_associate_to_customer/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY')
-bank_account.associate_to_customer('/customers/CU2DRnwOXfbxBlKb5CUWwWJi')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA45anEaEr8g0lOhzhcE9VAN')
+bank_account.associate_to_customer('/customers/CU3o1ZAd8Gtxz6ZTIFK9YmsM')
View
8 scenarios/bank_account_associate_to_customer/python.mako
@@ -3,10 +3,10 @@ balanced.BankAccount().associate_to_customer()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY')
-bank_account.associate_to_customer('/customers/CU2DRnwOXfbxBlKb5CUWwWJi')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA45anEaEr8g0lOhzhcE9VAN')
+bank_account.associate_to_customer('/customers/CU3o1ZAd8Gtxz6ZTIFK9YmsM')
% elif mode == 'response':
-BankAccount(routing_number=u'121000358', bank_name=u'BANK OF AMERICA, N.A.', account_type=u'checking', name=u'Johann Bernoulli', links={u'customer': u'CU2DRnwOXfbxBlKb5CUWwWJi', u'bank_account_verification': None}, can_credit=True, created_at=u'2014-12-18T18:21:31.663217Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None}, updated_at=u'2014-12-18T18:21:32.166444Z', href=u'/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY', meta={}, account_number=u'xxxxxx0001', fingerprint=u'5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14', can_debit=False, id=u'BA3uzbngfVXy1SGg25Et7iKY')
+BankAccount(routing_number=u'121000358', bank_name=u'BANK OF AMERICA, N.A.', account_type=u'checking', name=u'Johann Bernoulli', links={u'customer': u'CU3o1ZAd8Gtxz6ZTIFK9YmsM', u'bank_account_verification': None}, can_credit=True, created_at=u'2015-01-09T03:23:24.352488Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None}, updated_at=u'2015-01-09T03:23:25.100561Z', href=u'/bank_accounts/BA45anEaEr8g0lOhzhcE9VAN', meta={}, account_number=u'xxxxxx0001', fingerprint=u'5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14', can_debit=False, id=u'BA45anEaEr8g0lOhzhcE9VAN')
% endif
View
2 scenarios/bank_account_create/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
bank_account = balanced.BankAccount(
routing_number='121000358',
View
4 scenarios/bank_account_create/python.mako
@@ -3,7 +3,7 @@ balanced.BankAccount().save()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
bank_account = balanced.BankAccount(
routing_number='121000358',
@@ -12,5 +12,5 @@ bank_account = balanced.BankAccount(
name='Johann Bernoulli'
).save()
% elif mode == 'response':
-BankAccount(routing_number=u'121000358', bank_name=u'BANK OF AMERICA, N.A.', account_type=u'checking', name=u'Johann Bernoulli', links={u'customer': None, u'bank_account_verification': None}, can_credit=True, created_at=u'2014-12-18T18:21:31.663217Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None}, updated_at=u'2014-12-18T18:21:31.663218Z', href=u'/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY', meta={}, account_number=u'xxxxxx0001', fingerprint=u'5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14', can_debit=False, id=u'BA3uzbngfVXy1SGg25Et7iKY')
+BankAccount(routing_number=u'121000358', bank_name=u'BANK OF AMERICA, N.A.', account_type=u'checking', name=u'Johann Bernoulli', links={u'customer': None, u'bank_account_verification': None}, can_credit=True, created_at=u'2015-01-09T03:23:24.352488Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None}, updated_at=u'2015-01-09T03:23:24.352490Z', href=u'/bank_accounts/BA45anEaEr8g0lOhzhcE9VAN', meta={}, account_number=u'xxxxxx0001', fingerprint=u'5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14', can_debit=False, id=u'BA45anEaEr8g0lOhzhcE9VAN')
% endif
View
4 scenarios/bank_account_credit/executable.py
@@ -1,8 +1,8 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA45anEaEr8g0lOhzhcE9VAN')
bank_account.credit(
amount=5000
)
View
6 scenarios/bank_account_credit/python.mako
@@ -3,12 +3,12 @@ balanced.BankAccount().credit()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA45anEaEr8g0lOhzhcE9VAN')
bank_account.credit(
amount=5000
)
% elif mode == 'response':
-Credit(status=u'pending', description=None, links={u'customer': u'CU2DRnwOXfbxBlKb5CUWwWJi', u'destination': u'BA3uzbngfVXy1SGg25Et7iKY', u'order': None}, amount=5000, created_at=u'2014-12-18T18:23:17.134381Z', updated_at=u'2014-12-18T18:23:17.459321Z', failure_reason=None, currency=u'USD', transaction_number=u'CRMY6-6AZ-YV3J', href=u'/credits/CR5pb9ux8RYVNTwcJ3jdVF84', meta={}, failure_reason_code=None, appears_on_statement_as=u'example.com', id=u'CR5pb9ux8RYVNTwcJ3jdVF84')
+Credit(status=u'pending', description=None, links={u'customer': u'CU3o1ZAd8Gtxz6ZTIFK9YmsM', u'destination': u'BA45anEaEr8g0lOhzhcE9VAN', u'order': None}, amount=5000, created_at=u'2015-01-09T03:25:41.350099Z', updated_at=u'2015-01-09T03:25:41.727056Z', failure_reason=None, currency=u'USD', transaction_number=u'CR6XX-6KR-7GSZ', href=u'/credits/CR6zeufmfv0u1KHrUBCQtAgU', meta={}, failure_reason_code=None, appears_on_statement_as=u'example.com', id=u'CR6zeufmfv0u1KHrUBCQtAgU')
% endif
View
6 scenarios/bank_account_debit_order/executable.py
@@ -1,9 +1,9 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-order = balanced.Order.fetch('/orders/OR2JfBYxYlDAF3L48u9DtIEU')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA305R4Vwumo1KjT9kwVrdfT')
+order = balanced.Order.fetch('/orders/OR3vURGwVtqDnnkRS9fgH41G')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3LVXVgJLrzkmB3vUntKJ6t')
order.debit_from(
amount=5000,
source=bank_account,
View
8 scenarios/bank_account_debit_order/python.mako
@@ -4,14 +4,14 @@ balanced.Order().debit_from()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-order = balanced.Order.fetch('/orders/OR2JfBYxYlDAF3L48u9DtIEU')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA305R4Vwumo1KjT9kwVrdfT')
+order = balanced.Order.fetch('/orders/OR3vURGwVtqDnnkRS9fgH41G')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3LVXVgJLrzkmB3vUntKJ6t')
order.debit_from(
amount=5000,
source=bank_account,
)
% elif mode == 'response':
-Debit(status=u'pending', description=u'Order #12341234', links={u'customer': None, u'source': u'BA305R4Vwumo1KjT9kwVrdfT', u'dispute': None, u'order': u'OR2JfBYxYlDAF3L48u9DtIEU', u'card_hold': None}, amount=5000, created_at=u'2014-12-18T18:21:34.869249Z', updated_at=u'2014-12-18T18:21:35.142979Z', failure_reason=None, currency=u'USD', transaction_number=u'WQUD-1BL-3KIM', href=u'/debits/WD3yawZGsngL3dLqW0YpEEcE', meta={}, failure_reason_code=None, appears_on_statement_as=u'BAL*example.com', id=u'WD3yawZGsngL3dLqW0YpEEcE')
+Debit(status=u'pending', description=u'Order #12341234', links={u'customer': None, u'source': u'BA3LVXVgJLrzkmB3vUntKJ6t', u'dispute': None, u'order': u'OR3vURGwVtqDnnkRS9fgH41G', u'card_hold': None}, amount=5000, created_at=u'2015-01-09T03:23:26.676705Z', updated_at=u'2015-01-09T03:23:26.949357Z', failure_reason=None, currency=u'USD', transaction_number=u'WULC-EFN-JTW0', href=u'/debits/WD47MlpITdspMYF3lZSxmGtT', meta={}, failure_reason_code=None, appears_on_statement_as=u'BAL*example.com', id=u'WD47MlpITdspMYF3lZSxmGtT')
% endif
View
4 scenarios/bank_account_delete/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3Ya2sAlEQE14O1iS17FN0Q')
bank_account.delete()
View
4 scenarios/bank_account_delete/python.mako
@@ -3,9 +3,9 @@ balanced.BankAccount().delete()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3Ya2sAlEQE14O1iS17FN0Q')
bank_account.delete()
% elif mode == 'response':
View
2 scenarios/bank_account_list/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
bank_accounts = balanced.BankAccount.query
View
2 scenarios/bank_account_list/python.mako
@@ -4,7 +4,7 @@ balanced.BankAccount.query
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
bank_accounts = balanced.BankAccount.query
% elif mode == 'response':
View
4 scenarios/bank_account_show/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3Ya2sAlEQE14O1iS17FN0Q')
View
6 scenarios/bank_account_show/python.mako
@@ -4,9 +4,9 @@ balanced.BankAccount.fetch()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3Ya2sAlEQE14O1iS17FN0Q')
% elif mode == 'response':
-BankAccount(routing_number=u'121000358', bank_name=u'BANK OF AMERICA, N.A.', account_type=u'checking', name=u'Johann Bernoulli', links={u'customer': None, u'bank_account_verification': None}, can_credit=True, created_at=u'2014-12-18T18:21:19.129483Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None}, updated_at=u'2014-12-18T18:21:19.129485Z', href=u'/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3', meta={}, account_number=u'xxxxxx0001', fingerprint=u'5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14', can_debit=False, id=u'BA3gt4RLskm2w09aXHPDaCb3')
+BankAccount(routing_number=u'121000358', bank_name=u'BANK OF AMERICA, N.A.', account_type=u'checking', name=u'Johann Bernoulli', links={u'customer': None, u'bank_account_verification': None}, can_credit=True, created_at=u'2015-01-09T03:23:18.120531Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None}, updated_at=u'2015-01-09T03:23:18.120532Z', href=u'/bank_accounts/BA3Ya2sAlEQE14O1iS17FN0Q', meta={}, account_number=u'xxxxxx0001', fingerprint=u'5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14', can_debit=False, id=u'BA3Ya2sAlEQE14O1iS17FN0Q')
% endif
View
4 scenarios/bank_account_update/executable.py
@@ -1,8 +1,8 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3Ya2sAlEQE14O1iS17FN0Q')
bank_account.meta = {
'twitter.id'='1234987650',
'facebook.user_id'='0192837465',
View
6 scenarios/bank_account_update/python.mako
@@ -3,15 +3,15 @@ balanced.BankAccount().debit()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3Ya2sAlEQE14O1iS17FN0Q')
bank_account.meta = {
'twitter.id'='1234987650',
'facebook.user_id'='0192837465',
'my-own-customer-id'='12345'
}
bank_account.save()
% elif mode == 'response':
-BankAccount(routing_number=u'121000358', bank_name=u'BANK OF AMERICA, N.A.', account_type=u'checking', name=u'Johann Bernoulli', links={u'customer': None, u'bank_account_verification': None}, can_credit=True, created_at=u'2014-12-18T18:21:19.129483Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None}, updated_at=u'2014-12-18T18:21:26.907937Z', href=u'/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3', meta={u'twitter.id': u'1234987650', u'facebook.user_id': u'0192837465', u'my-own-customer-id': u'12345'}, account_number=u'xxxxxx0001', fingerprint=u'5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14', can_debit=False, id=u'BA3gt4RLskm2w09aXHPDaCb3')
+BankAccount(routing_number=u'121000358', bank_name=u'BANK OF AMERICA, N.A.', account_type=u'checking', name=u'Johann Bernoulli', links={u'customer': None, u'bank_account_verification': None}, can_credit=True, created_at=u'2015-01-09T03:23:18.120531Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None}, updated_at=u'2015-01-09T03:23:22.310587Z', href=u'/bank_accounts/BA3Ya2sAlEQE14O1iS17FN0Q', meta={u'twitter.id': u'1234987650', u'facebook.user_id': u'0192837465', u'my-own-customer-id': u'12345'}, account_number=u'xxxxxx0001', fingerprint=u'5f0ba9fa3f1122ef13b944a40abfe44e7eba9e16934e64200913cb4c402ace14', can_debit=False, id=u'BA3Ya2sAlEQE14O1iS17FN0Q')
% endif
View
4 scenarios/bank_account_verification_create/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA305R4Vwumo1KjT9kwVrdfT')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3LVXVgJLrzkmB3vUntKJ6t')
verification = bank_account.verify()
View
6 scenarios/bank_account_verification_create/python.mako
@@ -3,10 +3,10 @@ balanced.BankAccountVerification().save()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA305R4Vwumo1KjT9kwVrdfT')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3LVXVgJLrzkmB3vUntKJ6t')
verification = bank_account.verify()
% elif mode == 'response':
-BankAccountVerification(verification_status=u'pending', links={u'bank_account': u'BA305R4Vwumo1KjT9kwVrdfT'}, created_at=u'2014-12-18T18:21:10.883036Z', attempts_remaining=3, updated_at=u'2014-12-18T18:21:10.883038Z', deposit_status=u'pending', attempts=0, href=u'/verifications/BZ37ck8caI06gKMmpz70Zt6w', meta={}, id=u'BZ37ck8caI06gKMmpz70Zt6w')
+BankAccountVerification(verification_status=u'pending', links={u'bank_account': u'BA3LVXVgJLrzkmB3vUntKJ6t'}, created_at=u'2015-01-09T03:23:13.465191Z', attempts_remaining=3, updated_at=u'2015-01-09T03:23:13.465192Z', deposit_status=u'pending', attempts=0, href=u'/verifications/BZ3SVvXTx85CrYo8045tr2cU', meta={}, id=u'BZ3SVvXTx85CrYo8045tr2cU')
% endif
View
4 scenarios/bank_account_verification_show/executable.py
@@ -1,4 +1,4 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
-verification = balanced.BankAccountVerification.fetch('/verifications/BZ37ck8caI06gKMmpz70Zt6w')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
+verification = balanced.BankAccountVerification.fetch('/verifications/BZ3SVvXTx85CrYo8045tr2cU')
View
6 scenarios/bank_account_verification_show/python.mako
@@ -4,8 +4,8 @@ balanced.BankAccountVerification.fetch()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
-verification = balanced.BankAccountVerification.fetch('/verifications/BZ37ck8caI06gKMmpz70Zt6w')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
+verification = balanced.BankAccountVerification.fetch('/verifications/BZ3SVvXTx85CrYo8045tr2cU')
% elif mode == 'response':
-BankAccountVerification(verification_status=u'pending', links={u'bank_account': u'BA305R4Vwumo1KjT9kwVrdfT'}, created_at=u'2014-12-18T18:21:10.883036Z', attempts_remaining=3, updated_at=u'2014-12-18T18:21:10.883038Z', deposit_status=u'pending', attempts=0, href=u'/verifications/BZ37ck8caI06gKMmpz70Zt6w', meta={}, id=u'BZ37ck8caI06gKMmpz70Zt6w')
+BankAccountVerification(verification_status=u'pending', links={u'bank_account': u'BA3LVXVgJLrzkmB3vUntKJ6t'}, created_at=u'2015-01-09T03:23:13.465191Z', attempts_remaining=3, updated_at=u'2015-01-09T03:23:13.465192Z', deposit_status=u'pending', attempts=0, href=u'/verifications/BZ3SVvXTx85CrYo8045tr2cU', meta={}, id=u'BZ3SVvXTx85CrYo8045tr2cU')
% endif
View
4 scenarios/bank_account_verification_update/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-verification = balanced.BankAccountVerification.fetch('/verifications/BZ37ck8caI06gKMmpz70Zt6w')
+verification = balanced.BankAccountVerification.fetch('/verifications/BZ3SVvXTx85CrYo8045tr2cU')
verification.confirm(amount_1=1, amount_2=1)
View
6 scenarios/bank_account_verification_update/python.mako
@@ -3,10 +3,10 @@ balanced.BankAccountVerification().confirm()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-verification = balanced.BankAccountVerification.fetch('/verifications/BZ37ck8caI06gKMmpz70Zt6w')
+verification = balanced.BankAccountVerification.fetch('/verifications/BZ3SVvXTx85CrYo8045tr2cU')
verification.confirm(amount_1=1, amount_2=1)
% elif mode == 'response':
-BankAccountVerification(verification_status=u'succeeded', links={u'bank_account': u'BA305R4Vwumo1KjT9kwVrdfT'}, created_at=u'2014-12-18T18:21:10.883036Z', attempts_remaining=2, updated_at=u'2014-12-18T18:21:16.298025Z', deposit_status=u'succeeded', attempts=1, href=u'/verifications/BZ37ck8caI06gKMmpz70Zt6w', meta={}, id=u'BZ37ck8caI06gKMmpz70Zt6w')
+BankAccountVerification(verification_status=u'succeeded', links={u'bank_account': u'BA3LVXVgJLrzkmB3vUntKJ6t'}, created_at=u'2015-01-09T03:23:13.465191Z', attempts_remaining=2, updated_at=u'2015-01-09T03:23:16.381292Z', deposit_status=u'succeeded', attempts=1, href=u'/verifications/BZ3SVvXTx85CrYo8045tr2cU', meta={}, id=u'BZ3SVvXTx85CrYo8045tr2cU')
% endif
View
4 scenarios/callback_create/executable.py
@@ -1,8 +1,8 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
callback = balanced.Callback(
- url='http://www.example.com/callback',
+ url='http://www.example.com/callback_test',
method='post'
).save()
View
6 scenarios/callback_create/python.mako
@@ -3,12 +3,12 @@ balanced.Callback()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
callback = balanced.Callback(
- url='http://www.example.com/callback',
+ url='http://www.example.com/callback_test',
method='post'
).save()
% elif mode == 'response':
-Callback(links={}, url=u'http://www.example.com/callback', id=u'CB3BP8jjVy8RBUFdb2fYw0mh', href=u'/callbacks/CB3BP8jjVy8RBUFdb2fYw0mh', method=u'post', revision=u'1.1')
+Callback(links={}, url=u'http://www.example.com/callback_test', id=u'CB4a7Q7HSdJJgMVHwPsarIw8', href=u'/callbacks/CB4a7Q7HSdJJgMVHwPsarIw8', method=u'post', revision=u'1.1')
% endif
View
4 scenarios/callback_delete/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-callback = balanced.Callback.fetch('/callbacks/CB3BP8jjVy8RBUFdb2fYw0mh')
+callback = balanced.Callback.fetch('/callbacks/CB4a7Q7HSdJJgMVHwPsarIw8')
callback.unstore()
View
4 scenarios/callback_delete/python.mako
@@ -3,9 +3,9 @@ balanced.Callback().unstore()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-callback = balanced.Callback.fetch('/callbacks/CB3BP8jjVy8RBUFdb2fYw0mh')
+callback = balanced.Callback.fetch('/callbacks/CB4a7Q7HSdJJgMVHwPsarIw8')
callback.unstore()
% elif mode == 'response':
View
2 scenarios/callback_list/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
callbacks = balanced.Callback.query
View
2 scenarios/callback_list/python.mako
@@ -4,7 +4,7 @@ balanced.Callback.query
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
callbacks = balanced.Callback.query
% elif mode == 'response':
View
4 scenarios/callback_show/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-callback = balanced.Callback.fetch('/callbacks/CB3BP8jjVy8RBUFdb2fYw0mh')
+callback = balanced.Callback.fetch('/callbacks/CB4a7Q7HSdJJgMVHwPsarIw8')
View
6 scenarios/callback_show/python.mako
@@ -4,9 +4,9 @@ balanced.Callback.fetch()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-callback = balanced.Callback.fetch('/callbacks/CB3BP8jjVy8RBUFdb2fYw0mh')
+callback = balanced.Callback.fetch('/callbacks/CB4a7Q7HSdJJgMVHwPsarIw8')
% elif mode == 'response':
-Callback(links={}, url=u'http://www.example.com/callback', id=u'CB3BP8jjVy8RBUFdb2fYw0mh', href=u'/callbacks/CB3BP8jjVy8RBUFdb2fYw0mh', method=u'post', revision=u'1.1')
+Callback(links={}, url=u'http://www.example.com/callback_test', id=u'CB4a7Q7HSdJJgMVHwPsarIw8', href=u'/callbacks/CB4a7Q7HSdJJgMVHwPsarIw8', method=u'post', revision=u'1.1')
% endif
View
6 scenarios/card_associate_to_customer/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC4fWSr1PpCAh6mlDzNfr0Gs')
-card.associate_to_customer('/customers/CU2DRnwOXfbxBlKb5CUWwWJi')
+card = balanced.Card.fetch('/cards/CC4HDcgvzIltvwv6GSjBVbji')
+card.associate_to_customer('/customers/CU3o1ZAd8Gtxz6ZTIFK9YmsM')
View
8 scenarios/card_associate_to_customer/python.mako
@@ -3,10 +3,10 @@ balanced.Card().associate_to_customer()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC4fWSr1PpCAh6mlDzNfr0Gs')
-card.associate_to_customer('/customers/CU2DRnwOXfbxBlKb5CUWwWJi')
+card = balanced.Card.fetch('/cards/CC4HDcgvzIltvwv6GSjBVbji')
+card.associate_to_customer('/customers/CU3o1ZAd8Gtxz6ZTIFK9YmsM')
% elif mode == 'response':
-Card(links={u'customer': u'CU2DRnwOXfbxBlKb5CUWwWJi'}, cvv_result=None, number=u'xxxxxxxxxxxx1118', expiration_month=5, href=u'/cards/CC4fWSr1PpCAh6mlDzNfr0Gs', type=u'debit', id=u'CC4fWSr1PpCAh6mlDzNfr0Gs', category=u'other', is_verified=True, cvv_match=None, bank_name=u'WELLS FARGO BANK, N.A.', avs_street_match=None, brand=u'Visa', updated_at=u'2014-12-18T18:22:14.281161Z', fingerprint=u'7dc93d35b59078a1da8e0ebd2cbec65a6ca205760a1be1b90a143d7f2b00e355', can_debit=True, name=u'Johannes Bach', expiration_year=2020, cvv=None, avs_postal_match=None, avs_result=None, can_credit=True, meta={}, created_at=u'2014-12-18T18:22:13.790907Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None})
+Card(links={u'customer': u'CU3o1ZAd8Gtxz6ZTIFK9YmsM'}, cvv_result=None, number=u'xxxxxxxxxxxx1118', expiration_month=5, href=u'/cards/CC4HDcgvzIltvwv6GSjBVbji', type=u'debit', id=u'CC4HDcgvzIltvwv6GSjBVbji', category=u'other', is_verified=True, cvv_match=None, bank_name=u'WELLS FARGO BANK, N.A.', avs_street_match=None, brand=u'Visa', updated_at=u'2015-01-09T03:23:59.133903Z', fingerprint=u'7dc93d35b59078a1da8e0ebd2cbec65a6ca205760a1be1b90a143d7f2b00e355', can_debit=True, name=u'Johannes Bach', expiration_year=2020, cvv=None, avs_postal_match=None, avs_result=None, can_credit=True, meta={}, created_at=u'2015-01-09T03:23:58.549644Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None})
% endif
View
2 scenarios/card_create/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
card = balanced.Card(
cvv='123',
View
4 scenarios/card_create/python.mako
@@ -3,7 +3,7 @@ balanced.Card().save()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
card = balanced.Card(
cvv='123',
@@ -12,5 +12,5 @@ card = balanced.Card(
expiration_year='2020'
).save()
% elif mode == 'response':
-Card(links={u'customer': None}, cvv_result=u'Match', number=u'xxxxxxxxxxxx5100', expiration_month=12, href=u'/cards/CC48j1De9eVYELLivrgDeCM8', type=u'credit', id=u'CC48j1De9eVYELLivrgDeCM8', category=u'other', is_verified=True, cvv_match=u'yes', bank_name=u'BANK OF HAWAII', avs_street_match=None, brand=u'MasterCard', updated_at=u'2014-12-18T18:22:06.996162Z', fingerprint=u'fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788', can_debit=True, name=None, expiration_year=2020, cvv=u'xxx', avs_postal_match=None, avs_result=None, can_credit=False, meta={}, created_at=u'2014-12-18T18:22:06.996160Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None})
+Card(links={u'customer': None}, cvv_result=u'Match', number=u'xxxxxxxxxxxx5100', expiration_month=12, href=u'/cards/CC4zyuNpxY0A0eAf87SeULCR', type=u'credit', id=u'CC4zyuNpxY0A0eAf87SeULCR', category=u'other', is_verified=True, cvv_match=u'yes', bank_name=u'BANK OF HAWAII', avs_street_match=None, brand=u'MasterCard', updated_at=u'2015-01-09T03:23:51.373359Z', fingerprint=u'fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788', can_debit=True, name=None, expiration_year=2020, cvv=u'xxx', avs_postal_match=None, avs_result=None, can_credit=False, meta={}, created_at=u'2015-01-09T03:23:51.373358Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None})
% endif
View
2 scenarios/card_create_creditable/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
card = balanced.Card(
expiration_month='05',
View
4 scenarios/card_create_creditable/python.mako
@@ -3,7 +3,7 @@ balanced.Card().save()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
card = balanced.Card(
expiration_month='05',
@@ -12,5 +12,5 @@ card = balanced.Card(
number='4342561111111118'
).save()
% elif mode == 'response':
-Card(links={u'customer': None}, cvv_result=None, number=u'xxxxxxxxxxxx1118', expiration_month=5, href=u'/cards/CC4fWSr1PpCAh6mlDzNfr0Gs', type=u'debit', id=u'CC4fWSr1PpCAh6mlDzNfr0Gs', category=u'other', is_verified=True, cvv_match=None, bank_name=u'WELLS FARGO BANK, N.A.', avs_street_match=None, brand=u'Visa', updated_at=u'2014-12-18T18:22:13.790909Z', fingerprint=u'7dc93d35b59078a1da8e0ebd2cbec65a6ca205760a1be1b90a143d7f2b00e355', can_debit=True, name=u'Johannes Bach', expiration_year=2020, cvv=None, avs_postal_match=None, avs_result=None, can_credit=True, meta={}, created_at=u'2014-12-18T18:22:13.790907Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None})
+Card(links={u'customer': None}, cvv_result=None, number=u'xxxxxxxxxxxx1118', expiration_month=5, href=u'/cards/CC4HDcgvzIltvwv6GSjBVbji', type=u'debit', id=u'CC4HDcgvzIltvwv6GSjBVbji', category=u'other', is_verified=True, cvv_match=None, bank_name=u'WELLS FARGO BANK, N.A.', avs_street_match=None, brand=u'Visa', updated_at=u'2015-01-09T03:23:58.549645Z', fingerprint=u'7dc93d35b59078a1da8e0ebd2cbec65a6ca205760a1be1b90a143d7f2b00e355', can_debit=True, name=u'Johannes Bach', expiration_year=2020, cvv=None, avs_postal_match=None, avs_result=None, can_credit=True, meta={}, created_at=u'2015-01-09T03:23:58.549644Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None})
% endif
View
2 scenarios/card_create_dispute/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
card = balanced.Card(
cvv='123',
View
4 scenarios/card_create_dispute/python.mako
@@ -3,7 +3,7 @@ balanced.Card().save()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
card = balanced.Card(
cvv='123',
@@ -12,5 +12,5 @@ card = balanced.Card(
expiration_year='3000'
).save()
% elif mode == 'response':
-Card(links={u'customer': None}, cvv_result=u'Match', number=u'xxxxxxxxxxxx0002', expiration_month=12, href=u'/cards/CC4PUCBUQfNqecW8QDsjnOfz', type=u'debit', id=u'CC4PUCBUQfNqecW8QDsjnOfz', category=u'other', is_verified=True, cvv_match=u'yes', bank_name=u'BANK OF AMERICA', avs_street_match=None, brand=u'Discover', updated_at=u'2014-12-18T18:22:45.770279Z', fingerprint=u'3c667a62653e187f29b5781eeb0703f26e99558080de0c0f9490b5f9c4ac2871', can_debit=True, name=None, expiration_year=3000, cvv=u'xxx', avs_postal_match=None, avs_result=None, can_credit=True, meta={}, created_at=u'2014-12-18T18:22:45.770276Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None})
+Card(links={u'customer': None}, cvv_result=u'Match', number=u'xxxxxxxxxxxx0002', expiration_month=12, href=u'/cards/CC5RRvpnZIg0PWdSphR8xxPa', type=u'debit', id=u'CC5RRvpnZIg0PWdSphR8xxPa', category=u'other', is_verified=True, cvv_match=u'yes', bank_name=u'BANK OF AMERICA', avs_street_match=None, brand=u'Discover', updated_at=u'2015-01-09T03:25:02.773172Z', fingerprint=u'3c667a62653e187f29b5781eeb0703f26e99558080de0c0f9490b5f9c4ac2871', can_debit=True, name=None, expiration_year=3000, cvv=u'xxx', avs_postal_match=None, avs_result=None, can_credit=True, meta={}, created_at=u'2015-01-09T03:25:02.773170Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None})
% endif
View
6 scenarios/card_credit_order/executable.py
@@ -1,9 +1,9 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-order = balanced.Order.fetch('/orders/OR2JfBYxYlDAF3L48u9DtIEU')
-card = balanced.Card.fetch('/cards/CC4fWSr1PpCAh6mlDzNfr0Gs')
+order = balanced.Order.fetch('/orders/OR3vURGwVtqDnnkRS9fgH41G')
+card = balanced.Card.fetch('/cards/CC4HDcgvzIltvwv6GSjBVbji')
order.credit_to(
amount=5000,
source=card,
View
8 scenarios/card_credit_order/python.mako
@@ -4,14 +4,14 @@ balanced.Order().credit_to()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-order = balanced.Order.fetch('/orders/OR2JfBYxYlDAF3L48u9DtIEU')
-card = balanced.Card.fetch('/cards/CC4fWSr1PpCAh6mlDzNfr0Gs')
+order = balanced.Order.fetch('/orders/OR3vURGwVtqDnnkRS9fgH41G')
+card = balanced.Card.fetch('/cards/CC4HDcgvzIltvwv6GSjBVbji')
order.credit_to(
amount=5000,
source=card,
)
% elif mode == 'response':
-Credit(status=u'succeeded', description=u'Order #12341234', links={u'customer': u'CU2DRnwOXfbxBlKb5CUWwWJi', u'destination': u'CC4fWSr1PpCAh6mlDzNfr0Gs', u'order': u'OR2JfBYxYlDAF3L48u9DtIEU'}, amount=5000, created_at=u'2014-12-18T18:22:17.797221Z', updated_at=u'2014-12-18T18:22:18.204253Z', failure_reason=None, currency=u'USD', transaction_number=u'CRR6E-4XF-2GH9', href=u'/credits/CR4kroVx1o71Jz6177919e1y', meta={}, failure_reason_code=None, appears_on_statement_as=u'example.com', id=u'CR4kroVx1o71Jz6177919e1y')
+Credit(status=u'succeeded', description=u'Order #12341234', links={u'customer': u'CU3o1ZAd8Gtxz6ZTIFK9YmsM', u'destination': u'CC4HDcgvzIltvwv6GSjBVbji', u'order': u'OR3vURGwVtqDnnkRS9fgH41G'}, amount=5000, created_at=u'2015-01-09T03:24:02.493888Z', updated_at=u'2015-01-09T03:24:02.893852Z', failure_reason=None, currency=u'USD', transaction_number=u'CROCY-7EY-ZRI2', href=u'/credits/CR4M2HpYdKDcG8nh4d5HrKJL', meta={}, failure_reason_code=None, appears_on_statement_as=u'example.com', id=u'CR4M2HpYdKDcG8nh4d5HrKJL')
% endif
View
4 scenarios/card_debit/executable.py
@@ -1,8 +1,8 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC48j1De9eVYELLivrgDeCM8')
+card = balanced.Card.fetch('/cards/CC4zyuNpxY0A0eAf87SeULCR')
card.debit(
appears_on_statement_as='Statement text',
amount=5000,
View
6 scenarios/card_debit/python.mako
@@ -3,14 +3,14 @@ balanced.Card().debit()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC48j1De9eVYELLivrgDeCM8')
+card = balanced.Card.fetch('/cards/CC4zyuNpxY0A0eAf87SeULCR')
card.debit(
appears_on_statement_as='Statement text',
amount=5000,
description='Some descriptive text for the debit in the dashboard'
)
% elif mode == 'response':
-Debit(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'customer': None, u'source': u'CC48j1De9eVYELLivrgDeCM8', u'dispute': None, u'order': None, u'card_hold': u'HL4LRP1apzEYSWNEnnW4XMqc'}, amount=5000, created_at=u'2014-12-18T18:22:42.195559Z', updated_at=u'2014-12-18T18:22:42.878756Z', failure_reason=None, currency=u'USD', transaction_number=u'W8P3-G0O-CJGY', href=u'/debits/WD4LT3ghEgoGK9z4wUQCsKUU', meta={}, failure_reason_code=None, appears_on_statement_as=u'BAL*Statement text', id=u'WD4LT3ghEgoGK9z4wUQCsKUU')
+Debit(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'customer': None, u'source': u'CC4zyuNpxY0A0eAf87SeULCR', u'dispute': None, u'order': None, u'card_hold': u'HL5NbQRZSxbr0o64QWu7szni'}, amount=5000, created_at=u'2015-01-09T03:24:58.643499Z', updated_at=u'2015-01-09T03:24:59.368094Z', failure_reason=None, currency=u'USD', transaction_number=u'WS4G-1FI-AT4Z', href=u'/debits/WD5Nd61WpdlRk6D39YVNFAEo', meta={}, failure_reason_code=None, appears_on_statement_as=u'BAL*Statement text', id=u'WD5Nd61WpdlRk6D39YVNFAEo')
% endif
View
4 scenarios/card_debit_dispute/executable.py
@@ -1,8 +1,8 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC4PUCBUQfNqecW8QDsjnOfz')
+card = balanced.Card.fetch('/cards/CC5RRvpnZIg0PWdSphR8xxPa')
card.debit(
appears_on_statement_as='Statement text',
amount=5000,
View
6 scenarios/card_debit_dispute/python.mako
@@ -3,14 +3,14 @@ balanced.Card().debit()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC4PUCBUQfNqecW8QDsjnOfz')
+card = balanced.Card.fetch('/cards/CC5RRvpnZIg0PWdSphR8xxPa')
card.debit(
appears_on_statement_as='Statement text',
amount=5000,
description='Some descriptive text for the debit in the dashboard'
)
% elif mode == 'response':
-Debit(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'customer': None, u'source': u'CC4PUCBUQfNqecW8QDsjnOfz', u'dispute': None, u'order': None, u'card_hold': u'HL4QCbGmW3oDABqXFLQI5yi9'}, amount=5000, created_at=u'2014-12-18T18:22:46.432674Z', updated_at=u'2014-12-18T18:22:47.274383Z', failure_reason=None, currency=u'USD', transaction_number=u'WQM2-IOR-S6S0', href=u'/debits/WD4QE0i532v0eWQ6mCWCASc5', meta={}, failure_reason_code=None, appears_on_statement_as=u'BAL*Statement text', id=u'WD4QE0i532v0eWQ6mCWCASc5')
+Debit(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'customer': None, u'source': u'CC5RRvpnZIg0PWdSphR8xxPa', u'dispute': None, u'order': None, u'card_hold': u'HL5Svbmw6nDDP5HO2RblsBCJ'}, amount=5000, created_at=u'2015-01-09T03:25:03.383375Z', updated_at=u'2015-01-09T03:25:04.090381Z', failure_reason=None, currency=u'USD', transaction_number=u'WA4K-D44-O5DR', href=u'/debits/WD5SwXr9jcCfCmmjTH5MCMFD', meta={}, failure_reason_code=None, appears_on_statement_as=u'BAL*Statement text', id=u'WD5SwXr9jcCfCmmjTH5MCMFD')
% endif
View
4 scenarios/card_delete/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC48j1De9eVYELLivrgDeCM8')
+card = balanced.Card.fetch('/cards/CC4zyuNpxY0A0eAf87SeULCR')
card.unstore()
View
4 scenarios/card_delete/python.mako
@@ -3,9 +3,9 @@ balanced.Card().unstore()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC48j1De9eVYELLivrgDeCM8')
+card = balanced.Card.fetch('/cards/CC4zyuNpxY0A0eAf87SeULCR')
card.unstore()
% elif mode == 'response':
View
4 scenarios/card_hold_capture/executable.py
@@ -1,8 +1,8 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card_hold = balanced.CardHold.fetch('/card_holds/HL3QlUen3sZjc3dPbgK40F7G')
+card_hold = balanced.CardHold.fetch('/card_holds/HL4iHX8OBNW7nVsu6MqyjnQ9')
debit = card_hold.capture(
appears_on_statement_as='ShowsUpOnStmt',
description='Some descriptive text for the debit in the dashboard'
View
6 scenarios/card_hold_capture/python.mako
@@ -3,13 +3,13 @@ balanced.CardHold().capture()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card_hold = balanced.CardHold.fetch('/card_holds/HL3QlUen3sZjc3dPbgK40F7G')
+card_hold = balanced.CardHold.fetch('/card_holds/HL4iHX8OBNW7nVsu6MqyjnQ9')
debit = card_hold.capture(
appears_on_statement_as='ShowsUpOnStmt',
description='Some descriptive text for the debit in the dashboard'
)
% elif mode == 'response':
-Debit(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'customer': None, u'source': u'CC2IDFuWSoETEIxLBJ73fXgs', u'dispute': None, u'order': None, u'card_hold': u'HL3QlUen3sZjc3dPbgK40F7G'}, amount=5000, created_at=u'2014-12-18T18:22:00.112797Z', updated_at=u'2014-12-18T18:22:00.567201Z', failure_reason=None, currency=u'USD', transaction_number=u'WNAL-WT0-4MAN', href=u'/debits/WD40z3S2aPc8buLNd8kYg4hi', meta={u'holding.for': u'user1', u'meaningful.key': u'some.value'}, failure_reason_code=None, appears_on_statement_as=u'BAL*ShowsUpOnStmt', id=u'WD40z3S2aPc8buLNd8kYg4hi')
+Debit(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'customer': None, u'source': u'CC3vhL91rWtwtHcOBl0ITshG', u'dispute': None, u'order': None, u'card_hold': u'HL4iHX8OBNW7nVsu6MqyjnQ9'}, amount=5000, created_at=u'2015-01-09T03:23:43.969240Z', updated_at=u'2015-01-09T03:23:44.454341Z', failure_reason=None, currency=u'USD', transaction_number=u'W456-5GN-9ECN', href=u'/debits/WD4relmrBWDQmtlKKKmKLi7z', meta={u'holding.for': u'user1', u'meaningful.key': u'some.value'}, failure_reason_code=None, appears_on_statement_as=u'BAL*ShowsUpOnStmt', id=u'WD4relmrBWDQmtlKKKmKLi7z')
% endif
View
4 scenarios/card_hold_create/executable.py
@@ -1,8 +1,8 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC2IDFuWSoETEIxLBJ73fXgs')
+card = balanced.Card.fetch('/cards/CC3vhL91rWtwtHcOBl0ITshG')
card_hold = card.hold(
amount=5000,
description='Some descriptive text for the debit in the dashboard'
View
6 scenarios/card_hold_create/python.mako
@@ -3,13 +3,13 @@ balanced.Card().hold()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC2IDFuWSoETEIxLBJ73fXgs')
+card = balanced.Card.fetch('/cards/CC3vhL91rWtwtHcOBl0ITshG')
card_hold = card.hold(
amount=5000,
description='Some descriptive text for the debit in the dashboard'
)
% elif mode == 'response':
-CardHold(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'order': None, u'card': u'CC2IDFuWSoETEIxLBJ73fXgs', u'debit': None}, amount=5000, created_at=u'2014-12-18T18:22:03.540762Z', updated_at=u'2014-12-18T18:22:03.888248Z', expires_at=u'2014-12-25T18:22:03.686049Z', failure_reason=None, currency=u'USD', transaction_number=u'HLPWM-ZXJ-40YT', href=u'/card_holds/HL44qbPoom3uVlTlEGBZV7z2', meta={}, failure_reason_code=None, voided_at=None, id=u'HL44qbPoom3uVlTlEGBZV7z2')
+CardHold(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'order': None, u'card': u'CC3vhL91rWtwtHcOBl0ITshG', u'debit': None}, amount=5000, created_at=u'2015-01-09T03:23:46.500278Z', updated_at=u'2015-01-09T03:23:46.803224Z', expires_at=u'2015-01-16T03:23:46.699907Z', failure_reason=None, currency=u'USD', transaction_number=u'HL07I-F9N-OVPO', href=u'/card_holds/HL4u4T2877PfgYwnbhD2XweV', meta={}, failure_reason_code=None, voided_at=None, id=u'HL4u4T2877PfgYwnbhD2XweV')
% endif
View
2 scenarios/card_hold_list/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
card_holds = balanced.CardHold.query
View
2 scenarios/card_hold_list/python.mako
@@ -4,7 +4,7 @@ balanced.CardHold.query
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
card_holds = balanced.CardHold.query
% elif mode == 'response':
View
8 scenarios/card_hold_order/executable.py
@@ -1,11 +1,11 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-order = balanced.Order.fetch('/orders/OR2JfBYxYlDAF3L48u9DtIEU')
-card = balanced.Card.fetch('/cards/CC2IDFuWSoETEIxLBJ73fXgs')
+order = balanced.Order.fetch('/orders/OR3vURGwVtqDnnkRS9fgH41G')
+card = balanced.Card.fetch('/cards/CC3vhL91rWtwtHcOBl0ITshG')
card_hold = card.hold(
amount=5000,
description='Some descriptive text for the debit in the dashboard',
- order='/orders/OR2JfBYxYlDAF3L48u9DtIEU'
+ order='/orders/OR3vURGwVtqDnnkRS9fgH41G'
)
View
10 scenarios/card_hold_order/python.mako
@@ -3,15 +3,15 @@ balanced.Card().hold()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-order = balanced.Order.fetch('/orders/OR2JfBYxYlDAF3L48u9DtIEU')
-card = balanced.Card.fetch('/cards/CC2IDFuWSoETEIxLBJ73fXgs')
+order = balanced.Order.fetch('/orders/OR3vURGwVtqDnnkRS9fgH41G')
+card = balanced.Card.fetch('/cards/CC3vhL91rWtwtHcOBl0ITshG')
card_hold = card.hold(
amount=5000,
description='Some descriptive text for the debit in the dashboard',
- order='/orders/OR2JfBYxYlDAF3L48u9DtIEU'
+ order='/orders/OR3vURGwVtqDnnkRS9fgH41G'
)
% elif mode == 'response':
-CardHold(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'order': u'OR2JfBYxYlDAF3L48u9DtIEU', u'card': u'CC2IDFuWSoETEIxLBJ73fXgs', u'debit': None}, amount=5000, created_at=u'2014-12-18T18:21:48.126971Z', updated_at=u'2014-12-18T18:21:48.423243Z', expires_at=u'2014-12-25T18:21:48.337520Z', failure_reason=None, currency=u'USD', transaction_number=u'HLPGD-NVZ-MUDC', href=u'/card_holds/HL3N5iKVsnaRMt2H4LXOBACF', meta={}, failure_reason_code=None, voided_at=None, id=u'HL3N5iKVsnaRMt2H4LXOBACF')
+CardHold(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'order': u'OR3vURGwVtqDnnkRS9fgH41G', u'card': u'CC3vhL91rWtwtHcOBl0ITshG', u'debit': None}, amount=5000, created_at=u'2015-01-09T03:23:34.413652Z', updated_at=u'2015-01-09T03:23:34.713108Z', expires_at=u'2015-01-16T03:23:34.647009Z', failure_reason=None, currency=u'USD', transaction_number=u'HLVKB-4MF-JL5N', href=u'/card_holds/HL4gu3SX4Z5LEPYtYhg6HOOp', meta={}, failure_reason_code=None, voided_at=None, id=u'HL4gu3SX4Z5LEPYtYhg6HOOp')
% endif
View
4 scenarios/card_hold_show/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card_hold = balanced.CardHold.fetch('/card_holds/HL3QlUen3sZjc3dPbgK40F7G')
+card_hold = balanced.CardHold.fetch('/card_holds/HL4iHX8OBNW7nVsu6MqyjnQ9')
View
6 scenarios/card_hold_show/python.mako
@@ -4,9 +4,9 @@ balanced.CardHold.fetch()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card_hold = balanced.CardHold.fetch('/card_holds/HL3QlUen3sZjc3dPbgK40F7G')
+card_hold = balanced.CardHold.fetch('/card_holds/HL4iHX8OBNW7nVsu6MqyjnQ9')
% elif mode == 'response':
-CardHold(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'order': None, u'card': u'CC2IDFuWSoETEIxLBJ73fXgs', u'debit': None}, amount=5000, created_at=u'2014-12-18T18:21:51.031249Z', updated_at=u'2014-12-18T18:21:51.273554Z', expires_at=u'2014-12-25T18:21:51.188658Z', failure_reason=None, currency=u'USD', transaction_number=u'HLJUR-14S-IVEC', href=u'/card_holds/HL3QlUen3sZjc3dPbgK40F7G', meta={}, failure_reason_code=None, voided_at=None, id=u'HL3QlUen3sZjc3dPbgK40F7G')
+CardHold(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'order': None, u'card': u'CC3vhL91rWtwtHcOBl0ITshG', u'debit': None}, amount=5000, created_at=u'2015-01-09T03:23:36.391121Z', updated_at=u'2015-01-09T03:23:36.674542Z', expires_at=u'2015-01-16T03:23:36.585031Z', failure_reason=None, currency=u'USD', transaction_number=u'HLI6T-T0A-HGZI', href=u'/card_holds/HL4iHX8OBNW7nVsu6MqyjnQ9', meta={}, failure_reason_code=None, voided_at=None, id=u'HL4iHX8OBNW7nVsu6MqyjnQ9')
% endif
View
4 scenarios/card_hold_update/executable.py
@@ -1,8 +1,8 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card_hold = balanced.CardHold.fetch('/card_holds/HL3QlUen3sZjc3dPbgK40F7G')
+card_hold = balanced.CardHold.fetch('/card_holds/HL4iHX8OBNW7nVsu6MqyjnQ9')
card_hold.description = 'update this description'
card_hold.meta = {
'holding.for': 'user1',
View
6 scenarios/card_hold_update/python.mako
@@ -3,15 +3,15 @@ balanced.CardHold().save()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card_hold = balanced.CardHold.fetch('/card_holds/HL3QlUen3sZjc3dPbgK40F7G')
+card_hold = balanced.CardHold.fetch('/card_holds/HL4iHX8OBNW7nVsu6MqyjnQ9')
card_hold.description = 'update this description'
card_hold.meta = {
'holding.for': 'user1',
'meaningful.key': 'some.value',
}
card_hold.save()
% elif mode == 'response':
-CardHold(status=u'succeeded', description=u'update this description', links={u'order': None, u'card': u'CC2IDFuWSoETEIxLBJ73fXgs', u'debit': None}, amount=5000, created_at=u'2014-12-18T18:21:51.031249Z', updated_at=u'2014-12-18T18:21:57.707589Z', expires_at=u'2014-12-25T18:21:51.188658Z', failure_reason=None, currency=u'USD', transaction_number=u'HLJUR-14S-IVEC', href=u'/card_holds/HL3QlUen3sZjc3dPbgK40F7G', meta={u'holding.for': u'user1', u'meaningful.key': u'some.value'}, failure_reason_code=None, voided_at=None, id=u'HL3QlUen3sZjc3dPbgK40F7G')
+CardHold(status=u'succeeded', description=u'update this description', links={u'order': None, u'card': u'CC3vhL91rWtwtHcOBl0ITshG', u'debit': None}, amount=5000, created_at=u'2015-01-09T03:23:36.391121Z', updated_at=u'2015-01-09T03:23:42.106452Z', expires_at=u'2015-01-16T03:23:36.585031Z', failure_reason=None, currency=u'USD', transaction_number=u'HLI6T-T0A-HGZI', href=u'/card_holds/HL4iHX8OBNW7nVsu6MqyjnQ9', meta={u'holding.for': u'user1', u'meaningful.key': u'some.value'}, failure_reason_code=None, voided_at=None, id=u'HL4iHX8OBNW7nVsu6MqyjnQ9')
% endif
View
4 scenarios/card_hold_void/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card_hold = balanced.CardHold.fetch('/card_holds/HL44qbPoom3uVlTlEGBZV7z2')
+card_hold = balanced.CardHold.fetch('/card_holds/HL4u4T2877PfgYwnbhD2XweV')
card_hold.cancel()
View
6 scenarios/card_hold_void/python.mako
@@ -3,10 +3,10 @@ balanced.CardHold().cancel()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card_hold = balanced.CardHold.fetch('/card_holds/HL44qbPoom3uVlTlEGBZV7z2')
+card_hold = balanced.CardHold.fetch('/card_holds/HL4u4T2877PfgYwnbhD2XweV')
card_hold.cancel()
% elif mode == 'response':
-CardHold(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'order': None, u'card': u'CC2IDFuWSoETEIxLBJ73fXgs', u'debit': None}, amount=5000, created_at=u'2014-12-18T18:22:03.540762Z', updated_at=u'2014-12-18T18:22:04.740464Z', expires_at=u'2014-12-25T18:22:03.686049Z', failure_reason=None, currency=u'USD', transaction_number=u'HLPWM-ZXJ-40YT', href=u'/card_holds/HL44qbPoom3uVlTlEGBZV7z2', meta={}, failure_reason_code=None, voided_at=u'2014-12-18T18:22:04.430089Z', id=u'HL44qbPoom3uVlTlEGBZV7z2')
+CardHold(status=u'succeeded', description=u'Some descriptive text for the debit in the dashboard', links={u'order': None, u'card': u'CC3vhL91rWtwtHcOBl0ITshG', u'debit': None}, amount=5000, created_at=u'2015-01-09T03:23:46.500278Z', updated_at=u'2015-01-09T03:23:47.578727Z', expires_at=u'2015-01-16T03:23:46.699907Z', failure_reason=None, currency=u'USD', transaction_number=u'HL07I-F9N-OVPO', href=u'/card_holds/HL4u4T2877PfgYwnbhD2XweV', meta={}, failure_reason_code=None, voided_at=u'2015-01-09T03:23:47.257558Z', id=u'HL4u4T2877PfgYwnbhD2XweV')
% endif
View
2 scenarios/card_list/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
cards = balanced.Card.query
View
2 scenarios/card_list/python.mako
@@ -4,7 +4,7 @@ balanced.Card.query
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
cards = balanced.Card.query
% elif mode == 'response':
View
4 scenarios/card_show/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC48j1De9eVYELLivrgDeCM8')
+card = balanced.Card.fetch('/cards/CC4zyuNpxY0A0eAf87SeULCR')
View
6 scenarios/card_show/python.mako
@@ -3,9 +3,9 @@ balanced.Card.fetch()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC48j1De9eVYELLivrgDeCM8')
+card = balanced.Card.fetch('/cards/CC4zyuNpxY0A0eAf87SeULCR')
% elif mode == 'response':
-Card(links={u'customer': None}, cvv_result=u'Match', number=u'xxxxxxxxxxxx5100', expiration_month=12, href=u'/cards/CC48j1De9eVYELLivrgDeCM8', type=u'credit', id=u'CC48j1De9eVYELLivrgDeCM8', category=u'other', is_verified=True, cvv_match=u'yes', bank_name=u'BANK OF HAWAII', avs_street_match=None, brand=u'MasterCard', updated_at=u'2014-12-18T18:22:06.996162Z', fingerprint=u'fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788', can_debit=True, name=None, expiration_year=2020, cvv=u'xxx', avs_postal_match=None, avs_result=None, can_credit=False, meta={}, created_at=u'2014-12-18T18:22:06.996160Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None})
+Card(links={u'customer': None}, cvv_result=u'Match', number=u'xxxxxxxxxxxx5100', expiration_month=12, href=u'/cards/CC4zyuNpxY0A0eAf87SeULCR', type=u'credit', id=u'CC4zyuNpxY0A0eAf87SeULCR', category=u'other', is_verified=True, cvv_match=u'yes', bank_name=u'BANK OF HAWAII', avs_street_match=None, brand=u'MasterCard', updated_at=u'2015-01-09T03:23:51.373359Z', fingerprint=u'fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788', can_debit=True, name=None, expiration_year=2020, cvv=u'xxx', avs_postal_match=None, avs_result=None, can_credit=False, meta={}, created_at=u'2015-01-09T03:23:51.373358Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None})
% endif
View
4 scenarios/card_update/executable.py
@@ -1,8 +1,8 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC48j1De9eVYELLivrgDeCM8')
+card = balanced.Card.fetch('/cards/CC4zyuNpxY0A0eAf87SeULCR')
card.meta = {
'twitter.id': '1234987650',
'facebook.user_id': '0192837465',
View
6 scenarios/card_update/python.mako
@@ -3,15 +3,15 @@ balanced.Card().save()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-card = balanced.Card.fetch('/cards/CC48j1De9eVYELLivrgDeCM8')
+card = balanced.Card.fetch('/cards/CC4zyuNpxY0A0eAf87SeULCR')
card.meta = {
'twitter.id': '1234987650',
'facebook.user_id': '0192837465',
'my-own-customer-id': '12345'
}
card.save()
% elif mode == 'response':
-Card(links={u'customer': None}, cvv_result=u'Match', number=u'xxxxxxxxxxxx5100', expiration_month=12, href=u'/cards/CC48j1De9eVYELLivrgDeCM8', type=u'credit', id=u'CC48j1De9eVYELLivrgDeCM8', category=u'other', is_verified=True, cvv_match=u'yes', bank_name=u'BANK OF HAWAII', avs_street_match=None, brand=u'MasterCard', updated_at=u'2014-12-18T18:22:11.106493Z', fingerprint=u'fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788', can_debit=True, name=None, expiration_year=2020, cvv=u'xxx', avs_postal_match=None, avs_result=None, can_credit=False, meta={u'twitter.id': u'1234987650', u'facebook.user_id': u'0192837465', u'my-own-customer-id': u'12345'}, created_at=u'2014-12-18T18:22:06.996160Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None})
+Card(links={u'customer': None}, cvv_result=u'Match', number=u'xxxxxxxxxxxx5100', expiration_month=12, href=u'/cards/CC4zyuNpxY0A0eAf87SeULCR', type=u'credit', id=u'CC4zyuNpxY0A0eAf87SeULCR', category=u'other', is_verified=True, cvv_match=u'yes', bank_name=u'BANK OF HAWAII', avs_street_match=None, brand=u'MasterCard', updated_at=u'2015-01-09T03:23:56.070888Z', fingerprint=u'fc4ccd5de54f42a5e75f76fbfde60948440c7a382ee7d21b2bc509ab9cfed788', can_debit=True, name=None, expiration_year=2020, cvv=u'xxx', avs_postal_match=None, avs_result=None, can_credit=False, meta={u'twitter.id': u'1234987650', u'facebook.user_id': u'0192837465', u'my-own-customer-id': u'12345'}, created_at=u'2015-01-09T03:23:51.373358Z', address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': None, u'country_code': None})
% endif
View
2 scenarios/credit_list/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
credits = balanced.Credit.query
View
2 scenarios/credit_list/python.mako
@@ -4,7 +4,7 @@ balanced.Credit.query
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
credits = balanced.Credit.query
% elif mode == 'response':
View
4 scenarios/credit_list_bank_account/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA45anEaEr8g0lOhzhcE9VAN')
credits = bank_account.credits
View
4 scenarios/credit_list_bank_account/python.mako
@@ -3,9 +3,9 @@ balanced.BankAccount.credits()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA45anEaEr8g0lOhzhcE9VAN')
credits = bank_account.credits
% elif mode == 'response':
View
6 scenarios/credit_order/executable.py
@@ -1,9 +1,9 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-order = balanced.Order.fetch('/orders/OR2JfBYxYlDAF3L48u9DtIEU')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY/credits')
+order = balanced.Order.fetch('/orders/OR3vURGwVtqDnnkRS9fgH41G')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA45anEaEr8g0lOhzhcE9VAN/credits')
order.credit_to(
amount=5000,
destination=bank_account
View
6 scenarios/credit_order/python.mako
@@ -3,10 +3,10 @@ balanced.Order().credit_to()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-order = balanced.Order.fetch('/orders/OR2JfBYxYlDAF3L48u9DtIEU')
-bank_account = balanced.BankAccount.fetch('/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY/credits')
+order = balanced.Order.fetch('/orders/OR3vURGwVtqDnnkRS9fgH41G')
+bank_account = balanced.BankAccount.fetch('/bank_accounts/BA45anEaEr8g0lOhzhcE9VAN/credits')
order.credit_to(
amount=5000,
destination=bank_account
View
4 scenarios/credit_show/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-credit = balanced.Credit.fetch('/credits/CR4ooRjxfFr0h6ubhNyETByJ')
+credit = balanced.Credit.fetch('/credits/CR4RdgCoOqYhr4sjPdcDjf3T')
View
6 scenarios/credit_show/python.mako
@@ -4,9 +4,9 @@ balanced.Credit.fetch()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-credit = balanced.Credit.fetch('/credits/CR4ooRjxfFr0h6ubhNyETByJ')
+credit = balanced.Credit.fetch('/credits/CR4RdgCoOqYhr4sjPdcDjf3T')
% elif mode == 'response':
-Credit(status=u'pending', description=None, links={u'customer': u'CU2DRnwOXfbxBlKb5CUWwWJi', u'destination': u'BA3uzbngfVXy1SGg25Et7iKY', u'order': None}, amount=5000, created_at=u'2014-12-18T18:22:21.314604Z', updated_at=u'2014-12-18T18:22:21.629175Z', failure_reason=None, currency=u'USD', transaction_number=u'CRGZQ-ZHQ-EZOK', href=u'/credits/CR4ooRjxfFr0h6ubhNyETByJ', meta={}, failure_reason_code=None, appears_on_statement_as=u'example.com', id=u'CR4ooRjxfFr0h6ubhNyETByJ')
+Credit(status=u'pending', description=None, links={u'customer': u'CU3o1ZAd8Gtxz6ZTIFK9YmsM', u'destination': u'BA45anEaEr8g0lOhzhcE9VAN', u'order': None}, amount=5000, created_at=u'2015-01-09T03:24:07.078171Z', updated_at=u'2015-01-09T03:24:07.425391Z', failure_reason=None, currency=u'USD', transaction_number=u'CRGY7-P5M-OXHO', href=u'/credits/CR4RdgCoOqYhr4sjPdcDjf3T', meta={}, failure_reason_code=None, appears_on_statement_as=u'example.com', id=u'CR4RdgCoOqYhr4sjPdcDjf3T')
% endif
View
4 scenarios/credit_update/executable.py
@@ -1,8 +1,8 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-credit = balanced.Credit.fetch('/credits/CR4ooRjxfFr0h6ubhNyETByJ')
+credit = balanced.Credit.fetch('/credits/CR4RdgCoOqYhr4sjPdcDjf3T')
credit.meta = {
'twitter.id': '1234987650',
'facebook.user_id': '0192837465',
View
6 scenarios/credit_update/python.mako
@@ -3,15 +3,15 @@ balanced.Credit().save()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-credit = balanced.Credit.fetch('/credits/CR4ooRjxfFr0h6ubhNyETByJ')
+credit = balanced.Credit.fetch('/credits/CR4RdgCoOqYhr4sjPdcDjf3T')
credit.meta = {
'twitter.id': '1234987650',
'facebook.user_id': '0192837465',
'my-own-customer-id': '12345'
}
credit.save()
% elif mode == 'response':
-Credit(status=u'pending', description=u'New description for credit', links={u'customer': u'CU2DRnwOXfbxBlKb5CUWwWJi', u'destination': u'BA3uzbngfVXy1SGg25Et7iKY', u'order': None}, amount=5000, created_at=u'2014-12-18T18:22:21.314604Z', updated_at=u'2014-12-18T18:22:26.624161Z', failure_reason=None, currency=u'USD', transaction_number=u'CRGZQ-ZHQ-EZOK', href=u'/credits/CR4ooRjxfFr0h6ubhNyETByJ', meta={u'facebook.id': u'1234567890', u'anykey': u'valuegoeshere'}, failure_reason_code=None, appears_on_statement_as=u'example.com', id=u'CR4ooRjxfFr0h6ubhNyETByJ')
+Credit(status=u'pending', description=u'New description for credit', links={u'customer': u'CU3o1ZAd8Gtxz6ZTIFK9YmsM', u'destination': u'BA45anEaEr8g0lOhzhcE9VAN', u'order': None}, amount=5000, created_at=u'2015-01-09T03:24:07.078171Z', updated_at=u'2015-01-09T03:24:15.880088Z', failure_reason=None, currency=u'USD', transaction_number=u'CRGY7-P5M-OXHO', href=u'/credits/CR4RdgCoOqYhr4sjPdcDjf3T', meta={u'facebook.id': u'1234567890', u'anykey': u'valuegoeshere'}, failure_reason_code=None, appears_on_statement_as=u'example.com', id=u'CR4RdgCoOqYhr4sjPdcDjf3T')
% endif
View
2 scenarios/customer_create/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
customer = balanced.Customer(
dob_year=1963,
View
4 scenarios/customer_create/python.mako
@@ -3,7 +3,7 @@ balanced.Customer().save()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
customer = balanced.Customer(
dob_year=1963,
@@ -14,5 +14,5 @@ customer = balanced.Customer(
}
).save()
% elif mode == 'response':
-Customer(name=u'Henry Ford', links={u'source': None, u'destination': None}, created_at=u'2014-12-18T18:22:34.272892Z', dob_month=7, updated_at=u'2014-12-18T18:22:34.461736Z', phone=None, href=u'/customers/CU4CZc7Xjn8gGJXl1LyzZk7S', meta={}, dob_year=1963, email=None, address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': u'48120', u'country_code': None}, id=u'CU4CZc7Xjn8gGJXl1LyzZk7S', business_name=None, ssn_last4=None, merchant_status=u'underwritten', ein=None)
+Customer(name=u'Henry Ford', links={u'source': None, u'destination': None}, created_at=u'2015-01-09T03:24:47.364051Z', dob_month=7, updated_at=u'2015-01-09T03:24:47.598887Z', phone=None, href=u'/customers/CU5AxbQrjAcjsbquafnvwaas', meta={}, dob_year=1963, email=None, address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': u'48120', u'country_code': None}, id=u'CU5AxbQrjAcjsbquafnvwaas', business_name=None, ssn_last4=None, merchant_status=u'underwritten', ein=None)
% endif
View
4 scenarios/customer_delete/executable.py
@@ -1,6 +1,6 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-customer = balanced.Customer.fetch('/customers/CU4CZc7Xjn8gGJXl1LyzZk7S')
+customer = balanced.Customer.fetch('/customers/CU5AxbQrjAcjsbquafnvwaas')
customer.unstore()
View
4 scenarios/customer_delete/python.mako
@@ -3,9 +3,9 @@ balanced.Customer().unstore()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-customer = balanced.Customer.fetch('/customers/CU4CZc7Xjn8gGJXl1LyzZk7S')
+customer = balanced.Customer.fetch('/customers/CU5AxbQrjAcjsbquafnvwaas')
customer.unstore()
% elif mode == 'response':
View
2 scenarios/customer_list/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
customers = balanced.Customer.query
View
2 scenarios/customer_list/python.mako
@@ -4,7 +4,7 @@ balanced.Customer.query
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
customers = balanced.Customer.query
% elif mode == 'response':
View
4 scenarios/customer_show/executable.py
@@ -1,5 +1,5 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-customer = balanced.Customer.fetch('/customers/CU4wBFaFMi043nnBgRNrgTXa')
+customer = balanced.Customer.fetch('/customers/CU5aACCvYYfV6mcWJL4TEcK1')
View
6 scenarios/customer_show/python.mako
@@ -4,9 +4,9 @@ balanced.Customer.fetch()
% elif mode == 'request':
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-customer = balanced.Customer.fetch('/customers/CU4wBFaFMi043nnBgRNrgTXa')
+customer = balanced.Customer.fetch('/customers/CU5aACCvYYfV6mcWJL4TEcK1')
% elif mode == 'response':
-Customer(name=u'Henry Ford', links={u'source': None, u'destination': None}, created_at=u'2014-12-18T18:22:28.601538Z', dob_month=7, updated_at=u'2014-12-18T18:22:28.847829Z', phone=None, href=u'/customers/CU4wBFaFMi043nnBgRNrgTXa', meta={}, dob_year=1963, email=None, address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': u'48120', u'country_code': None}, id=u'CU4wBFaFMi043nnBgRNrgTXa', business_name=None, ssn_last4=None, merchant_status=u'underwritten', ein=None)
+Customer(name=u'Henry Ford', links={u'source': None, u'destination': None}, created_at=u'2015-01-09T03:24:24.298841Z', dob_month=7, updated_at=u'2015-01-09T03:24:24.504781Z', phone=None, href=u'/customers/CU5aACCvYYfV6mcWJL4TEcK1', meta={}, dob_year=1963, email=None, address={u'city': None, u'line2': None, u'line1': None, u'state': None, u'postal_code': u'48120', u'country_code': None}, id=u'CU5aACCvYYfV6mcWJL4TEcK1', business_name=None, ssn_last4=None, merchant_status=u'underwritten', ein=None)
% endif
View
4 scenarios/customer_update/executable.py
@@ -1,8 +1,8 @@
import balanced
-balanced.configure('ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL')
+balanced.configure('ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY')
-customer = balanced.Debit.fetch('/customers/CU4wBFaFMi043nnBgRNrgTXa')
+customer = balanced.Debit.fetch('/customers/CU5aACCvYYfV6mcWJL4TEcK1')
customer.email = 'email@newdomain.com'
customer.meta = {
'shipping-preference': 'ground'
View
6 scenarios/customer_update/python.mako
@@ -3,14 +3,14 @@ balanced.Customer().save()