Sha256: 2904af7a5776ac4fe108f142166b42ef98c9dff0d5184072dfebd0c9e731dab2

Contents?: true

Size: 1.55 KB

Versions: 6

Compression:

Stored size: 1.55 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: AUTO_BANK_HOST/api/v1/payments
    body:
      encoding: UTF-8
      string: '{"nonce":"remitano-1","external_id":10,"currency":"VND","amount":"100000","bank_name":"Techcombank","memo":"trade001","country_code":"vn","payment_details":{"bank_account_number":"0123456789","bank_account_name":"NGUYEN
        THI BUOI"},"bank_account_external_id":1}'
    headers:
      Content-Type:
      - application/json
      Authorization:
      - 2feb0dcc8229616fb495d96886de2c22e9f89bfe474560337a1ad8adaa14c76d05b455d114d898df68ca0be829d330bd57affdfb5852d33b8a9491fc14d959a6
      Appname:
      - remitano
  response:
    status:
      code: 201
      message: Created
    headers:
      Content-Type:
      - application/json
      Content-Length:
      - '337'
      Etag:
      - W/"cd8331b6550ae362b3bd2a39bc3dc76d"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - 8761dd3e-4c1d-4d6a-90f0-85058a6dbdc6
      X-Runtime:
      - '0.083259'
      Connection:
      - keep-alive
      Server:
      - thin
    body:
      encoding: ASCII-8BIT
      string: '{"ref":"MISMHSI3","bank_account_id":1,"amount":"100000.0","payable":"trade001","username":null,"status":"pending","status_explanation":null,"country_code":"vn","currency":"VND","payment_details":{"bank_account_number":"0123456789","bank_account_name":"NGUYEN
        THI BUOI"},"app_created_at":"","bank_account_account_number":"13320504730055"}'
    http_version:
  recorded_at: Sat, 30 Nov 2019 06:58:55 GMT
recorded_with: VCR 2.6.0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
portal-connectors-0.58.39xc spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_payment/server_responses_success/returns_status_201.yml
portal-connectors-0.58.39xb spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_payment/server_responses_success/returns_status_201.yml
portal-connectors-0.58.39xa spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_payment/server_responses_success/returns_status_201.yml
portal-connectors-0.58.39fj spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_payment/server_responses_success/returns_status_201.yml
portal-connectors-0.58.39fg spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_payment/server_responses_success/returns_status_201.yml
portal-connectors-0.58.38xn spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_payment/server_responses_success/returns_status_201.yml