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":"a87f42cf2496aebb9897ef78a741e152","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"dc67c7a9b5f6f03654f03bfe514bb6a1","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:31 GMT
28
+ - Mon, 29 Apr 2019 09:17:04 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.453222'
42
+ - '0.493880'
43
43
  Pragma:
44
44
  - no-cache
45
45
  X-Request-Id:
46
- - e2c51aade496815b95b97c03
46
+ - d96f314c1ec804c96e5a9cd5
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-RYSKNO6I","email":null,"reference":"a87f42cf2496aebb9897ef78a741e152","first_name":"Harrold","last_name":"Humphries","created_at":"2018-07-12T13:20:31+10:00","address":{"address":"1
52
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8lmc4","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-VA4JEU11","email":null,"reference":"dc67c7a9b5f6f03654f03bfe514bb6a1","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:04+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"0ewhyip8l697y4lj33r9","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
53
53
  http_version:
54
- recorded_at: Thu, 12 Jul 2018 03:20:30 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:17:04 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-RYSKNO6I","reference":"c944d621ac4862b17db873df421338a5","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-VA4JEU11","reference":"c4c384a703f381514543098f1db448f2","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:32 GMT
78
+ - Mon, 29 Apr 2019 09:17:05 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.271715'
92
+ - '0.293634'
93
93
  Pragma:
94
94
  - no-cache
95
95
  X-Request-Id:
96
- - b7e526850c13abb285f34fa6
96
+ - dfbd0bc4be9516e8bf3e83bc
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-KLMQOV1R","customer":"071-C-RYSKNO6I","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":"c944d621ac4862b17db873df421338a5","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:31+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-8HAONVC1","payment_plan":"071-PP-KLMQOV1R","reference":"c944d621ac4862b17db873df421338a5-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
103
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-U14JOJ1K","payment_plan":"071-PP-KLMQOV1R","reference":"c944d621ac4862b17db873df421338a5-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
104
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-EHOEVGAL","payment_plan":"071-PP-KLMQOV1R","reference":"c944d621ac4862b17db873df421338a5-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
105
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-PUNUC53S","payment_plan":"071-PP-KLMQOV1R","reference":"c944d621ac4862b17db873df421338a5-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
106
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-LZR6EIHY","payment_plan":"071-PP-KLMQOV1R","reference":"c944d621ac4862b17db873df421338a5-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
101
+ string: '{"successful":true,"response":{"id":"071-PP-24IJ1FPZ","customer":"071-C-VA4JEU11","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":"c4c384a703f381514543098f1db448f2","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:04+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-686O2QOT","payment_plan":"071-PP-24IJ1FPZ","reference":"c4c384a703f381514543098f1db448f2-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
103
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-FH7V8CLO","payment_plan":"071-PP-24IJ1FPZ","reference":"c4c384a703f381514543098f1db448f2-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
104
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-5LG1LDQD","payment_plan":"071-PP-24IJ1FPZ","reference":"c4c384a703f381514543098f1db448f2-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
105
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-BH12KQZW","payment_plan":"071-PP-24IJ1FPZ","reference":"c4c384a703f381514543098f1db448f2-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
106
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-Q9QFDA88","payment_plan":"071-PP-24IJ1FPZ","reference":"c4c384a703f381514543098f1db448f2-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:31 GMT
109
+ recorded_at: Mon, 29 Apr 2019 09:17:05 GMT
110
110
  - request:
111
111
  method: get
112
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/c944d621ac4862b17db873df421338a5?test=true
112
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/c4c384a703f381514543098f1db448f2?test=true
113
113
  body:
114
114
  encoding: US-ASCII
115
115
  string: ''
@@ -132,7 +132,7 @@ http_interactions:
132
132
  message: OK
133
133
  headers:
134
134
  Date:
135
- - Thu, 12 Jul 2018 03:20:32 GMT
135
+ - Mon, 29 Apr 2019 09:17:05 GMT
136
136
  Content-Type:
137
137
  - application/json; charset=utf-8
138
138
  Transfer-Encoding:
@@ -144,24 +144,24 @@ http_interactions:
144
144
  Cache-Control:
145
145
  - no-store
146
146
  X-Request-Version:
147
- - 1.16.9-3459@214bedf
147
+ - 1.16.9-3941@c1d8236
148
148
  X-Runtime:
149
- - '0.026039'
149
+ - '0.029751'
150
150
  Pragma:
151
151
  - no-cache
152
152
  X-Request-Id:
153
- - e09185bfece1aefa93d71249
153
+ - 836405f0f1754ac4cc74b3cc
154
154
  X-Backend:
155
155
  - sbox-priv-gateway-a
156
156
  body:
157
157
  encoding: UTF-8
158
- string: '{"successful":true,"response":{"id":"071-PP-KLMQOV1R","customer":"071-C-RYSKNO6I","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
159
- Card","reference":"c944d621ac4862b17db873df421338a5","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:31+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-8HAONVC1","payment_plan":"071-PP-KLMQOV1R","reference":"c944d621ac4862b17db873df421338a5-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
160
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-U14JOJ1K","payment_plan":"071-PP-KLMQOV1R","reference":"c944d621ac4862b17db873df421338a5-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
161
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-EHOEVGAL","payment_plan":"071-PP-KLMQOV1R","reference":"c944d621ac4862b17db873df421338a5-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
162
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-PUNUC53S","payment_plan":"071-PP-KLMQOV1R","reference":"c944d621ac4862b17db873df421338a5-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
163
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-LZR6EIHY","payment_plan":"071-PP-KLMQOV1R","reference":"c944d621ac4862b17db873df421338a5-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
158
+ string: '{"successful":true,"response":{"id":"071-PP-24IJ1FPZ","customer":"071-C-VA4JEU11","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
159
+ Card","reference":"c4c384a703f381514543098f1db448f2","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:04+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-686O2QOT","payment_plan":"071-PP-24IJ1FPZ","reference":"c4c384a703f381514543098f1db448f2-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
160
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-FH7V8CLO","payment_plan":"071-PP-24IJ1FPZ","reference":"c4c384a703f381514543098f1db448f2-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
161
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-5LG1LDQD","payment_plan":"071-PP-24IJ1FPZ","reference":"c4c384a703f381514543098f1db448f2-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
162
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-BH12KQZW","payment_plan":"071-PP-24IJ1FPZ","reference":"c4c384a703f381514543098f1db448f2-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
163
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-Q9QFDA88","payment_plan":"071-PP-24IJ1FPZ","reference":"c4c384a703f381514543098f1db448f2-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
164
164
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
165
165
  http_version:
166
- recorded_at: Thu, 12 Jul 2018 03:20:31 GMT
166
+ recorded_at: Mon, 29 Apr 2019 09:17:05 GMT
167
167
  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":"c5b2136a50a937a4aad4c3b8624c9bf7","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"a49bac0594a4873e6b009cd38f2f27b4","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:32 GMT
28
+ - Mon, 29 Apr 2019 09:17:05 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.442978'
42
+ - '0.498865'
43
43
  Pragma:
44
44
  - no-cache
45
45
  X-Request-Id:
46
- - 1c317d75c67097892d0e03ad
46
+ - 3c1a2864853a2694dd244e48
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-3Z9X8FOF","email":null,"reference":"c5b2136a50a937a4aad4c3b8624c9bf7","first_name":"Harrold","last_name":"Humphries","created_at":"2018-07-12T13:20:32+10:00","address":{"address":"1
52
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8k3lx","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-O74L0BKG","email":null,"reference":"a49bac0594a4873e6b009cd38f2f27b4","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:05+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"pfm8wyi50skx5kroqblf","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
53
53
  http_version:
54
- recorded_at: Thu, 12 Jul 2018 03:20:32 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:17:05 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-3Z9X8FOF","reference":"95dc070fb5eb990ab385d7be96e0da9c","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-O74L0BKG","reference":"866b7a3120ce153a43e9f081503c7975","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:33 GMT
78
+ - Mon, 29 Apr 2019 09:17:06 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.252790'
92
+ - '0.433887'
93
93
  Pragma:
94
94
  - no-cache
95
95
  X-Request-Id:
96
- - bbd2f3cfa0d240bff4e0f7e5
96
+ - 5da6f6d5033466b2afb71910
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-8MPI3M4X","customer":"071-C-3Z9X8FOF","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":"95dc070fb5eb990ab385d7be96e0da9c","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:33+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-MM67JZO2","payment_plan":"071-PP-8MPI3M4X","reference":"95dc070fb5eb990ab385d7be96e0da9c-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
103
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-N8I8BBLG","payment_plan":"071-PP-8MPI3M4X","reference":"95dc070fb5eb990ab385d7be96e0da9c-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
104
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-SV8XZR0M","payment_plan":"071-PP-8MPI3M4X","reference":"95dc070fb5eb990ab385d7be96e0da9c-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
105
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-F0TLP372","payment_plan":"071-PP-8MPI3M4X","reference":"95dc070fb5eb990ab385d7be96e0da9c-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
106
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-YLDWW9O5","payment_plan":"071-PP-8MPI3M4X","reference":"95dc070fb5eb990ab385d7be96e0da9c-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
101
+ string: '{"successful":true,"response":{"id":"071-PP-JGYI4EYM","customer":"071-C-O74L0BKG","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":"866b7a3120ce153a43e9f081503c7975","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:06+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-18AG2XCZ","payment_plan":"071-PP-JGYI4EYM","reference":"866b7a3120ce153a43e9f081503c7975-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
103
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-CUQ19JIU","payment_plan":"071-PP-JGYI4EYM","reference":"866b7a3120ce153a43e9f081503c7975-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
104
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-UXSNAVYU","payment_plan":"071-PP-JGYI4EYM","reference":"866b7a3120ce153a43e9f081503c7975-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
105
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-N8RQ8DTV","payment_plan":"071-PP-JGYI4EYM","reference":"866b7a3120ce153a43e9f081503c7975-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
106
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-J3XTQ9Z7","payment_plan":"071-PP-JGYI4EYM","reference":"866b7a3120ce153a43e9f081503c7975-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:32 GMT
109
+ recorded_at: Mon, 29 Apr 2019 09:17:06 GMT
110
110
  - request:
111
111
  method: get
112
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/95dc070fb5eb990ab385d7be96e0da9c?test=true
112
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/866b7a3120ce153a43e9f081503c7975?test=true
113
113
  body:
114
114
  encoding: US-ASCII
115
115
  string: ''
@@ -132,7 +132,7 @@ http_interactions:
132
132
  message: OK
133
133
  headers:
134
134
  Date:
135
- - Thu, 12 Jul 2018 03:20:33 GMT
135
+ - Mon, 29 Apr 2019 09:17:06 GMT
136
136
  Content-Type:
137
137
  - application/json; charset=utf-8
138
138
  Transfer-Encoding:
@@ -144,24 +144,24 @@ http_interactions:
144
144
  Cache-Control:
145
145
  - no-store
146
146
  X-Request-Version:
147
- - 1.16.9-3459@214bedf
147
+ - 1.16.9-3941@c1d8236
148
148
  X-Runtime:
149
- - '0.026396'
149
+ - '0.027875'
150
150
  Pragma:
151
151
  - no-cache
152
152
  X-Request-Id:
153
- - 76fd7e0717af59a7de66a1dd
153
+ - dac9f8537cc28ebed5f32462
154
154
  X-Backend:
155
155
  - sbox-priv-gateway-a
156
156
  body:
157
157
  encoding: UTF-8
158
- string: '{"successful":true,"response":{"id":"071-PP-8MPI3M4X","customer":"071-C-3Z9X8FOF","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
159
- Card","reference":"95dc070fb5eb990ab385d7be96e0da9c","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:33+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-MM67JZO2","payment_plan":"071-PP-8MPI3M4X","reference":"95dc070fb5eb990ab385d7be96e0da9c-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
160
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-N8I8BBLG","payment_plan":"071-PP-8MPI3M4X","reference":"95dc070fb5eb990ab385d7be96e0da9c-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
161
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-SV8XZR0M","payment_plan":"071-PP-8MPI3M4X","reference":"95dc070fb5eb990ab385d7be96e0da9c-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
162
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-F0TLP372","payment_plan":"071-PP-8MPI3M4X","reference":"95dc070fb5eb990ab385d7be96e0da9c-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
163
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-YLDWW9O5","payment_plan":"071-PP-8MPI3M4X","reference":"95dc070fb5eb990ab385d7be96e0da9c-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
158
+ string: '{"successful":true,"response":{"id":"071-PP-JGYI4EYM","customer":"071-C-O74L0BKG","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
159
+ Card","reference":"866b7a3120ce153a43e9f081503c7975","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:06+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-18AG2XCZ","payment_plan":"071-PP-JGYI4EYM","reference":"866b7a3120ce153a43e9f081503c7975-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
160
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-CUQ19JIU","payment_plan":"071-PP-JGYI4EYM","reference":"866b7a3120ce153a43e9f081503c7975-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
161
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-UXSNAVYU","payment_plan":"071-PP-JGYI4EYM","reference":"866b7a3120ce153a43e9f081503c7975-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
162
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-N8RQ8DTV","payment_plan":"071-PP-JGYI4EYM","reference":"866b7a3120ce153a43e9f081503c7975-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
163
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-J3XTQ9Z7","payment_plan":"071-PP-JGYI4EYM","reference":"866b7a3120ce153a43e9f081503c7975-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
164
164
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
165
165
  http_version:
166
- recorded_at: Thu, 12 Jul 2018 03:20:32 GMT
166
+ recorded_at: Mon, 29 Apr 2019 09:17:06 GMT
167
167
  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":"e65bdeda8eb3e458c40312d6d7621aab","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"6d2dcfa6a728b37cbd328c656d844b9c","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:34 GMT
28
+ - Mon, 29 Apr 2019 09:17:07 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.458190'
42
+ - '0.490931'
43
43
  Pragma:
44
44
  - no-cache
45
45
  X-Request-Id:
46
- - e35f9add9b38dd57176a7822
46
+ - 8dc61418a5dabda878800178
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-AQN3UQXP","email":null,"reference":"e65bdeda8eb3e458c40312d6d7621aab","first_name":"Harrold","last_name":"Humphries","created_at":"2018-07-12T13:20:34+10:00","address":{"address":"1
52
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke87tp7","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-G8UMH5YB","email":null,"reference":"6d2dcfa6a728b37cbd328c656d844b9c","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:06+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"ugaedl5atpdes3ho8uh2","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
53
53
  http_version:
54
- recorded_at: Thu, 12 Jul 2018 03:20:33 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:17:07 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-AQN3UQXP","reference":"23f95826f8424e8a96ca6f43790a87e0","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-G8UMH5YB","reference":"4b0dbb69e111ca2a3d5e6492c3daf0bb","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:35 GMT
78
+ - Mon, 29 Apr 2019 09:17:07 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.273602'
92
+ - '0.252437'
93
93
  Pragma:
94
94
  - no-cache
95
95
  X-Request-Id:
96
- - ac664ce22d10b4be1fb1b948
96
+ - 0bc480cc9dade70c9cec3290
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-980JT0WZ","customer":"071-C-AQN3UQXP","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":"23f95826f8424e8a96ca6f43790a87e0","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:35+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-KKIXBR2U","payment_plan":"071-PP-980JT0WZ","reference":"23f95826f8424e8a96ca6f43790a87e0-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
103
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-XOAZVG0D","payment_plan":"071-PP-980JT0WZ","reference":"23f95826f8424e8a96ca6f43790a87e0-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
104
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-83CJV8X2","payment_plan":"071-PP-980JT0WZ","reference":"23f95826f8424e8a96ca6f43790a87e0-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
105
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-9FCH8386","payment_plan":"071-PP-980JT0WZ","reference":"23f95826f8424e8a96ca6f43790a87e0-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
106
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-C6KMFVW5","payment_plan":"071-PP-980JT0WZ","reference":"23f95826f8424e8a96ca6f43790a87e0-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
101
+ string: '{"successful":true,"response":{"id":"071-PP-HSNIPPJJ","customer":"071-C-G8UMH5YB","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":"4b0dbb69e111ca2a3d5e6492c3daf0bb","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:07+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-LY1ZQSSP","payment_plan":"071-PP-HSNIPPJJ","reference":"4b0dbb69e111ca2a3d5e6492c3daf0bb-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
103
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-9D0QLIWG","payment_plan":"071-PP-HSNIPPJJ","reference":"4b0dbb69e111ca2a3d5e6492c3daf0bb-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
104
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-LDMHZ1SQ","payment_plan":"071-PP-HSNIPPJJ","reference":"4b0dbb69e111ca2a3d5e6492c3daf0bb-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
105
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-DNYYDYZV","payment_plan":"071-PP-HSNIPPJJ","reference":"4b0dbb69e111ca2a3d5e6492c3daf0bb-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
106
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-IWGYI46E","payment_plan":"071-PP-HSNIPPJJ","reference":"4b0dbb69e111ca2a3d5e6492c3daf0bb-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:34 GMT
109
+ recorded_at: Mon, 29 Apr 2019 09:17:07 GMT
110
110
  - request:
111
111
  method: get
112
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/23f95826f8424e8a96ca6f43790a87e0?test=true
112
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/4b0dbb69e111ca2a3d5e6492c3daf0bb?test=true
113
113
  body:
114
114
  encoding: US-ASCII
115
115
  string: ''
@@ -132,7 +132,7 @@ http_interactions:
132
132
  message: OK
133
133
  headers:
134
134
  Date:
135
- - Thu, 12 Jul 2018 03:20:35 GMT
135
+ - Mon, 29 Apr 2019 09:17:07 GMT
136
136
  Content-Type:
137
137
  - application/json; charset=utf-8
138
138
  Transfer-Encoding:
@@ -144,24 +144,24 @@ http_interactions:
144
144
  Cache-Control:
145
145
  - no-store
146
146
  X-Request-Version:
147
- - 1.16.9-3459@214bedf
147
+ - 1.16.9-3941@c1d8236
148
148
  X-Runtime:
149
- - '0.043617'
149
+ - '0.024941'
150
150
  Pragma:
151
151
  - no-cache
152
152
  X-Request-Id:
153
- - 5b169080046489d8dada44e6
153
+ - 7f1a301eee68adcf7a5a44d5
154
154
  X-Backend:
155
155
  - sbox-priv-gateway-a
156
156
  body:
157
157
  encoding: UTF-8
158
- string: '{"successful":true,"response":{"id":"071-PP-980JT0WZ","customer":"071-C-AQN3UQXP","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
159
- Card","reference":"23f95826f8424e8a96ca6f43790a87e0","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:35+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-KKIXBR2U","payment_plan":"071-PP-980JT0WZ","reference":"23f95826f8424e8a96ca6f43790a87e0-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
160
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-XOAZVG0D","payment_plan":"071-PP-980JT0WZ","reference":"23f95826f8424e8a96ca6f43790a87e0-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
161
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-83CJV8X2","payment_plan":"071-PP-980JT0WZ","reference":"23f95826f8424e8a96ca6f43790a87e0-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
162
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-9FCH8386","payment_plan":"071-PP-980JT0WZ","reference":"23f95826f8424e8a96ca6f43790a87e0-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
163
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-C6KMFVW5","payment_plan":"071-PP-980JT0WZ","reference":"23f95826f8424e8a96ca6f43790a87e0-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
158
+ string: '{"successful":true,"response":{"id":"071-PP-HSNIPPJJ","customer":"071-C-G8UMH5YB","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
159
+ Card","reference":"4b0dbb69e111ca2a3d5e6492c3daf0bb","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:07+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-LY1ZQSSP","payment_plan":"071-PP-HSNIPPJJ","reference":"4b0dbb69e111ca2a3d5e6492c3daf0bb-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
160
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-9D0QLIWG","payment_plan":"071-PP-HSNIPPJJ","reference":"4b0dbb69e111ca2a3d5e6492c3daf0bb-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
161
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-LDMHZ1SQ","payment_plan":"071-PP-HSNIPPJJ","reference":"4b0dbb69e111ca2a3d5e6492c3daf0bb-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
162
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-DNYYDYZV","payment_plan":"071-PP-HSNIPPJJ","reference":"4b0dbb69e111ca2a3d5e6492c3daf0bb-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
163
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-IWGYI46E","payment_plan":"071-PP-HSNIPPJJ","reference":"4b0dbb69e111ca2a3d5e6492c3daf0bb-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
164
164
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
165
165
  http_version:
166
- recorded_at: Thu, 12 Jul 2018 03:20:34 GMT
166
+ recorded_at: Mon, 29 Apr 2019 09:17:07 GMT
167
167
  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":"4a0bc72f31e843f3354f9343f25e8456","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"08b08ea9d709fb832b26cb810549fa5f","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:56 GMT
28
+ - Mon, 29 Apr 2019 09:17:15 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.445678'
42
+ - '0.478033'
43
43
  Pragma:
44
44
  - no-cache
45
45
  X-Request-Id:
46
- - 4081028589b0bd71722772c7
46
+ - 295a4e9d261e23f9dab7c918
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-T6OMN5IL","email":null,"reference":"4a0bc72f31e843f3354f9343f25e8456","first_name":"Harrold","last_name":"Humphries","created_at":"2018-07-12T13:20:55+10:00","address":{"address":"1
52
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8e000","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-MNNDO390","email":null,"reference":"08b08ea9d709fb832b26cb810549fa5f","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:15+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"6ene1lr511cmop7szvom","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
53
53
  http_version:
54
- recorded_at: Thu, 12 Jul 2018 03:20:55 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:17:16 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-T6OMN5IL","reference":"69f056c256afd893c2d36703c1bf0851","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-MNNDO390","reference":"3eda2dcdde24b195f7ebe522e4efa619","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:56 GMT
78
+ - Mon, 29 Apr 2019 09:17:16 GMT
79
79
  Content-Type:
80
80
  - application/json; charset=utf-8
81
81
  Transfer-Encoding:
@@ -87,37 +87,37 @@ 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.243009'
92
+ - '0.328002'
93
93
  Pragma:
94
94
  - no-cache
95
95
  X-Request-Id:
96
- - f8b0937f3d87440549eea136
96
+ - 10b3bff4dac733ee66b2fb53
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-6SPX5LGX","customer":"071-C-T6OMN5IL","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":"69f056c256afd893c2d36703c1bf0851","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:56+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-685CS5DO","payment_plan":"071-PP-6SPX5LGX","reference":"69f056c256afd893c2d36703c1bf0851-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
103
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-KEPZUO04","payment_plan":"071-PP-6SPX5LGX","reference":"69f056c256afd893c2d36703c1bf0851-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
104
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-OSAK1TI1","payment_plan":"071-PP-6SPX5LGX","reference":"69f056c256afd893c2d36703c1bf0851-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
105
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-6CDX6JN3","payment_plan":"071-PP-6SPX5LGX","reference":"69f056c256afd893c2d36703c1bf0851-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
106
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-ZWFPL412","payment_plan":"071-PP-6SPX5LGX","reference":"69f056c256afd893c2d36703c1bf0851-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
101
+ string: '{"successful":true,"response":{"id":"071-PP-79JOSO2J","customer":"071-C-MNNDO390","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":"3eda2dcdde24b195f7ebe522e4efa619","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:16+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-4YEMY2F","payment_plan":"071-PP-79JOSO2J","reference":"3eda2dcdde24b195f7ebe522e4efa619-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
103
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-4XKOCOXV","payment_plan":"071-PP-79JOSO2J","reference":"3eda2dcdde24b195f7ebe522e4efa619-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
104
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-IOYNEJKY","payment_plan":"071-PP-79JOSO2J","reference":"3eda2dcdde24b195f7ebe522e4efa619-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
105
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-239FL416","payment_plan":"071-PP-79JOSO2J","reference":"3eda2dcdde24b195f7ebe522e4efa619-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
106
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-1E4PYGYI","payment_plan":"071-PP-79JOSO2J","reference":"3eda2dcdde24b195f7ebe522e4efa619-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:56 GMT
109
+ recorded_at: Mon, 29 Apr 2019 09:17:16 GMT
110
110
  - request:
111
111
  method: put
112
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-6SPX5LGX
112
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-79JOSO2J
113
113
  body:
114
114
  encoding: UTF-8
115
- string: '{"customer":"071-C-T6OMN5IL","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
116
- Card","reference":"69f056c256afd893c2d36703c1bf0851","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:56+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-685CS5DO","payment_plan":"071-PP-6SPX5LGX","reference":"69f056c256afd893c2d36703c1bf0851-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
117
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-KEPZUO04","payment_plan":"071-PP-6SPX5LGX","reference":"69f056c256afd893c2d36703c1bf0851-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
118
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-OSAK1TI1","payment_plan":"071-PP-6SPX5LGX","reference":"69f056c256afd893c2d36703c1bf0851-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
119
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-6CDX6JN3","payment_plan":"071-PP-6SPX5LGX","reference":"69f056c256afd893c2d36703c1bf0851-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
120
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-ZWFPL412","payment_plan":"071-PP-6SPX5LGX","reference":"69f056c256afd893c2d36703c1bf0851-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
115
+ string: '{"customer":"071-C-MNNDO390","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
116
+ Card","reference":"3eda2dcdde24b195f7ebe522e4efa619","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:16+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-4YEMY2F","payment_plan":"071-PP-79JOSO2J","reference":"3eda2dcdde24b195f7ebe522e4efa619-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
117
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-4XKOCOXV","payment_plan":"071-PP-79JOSO2J","reference":"3eda2dcdde24b195f7ebe522e4efa619-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
118
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-IOYNEJKY","payment_plan":"071-PP-79JOSO2J","reference":"3eda2dcdde24b195f7ebe522e4efa619-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
119
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-239FL416","payment_plan":"071-PP-79JOSO2J","reference":"3eda2dcdde24b195f7ebe522e4efa619-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
120
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-1E4PYGYI","payment_plan":"071-PP-79JOSO2J","reference":"3eda2dcdde24b195f7ebe522e4efa619-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
121
121
  Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
122
122
  headers:
123
123
  Accept-Encoding:
@@ -136,7 +136,7 @@ http_interactions:
136
136
  message: OK
137
137
  headers:
138
138
  Date:
139
- - Thu, 12 Jul 2018 03:20:57 GMT
139
+ - Mon, 29 Apr 2019 09:17:16 GMT
140
140
  Content-Type:
141
141
  - application/json; charset=utf-8
142
142
  Transfer-Encoding:
@@ -148,19 +148,19 @@ http_interactions:
148
148
  Cache-Control:
149
149
  - no-store
150
150
  X-Request-Version:
151
- - 1.16.9-3459@214bedf
151
+ - 1.16.9-3941@c1d8236
152
152
  X-Runtime:
153
- - '0.143183'
153
+ - '0.176959'
154
154
  Pragma:
155
155
  - no-cache
156
156
  X-Request-Id:
157
- - 2c2532624cc80638a194e0d0
157
+ - b97a47a279f47b906eee24e5
158
158
  X-Backend:
159
159
  - sbox-priv-gateway-a
160
160
  body:
161
161
  encoding: UTF-8
162
- string: '{"successful":true,"response":{"id":"071-PP-6SPX5LGX","customer":"071-C-T6OMN5IL","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
163
- Card","reference":"69f056c256afd893c2d36703c1bf0851","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-07-12T13:20:56+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
162
+ string: '{"successful":true,"response":{"id":"071-PP-79JOSO2J","customer":"071-C-MNNDO390","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
163
+ Card","reference":"3eda2dcdde24b195f7ebe522e4efa619","description":null,"status":"Suspended","status_reason":"Other","created_at":"2019-04-29T19:17:16+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
164
164
  http_version:
165
- recorded_at: Thu, 12 Jul 2018 03:20:56 GMT
165
+ recorded_at: Mon, 29 Apr 2019 09:17:16 GMT
166
166
  recorded_with: VCR 3.0.3