Sha256: 249153a9f9811862c5945aef6bc271226d3eed9c0fcc51f2697683c4a4220b10

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.sandbox.midtrans.com/v2/not-exists/cancel
    body:
      encoding: UTF-8
      string: "{}"
    headers:
      User-Agent:
      - Veritrans ruby gem 2.3.0
      Authorization:
      - Basic VlQtc2VydmVyLTlIdGItUnhYa2c3LTdoem5TQ0NqeHZvWTo=
      Accept:
      - application/json
      Content-Type:
      - application/json
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Wed, 03 Apr 2019 18:44:32 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '111'
      Connection:
      - keep-alive
      Pragma:
      - no-cache
      Cache-Control:
      - no-cache
      X-Kong-Upstream-Latency:
      - '19'
      X-Kong-Proxy-Latency:
      - '94'
      Via:
      - kong/0.14.0
      Strict-Transport-Security:
      - max-age=15724800; includeSubDomains;
    body:
      encoding: ASCII-8BIT
      string: '{"status_code":"404","status_message":"Transaction doesn''t exist.","id":"37bb81e3-341f-4730-aaa6-8e985343fbb3"}'
    http_version: 
  recorded_at: Wed, 03 Apr 2019 18:44:32 GMT
recorded_with: VCR 4.0.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritrans-2.3.0 spec/fixtures/cancel_failed.yml