Sha256: 5b8cf76df409b6e996738f8e9a7a1ccfb911861d08b77ef14774e3329dafdc73

Contents?: true

Size: 1.49 KB

Versions: 9

Compression:

Stored size: 1.49 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.sandbox.veritrans.co.id/v2/charge
    body:
      encoding: UTF-8
      string: '{"payment_type":"permata","transaction_details":{"order_id":"2014-11-04
        21:06:32 +0700","gross_amount":100000}}'
    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:08:04 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '396'
      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" : "201",
          "status_message" : "Success, PERMATA VA transaction is successful",
          "transaction_id" : "3544730a-e5ca-46b6-9512-233c37670500",
          "order_id" : "2014-11-04 21:06:32 +0700",
          "payment_type" : "bank_transfer",
          "transaction_time" : "2014-11-04 21:08:23",
          "transaction_status" : "pending",
          "permata_va_number" : "8778990000000019",
          "gross_amount" : "100000.00"
        }
    http_version: 
  recorded_at: Tue, 04 Nov 2014 14:06:33 GMT
recorded_with: VCR 2.9.3

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
veritrans-2.1.3 spec/fixtures/charge_direct.yml
veritrans-2.1.2 spec/fixtures/charge_direct.yml
veritrans-2.1.1 spec/fixtures/charge_direct.yml
veritrans-2.1.0 spec/fixtures/charge_direct.yml
veritrans-2.0.4 spec/fixtures/charge_direct.yml
veritrans-2.0.3 spec/fixtures/charge_direct.yml
veritrans-2.0.2 spec/fixtures/charge_direct.yml
veritrans-2.0.0 spec/fixtures/charge_direct.yml
veritrans-2.0.0beta spec/fixtures/charge_direct.yml