remitano 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/remitano/client/merchant_charges.rb +2 -2
- data/lib/remitano/client/merchant_withdrawals.rb +2 -2
- data/lib/remitano/version.rb +1 -1
- data/spec/client/merchant_charges_spec.rb +5 -3
- data/spec/client/merchant_withdrawals_spec.rb +14 -10
- data/spec/fixtures/vcr_cassettes/Remitano_Client_merchant_charges/_create/invalid_params/raises_error.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Remitano_Client_merchant_charges/_create/valid_params/returns_created_charge.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Remitano_Client_merchant_charges/_get/object_exists/returns_charge_data.yml +9 -9
- data/spec/fixtures/vcr_cassettes/Remitano_Client_merchant_charges/_get/object_not_found/raises_error.yml +4861 -6
- data/spec/fixtures/vcr_cassettes/Remitano_Client_merchant_withdrawals/_create/invalid_params/raises_error.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Remitano_Client_merchant_withdrawals/_create/valid_params/auto_confirms_withdrawal_with_htop_and_returns_created_withdrawal.yml +34 -181
- data/spec/fixtures/vcr_cassettes/Remitano_Client_merchant_withdrawals/_get/object_exists/returns_withdrawal_data.yml +9 -9
- data/spec/fixtures/vcr_cassettes/Remitano_Client_merchant_withdrawals/_get/object_not_found/raises_error.yml +6 -6
- metadata +2 -2
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: REMITANO_SERVER/api/v1/merchant/
|
5
|
+
uri: REMITANO_SERVER/api/v1/merchant/merchant_withdrawals
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"merchant_withdrawal_ref":"akh9r1h29e1","coin_currency":"xrp","coin_amount":10.99,"receiver_pay_fee":true,"cancelled_or_completed_callback_url":"http://sample.com/123/callback","coin_address":"rLpumSZQNJ6Cve7hfQcdkG9rJbJhkSV8AD0","destination_tag":1710676231,"remitano_username":null,"remitano_phone_number":null,"usec":0}'
|
@@ -16,9 +16,9 @@ http_interactions:
|
|
16
16
|
Content-Type:
|
17
17
|
- application/json
|
18
18
|
Date:
|
19
|
-
-
|
19
|
+
- Fri, 28 May 2021 07:02:24 GMT
|
20
20
|
Authorization:
|
21
|
-
- APIAuth REMITANO_KEY:
|
21
|
+
- APIAuth REMITANO_KEY:nAB2+jda7tI/NBqVgd1UgTKOnhY=
|
22
22
|
Content-Length:
|
23
23
|
- '323'
|
24
24
|
Host:
|
@@ -33,20 +33,20 @@ http_interactions:
|
|
33
33
|
Cache-Control:
|
34
34
|
- no-cache
|
35
35
|
Set-Cookie:
|
36
|
-
- _admin_session=
|
37
|
-
2021 07:
|
36
|
+
- _admin_session=29a7bfa652f2c6d8fc8dea4a718b792a; path=/; expires=Mon, 28 Jun
|
37
|
+
2021 07:02:25 -0000; HttpOnly; SameSite=Lax
|
38
38
|
X-Request-Id:
|
39
|
-
-
|
39
|
+
- 7ed49108-a473-4dfa-9926-e8ac8f710169
|
40
40
|
X-Runtime:
|
41
|
-
- '0.
|
41
|
+
- '0.136581'
|
42
42
|
Vary:
|
43
43
|
- Origin
|
44
44
|
Content-Length:
|
45
|
-
- '
|
45
|
+
- '122'
|
46
46
|
body:
|
47
47
|
encoding: UTF-8
|
48
|
-
string: '{"error":"Merchant withdrawal ref has already been taken, Coin
|
49
|
-
is invalid"}'
|
48
|
+
string: '{"error":"Merchant withdrawal ref has already been taken, Coin amount
|
49
|
+
exceeds available balance, Coin address is invalid"}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Fri, 28 May 2021 07:02:25 GMT
|
52
52
|
recorded_with: VCR 4.0.0
|
@@ -2,10 +2,10 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: REMITANO_SERVER/api/v1/
|
5
|
+
uri: REMITANO_SERVER/api/v1/merchant/merchant_withdrawals
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"
|
8
|
+
string: '{"merchant_withdrawal_ref":"akh9r1h29e19","coin_currency":"xrp","coin_amount":10.99,"receiver_pay_fee":true,"cancelled_or_completed_callback_url":"http://sample.com/123/callback","coin_address":"rLpumSZQNJ6Cve7hfQcdkG9rJbJhkSV8AD","destination_tag":1710676231,"remitano_username":null,"remitano_phone_number":null,"usec":0}'
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*"
|
@@ -16,156 +16,9 @@ http_interactions:
|
|
16
16
|
Content-Type:
|
17
17
|
- application/json
|
18
18
|
Date:
|
19
|
-
-
|
19
|
+
- Fri, 28 May 2021 07:06:08 GMT
|
20
20
|
Authorization:
|
21
|
-
- APIAuth REMITANO_KEY:
|
22
|
-
Content-Length:
|
23
|
-
- '27'
|
24
|
-
Host:
|
25
|
-
- localhost:3100
|
26
|
-
response:
|
27
|
-
status:
|
28
|
-
code: 201
|
29
|
-
message: Created
|
30
|
-
headers:
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Etag:
|
34
|
-
- W/"6a24ce0fec82f4d0ee8c21aaf6c4044e"
|
35
|
-
Cache-Control:
|
36
|
-
- max-age=0, private, must-revalidate
|
37
|
-
Set-Cookie:
|
38
|
-
- _admin_session=f3a58b419052144976e1cf0ecbadf788; path=/; expires=Sun, 20 Jun
|
39
|
-
2021 08:01:24 -0000; HttpOnly; SameSite=Lax
|
40
|
-
X-Request-Id:
|
41
|
-
- 114f7ae8-3bbd-43d4-a4bc-ec5305fe0369
|
42
|
-
X-Runtime:
|
43
|
-
- '4.102672'
|
44
|
-
Vary:
|
45
|
-
- Origin
|
46
|
-
Content-Length:
|
47
|
-
- '641'
|
48
|
-
body:
|
49
|
-
encoding: UTF-8
|
50
|
-
string: '{"id":29,"status":"confirmed","actionable_type":"MerchantWithdrawalRequest","action":"confirm_by_action_confirmation!","via":"authenticator","status_explanation":"confirmed
|
51
|
-
with token 285110","actionable_id":14,"message":null,"is_action_confirmation":true,"actionable":{"id":14,"merchant_withdrawal_ref":"akh9r1h29e14","status":"processing","coin_amount":10.99,"coin_currency":"xrp","coin_fee":2.0e-05,"receiver_pay_fee":true,"action_confirmation_id":29,"otp_counter":29,"coin_address":"rLpumSZQNJ6Cve7hfQcdkG9rJbJhkSV8AD","destination_tag":1710676231,"remitano_username":null,"remitano_phone_number":null,"created_at_timestamp":1621497678}}'
|
52
|
-
http_version:
|
53
|
-
recorded_at: Thu, 20 May 2021 08:01:24 GMT
|
54
|
-
- request:
|
55
|
-
method: post
|
56
|
-
uri: REMITANO_SERVER/api/v1/action_confirmations/31/confirm
|
57
|
-
body:
|
58
|
-
encoding: UTF-8
|
59
|
-
string: '{"token":"369819","usec":0}'
|
60
|
-
headers:
|
61
|
-
Accept:
|
62
|
-
- "*/*"
|
63
|
-
Accept-Encoding:
|
64
|
-
- gzip, deflate
|
65
|
-
User-Agent:
|
66
|
-
- rest-client/2.0.2 (darwin18.6.0 x86_64) ruby/2.4.3p205
|
67
|
-
Content-Type:
|
68
|
-
- application/json
|
69
|
-
Date:
|
70
|
-
- Sun, 23 May 2021 16:09:38 GMT
|
71
|
-
Authorization:
|
72
|
-
- APIAuth REMITANO_KEY:2M2bnlLPomohSx9cRR1MwvLFunI=
|
73
|
-
Content-Length:
|
74
|
-
- '27'
|
75
|
-
Host:
|
76
|
-
- localhost:3100
|
77
|
-
response:
|
78
|
-
status:
|
79
|
-
code: 201
|
80
|
-
message: Created
|
81
|
-
headers:
|
82
|
-
Content-Type:
|
83
|
-
- application/json
|
84
|
-
Etag:
|
85
|
-
- W/"7494711ee91011552574178edcf0f3a8"
|
86
|
-
Cache-Control:
|
87
|
-
- max-age=0, private, must-revalidate
|
88
|
-
Set-Cookie:
|
89
|
-
- _admin_session=9006016efaeeb2bd94a628a3777bf499; path=/; expires=Wed, 23 Jun
|
90
|
-
2021 16:09:38 -0000; HttpOnly; SameSite=Lax
|
91
|
-
X-Request-Id:
|
92
|
-
- 6f811443-6a0b-4b86-becb-be016d520dd8
|
93
|
-
X-Runtime:
|
94
|
-
- '0.433159'
|
95
|
-
Vary:
|
96
|
-
- Origin
|
97
|
-
Content-Length:
|
98
|
-
- '716'
|
99
|
-
body:
|
100
|
-
encoding: UTF-8
|
101
|
-
string: '{"id":31,"status":"confirmed","actionable_type":"MerchantWithdrawalRequest","action":"confirm_by_action_confirmation!","via":"authenticator","status_explanation":"confirmed
|
102
|
-
with token 369819","actionable_id":15,"message":null,"is_action_confirmation":true,"actionable":{"id":15,"merchant_withdrawal_ref":"akh9r1h29e15","status":"processing","coin_amount":10.99,"coin_currency":"xrp","coin_fee":2.0e-05,"receiver_pay_fee":true,"action_confirmation_id":null,"otp_counter":null,"coin_address":"rLpumSZQNJ6Cve7hfQcdkG9rJbJhkSV8AD","destination_tag":1710676231,"remitano_username":null,"remitano_phone_number":null,"cancelled_or_completed_callback_url":"http://sample.com/123/callback","created_at_timestamp":1621786177}}'
|
103
|
-
http_version:
|
104
|
-
recorded_at: Sun, 23 May 2021 16:09:38 GMT
|
105
|
-
- request:
|
106
|
-
method: get
|
107
|
-
uri: REMITANO_SERVER/api/v1/merchant/merchant_withdrawal_requests/15?usec=0
|
108
|
-
body:
|
109
|
-
encoding: US-ASCII
|
110
|
-
string: ''
|
111
|
-
headers:
|
112
|
-
Accept:
|
113
|
-
- "*/*"
|
114
|
-
Accept-Encoding:
|
115
|
-
- gzip, deflate
|
116
|
-
User-Agent:
|
117
|
-
- rest-client/2.0.2 (darwin18.6.0 x86_64) ruby/2.4.3p205
|
118
|
-
Content-Type:
|
119
|
-
- application/json
|
120
|
-
Date:
|
121
|
-
- Sun, 23 May 2021 16:09:38 GMT
|
122
|
-
Authorization:
|
123
|
-
- APIAuth REMITANO_KEY:tjSFfVrjAcrt2R9jUBjWNYL+OR8=
|
124
|
-
Host:
|
125
|
-
- localhost:3100
|
126
|
-
response:
|
127
|
-
status:
|
128
|
-
code: 200
|
129
|
-
message: OK
|
130
|
-
headers:
|
131
|
-
Content-Type:
|
132
|
-
- application/json
|
133
|
-
Etag:
|
134
|
-
- W/"ff471cd0aefd9753aa2f75eb19340b7e"
|
135
|
-
Cache-Control:
|
136
|
-
- max-age=0, private, must-revalidate
|
137
|
-
X-Request-Id:
|
138
|
-
- 945da3d6-5fd4-4232-8ee8-3a1bcbc47e4b
|
139
|
-
X-Runtime:
|
140
|
-
- '0.044942'
|
141
|
-
Vary:
|
142
|
-
- Origin
|
143
|
-
Content-Length:
|
144
|
-
- '446'
|
145
|
-
body:
|
146
|
-
encoding: UTF-8
|
147
|
-
string: '{"id":15,"merchant_withdrawal_ref":"akh9r1h29e15","status":"processing","coin_amount":10.99,"coin_currency":"xrp","coin_fee":2.0e-05,"receiver_pay_fee":true,"action_confirmation_id":null,"otp_counter":null,"coin_address":"rLpumSZQNJ6Cve7hfQcdkG9rJbJhkSV8AD","destination_tag":1710676231,"remitano_username":null,"remitano_phone_number":null,"cancelled_or_completed_callback_url":"http://sample.com/123/callback","created_at_timestamp":1621786177}'
|
148
|
-
http_version:
|
149
|
-
recorded_at: Sun, 23 May 2021 16:09:38 GMT
|
150
|
-
- request:
|
151
|
-
method: post
|
152
|
-
uri: REMITANO_SERVER/api/v1/merchant/merchant_withdrawal_requests
|
153
|
-
body:
|
154
|
-
encoding: UTF-8
|
155
|
-
string: '{"merchant_withdrawal_ref":"akh9r1h29e16","coin_currency":"xrp","coin_amount":10.99,"receiver_pay_fee":true,"cancelled_or_completed_callback_url":"http://sample.com/123/callback","coin_address":"rLpumSZQNJ6Cve7hfQcdkG9rJbJhkSV8AD","destination_tag":1710676231,"remitano_username":null,"remitano_phone_number":null,"usec":0}'
|
156
|
-
headers:
|
157
|
-
Accept:
|
158
|
-
- "*/*"
|
159
|
-
Accept-Encoding:
|
160
|
-
- gzip, deflate
|
161
|
-
User-Agent:
|
162
|
-
- rest-client/2.0.2 (darwin18.6.0 x86_64) ruby/2.4.3p205
|
163
|
-
Content-Type:
|
164
|
-
- application/json
|
165
|
-
Date:
|
166
|
-
- Sun, 23 May 2021 16:10:47 GMT
|
167
|
-
Authorization:
|
168
|
-
- APIAuth REMITANO_KEY:HIvYgAFYXmeK+6kaWoh9pQ7WdaE=
|
21
|
+
- APIAuth REMITANO_KEY:GlE2grCY0oSAWjw70i054pgyHNs=
|
169
22
|
Content-Length:
|
170
23
|
- '323'
|
171
24
|
Host:
|
@@ -178,31 +31,31 @@ http_interactions:
|
|
178
31
|
Content-Type:
|
179
32
|
- application/json
|
180
33
|
Etag:
|
181
|
-
- W/"
|
34
|
+
- W/"56752fad644e8707bab25a89139d45cd"
|
182
35
|
Cache-Control:
|
183
36
|
- max-age=0, private, must-revalidate
|
184
37
|
Set-Cookie:
|
185
|
-
- _admin_session=
|
186
|
-
2021
|
38
|
+
- _admin_session=f38a42106642657306cfc85e88d0039b; path=/; expires=Mon, 28 Jun
|
39
|
+
2021 07:06:08 -0000; HttpOnly; SameSite=Lax
|
187
40
|
X-Request-Id:
|
188
|
-
-
|
41
|
+
- cce04330-0d25-47ff-965e-87c414eace40
|
189
42
|
X-Runtime:
|
190
|
-
- '0.
|
43
|
+
- '0.097142'
|
191
44
|
Vary:
|
192
45
|
- Origin
|
193
46
|
Content-Length:
|
194
|
-
- '
|
47
|
+
- '461'
|
195
48
|
body:
|
196
49
|
encoding: UTF-8
|
197
|
-
string: '{"id":
|
50
|
+
string: '{"id":18,"ref":"MWR1926186585","merchant_withdrawal_ref":"akh9r1h29e19","status":"pending","coin_amount":10.99,"coin_currency":"xrp","coin_fee":2.0e-05,"receiver_pay_fee":true,"action_confirmation_id":34,"otp_counter":34,"coin_address":"rLpumSZQNJ6Cve7hfQcdkG9rJbJhkSV8AD","destination_tag":1710676231,"remitano_username":null,"remitano_phone_number":null,"cancelled_or_completed_callback_url":"http://sample.com/123/callback","created_at_timestamp":1622185568}'
|
198
51
|
http_version:
|
199
|
-
recorded_at:
|
52
|
+
recorded_at: Fri, 28 May 2021 07:06:08 GMT
|
200
53
|
- request:
|
201
54
|
method: post
|
202
|
-
uri: REMITANO_SERVER/api/v1/action_confirmations/
|
55
|
+
uri: REMITANO_SERVER/api/v1/action_confirmations/34/confirm
|
203
56
|
body:
|
204
57
|
encoding: UTF-8
|
205
|
-
string: '{"token":"
|
58
|
+
string: '{"token":"023509","usec":0}'
|
206
59
|
headers:
|
207
60
|
Accept:
|
208
61
|
- "*/*"
|
@@ -213,9 +66,9 @@ http_interactions:
|
|
213
66
|
Content-Type:
|
214
67
|
- application/json
|
215
68
|
Date:
|
216
|
-
-
|
69
|
+
- Fri, 28 May 2021 07:06:08 GMT
|
217
70
|
Authorization:
|
218
|
-
- APIAuth REMITANO_KEY:
|
71
|
+
- APIAuth REMITANO_KEY:csa6w4BgSO1XVvnURhfMMI5QDkM=
|
219
72
|
Content-Length:
|
220
73
|
- '27'
|
221
74
|
Host:
|
@@ -228,29 +81,29 @@ http_interactions:
|
|
228
81
|
Content-Type:
|
229
82
|
- application/json
|
230
83
|
Etag:
|
231
|
-
- W/"
|
84
|
+
- W/"c877b2d555dbdf343f51bab6e6bf72e8"
|
232
85
|
Cache-Control:
|
233
86
|
- max-age=0, private, must-revalidate
|
234
87
|
Set-Cookie:
|
235
|
-
- _admin_session=
|
236
|
-
2021
|
88
|
+
- _admin_session=f0be2bcf01f34aae2351f5e4db8b7f1a; path=/; expires=Mon, 28 Jun
|
89
|
+
2021 07:06:08 -0000; HttpOnly; SameSite=Lax
|
237
90
|
X-Request-Id:
|
238
|
-
-
|
91
|
+
- cf74a48f-191e-483c-9a25-4e58fa730430
|
239
92
|
X-Runtime:
|
240
|
-
- '0.
|
93
|
+
- '0.318259'
|
241
94
|
Vary:
|
242
95
|
- Origin
|
243
96
|
Content-Length:
|
244
|
-
- '
|
97
|
+
- '731'
|
245
98
|
body:
|
246
99
|
encoding: UTF-8
|
247
|
-
string: '{"id":
|
248
|
-
with token
|
100
|
+
string: '{"id":34,"status":"confirmed","actionable_type":"MerchantWithdrawal","action":"confirm_by_action_confirmation!","via":"authenticator","status_explanation":"confirmed
|
101
|
+
with token 023509","actionable_id":18,"message":null,"is_action_confirmation":true,"actionable":{"id":18,"ref":"MWR1926186585","merchant_withdrawal_ref":"akh9r1h29e19","status":"processing","coin_amount":10.99,"coin_currency":"xrp","coin_fee":2.0e-05,"receiver_pay_fee":true,"action_confirmation_id":null,"otp_counter":null,"coin_address":"rLpumSZQNJ6Cve7hfQcdkG9rJbJhkSV8AD","destination_tag":1710676231,"remitano_username":null,"remitano_phone_number":null,"cancelled_or_completed_callback_url":"http://sample.com/123/callback","created_at_timestamp":1622185568}}'
|
249
102
|
http_version:
|
250
|
-
recorded_at:
|
103
|
+
recorded_at: Fri, 28 May 2021 07:06:08 GMT
|
251
104
|
- request:
|
252
105
|
method: get
|
253
|
-
uri: REMITANO_SERVER/api/v1/merchant/
|
106
|
+
uri: REMITANO_SERVER/api/v1/merchant/merchant_withdrawals/18?usec=0
|
254
107
|
body:
|
255
108
|
encoding: US-ASCII
|
256
109
|
string: ''
|
@@ -264,9 +117,9 @@ http_interactions:
|
|
264
117
|
Content-Type:
|
265
118
|
- application/json
|
266
119
|
Date:
|
267
|
-
-
|
120
|
+
- Fri, 28 May 2021 07:06:08 GMT
|
268
121
|
Authorization:
|
269
|
-
- APIAuth REMITANO_KEY:
|
122
|
+
- APIAuth REMITANO_KEY:M0JO5yZa+RUILwvoq2UpycGwBmY=
|
270
123
|
Host:
|
271
124
|
- localhost:3100
|
272
125
|
response:
|
@@ -277,20 +130,20 @@ http_interactions:
|
|
277
130
|
Content-Type:
|
278
131
|
- application/json
|
279
132
|
Etag:
|
280
|
-
- W/"
|
133
|
+
- W/"66cf71c050b2cc107168caba6f0317ce"
|
281
134
|
Cache-Control:
|
282
135
|
- max-age=0, private, must-revalidate
|
283
136
|
X-Request-Id:
|
284
|
-
-
|
137
|
+
- 4afd8148-5eb6-4dbb-88e4-49ee9363aa5c
|
285
138
|
X-Runtime:
|
286
|
-
- '0.
|
139
|
+
- '0.040467'
|
287
140
|
Vary:
|
288
141
|
- Origin
|
289
142
|
Content-Length:
|
290
|
-
- '
|
143
|
+
- '468'
|
291
144
|
body:
|
292
145
|
encoding: UTF-8
|
293
|
-
string: '{"id":
|
146
|
+
string: '{"id":18,"ref":"MWR1926186585","merchant_withdrawal_ref":"akh9r1h29e19","status":"processing","coin_amount":10.99,"coin_currency":"xrp","coin_fee":2.0e-05,"receiver_pay_fee":true,"action_confirmation_id":null,"otp_counter":null,"coin_address":"rLpumSZQNJ6Cve7hfQcdkG9rJbJhkSV8AD","destination_tag":1710676231,"remitano_username":null,"remitano_phone_number":null,"cancelled_or_completed_callback_url":"http://sample.com/123/callback","created_at_timestamp":1622185568}'
|
294
147
|
http_version:
|
295
|
-
recorded_at:
|
148
|
+
recorded_at: Fri, 28 May 2021 07:06:09 GMT
|
296
149
|
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: REMITANO_SERVER/api/v1/merchant/
|
5
|
+
uri: REMITANO_SERVER/api/v1/merchant/merchant_withdrawals/1?usec=0
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -16,9 +16,9 @@ http_interactions:
|
|
16
16
|
Content-Type:
|
17
17
|
- application/json
|
18
18
|
Date:
|
19
|
-
-
|
19
|
+
- Fri, 28 May 2021 06:59:17 GMT
|
20
20
|
Authorization:
|
21
|
-
- APIAuth REMITANO_KEY:
|
21
|
+
- APIAuth REMITANO_KEY:RiKhLlBte3lVMiwKvehhx+PIZh8=
|
22
22
|
Host:
|
23
23
|
- localhost:3100
|
24
24
|
response:
|
@@ -29,20 +29,20 @@ http_interactions:
|
|
29
29
|
Content-Type:
|
30
30
|
- application/json
|
31
31
|
Etag:
|
32
|
-
- W/"
|
32
|
+
- W/"3ee5ae1a496791d93c7fbb1b3213a6ee"
|
33
33
|
Cache-Control:
|
34
34
|
- max-age=0, private, must-revalidate
|
35
35
|
X-Request-Id:
|
36
|
-
-
|
36
|
+
- 9aecd37a-562f-49fd-9e28-908e94bae219
|
37
37
|
X-Runtime:
|
38
|
-
- '0.
|
38
|
+
- '0.069540'
|
39
39
|
Vary:
|
40
40
|
- Origin
|
41
41
|
Content-Length:
|
42
|
-
- '
|
42
|
+
- '439'
|
43
43
|
body:
|
44
44
|
encoding: UTF-8
|
45
|
-
string: '{"id":1,"merchant_withdrawal_ref":"mwr2","status":"cancelled","coin_amount":100.0,"coin_currency":"usdt","coin_fee":0.0,"receiver_pay_fee":null,"action_confirmation_id":null,"otp_counter":null,"coin_address":"3BDS42pbFgxDn9uMSCBiWE5BcWFBVPPCAA","destination_tag":null,"remitano_username":null,"remitano_phone_number":null,"cancelled_or_completed_callback_url":"http://dummy.com/111","created_at_timestamp":1621401962}'
|
45
|
+
string: '{"id":1,"ref":"MWR1774298352","merchant_withdrawal_ref":"mwr2","status":"cancelled","coin_amount":100.0,"coin_currency":"usdt","coin_fee":0.0,"receiver_pay_fee":null,"action_confirmation_id":null,"otp_counter":null,"coin_address":"3BDS42pbFgxDn9uMSCBiWE5BcWFBVPPCAA","destination_tag":null,"remitano_username":null,"remitano_phone_number":null,"cancelled_or_completed_callback_url":"http://dummy.com/111","created_at_timestamp":1621401962}'
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
47
|
+
recorded_at: Fri, 28 May 2021 06:59:17 GMT
|
48
48
|
recorded_with: VCR 4.0.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: REMITANO_SERVER/api/v1/merchant/
|
5
|
+
uri: REMITANO_SERVER/api/v1/merchant/merchant_withdrawals/invalid_id?usec=0
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -16,9 +16,9 @@ http_interactions:
|
|
16
16
|
Content-Type:
|
17
17
|
- application/json
|
18
18
|
Date:
|
19
|
-
-
|
19
|
+
- Fri, 28 May 2021 06:59:09 GMT
|
20
20
|
Authorization:
|
21
|
-
- APIAuth REMITANO_KEY:
|
21
|
+
- APIAuth REMITANO_KEY:rDKxuq5IYmvGemJYlbZQmN5VuHg=
|
22
22
|
Host:
|
23
23
|
- localhost:3100
|
24
24
|
response:
|
@@ -31,9 +31,9 @@ http_interactions:
|
|
31
31
|
Cache-Control:
|
32
32
|
- no-cache
|
33
33
|
X-Request-Id:
|
34
|
-
-
|
34
|
+
- 65f83e41-9e23-4de1-8bf8-5cafea49cb36
|
35
35
|
X-Runtime:
|
36
|
-
- '0.
|
36
|
+
- '0.081240'
|
37
37
|
Vary:
|
38
38
|
- Origin
|
39
39
|
Content-Length:
|
@@ -42,5 +42,5 @@ http_interactions:
|
|
42
42
|
encoding: UTF-8
|
43
43
|
string: '{"error":"Not found"}'
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Fri, 28 May 2021 06:59:09 GMT
|
46
46
|
recorded_with: VCR 4.0.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remitano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phuong Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|