Sha256: 09e8a9815ec0489d178077f3c5f0409f3b38eefbae6eba5e82c307638f94dbee

Contents?: true

Size: 1.45 KB

Versions: 2

Compression:

Stored size: 1.45 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://api.regalii.dev/bills/695109/pay
    body:
      encoding: UTF-8
      string: '{"amount":758.0,"currency":"RD","user_id":12981}'
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - application/vnd.regalii.v3.1+json
      User-Agent:
      - Regaliator gem v4.0.0
      Content-Type:
      - application/json
      Date:
      - Fri, 20 Jan 2017 18:30:31 GMT
      Content-Md5:
      - C9Yv/7+TQ7VwZdeaazmuAg==
      Authorization:
      - APIAuth testing:TS5gR2wQ5T1Yy+urco2nGPSkOSs=
  response:
    status:
      code: 201
      message: Created
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Content-Type:
      - application/json; charset=utf-8
      Etag:
      - W/"fceefadd2b925ea2870834e6fcc8acd2"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - fde011a5-c15d-4760-9b54-33b933b7321a
      X-Runtime:
      - '0.181573'
      Transfer-Encoding:
      - chunked
    body:
      encoding: UTF-8
      string: '{"type":"transaction","id":3209415,"amount":758.0,"amount_currency":"RD","fx_rate":44.4661,"amount_usd":17.05,"transaction_fee":3.0,"total_usd":20.05,"hours_to_fulfill":0,"created_at":"2017-01-20T18:30:31Z"}'
    http_version: 
  recorded_at: Fri, 20 Jan 2017 18:30:31 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
regaliator-4.0.1 test/fixtures/vcr_cassettes/V31/bill/pay.yml
regaliator-4.0.0 test/fixtures/vcr_cassettes/V31/bill/pay.yml