Sha256: a1ddda71585d0318f296561ac65ae6bbf2784644a7987a1dc753353180170c4e

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api.sandbox.midtrans.com/v2/token?card_cvv=123&card_exp_month=1&card_exp_year=2020&card_number=4811111111111114&client_key=VT-client-NArmatJZqzsmTmzR
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Veritrans ruby gem 2.2.1
      Authorization:
      - Basic VlQtc2VydmVyLTlIdGItUnhYa2c3LTdoem5TQ0NqeHZvWTo=
      Accept:
      - application/json
      Content-Type:
      - application/json
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Mon, 01 Apr 2019 04:24:55 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '170'
      Connection:
      - keep-alive
      Pragma:
      - no-cache
      Cache-Control:
      - no-cache
      X-Kong-Upstream-Latency:
      - '47'
      X-Kong-Proxy-Latency:
      - '1'
      Via:
      - kong/0.14.0
      Strict-Transport-Security:
      - max-age=15724800; includeSubDomains;
    body:
      encoding: ASCII-8BIT
      string: '{"status_code":"200","status_message":"Credit card token is created
        as Token ID.","token_id":"481111-1114-a901971f-2f1b-4781-802a-df326fbf0e9c","hash":"481111-1114-mami"}'
    http_version: 
  recorded_at: Mon, 01 Apr 2019 04:24:55 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/test_token.yml