fat_zebra 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +1 -1
  3. data/lib/fat_zebra.rb +1 -0
  4. data/lib/fat_zebra/authorise.rb +49 -0
  5. data/lib/fat_zebra/version.rb +1 -1
  6. data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_1.yml +48 -0
  7. data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_2.yml +48 -0
  8. data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_1.yml +48 -0
  9. data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_2.yml +48 -0
  10. data/spec/cassettes/FatZebra_Authorise/_authorise/with_invalid_input/1_2_1_1.yml +50 -0
  11. data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_given_params.yml +46 -0
  12. data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_no_params.yml +46 -0
  13. data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_some_params.yml +46 -0
  14. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +8 -14
  15. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +8 -14
  16. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +30 -30
  17. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +30 -30
  18. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +30 -30
  19. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +11 -17
  20. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +11 -17
  21. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +11 -17
  22. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +11 -17
  23. data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +19 -31
  24. data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +19 -31
  25. data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +26 -44
  26. data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +6 -6
  27. data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +6 -6
  28. data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +6 -6
  29. data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +7 -13
  30. data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +7 -13
  31. data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +7 -13
  32. data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +7 -13
  33. data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +7 -13
  34. data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +7 -13
  35. data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +15 -27
  36. data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +15 -27
  37. data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +15 -27
  38. data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +7 -13
  39. data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +9 -15
  40. data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +9 -15
  41. data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +9 -15
  42. data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +9 -15
  43. data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +9 -15
  44. data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +9 -15
  45. data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +18 -30
  46. data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +18 -30
  47. data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +18 -30
  48. data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +12 -16
  49. data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +12 -16
  50. data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +12 -16
  51. data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +19 -31
  52. data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +19 -31
  53. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +8 -14
  54. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +8 -14
  55. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +8 -14
  56. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +8 -14
  57. data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +7 -13
  58. data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +16 -28
  59. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +16 -28
  60. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +16 -28
  61. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +13 -13
  62. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +20 -20
  63. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +20 -20
  64. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +8 -14
  65. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +8 -14
  66. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +8 -14
  67. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +8 -14
  68. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +7 -13
  69. data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +16 -28
  70. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +16 -28
  71. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +16 -28
  72. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +13 -13
  73. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +20 -20
  74. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +20 -20
  75. data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +7 -13
  76. data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +7 -13
  77. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +48 -48
  78. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +48 -48
  79. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +20 -20
  80. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +20 -20
  81. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +20 -20
  82. data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +28 -28
  83. data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +28 -28
  84. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +32 -32
  85. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +32 -32
  86. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +32 -32
  87. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +34 -34
  88. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +34 -34
  89. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +28 -28
  90. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +28 -28
  91. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +28 -28
  92. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +34 -34
  93. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +34 -34
  94. data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +9 -15
  95. data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +9 -15
  96. data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +9 -15
  97. data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +9 -15
  98. data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +9 -15
  99. data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +9 -15
  100. data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +9 -15
  101. data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +9 -15
  102. data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +9 -15
  103. data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +9 -15
  104. data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +9 -15
  105. data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +9 -15
  106. data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +9 -15
  107. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -17
  108. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +11 -17
  109. data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +18 -30
  110. data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +18 -30
  111. data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +18 -30
  112. data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +18 -30
  113. data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +18 -30
  114. data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +18 -30
  115. data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +18 -30
  116. data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +18 -30
  117. data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +16 -16
  118. data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +16 -16
  119. data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +16 -16
  120. data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +16 -16
  121. data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +16 -16
  122. data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +16 -16
  123. data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +16 -16
  124. data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +16 -16
  125. data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +16 -16
  126. data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +16 -16
  127. data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +24 -24
  128. data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +24 -24
  129. data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +24 -24
  130. data/spec/cassettes/FatZebra_Refund/_search/responds_with_the_newly-created_refunds.yml +40 -40
  131. data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +24 -24
  132. data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +24 -24
  133. data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +24 -24
  134. data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +24 -24
  135. data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +7 -13
  136. data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +7 -13
  137. data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +7 -13
  138. data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +15 -27
  139. data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +160 -133
  140. data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +162 -135
  141. data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +15 -27
  142. data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +15 -27
  143. data/spec/lib/fat_zebra/authorise_spec.rb +101 -0
  144. data/spec/lib/fat_zebra/purchase_spec.rb +3 -3
  145. data/spec/lib/fat_zebra/refund_spec.rb +1 -1
  146. data/spec/support/payloads.rb +42 -0
  147. metadata +13 -4
  148. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/failed_with_non-float/1_1_5_3_1.yml +0 -52
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"first_name":"Harrold","last_name":"Humphries","reference":"f7b05f78a29d3392a80374b8fdffdfd1","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"bde960bee46988f84762979c6ea38c08","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
9
9
  Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
10
10
  Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
11
11
  headers:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Thu, 12 Jul 2018 03:20:27 GMT
28
+ - Mon, 29 Apr 2019 09:17:01 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,27 +37,27 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3459@214bedf
40
+ - 1.16.9-3941@c1d8236
41
41
  X-Runtime:
42
- - '0.453775'
42
+ - '0.482676'
43
43
  Pragma:
44
44
  - no-cache
45
45
  X-Request-Id:
46
- - e6cdc20eaeb0439e5753d51a
46
+ - '08ac1f840941a8f46b4b2df4'
47
47
  X-Backend:
48
48
  - sbox-priv-gateway-a
49
49
  body:
50
50
  encoding: UTF-8
51
- string: '{"successful":true,"response":{"id":"071-C-AXMHJRZV","email":null,"reference":"f7b05f78a29d3392a80374b8fdffdfd1","first_name":"Harrold","last_name":"Humphries","created_at":"2018-07-12T13:20:26+10:00","address":{"address":"1
52
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8pn5y","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-XKVX8OXY","email":null,"reference":"bde960bee46988f84762979c6ea38c08","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:01+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"16ky3acwlnmnyknjbxvv","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
53
53
  http_version:
54
- recorded_at: Thu, 12 Jul 2018 03:20:26 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:17:01 GMT
55
55
  - request:
56
56
  method: post
57
57
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
58
58
  body:
59
59
  encoding: UTF-8
60
- string: '{"payment_method":"Credit Card","customer":"071-C-AXMHJRZV","reference":"9980e86061be3c7591e73a355b10f7ad","setup_fee":0,"amount":100,"start_date":"2018-10-10","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
60
+ string: '{"payment_method":"Credit Card","customer":"071-C-XKVX8OXY","reference":"68880b2b652276e7bc53350d36e527d4","setup_fee":0,"amount":100,"start_date":"2019-07-28","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
61
61
  headers:
62
62
  Accept-Encoding:
63
63
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: Created
76
76
  headers:
77
77
  Date:
78
- - Thu, 12 Jul 2018 03:20:27 GMT
78
+ - Mon, 29 Apr 2019 09:17:02 GMT
79
79
  Content-Type:
80
80
  - application/json; charset=utf-8
81
81
  Transfer-Encoding:
@@ -87,24 +87,24 @@ http_interactions:
87
87
  Cache-Control:
88
88
  - no-store
89
89
  X-Request-Version:
90
- - 1.16.9-3459@214bedf
90
+ - 1.16.9-3941@c1d8236
91
91
  X-Runtime:
92
- - '0.248524'
92
+ - '0.408907'
93
93
  Pragma:
94
94
  - no-cache
95
95
  X-Request-Id:
96
- - 3478ae01db7e6a10d855ce0a
96
+ - 873835c05c6e69cc1c81b7dc
97
97
  X-Backend:
98
98
  - sbox-priv-gateway-a
99
99
  body:
100
100
  encoding: UTF-8
101
- string: '{"successful":true,"response":{"id":"071-PP-C0YK842K","customer":"071-C-AXMHJRZV","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2018-10-10","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
102
- Card","reference":"9980e86061be3c7591e73a355b10f7ad","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:27+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-HKNOPB36","payment_plan":"071-PP-C0YK842K","reference":"9980e86061be3c7591e73a355b10f7ad-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
103
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-TCN7CDRO","payment_plan":"071-PP-C0YK842K","reference":"9980e86061be3c7591e73a355b10f7ad-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
104
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-FGPCQJNQ","payment_plan":"071-PP-C0YK842K","reference":"9980e86061be3c7591e73a355b10f7ad-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
105
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-VO4AA700","payment_plan":"071-PP-C0YK842K","reference":"9980e86061be3c7591e73a355b10f7ad-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
106
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-NIQYYSGK","payment_plan":"071-PP-C0YK842K","reference":"9980e86061be3c7591e73a355b10f7ad-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
101
+ string: '{"successful":true,"response":{"id":"071-PP-KJWXTLMM","customer":"071-C-XKVX8OXY","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
102
+ Card","reference":"68880b2b652276e7bc53350d36e527d4","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:02+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-3DZDH1AQ","payment_plan":"071-PP-KJWXTLMM","reference":"68880b2b652276e7bc53350d36e527d4-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
103
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-E8JGL8NQ","payment_plan":"071-PP-KJWXTLMM","reference":"68880b2b652276e7bc53350d36e527d4-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
104
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-GAJ0YY2Q","payment_plan":"071-PP-KJWXTLMM","reference":"68880b2b652276e7bc53350d36e527d4-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
105
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-9EDG2MBJ","payment_plan":"071-PP-KJWXTLMM","reference":"68880b2b652276e7bc53350d36e527d4-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
106
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-F6C3NE19","payment_plan":"071-PP-KJWXTLMM","reference":"68880b2b652276e7bc53350d36e527d4-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
107
107
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
108
108
  http_version:
109
- recorded_at: Thu, 12 Jul 2018 03:20:27 GMT
109
+ recorded_at: Mon, 29 Apr 2019 09:17:02 GMT
110
110
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"first_name":"Harrold","last_name":"Humphries","reference":"16375e5615af3e44602d49b5855152c9","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"ece85613df06e382370f4c1e5123cae1","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
9
9
  Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
10
10
  Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
11
11
  headers:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Thu, 12 Jul 2018 03:20:28 GMT
28
+ - Mon, 29 Apr 2019 09:17:02 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,27 +37,27 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3459@214bedf
40
+ - 1.16.9-3941@c1d8236
41
41
  X-Runtime:
42
- - '0.440408'
42
+ - '0.449040'
43
43
  Pragma:
44
44
  - no-cache
45
45
  X-Request-Id:
46
- - 919bd270445e53c66f3970ba
46
+ - fa4e5df09fb09518f024c96c
47
47
  X-Backend:
48
48
  - sbox-priv-gateway-a
49
49
  body:
50
50
  encoding: UTF-8
51
- string: '{"successful":true,"response":{"id":"071-C-WWSRCND1","email":null,"reference":"16375e5615af3e44602d49b5855152c9","first_name":"Harrold","last_name":"Humphries","created_at":"2018-07-12T13:20:28+10:00","address":{"address":"1
52
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8xc04","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-PQ3V8GOP","email":null,"reference":"ece85613df06e382370f4c1e5123cae1","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:02+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"ul4wsmzja9pkg2vvia7p","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
53
53
  http_version:
54
- recorded_at: Thu, 12 Jul 2018 03:20:27 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:17:02 GMT
55
55
  - request:
56
56
  method: post
57
57
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
58
58
  body:
59
59
  encoding: UTF-8
60
- string: '{"payment_method":"Credit Card","customer":"071-C-WWSRCND1","reference":"d473ed1051b866972249f853970bcd5f","setup_fee":0,"amount":100,"start_date":"2018-10-10","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
60
+ string: '{"payment_method":"Credit Card","customer":"071-C-PQ3V8GOP","reference":"82a36fe8722b07f52d27f0804b45ac01","setup_fee":0,"amount":100,"start_date":"2019-07-28","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
61
61
  headers:
62
62
  Accept-Encoding:
63
63
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: Created
76
76
  headers:
77
77
  Date:
78
- - Thu, 12 Jul 2018 03:20:29 GMT
78
+ - Mon, 29 Apr 2019 09:17:03 GMT
79
79
  Content-Type:
80
80
  - application/json; charset=utf-8
81
81
  Transfer-Encoding:
@@ -87,24 +87,24 @@ http_interactions:
87
87
  Cache-Control:
88
88
  - no-store
89
89
  X-Request-Version:
90
- - 1.16.9-3459@214bedf
90
+ - 1.16.9-3941@c1d8236
91
91
  X-Runtime:
92
- - '0.245610'
92
+ - '0.307369'
93
93
  Pragma:
94
94
  - no-cache
95
95
  X-Request-Id:
96
- - 21efe49a18b6e3a31c1632ed
96
+ - 62d15ad1600f34fe7072a1f2
97
97
  X-Backend:
98
98
  - sbox-priv-gateway-a
99
99
  body:
100
100
  encoding: UTF-8
101
- string: '{"successful":true,"response":{"id":"071-PP-8PV94G0K","customer":"071-C-WWSRCND1","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2018-10-10","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
102
- Card","reference":"d473ed1051b866972249f853970bcd5f","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:28+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-YDQCD92R","payment_plan":"071-PP-8PV94G0K","reference":"d473ed1051b866972249f853970bcd5f-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
103
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-72WXWAJK","payment_plan":"071-PP-8PV94G0K","reference":"d473ed1051b866972249f853970bcd5f-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
104
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-NL98AQ0G","payment_plan":"071-PP-8PV94G0K","reference":"d473ed1051b866972249f853970bcd5f-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
105
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-REYODIR7","payment_plan":"071-PP-8PV94G0K","reference":"d473ed1051b866972249f853970bcd5f-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
106
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-W02DI7KX","payment_plan":"071-PP-8PV94G0K","reference":"d473ed1051b866972249f853970bcd5f-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
101
+ string: '{"successful":true,"response":{"id":"071-PP-GABS3BTI","customer":"071-C-PQ3V8GOP","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
102
+ Card","reference":"82a36fe8722b07f52d27f0804b45ac01","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:03+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-Z4VYQB4Q","payment_plan":"071-PP-GABS3BTI","reference":"82a36fe8722b07f52d27f0804b45ac01-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
103
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-Y9FX5PI8","payment_plan":"071-PP-GABS3BTI","reference":"82a36fe8722b07f52d27f0804b45ac01-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
104
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-Z2P3QW5D","payment_plan":"071-PP-GABS3BTI","reference":"82a36fe8722b07f52d27f0804b45ac01-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
105
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-X12G77M2","payment_plan":"071-PP-GABS3BTI","reference":"82a36fe8722b07f52d27f0804b45ac01-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
106
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-14XJC0IH","payment_plan":"071-PP-GABS3BTI","reference":"82a36fe8722b07f52d27f0804b45ac01-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
107
107
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
108
108
  http_version:
109
- recorded_at: Thu, 12 Jul 2018 03:20:28 GMT
109
+ recorded_at: Mon, 29 Apr 2019 09:17:03 GMT
110
110
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"first_name":"Harrold","last_name":"Humphries","reference":"fb366304b0366111898c80bfaf7ea8e1","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"8764b94de6ffb91ff991dbaf742a3ffd","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
9
9
  Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
10
10
  Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
11
11
  headers:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Thu, 12 Jul 2018 03:20:30 GMT
28
+ - Mon, 29 Apr 2019 09:17:03 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,27 +37,27 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3459@214bedf
40
+ - 1.16.9-3941@c1d8236
41
41
  X-Runtime:
42
- - '0.448531'
42
+ - '0.477211'
43
43
  Pragma:
44
44
  - no-cache
45
45
  X-Request-Id:
46
- - 13ae8d382fb9ab98457afaec
46
+ - '05881a1aa483d0a4da86526b'
47
47
  X-Backend:
48
48
  - sbox-priv-gateway-a
49
49
  body:
50
50
  encoding: UTF-8
51
- string: '{"successful":true,"response":{"id":"071-C-TUKYVNWH","email":null,"reference":"fb366304b0366111898c80bfaf7ea8e1","first_name":"Harrold","last_name":"Humphries","created_at":"2018-07-12T13:20:29+10:00","address":{"address":"1
52
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8il0j","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-WYAHMOXT","email":null,"reference":"8764b94de6ffb91ff991dbaf742a3ffd","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:03+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"5bsqzn0x32ltnl9zybct","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
53
53
  http_version:
54
- recorded_at: Thu, 12 Jul 2018 03:20:29 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:17:03 GMT
55
55
  - request:
56
56
  method: post
57
57
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
58
58
  body:
59
59
  encoding: UTF-8
60
- string: '{"payment_method":"Credit Card","customer":"071-C-TUKYVNWH","reference":"70f1352e12536b2919d167f82a58f0df","setup_fee":0,"amount":100,"start_date":"2018-10-10","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
60
+ string: '{"payment_method":"Credit Card","customer":"071-C-WYAHMOXT","reference":"f9b7795e1c8b56a6e99ea48a009b2939","setup_fee":0,"amount":100,"start_date":"2019-07-28","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
61
61
  headers:
62
62
  Accept-Encoding:
63
63
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: Created
76
76
  headers:
77
77
  Date:
78
- - Thu, 12 Jul 2018 03:20:30 GMT
78
+ - Mon, 29 Apr 2019 09:17:04 GMT
79
79
  Content-Type:
80
80
  - application/json; charset=utf-8
81
81
  Transfer-Encoding:
@@ -87,24 +87,24 @@ http_interactions:
87
87
  Cache-Control:
88
88
  - no-store
89
89
  X-Request-Version:
90
- - 1.16.9-3459@214bedf
90
+ - 1.16.9-3941@c1d8236
91
91
  X-Runtime:
92
- - '0.242437'
92
+ - '0.301254'
93
93
  Pragma:
94
94
  - no-cache
95
95
  X-Request-Id:
96
- - eed51bdecfd281d1e14180c6
96
+ - b6fdc4fbd38c2c872fa55dc7
97
97
  X-Backend:
98
98
  - sbox-priv-gateway-a
99
99
  body:
100
100
  encoding: UTF-8
101
- string: '{"successful":true,"response":{"id":"071-PP-90VU2BL0","customer":"071-C-TUKYVNWH","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2018-10-10","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
102
- Card","reference":"70f1352e12536b2919d167f82a58f0df","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:30+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-YF5NF3FD","payment_plan":"071-PP-90VU2BL0","reference":"70f1352e12536b2919d167f82a58f0df-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
103
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-GWQQ3QS7","payment_plan":"071-PP-90VU2BL0","reference":"70f1352e12536b2919d167f82a58f0df-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
104
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-742WG5G8","payment_plan":"071-PP-90VU2BL0","reference":"70f1352e12536b2919d167f82a58f0df-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
105
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-Z33K4B41","payment_plan":"071-PP-90VU2BL0","reference":"70f1352e12536b2919d167f82a58f0df-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
106
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-O8AO85GH","payment_plan":"071-PP-90VU2BL0","reference":"70f1352e12536b2919d167f82a58f0df-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
101
+ string: '{"successful":true,"response":{"id":"071-PP-WHR9BJ0H","customer":"071-C-WYAHMOXT","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
102
+ Card","reference":"f9b7795e1c8b56a6e99ea48a009b2939","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:03+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-SS0NWGYZ","payment_plan":"071-PP-WHR9BJ0H","reference":"f9b7795e1c8b56a6e99ea48a009b2939-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
103
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-947D24AA","payment_plan":"071-PP-WHR9BJ0H","reference":"f9b7795e1c8b56a6e99ea48a009b2939-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
104
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-VHRRRK6D","payment_plan":"071-PP-WHR9BJ0H","reference":"f9b7795e1c8b56a6e99ea48a009b2939-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
105
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-HBSDNYCX","payment_plan":"071-PP-WHR9BJ0H","reference":"f9b7795e1c8b56a6e99ea48a009b2939-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
106
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-ZWOGO77D","payment_plan":"071-PP-WHR9BJ0H","reference":"f9b7795e1c8b56a6e99ea48a009b2939-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
107
107
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
108
108
  http_version:
109
- recorded_at: Thu, 12 Jul 2018 03:20:29 GMT
109
+ recorded_at: Mon, 29 Apr 2019 09:17:04 GMT
110
110
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"first_name":"Harrold","last_name":"Humphries","reference":"6b262320ef7ba856079e214f95fc20a5","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"3fe20db7f96271aeb553d1727bf4860a","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
9
9
  Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
10
10
  Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
11
11
  headers:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Thu, 12 Jul 2018 03:20:51 GMT
28
+ - Mon, 29 Apr 2019 09:17:13 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,27 +37,27 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3459@214bedf
40
+ - 1.16.9-3941@c1d8236
41
41
  X-Runtime:
42
- - '0.450432'
42
+ - '0.462238'
43
43
  Pragma:
44
44
  - no-cache
45
45
  X-Request-Id:
46
- - 98d409899506bc6cf7fc13e4
46
+ - cca320f56c86a52a59263694
47
47
  X-Backend:
48
48
  - sbox-priv-gateway-a
49
49
  body:
50
50
  encoding: UTF-8
51
- string: '{"successful":true,"response":{"id":"071-C-96CWQFBL","email":null,"reference":"6b262320ef7ba856079e214f95fc20a5","first_name":"Harrold","last_name":"Humphries","created_at":"2018-07-12T13:20:50+10:00","address":{"address":"1
52
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8slaq","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-I7CL08Z5","email":null,"reference":"3fe20db7f96271aeb553d1727bf4860a","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:13+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"r9f8sn0e829yjsvfbyu4","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
53
53
  http_version:
54
- recorded_at: Thu, 12 Jul 2018 03:20:50 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:17:13 GMT
55
55
  - request:
56
56
  method: post
57
57
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
58
58
  body:
59
59
  encoding: UTF-8
60
- string: '{"payment_method":"Credit Card","customer":"071-C-96CWQFBL","reference":"9f4ab9ddbc47076715b6edc042a73217","setup_fee":0,"amount":100,"start_date":"2018-10-10","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
60
+ string: '{"payment_method":"Credit Card","customer":"071-C-I7CL08Z5","reference":"8808117fe2d1954b920f3807d014a9d2","setup_fee":0,"amount":100,"start_date":"2019-07-28","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
61
61
  headers:
62
62
  Accept-Encoding:
63
63
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: Created
76
76
  headers:
77
77
  Date:
78
- - Thu, 12 Jul 2018 03:20:52 GMT
78
+ - Mon, 29 Apr 2019 09:17:14 GMT
79
79
  Content-Type:
80
80
  - application/json; charset=utf-8
81
81
  Transfer-Encoding:
@@ -87,29 +87,29 @@ http_interactions:
87
87
  Cache-Control:
88
88
  - no-store
89
89
  X-Request-Version:
90
- - 1.16.9-3459@214bedf
90
+ - 1.16.9-3941@c1d8236
91
91
  X-Runtime:
92
- - '0.267553'
92
+ - '0.293897'
93
93
  Pragma:
94
94
  - no-cache
95
95
  X-Request-Id:
96
- - c92a1e9f07dab9ef703aa237
96
+ - 0164534b0c17ed4a52bd9407
97
97
  X-Backend:
98
98
  - sbox-priv-gateway-a
99
99
  body:
100
100
  encoding: UTF-8
101
- string: '{"successful":true,"response":{"id":"071-PP-B1I7XLGZ","customer":"071-C-96CWQFBL","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2018-10-10","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
102
- Card","reference":"9f4ab9ddbc47076715b6edc042a73217","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:52+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-LDCBT2MH","payment_plan":"071-PP-B1I7XLGZ","reference":"9f4ab9ddbc47076715b6edc042a73217-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
103
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-805EZZKH","payment_plan":"071-PP-B1I7XLGZ","reference":"9f4ab9ddbc47076715b6edc042a73217-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
104
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8UJPJ5DC","payment_plan":"071-PP-B1I7XLGZ","reference":"9f4ab9ddbc47076715b6edc042a73217-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
105
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8QUAA1HN","payment_plan":"071-PP-B1I7XLGZ","reference":"9f4ab9ddbc47076715b6edc042a73217-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
106
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-DMCTMI9N","payment_plan":"071-PP-B1I7XLGZ","reference":"9f4ab9ddbc47076715b6edc042a73217-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
101
+ string: '{"successful":true,"response":{"id":"071-PP-EJOMRMB","customer":"071-C-I7CL08Z5","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
102
+ Card","reference":"8808117fe2d1954b920f3807d014a9d2","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:13+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-I4RC3XT7","payment_plan":"071-PP-EJOMRMB","reference":"8808117fe2d1954b920f3807d014a9d2-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
103
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-OGX48HX9","payment_plan":"071-PP-EJOMRMB","reference":"8808117fe2d1954b920f3807d014a9d2-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
104
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-DNQAPIZ","payment_plan":"071-PP-EJOMRMB","reference":"8808117fe2d1954b920f3807d014a9d2-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
105
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-CPZQR2SY","payment_plan":"071-PP-EJOMRMB","reference":"8808117fe2d1954b920f3807d014a9d2-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
106
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-O4UB9ZC3","payment_plan":"071-PP-EJOMRMB","reference":"8808117fe2d1954b920f3807d014a9d2-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
107
107
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
108
108
  http_version:
109
- recorded_at: Thu, 12 Jul 2018 03:20:52 GMT
109
+ recorded_at: Mon, 29 Apr 2019 09:17:14 GMT
110
110
  - request:
111
111
  method: delete
112
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-B1I7XLGZ
112
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-EJOMRMB
113
113
  body:
114
114
  encoding: UTF-8
115
115
  string: '{"test":true}'
@@ -128,7 +128,7 @@ http_interactions:
128
128
  message: OK
129
129
  headers:
130
130
  Date:
131
- - Thu, 12 Jul 2018 03:20:54 GMT
131
+ - Mon, 29 Apr 2019 09:17:14 GMT
132
132
  Content-Type:
133
133
  - application/json; charset=utf-8
134
134
  Transfer-Encoding:
@@ -140,19 +140,19 @@ http_interactions:
140
140
  Cache-Control:
141
141
  - no-store
142
142
  X-Request-Version:
143
- - 1.16.9-3459@214bedf
143
+ - 1.16.9-3941@c1d8236
144
144
  X-Runtime:
145
- - '0.196937'
145
+ - '0.115419'
146
146
  Pragma:
147
147
  - no-cache
148
148
  X-Request-Id:
149
- - 27a0d4937852f2cae7f3a053
149
+ - ae7ca8dfb13588697f7ba931
150
150
  X-Backend:
151
151
  - sbox-priv-gateway-a
152
152
  body:
153
153
  encoding: UTF-8
154
- string: '{"successful":true,"response":{"id":"071-PP-B1I7XLGZ","customer":"071-C-96CWQFBL","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2018-10-10","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
155
- Card","reference":"9f4ab9ddbc47076715b6edc042a73217","description":null,"status":"Cancelled","status_reason":"Other","created_at":"2018-07-12T13:20:52+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
154
+ string: '{"successful":true,"response":{"id":"071-PP-EJOMRMB","customer":"071-C-I7CL08Z5","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
155
+ Card","reference":"8808117fe2d1954b920f3807d014a9d2","description":null,"status":"Cancelled","status_reason":"Other","created_at":"2019-04-29T19:17:13+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
156
156
  http_version:
157
- recorded_at: Thu, 12 Jul 2018 03:20:53 GMT
157
+ recorded_at: Mon, 29 Apr 2019 09:17:14 GMT
158
158
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"first_name":"Harrold","last_name":"Humphries","reference":"f0aae0615f1a3e41da50abb4d18f0007","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"a564f3e9b12670dc3951fd3455fd076c","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
9
9
  Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
10
10
  Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
11
11
  headers:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Thu, 12 Jul 2018 03:20:55 GMT
28
+ - Mon, 29 Apr 2019 09:17:14 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,27 +37,27 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3459@214bedf
40
+ - 1.16.9-3941@c1d8236
41
41
  X-Runtime:
42
- - '0.471678'
42
+ - '0.515855'
43
43
  Pragma:
44
44
  - no-cache
45
45
  X-Request-Id:
46
- - 68e3035542bbe5d7ae3762ac
46
+ - 224d195cc9ef97986b4f29e8
47
47
  X-Backend:
48
48
  - sbox-priv-gateway-a
49
49
  body:
50
50
  encoding: UTF-8
51
- string: '{"successful":true,"response":{"id":"071-C-7KY35SSC","email":null,"reference":"f0aae0615f1a3e41da50abb4d18f0007","first_name":"Harrold","last_name":"Humphries","created_at":"2018-07-12T13:20:54+10:00","address":{"address":"1
52
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8flgb","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-EU27FFEL","email":null,"reference":"a564f3e9b12670dc3951fd3455fd076c","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:14+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"mmyu3guswiw6joe5ry1y","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
53
53
  http_version:
54
- recorded_at: Thu, 12 Jul 2018 03:20:54 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:17:14 GMT
55
55
  - request:
56
56
  method: post
57
57
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
58
58
  body:
59
59
  encoding: UTF-8
60
- string: '{"payment_method":"Credit Card","customer":"071-C-7KY35SSC","reference":"ccf37984785535b3f76da095ca37fe1d","setup_fee":0,"amount":100,"start_date":"2018-10-10","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
60
+ string: '{"payment_method":"Credit Card","customer":"071-C-EU27FFEL","reference":"787206d7f5aa4e061a00f6dc1c096a34","setup_fee":0,"amount":100,"start_date":"2019-07-28","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
61
61
  headers:
62
62
  Accept-Encoding:
63
63
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: Created
76
76
  headers:
77
77
  Date:
78
- - Thu, 12 Jul 2018 03:20:55 GMT
78
+ - Mon, 29 Apr 2019 09:17:15 GMT
79
79
  Content-Type:
80
80
  - application/json; charset=utf-8
81
81
  Transfer-Encoding:
@@ -87,29 +87,29 @@ http_interactions:
87
87
  Cache-Control:
88
88
  - no-store
89
89
  X-Request-Version:
90
- - 1.16.9-3459@214bedf
90
+ - 1.16.9-3941@c1d8236
91
91
  X-Runtime:
92
- - '0.240323'
92
+ - '0.269001'
93
93
  Pragma:
94
94
  - no-cache
95
95
  X-Request-Id:
96
- - ad6b1da4f34e76c2b651ce9f
96
+ - f53f1ec1f8566822c4944519
97
97
  X-Backend:
98
98
  - sbox-priv-gateway-a
99
99
  body:
100
100
  encoding: UTF-8
101
- string: '{"successful":true,"response":{"id":"071-PP-B5PXT68E","customer":"071-C-7KY35SSC","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2018-10-10","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
102
- Card","reference":"ccf37984785535b3f76da095ca37fe1d","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:55+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-DQR7GYK7","payment_plan":"071-PP-B5PXT68E","reference":"ccf37984785535b3f76da095ca37fe1d-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
103
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-62JRR0MJ","payment_plan":"071-PP-B5PXT68E","reference":"ccf37984785535b3f76da095ca37fe1d-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
104
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-7P0NWSLA","payment_plan":"071-PP-B5PXT68E","reference":"ccf37984785535b3f76da095ca37fe1d-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
105
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-F2MVZD44","payment_plan":"071-PP-B5PXT68E","reference":"ccf37984785535b3f76da095ca37fe1d-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
106
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-C0IYD54O","payment_plan":"071-PP-B5PXT68E","reference":"ccf37984785535b3f76da095ca37fe1d-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
101
+ string: '{"successful":true,"response":{"id":"071-PP-LKIEJT23","customer":"071-C-EU27FFEL","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
102
+ Card","reference":"787206d7f5aa4e061a00f6dc1c096a34","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:15+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-3JC4FJRC","payment_plan":"071-PP-LKIEJT23","reference":"787206d7f5aa4e061a00f6dc1c096a34-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
103
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-ZH1E5WWF","payment_plan":"071-PP-LKIEJT23","reference":"787206d7f5aa4e061a00f6dc1c096a34-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
104
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-GLPMW5QS","payment_plan":"071-PP-LKIEJT23","reference":"787206d7f5aa4e061a00f6dc1c096a34-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
105
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-PTUTY7TQ","payment_plan":"071-PP-LKIEJT23","reference":"787206d7f5aa4e061a00f6dc1c096a34-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
106
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-J8JEDBSS","payment_plan":"071-PP-LKIEJT23","reference":"787206d7f5aa4e061a00f6dc1c096a34-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
107
107
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
108
108
  http_version:
109
- recorded_at: Thu, 12 Jul 2018 03:20:54 GMT
109
+ recorded_at: Mon, 29 Apr 2019 09:17:15 GMT
110
110
  - request:
111
111
  method: delete
112
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-B5PXT68E
112
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-LKIEJT23
113
113
  body:
114
114
  encoding: UTF-8
115
115
  string: '{"test":true}'
@@ -128,7 +128,7 @@ http_interactions:
128
128
  message: OK
129
129
  headers:
130
130
  Date:
131
- - Thu, 12 Jul 2018 03:20:55 GMT
131
+ - Mon, 29 Apr 2019 09:17:15 GMT
132
132
  Content-Type:
133
133
  - application/json; charset=utf-8
134
134
  Transfer-Encoding:
@@ -140,19 +140,19 @@ http_interactions:
140
140
  Cache-Control:
141
141
  - no-store
142
142
  X-Request-Version:
143
- - 1.16.9-3459@214bedf
143
+ - 1.16.9-3941@c1d8236
144
144
  X-Runtime:
145
- - '0.117366'
145
+ - '0.164423'
146
146
  Pragma:
147
147
  - no-cache
148
148
  X-Request-Id:
149
- - 169501928982e41e9c1a811a
149
+ - 28b7c0f0adec9780337642b8
150
150
  X-Backend:
151
151
  - sbox-priv-gateway-a
152
152
  body:
153
153
  encoding: UTF-8
154
- string: '{"successful":true,"response":{"id":"071-PP-B5PXT68E","customer":"071-C-7KY35SSC","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2018-10-10","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
155
- Card","reference":"ccf37984785535b3f76da095ca37fe1d","description":null,"status":"Cancelled","status_reason":"Other","created_at":"2018-07-12T13:20:55+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
154
+ string: '{"successful":true,"response":{"id":"071-PP-LKIEJT23","customer":"071-C-EU27FFEL","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
155
+ Card","reference":"787206d7f5aa4e061a00f6dc1c096a34","description":null,"status":"Cancelled","status_reason":"Other","created_at":"2019-04-29T19:17:15+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
156
156
  http_version:
157
- recorded_at: Thu, 12 Jul 2018 03:20:54 GMT
157
+ recorded_at: Mon, 29 Apr 2019 09:17:15 GMT
158
158
  recorded_with: VCR 3.0.3