Sha256: 4c41fc80605c5550c1e4932c4d4e52b610d950bb531de2e34bffc0f9da0651b4

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.sandbox.midtrans.com/v2/capture
    body:
      encoding: UTF-8
      string: '{"transaction_id":"not-exists","gross_amount":1000}'
    headers:
      User-Agent:
      - Veritrans ruby gem 2.0.0beta
      Authorization:
      - Basic VlQtc2VydmVyLTlIdGItUnhYa2c3LTdoem5TQ0NqeHZvWTo=
      Accept:
      - application/json
      Content-Type:
      - application/json
  response:
    status:
      code: 200
      message: ''
    headers:
      Server:
      - nginx/1.5.13
      Date:
      - Tue, 04 Nov 2014 14:23:44 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '87'
      Connection:
      - keep-alive
      Cache-Control:
      - no-cache
      Pragma:
      - no-cache
      Expires:
      - Wed, 31 Dec 1969 17:00:00 GMT
    body:
      encoding: UTF-8
      string: |-
        {
          "status_code" : "404",
          "status_message" : "The requested resource is not found"
        }
    http_version: 
  recorded_at: Tue, 04 Nov 2014 14:22:12 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
veritrans-2.3.0 spec/fixtures/capture_failed.yml
veritrans-2.2.0 spec/fixtures/capture_failed.yml