btcpay/spec/cassettes/BtcPay_Client_Api_StorePull.../POST_create/1_2_1.yml

50 lines
1.5 KiB
YAML

---
http_interactions:
- request:
method: post
uri: http://localhost:49392/api/v1/stores/EiGimqCJGwRGkCL8DbdeArVApkvHZdaZARofiSApKdpQ/pull-payments
body:
encoding: UTF-8
string: '{"name":"btcpaygem-spec-f0b7d1d54176f6dc19e62ad8f74e5d6e","amount":0.7054181059655215,"currency":"BTC","paymentMethods":["BTC"]}'
headers:
Accept:
- application/json
User-Agent:
- btcpay_ruby/0.1.0
Content-Type:
- application/json
Accept-Encoding:
- deflate, gzip
Authorization:
- token 9133b8ef3ae9a4b7f2d9a6efef1d5cf738067c68
Content-Length:
- '128'
Host:
- localhost:49392
response:
status:
code: 200
message: OK
headers:
Date:
- Sun, 02 Aug 2020 23:07:24 GMT
Content-Type:
- application/json; charset=utf-8
Server:
- Kestrel
Content-Length:
- '290'
Referrer-Policy:
- same-origin
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- DENY
body:
encoding: UTF-8
string: '{"startsAt":1596409645,"expiresAt":null,"id":"3gedGdcqeiFNR5j4SKD6tcD4T1nq","name":"btcpaygem-spec-f0b7d1d54176f6dc19e62ad8f74e5d6e","currency":"BTC","amount":"0.7054181059655215","period":null,"archived":false,"viewLink":"http://localhost:49392/pull-payments/3gedGdcqeiFNR5j4SKD6tcD4T1nq"}'
recorded_at: Sun, 02 Aug 2020 23:07:25 GMT
recorded_with: VCR 6.0.0