Sha256: 592f8d2b5f6ce5779f2f7bf468c82dac2003307d8b2c53d6853a14860b33721f

Contents?: true

Size: 1.81 KB

Versions: 1

Compression:

Stored size: 1.81 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://devapi.currencycloud.com/v2/authenticate/api
    body:
      encoding: UTF-8
      string: login_id=development%40currencycloud.com&api_key=deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef
    headers:
      User-Agent:
      - CurrencyCloudSDK/2.0 Ruby/1.5.0
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Mon, 03 Dec 2018 07:44:19 GMT
      Content-Type:
      - application/json;charset=utf-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"auth_token":"deadbeefdeadbeefdeadbeefdeadbeef"}'
    http_version: 
  recorded_at: Mon, 03 Dec 2018 07:44:19 GMT
- request:
    method: post
    uri: https://devapi.currencycloud.com/v2/reports/payments/create
    body:
      encoding: US-ASCII
      string: ''
    headers:
      X-Auth-Token:
      - deadbeefdeadbeefdeadbeefdeadbeef
      User-Agent:
      - CurrencyCloudSDK/2.0 Ruby/1.5.0
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Mon, 03 Dec 2018 07:45:37 GMT
      Content-Type:
      - application/json
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"id":"6e3b3230-5cd8-420e-ae52-c6052d55e6fb","short_reference":"RP-3199188-JPZZXS","description":null,"search_params":{"scope":"own"},"report_type":"payment","status":"processing","failure_reason":null,"expiration_date":null,"report_url":"","account_id":"72970a7c-7921-431c-b95f-3438724ba16f","contact_id":"a66ca63f-e668-47af-8bb9-74363240d781","created_at":"2018-11-15T14:08:20+00:00","updated_at":"2018-11-15T14:08:20+00:00"}'
    http_version: 
  recorded_at: Mon, 03 Dec 2018 07:45:37 GMT
recorded_with: VCR 3.0.3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
currency_cloud-1.5.0 spec/support/vcr_cassettes/Reports/can_create_payments_report.yml