Sha256: e4865fdd61253e31be278af4411a1407ce20f06ba00c239c8324c95d50637c93

Contents?: true

Size: 1.18 KB

Versions: 6

Compression:

Stored size: 1.18 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: AUTO_BANK_HOST/api/v1/bank_accounts
    body:
      encoding: UTF-8
      string: '{"nonce":"remitano-1","external_id":1,"bank_name":"Techcombank","credentials":{"username":"aUsername","password":"paSswoRd"},"account_number":"0251002746855","currency":"VND","discarded_at":null}'
    headers:
      Content-Type:
      - application/json
      Authorization:
      - f01ee69dc8add118c9318cc9af5fcfed1562e0b3388582d543231b2e3ec4f983f40073ce875ea74347e83aa38dea885796da5ecb185ca0e36e19c7ca98ea47e8
      Appname:
      - remitano
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Content-Type:
      - application/json
      Content-Length:
      - '208'
      Etag:
      - W/"c1927df7ee7b2957b2a6dfe6240273f2"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - 27dc9217-4f28-4b24-80cb-29c08cb1c741
      X-Runtime:
      - '0.022027'
      Connection:
      - keep-alive
      Server:
      - thin
    body:
      encoding: ASCII-8BIT
      string: '{"error": "There are an error"}'
    http_version:
  recorded_at: Wed, 04 Dec 2019 06:45:27 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_account/server_response_with_error_status/returns_error.yml
portal-connectors-0.58.39xb spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_account/server_response_with_error_status/returns_error.yml
portal-connectors-0.58.39xa spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_account/server_response_with_error_status/returns_error.yml
portal-connectors-0.58.39fj spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_account/server_response_with_error_status/returns_error.yml
portal-connectors-0.58.39fg spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_account/server_response_with_error_status/returns_error.yml
portal-connectors-0.58.38xn spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_account/server_response_with_error_status/returns_error.yml