fat_zebra 3.0.11 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +3 -5
  3. data/.travis.yml +1 -2
  4. data/README.md +1 -1
  5. data/fat_zebra.gemspec +1 -1
  6. data/lib/fat_zebra/api_operation/search.rb +1 -1
  7. data/lib/fat_zebra/direct_credit.rb +1 -1
  8. data/lib/fat_zebra/direct_debit.rb +1 -1
  9. data/lib/fat_zebra/refund.rb +4 -0
  10. data/lib/fat_zebra/validation.rb +4 -0
  11. data/lib/fat_zebra/version.rb +1 -1
  12. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +34 -52
  13. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +34 -52
  14. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +34 -52
  15. data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +8 -14
  16. data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +8 -14
  17. data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +8 -14
  18. data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +18 -24
  19. data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +18 -24
  20. data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +18 -24
  21. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +103 -0
  22. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +22 -40
  23. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +22 -40
  24. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/failed_with_non-float/1_1_5_3_1.yml +52 -0
  25. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +103 -0
  26. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +22 -40
  27. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +22 -40
  28. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +52 -76
  29. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +52 -76
  30. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +22 -34
  31. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +22 -34
  32. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +22 -34
  33. data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +31 -49
  34. data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +31 -49
  35. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +35 -53
  36. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +35 -53
  37. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +35 -53
  38. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +37 -55
  39. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +37 -55
  40. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +31 -49
  41. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +31 -49
  42. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +31 -49
  43. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +37 -55
  44. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +37 -55
  45. data/spec/cassettes/FatZebra_Purchase/_search/1_3_1.yml +36 -54
  46. data/spec/cassettes/FatZebra_Purchase/_search/1_3_2.yml +36 -54
  47. data/spec/cassettes/FatZebra_Purchase/_search/1_3_3.yml +36 -54
  48. data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +18 -30
  49. data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +18 -30
  50. data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +18 -30
  51. data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +18 -30
  52. data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +18 -30
  53. data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +18 -30
  54. data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +18 -30
  55. data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +18 -30
  56. data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +18 -30
  57. data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +18 -30
  58. data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +27 -45
  59. data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +27 -45
  60. data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +27 -45
  61. data/spec/cassettes/FatZebra_Refund/_search/responds_with_the_newly-created_refunds.yml +214 -0
  62. data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +27 -45
  63. data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +27 -45
  64. data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +27 -45
  65. data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +27 -45
  66. data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +138 -93
  67. data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +140 -95
  68. data/spec/lib/fat_zebra/direct_credit_spec.rb +14 -1
  69. data/spec/lib/fat_zebra/direct_debit_spec.rb +14 -1
  70. data/spec/lib/fat_zebra/payment_plan_spec.rb +1 -1
  71. data/spec/lib/fat_zebra/refund_spec.rb +36 -16
  72. metadata +9 -7
  73. data/spec/cassettes/FatZebra_Refund/_search/1_3_1.yml +0 -295
  74. data/spec/cassettes/FatZebra_Refund/_search/1_3_2.yml +0 -295
@@ -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":"c3a3c2c388d960f019048bd518f23b1d","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"4e12a52a1540d95b32650750cb5d869c","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
- - Tue, 08 May 2018 11:06:59 GMT
28
+ - Thu, 12 Jul 2018 03:20:38 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,33 +37,27 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3186@7b619da
40
+ - 1.16.9-3459@214bedf
41
+ X-Runtime:
42
+ - '0.454033'
41
43
  Pragma:
42
44
  - no-cache
43
- X-Xss-Protection:
44
- - 1; mode=block
45
45
  X-Request-Id:
46
- - 3cdd16627f6d5fa0c7045338
47
- X-Runtime:
48
- - '0.458200'
49
- X-Frame-Options:
50
- - SAMEORIGIN
51
- X-Content-Type-Options:
52
- - nosniff
46
+ - c1c21530a2b280fc0bfef149
53
47
  X-Backend:
54
48
  - sbox-priv-gateway-a
55
49
  body:
56
50
  encoding: UTF-8
57
- string: '{"successful":true,"response":{"id":"071-C-X3TMUWBM","email":null,"reference":"c3a3c2c388d960f019048bd518f23b1d","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-08T21:06:59.201+10:00","address":{"address":"1
58
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8meoq","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-X1NFA2UX","email":null,"reference":"4e12a52a1540d95b32650750cb5d869c","first_name":"Harrold","last_name":"Humphries","created_at":"2018-07-12T13:20:38+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8a9hs","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
59
53
  http_version:
60
- recorded_at: Tue, 08 May 2018 11:06:59 GMT
54
+ recorded_at: Thu, 12 Jul 2018 03:20:37 GMT
61
55
  - request:
62
56
  method: post
63
57
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
64
58
  body:
65
59
  encoding: UTF-8
66
- string: '{"payment_method":"Credit Card","customer":"071-C-X3TMUWBM","reference":"103672a226bdd0745ed2d6fb9b9ee7ec","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
60
+ string: '{"payment_method":"Credit Card","customer":"071-C-X1NFA2UX","reference":"f16dd1b3c039e9b4842003ab4eec4837","setup_fee":0,"amount":100,"start_date":"2018-10-10","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
67
61
  headers:
68
62
  Accept-Encoding:
69
63
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -81,7 +75,7 @@ http_interactions:
81
75
  message: Created
82
76
  headers:
83
77
  Date:
84
- - Tue, 08 May 2018 11:07:00 GMT
78
+ - Thu, 12 Jul 2018 03:20:39 GMT
85
79
  Content-Type:
86
80
  - application/json; charset=utf-8
87
81
  Transfer-Encoding:
@@ -93,35 +87,29 @@ http_interactions:
93
87
  Cache-Control:
94
88
  - no-store
95
89
  X-Request-Version:
96
- - 1.16.9-3186@7b619da
90
+ - 1.16.9-3459@214bedf
91
+ X-Runtime:
92
+ - '0.249886'
97
93
  Pragma:
98
94
  - no-cache
99
- X-Xss-Protection:
100
- - 1; mode=block
101
95
  X-Request-Id:
102
- - 7104f236130aaca179198c3c
103
- X-Runtime:
104
- - '0.321201'
105
- X-Frame-Options:
106
- - SAMEORIGIN
107
- X-Content-Type-Options:
108
- - nosniff
96
+ - 4969c83af1f7f92a4c9053ef
109
97
  X-Backend:
110
98
  - sbox-priv-gateway-a
111
99
  body:
112
100
  encoding: UTF-8
113
- string: '{"successful":true,"response":{"id":"071-PP-DA2UT8AT","customer":"071-C-X3TMUWBM","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
114
- Card","reference":"103672a226bdd0745ed2d6fb9b9ee7ec","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-08T21:06:59.728+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-G15Z63NH","payment_plan":"071-PP-DA2UT8AT","reference":"103672a226bdd0745ed2d6fb9b9ee7ec-0001","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
115
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-JRY6AFWF","payment_plan":"071-PP-DA2UT8AT","reference":"103672a226bdd0745ed2d6fb9b9ee7ec-0002","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
116
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-XCEN271M","payment_plan":"071-PP-DA2UT8AT","reference":"103672a226bdd0745ed2d6fb9b9ee7ec-0003","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
117
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-A1L0UX8A","payment_plan":"071-PP-DA2UT8AT","reference":"103672a226bdd0745ed2d6fb9b9ee7ec-0004","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
118
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-E7GHPHBE","payment_plan":"071-PP-DA2UT8AT","reference":"103672a226bdd0745ed2d6fb9b9ee7ec-0005","amount":100,"currency":null,"scheduled_date":"2018-06-08","payment_method":"Credit
101
+ string: '{"successful":true,"response":{"id":"071-PP-98RFR915","customer":"071-C-X1NFA2UX","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":"f16dd1b3c039e9b4842003ab4eec4837","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:38+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-A2GW3R0A","payment_plan":"071-PP-98RFR915","reference":"f16dd1b3c039e9b4842003ab4eec4837-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
103
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-MTLYB5QA","payment_plan":"071-PP-98RFR915","reference":"f16dd1b3c039e9b4842003ab4eec4837-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
104
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-PWO9RPRU","payment_plan":"071-PP-98RFR915","reference":"f16dd1b3c039e9b4842003ab4eec4837-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
105
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-6YF48OYV","payment_plan":"071-PP-98RFR915","reference":"f16dd1b3c039e9b4842003ab4eec4837-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
106
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-PLA0K2YW","payment_plan":"071-PP-98RFR915","reference":"f16dd1b3c039e9b4842003ab4eec4837-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
119
107
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
120
108
  http_version:
121
- recorded_at: Tue, 08 May 2018 11:07:00 GMT
109
+ recorded_at: Thu, 12 Jul 2018 03:20:38 GMT
122
110
  - request:
123
111
  method: put
124
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-DA2UT8AT
112
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-98RFR915
125
113
  body:
126
114
  encoding: UTF-8
127
115
  string: '{"new_status":"Suspended","test":true}'
@@ -142,7 +130,7 @@ http_interactions:
142
130
  message: OK
143
131
  headers:
144
132
  Date:
145
- - Tue, 08 May 2018 11:07:00 GMT
133
+ - Thu, 12 Jul 2018 03:20:39 GMT
146
134
  Content-Type:
147
135
  - application/json; charset=utf-8
148
136
  Transfer-Encoding:
@@ -154,25 +142,19 @@ http_interactions:
154
142
  Cache-Control:
155
143
  - no-store
156
144
  X-Request-Version:
157
- - 1.16.9-3186@7b619da
145
+ - 1.16.9-3459@214bedf
146
+ X-Runtime:
147
+ - '0.123866'
158
148
  Pragma:
159
149
  - no-cache
160
- X-Xss-Protection:
161
- - 1; mode=block
162
150
  X-Request-Id:
163
- - e685d148247797c0b24ba762
164
- X-Runtime:
165
- - '0.199321'
166
- X-Frame-Options:
167
- - SAMEORIGIN
168
- X-Content-Type-Options:
169
- - nosniff
151
+ - ae00499587b1752d603ee127
170
152
  X-Backend:
171
153
  - sbox-priv-gateway-a
172
154
  body:
173
155
  encoding: UTF-8
174
- string: '{"successful":true,"response":{"id":"071-PP-DA2UT8AT","customer":"071-C-X3TMUWBM","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
175
- Card","reference":"103672a226bdd0745ed2d6fb9b9ee7ec","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-05-08T21:06:59.728+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
156
+ string: '{"successful":true,"response":{"id":"071-PP-98RFR915","customer":"071-C-X1NFA2UX","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
157
+ Card","reference":"f16dd1b3c039e9b4842003ab4eec4837","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-07-12T13:20:38+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
176
158
  http_version:
177
- recorded_at: Tue, 08 May 2018 11:07:00 GMT
159
+ recorded_at: Thu, 12 Jul 2018 03:20:39 GMT
178
160
  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":"710c542b88c1b862fce92962b8d98b52","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"b936c129068e8609ecf222e9a16cf0ff","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
- - Tue, 08 May 2018 11:07:00 GMT
28
+ - Thu, 12 Jul 2018 03:20:41 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,33 +37,27 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3186@7b619da
40
+ - 1.16.9-3459@214bedf
41
+ X-Runtime:
42
+ - '0.460807'
41
43
  Pragma:
42
44
  - no-cache
43
- X-Xss-Protection:
44
- - 1; mode=block
45
45
  X-Request-Id:
46
- - 4f2bdc36dd43f6c621895ed0
47
- X-Runtime:
48
- - '0.435062'
49
- X-Frame-Options:
50
- - SAMEORIGIN
51
- X-Content-Type-Options:
52
- - nosniff
46
+ - 65c8a66e05ca49117afb83f8
53
47
  X-Backend:
54
48
  - sbox-priv-gateway-a
55
49
  body:
56
50
  encoding: UTF-8
57
- string: '{"successful":true,"response":{"id":"071-C-PTCQVWF8","email":null,"reference":"710c542b88c1b862fce92962b8d98b52","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-08T21:07:00.420+10:00","address":{"address":"1
58
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8god5","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-LCF26DLD","email":null,"reference":"b936c129068e8609ecf222e9a16cf0ff","first_name":"Harrold","last_name":"Humphries","created_at":"2018-07-12T13:20:40+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8uf3e","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
59
53
  http_version:
60
- recorded_at: Tue, 08 May 2018 11:07:00 GMT
54
+ recorded_at: Thu, 12 Jul 2018 03:20:40 GMT
61
55
  - request:
62
56
  method: post
63
57
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
64
58
  body:
65
59
  encoding: UTF-8
66
- string: '{"payment_method":"Credit Card","customer":"071-C-PTCQVWF8","reference":"0fbe0b39090758988ecef61710813a1f","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
60
+ string: '{"payment_method":"Credit Card","customer":"071-C-LCF26DLD","reference":"758646dc116d47d2978d33aa2d75e78e","setup_fee":0,"amount":100,"start_date":"2018-10-10","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
67
61
  headers:
68
62
  Accept-Encoding:
69
63
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -81,7 +75,7 @@ http_interactions:
81
75
  message: Created
82
76
  headers:
83
77
  Date:
84
- - Tue, 08 May 2018 11:07:01 GMT
78
+ - Thu, 12 Jul 2018 03:20:42 GMT
85
79
  Content-Type:
86
80
  - application/json; charset=utf-8
87
81
  Transfer-Encoding:
@@ -93,35 +87,29 @@ http_interactions:
93
87
  Cache-Control:
94
88
  - no-store
95
89
  X-Request-Version:
96
- - 1.16.9-3186@7b619da
90
+ - 1.16.9-3459@214bedf
91
+ X-Runtime:
92
+ - '0.258762'
97
93
  Pragma:
98
94
  - no-cache
99
- X-Xss-Protection:
100
- - 1; mode=block
101
95
  X-Request-Id:
102
- - 7aab65adf94ca320e73532b1
103
- X-Runtime:
104
- - '0.239235'
105
- X-Frame-Options:
106
- - SAMEORIGIN
107
- X-Content-Type-Options:
108
- - nosniff
96
+ - e054b0a9159030d0c345221a
109
97
  X-Backend:
110
98
  - sbox-priv-gateway-a
111
99
  body:
112
100
  encoding: UTF-8
113
- string: '{"successful":true,"response":{"id":"071-PP-NU2AG07","customer":"071-C-PTCQVWF8","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
114
- Card","reference":"0fbe0b39090758988ecef61710813a1f","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-08T21:07:00.928+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-OIYG979F","payment_plan":"071-PP-NU2AG07","reference":"0fbe0b39090758988ecef61710813a1f-0001","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
115
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-CFDHYSW2","payment_plan":"071-PP-NU2AG07","reference":"0fbe0b39090758988ecef61710813a1f-0002","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
116
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-2F7T46W6","payment_plan":"071-PP-NU2AG07","reference":"0fbe0b39090758988ecef61710813a1f-0003","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
117
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-ADPZ6YS9","payment_plan":"071-PP-NU2AG07","reference":"0fbe0b39090758988ecef61710813a1f-0004","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
118
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-7O815BPW","payment_plan":"071-PP-NU2AG07","reference":"0fbe0b39090758988ecef61710813a1f-0005","amount":100,"currency":null,"scheduled_date":"2018-06-08","payment_method":"Credit
101
+ string: '{"successful":true,"response":{"id":"071-PP-67WFO2N2","customer":"071-C-LCF26DLD","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":"758646dc116d47d2978d33aa2d75e78e","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:41+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-P6LT8GPZ","payment_plan":"071-PP-67WFO2N2","reference":"758646dc116d47d2978d33aa2d75e78e-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
103
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-MC8A1MNN","payment_plan":"071-PP-67WFO2N2","reference":"758646dc116d47d2978d33aa2d75e78e-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
104
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-7KTNC7PJ","payment_plan":"071-PP-67WFO2N2","reference":"758646dc116d47d2978d33aa2d75e78e-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
105
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-EHV34CZG","payment_plan":"071-PP-67WFO2N2","reference":"758646dc116d47d2978d33aa2d75e78e-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
106
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-CJZ0JBZW","payment_plan":"071-PP-67WFO2N2","reference":"758646dc116d47d2978d33aa2d75e78e-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
119
107
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
120
108
  http_version:
121
- recorded_at: Tue, 08 May 2018 11:07:01 GMT
109
+ recorded_at: Thu, 12 Jul 2018 03:20:41 GMT
122
110
  - request:
123
111
  method: put
124
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-NU2AG07
112
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-67WFO2N2
125
113
  body:
126
114
  encoding: UTF-8
127
115
  string: '{"new_status":"Suspended","test":true}'
@@ -142,7 +130,7 @@ http_interactions:
142
130
  message: OK
143
131
  headers:
144
132
  Date:
145
- - Tue, 08 May 2018 11:07:01 GMT
133
+ - Thu, 12 Jul 2018 03:20:42 GMT
146
134
  Content-Type:
147
135
  - application/json; charset=utf-8
148
136
  Transfer-Encoding:
@@ -154,25 +142,19 @@ http_interactions:
154
142
  Cache-Control:
155
143
  - no-store
156
144
  X-Request-Version:
157
- - 1.16.9-3186@7b619da
145
+ - 1.16.9-3459@214bedf
146
+ X-Runtime:
147
+ - '0.117293'
158
148
  Pragma:
159
149
  - no-cache
160
- X-Xss-Protection:
161
- - 1; mode=block
162
150
  X-Request-Id:
163
- - 2980608813e949dec0b3f828
164
- X-Runtime:
165
- - '0.117961'
166
- X-Frame-Options:
167
- - SAMEORIGIN
168
- X-Content-Type-Options:
169
- - nosniff
151
+ - a1fcb79df0a6cd5dc7a9abf2
170
152
  X-Backend:
171
153
  - sbox-priv-gateway-a
172
154
  body:
173
155
  encoding: UTF-8
174
- string: '{"successful":true,"response":{"id":"071-PP-NU2AG07","customer":"071-C-PTCQVWF8","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
175
- Card","reference":"0fbe0b39090758988ecef61710813a1f","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-05-08T21:07:00.928+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
156
+ string: '{"successful":true,"response":{"id":"071-PP-67WFO2N2","customer":"071-C-LCF26DLD","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
157
+ Card","reference":"758646dc116d47d2978d33aa2d75e78e","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-07-12T13:20:41+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
176
158
  http_version:
177
- recorded_at: Tue, 08 May 2018 11:07:01 GMT
159
+ recorded_at: Thu, 12 Jul 2018 03:20:41 GMT
178
160
  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":"0a985b2b2a47cee9ae4ac1e5cadd3c20","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"f858b67e237bb8de81cdbf0f3a25e5b8","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
- - Tue, 08 May 2018 11:07:01 GMT
28
+ - Thu, 12 Jul 2018 03:20:43 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,33 +37,27 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3186@7b619da
40
+ - 1.16.9-3459@214bedf
41
+ X-Runtime:
42
+ - '0.444629'
41
43
  Pragma:
42
44
  - no-cache
43
- X-Xss-Protection:
44
- - 1; mode=block
45
45
  X-Request-Id:
46
- - b9a3fbaa07539fed3498e584
47
- X-Runtime:
48
- - '0.449443'
49
- X-Frame-Options:
50
- - SAMEORIGIN
51
- X-Content-Type-Options:
52
- - nosniff
46
+ - 181d789fa73bc7eda4640fe1
53
47
  X-Backend:
54
48
  - sbox-priv-gateway-a
55
49
  body:
56
50
  encoding: UTF-8
57
- string: '{"successful":true,"response":{"id":"071-C-7S0IB1U0","email":null,"reference":"0a985b2b2a47cee9ae4ac1e5cadd3c20","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-08T21:07:01.445+10:00","address":{"address":"1
58
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8gd8c","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-FF37KW42","email":null,"reference":"f858b67e237bb8de81cdbf0f3a25e5b8","first_name":"Harrold","last_name":"Humphries","created_at":"2018-07-12T13:20:43+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke80qqs","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
59
53
  http_version:
60
- recorded_at: Tue, 08 May 2018 11:07:01 GMT
54
+ recorded_at: Thu, 12 Jul 2018 03:20:43 GMT
61
55
  - request:
62
56
  method: post
63
57
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
64
58
  body:
65
59
  encoding: UTF-8
66
- string: '{"payment_method":"Credit Card","customer":"071-C-7S0IB1U0","reference":"1a1a604fb3ebd1265166149375d76272","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
60
+ string: '{"payment_method":"Credit Card","customer":"071-C-FF37KW42","reference":"dba1d26530562aa254803865d1ebd622","setup_fee":0,"amount":100,"start_date":"2018-10-10","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
67
61
  headers:
68
62
  Accept-Encoding:
69
63
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -81,7 +75,7 @@ http_interactions:
81
75
  message: Created
82
76
  headers:
83
77
  Date:
84
- - Tue, 08 May 2018 11:07:02 GMT
78
+ - Thu, 12 Jul 2018 03:20:44 GMT
85
79
  Content-Type:
86
80
  - application/json; charset=utf-8
87
81
  Transfer-Encoding:
@@ -93,43 +87,37 @@ http_interactions:
93
87
  Cache-Control:
94
88
  - no-store
95
89
  X-Request-Version:
96
- - 1.16.9-3186@7b619da
90
+ - 1.16.9-3459@214bedf
91
+ X-Runtime:
92
+ - '0.265487'
97
93
  Pragma:
98
94
  - no-cache
99
- X-Xss-Protection:
100
- - 1; mode=block
101
95
  X-Request-Id:
102
- - 84df58db30be56e87cbf514d
103
- X-Runtime:
104
- - '0.272847'
105
- X-Frame-Options:
106
- - SAMEORIGIN
107
- X-Content-Type-Options:
108
- - nosniff
96
+ - d6ed3b10d0b73f7d72d70237
109
97
  X-Backend:
110
98
  - sbox-priv-gateway-a
111
99
  body:
112
100
  encoding: UTF-8
113
- string: '{"successful":true,"response":{"id":"071-PP-UHL4W022","customer":"071-C-7S0IB1U0","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
114
- Card","reference":"1a1a604fb3ebd1265166149375d76272","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-08T21:07:02.061+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-2MV18M3J","payment_plan":"071-PP-UHL4W022","reference":"1a1a604fb3ebd1265166149375d76272-0001","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
115
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-MIF0FS9D","payment_plan":"071-PP-UHL4W022","reference":"1a1a604fb3ebd1265166149375d76272-0002","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
116
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-L2FTDQK2","payment_plan":"071-PP-UHL4W022","reference":"1a1a604fb3ebd1265166149375d76272-0003","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
117
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-7C7UTFE4","payment_plan":"071-PP-UHL4W022","reference":"1a1a604fb3ebd1265166149375d76272-0004","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
118
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-UUXMOGVT","payment_plan":"071-PP-UHL4W022","reference":"1a1a604fb3ebd1265166149375d76272-0005","amount":100,"currency":null,"scheduled_date":"2018-06-08","payment_method":"Credit
101
+ string: '{"successful":true,"response":{"id":"071-PP-UY0L2C1R","customer":"071-C-FF37KW42","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":"dba1d26530562aa254803865d1ebd622","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:44+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-BKXFJU2J","payment_plan":"071-PP-UY0L2C1R","reference":"dba1d26530562aa254803865d1ebd622-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
103
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-7FZ4O38D","payment_plan":"071-PP-UY0L2C1R","reference":"dba1d26530562aa254803865d1ebd622-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
104
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-W2X2L1A4","payment_plan":"071-PP-UY0L2C1R","reference":"dba1d26530562aa254803865d1ebd622-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
105
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-FADGI534","payment_plan":"071-PP-UY0L2C1R","reference":"dba1d26530562aa254803865d1ebd622-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
106
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-O6KR93HX","payment_plan":"071-PP-UY0L2C1R","reference":"dba1d26530562aa254803865d1ebd622-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
119
107
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
120
108
  http_version:
121
- recorded_at: Tue, 08 May 2018 11:07:02 GMT
109
+ recorded_at: Thu, 12 Jul 2018 03:20:43 GMT
122
110
  - request:
123
111
  method: put
124
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-UHL4W022
112
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-UY0L2C1R
125
113
  body:
126
114
  encoding: UTF-8
127
- string: '{"customer":"071-C-7S0IB1U0","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
128
- Card","reference":"1a1a604fb3ebd1265166149375d76272","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-08T21:07:02.061+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-2MV18M3J","payment_plan":"071-PP-UHL4W022","reference":"1a1a604fb3ebd1265166149375d76272-0001","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
129
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-MIF0FS9D","payment_plan":"071-PP-UHL4W022","reference":"1a1a604fb3ebd1265166149375d76272-0002","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
130
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-L2FTDQK2","payment_plan":"071-PP-UHL4W022","reference":"1a1a604fb3ebd1265166149375d76272-0003","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
131
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-7C7UTFE4","payment_plan":"071-PP-UHL4W022","reference":"1a1a604fb3ebd1265166149375d76272-0004","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
132
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-UUXMOGVT","payment_plan":"071-PP-UHL4W022","reference":"1a1a604fb3ebd1265166149375d76272-0005","amount":100,"currency":null,"scheduled_date":"2018-06-08","payment_method":"Credit
115
+ string: '{"customer":"071-C-FF37KW42","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":"dba1d26530562aa254803865d1ebd622","description":null,"status":"Active","status_reason":"None","created_at":"2018-07-12T13:20:44+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-BKXFJU2J","payment_plan":"071-PP-UY0L2C1R","reference":"dba1d26530562aa254803865d1ebd622-0001","amount":100,"currency":null,"scheduled_date":"2018-10-12","payment_method":"Credit
117
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-7FZ4O38D","payment_plan":"071-PP-UY0L2C1R","reference":"dba1d26530562aa254803865d1ebd622-0002","amount":100,"currency":null,"scheduled_date":"2018-10-19","payment_method":"Credit
118
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-W2X2L1A4","payment_plan":"071-PP-UY0L2C1R","reference":"dba1d26530562aa254803865d1ebd622-0003","amount":100,"currency":null,"scheduled_date":"2018-10-26","payment_method":"Credit
119
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-FADGI534","payment_plan":"071-PP-UY0L2C1R","reference":"dba1d26530562aa254803865d1ebd622-0004","amount":100,"currency":null,"scheduled_date":"2018-11-02","payment_method":"Credit
120
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-O6KR93HX","payment_plan":"071-PP-UY0L2C1R","reference":"dba1d26530562aa254803865d1ebd622-0005","amount":100,"currency":null,"scheduled_date":"2018-11-09","payment_method":"Credit
133
121
  Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
134
122
  headers:
135
123
  Accept-Encoding:
@@ -148,7 +136,7 @@ http_interactions:
148
136
  message: OK
149
137
  headers:
150
138
  Date:
151
- - Tue, 08 May 2018 11:07:02 GMT
139
+ - Thu, 12 Jul 2018 03:20:45 GMT
152
140
  Content-Type:
153
141
  - application/json; charset=utf-8
154
142
  Transfer-Encoding:
@@ -160,25 +148,19 @@ http_interactions:
160
148
  Cache-Control:
161
149
  - no-store
162
150
  X-Request-Version:
163
- - 1.16.9-3186@7b619da
151
+ - 1.16.9-3459@214bedf
152
+ X-Runtime:
153
+ - '0.129528'
164
154
  Pragma:
165
155
  - no-cache
166
- X-Xss-Protection:
167
- - 1; mode=block
168
156
  X-Request-Id:
169
- - d460d128d061b61af54e0c66
170
- X-Runtime:
171
- - '0.118236'
172
- X-Frame-Options:
173
- - SAMEORIGIN
174
- X-Content-Type-Options:
175
- - nosniff
157
+ - bae12be8bdfcc075e1ac1e15
176
158
  X-Backend:
177
159
  - sbox-priv-gateway-a
178
160
  body:
179
161
  encoding: UTF-8
180
- string: '{"successful":true,"response":{"id":"071-PP-UHL4W022","customer":"071-C-7S0IB1U0","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
181
- Card","reference":"1a1a604fb3ebd1265166149375d76272","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-05-08T21:07:02.061+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-UY0L2C1R","customer":"071-C-FF37KW42","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":"dba1d26530562aa254803865d1ebd622","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-07-12T13:20:44+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
182
164
  http_version:
183
- recorded_at: Tue, 08 May 2018 11:07:02 GMT
165
+ recorded_at: Thu, 12 Jul 2018 03:20:44 GMT
184
166
  recorded_with: VCR 3.0.3