Sha256: fa1900b546258a28101c65602cfb91e628127f2d6f8b8bf8f5dafd11b209b73a

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: AUTO_BANK_HOST/api/v1/payments
    body:
      encoding: UTF-8
      string: '{"nonce":"remitano-1","external_id":500,"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:
      - 2b4495a0d7b48b9f87944f9c0e9dc3ed04a50baedd3c1f8911957d0886ce3d1953d230a401ca0f066349aaf7c99e93e8708c61aade37772634242ffd4b9faedf
      Appname:
      - remitano
  response:
    status:
      code: 404
      message: Not Found
    headers:
      Content-Length:
      - '152'
      Cache-Control:
      - no-cache
      X-Request-Id:
      - 5b032df1-da28-4faf-81fe-a5d0c51aa3d3
      X-Runtime:
      - '0.016245'
      Connection:
      - keep-alive
      Server:
      - thin
    body:
      encoding: ASCII-8BIT
      string: '{"error_code":404,"error_message":"Couldn''t find BankAccount with
        [WHERE \"bank_accounts\".\"app_name\" = ? AND \"bank_accounts\".\"external_id\"
        = ?]"}'
    http_version:
  recorded_at: Sat, 30 Nov 2019 06:59:05 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_error/returns_error_message.yml
portal-connectors-0.58.39xb spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_payment/server_responses_error/returns_error_message.yml
portal-connectors-0.58.39xa spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_payment/server_responses_error/returns_error_message.yml
portal-connectors-0.58.39fj spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_payment/server_responses_error/returns_error_message.yml
portal-connectors-0.58.39fg spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_payment/server_responses_error/returns_error_message.yml
portal-connectors-0.58.38xn spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_payment/server_responses_error/returns_error_message.yml