Sha256: 2b8445fbdbf1e2b81af9f8215a34e84783d480439833a061c15ab3e604ec803d

Contents?: true

Size: 1.36 KB

Versions: 6

Compression:

Stored size: 1.36 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: 201
      message: Created
    headers:
      Content-Type:
      - application/json
      Content-Length:
      - '208'
      Etag:
      - W/"c1927df7ee7b2957b2a6dfe6240273f2"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - 0fd840cf-8650-461d-8aff-aedb4a2f07d9
      X-Runtime:
      - '0.026025'
      Connection:
      - keep-alive
      Server:
      - thin
    body:
      encoding: ASCII-8BIT
      string: '{"id":1,"balance":"0.0","bank_name":"Techcombank","account_name":"Mac
        Thi Buoi","account_number":"0251002746855","external_id":1,"currency":"VND","country_code":"vn","status":"verifying","status_reason":null}'
    http_version:
  recorded_at: Wed, 04 Dec 2019 06:47:44 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_success_status/returns_submitted_account.yml
portal-connectors-0.58.39xb spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_account/server_response_with_success_status/returns_submitted_account.yml
portal-connectors-0.58.39xa spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_account/server_response_with_success_status/returns_submitted_account.yml
portal-connectors-0.58.39fj spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_account/server_response_with_success_status/returns_submitted_account.yml
portal-connectors-0.58.39fg spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_account/server_response_with_success_status/returns_submitted_account.yml
portal-connectors-0.58.38xn spec/fixtures/vcr_cassettes/PortalConnectors_AutoBankClient/_submit_account/server_response_with_success_status/returns_submitted_account.yml