Sha256: 9527d075ee17c08f752c176d3f651bdd9015446b07b6dbe85d6a528c71c6e104

Contents?: true

Size: 1.93 KB

Versions: 4

Compression:

Stored size: 1.93 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://devapi.thecurrencycloud.com/v2/beneficiaries/create
    body:
      encoding: UTF-8
      string: bank_account_holder_name=Test%20User&bank_country=GB&currency=GBP&name=Test%20User&account_number=12345678&routing_code_type_1=sort_code&routing_code_value_1=123456&payment_types[]=regular
    headers:
      X-Auth-Token:
      - e5070d4a16c5ffe4ed9fb268a2a716be
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Sat, 25 Apr 2015 09:21:00 GMT
      Content-Type:
      - application/json;charset=utf-8
      Content-Length:
      - '1019'
      Connection:
      - keep-alive
      X-Request-Id:
      - '2771948673934289802'
      X-Content-Type-Options:
      - nosniff
    body:
      encoding: UTF-8
      string: '{"id":"081596c9-02de-483e-9f2a-4cf55dcdf98c","bank_account_holder_name":"Test User","name":"Test User","email":null,"payment_types":["regular"],"beneficiary_address":[],"beneficiary_country":null,"beneficiary_entity_type":null,"beneficiary_company_name":null,"beneficiary_first_name":null,"beneficiary_last_name":null,"beneficiary_city":null,"beneficiary_postcode":null,"beneficiary_state_or_province":null,"beneficiary_date_of_birth":null,"beneficiary_identification_type":null,"beneficiary_identification_value":null,"bank_country":"GB","bank_name":"HSBC
        BANK PLC","bank_account_type":null,"currency":"GBP","account_number":"12345678","routing_code_type_1":"sort_code","routing_code_value_1":"123456","routing_code_type_2":null,"routing_code_value_2":null,"bic_swift":null,"iban":null,"default_beneficiary":"false","creator_contact_id":"c4d838e8-1625-44c6-a9fb-39bcb1fe353d","bank_address":["5
        Wimbledon Hill Rd","Wimbledon","London"],"created_at":"2015-04-25T09:21:00+00:00","updated_at":"2015-04-25T09:21:00+00:00"}'
    http_version: 
  recorded_at: Sat, 25 Apr 2015 09:21:00 GMT
recorded_with: VCR 2.9.3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
currency_cloud-0.7.2 spec/support/vcr_cassettes/Actions/can_create.yml
currency_cloud-0.7.1 spec/support/vcr_cassettes/Actions/can_create.yml
currency_cloud-0.7 spec/support/vcr_cassettes/Actions/can_create.yml
currency_cloud-0.5 spec/support/vcr_cassettes/Actions/can_create.yml