Sha256: ee437504c3524d124461157cc735ffa8a3ee08eda6c956e54ef50e47c6914d96

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.balancedpayments.com/v1/api_keys
    body:
      encoding: UTF-8
      string: ! '{}'
    headers:
      User-Agent:
      - balanced-ruby/0.3.5
      Content-Type:
      - application/json
  response:
    status:
      code: 201
      message: !!null 
    headers:
      content-type:
      - application/json
      date:
      - Fri, 06 Jul 2012 04:22:45 GMT
      server:
      - nginx/1.0.14
      x-balanced-guru:
      - OHM3c57a2b6c72211e1a29c026ba7e5e72e
      x-balanced-version:
      - ''
      content-length:
      - '854'
      connection:
      - Close
    body:
      encoding: US-ASCII
      string: ! "{\n  \"merchant\": {\n    \"phone_number\": \"+16505551212\", \n
        \   \"city\": \"Nowhere\", \n    \"marketplace\": null, \n    \"name\": \"William
        Henry Cavendish III\", \n    \"email_address\": \"whc@example.org\", \n    \"created_at\":
        \"2012-07-06T04:22:45.622860Z\", \n    \"uri\": \"/v1/merchants/TEST-MR1Qdkfd3s1CdsDYpIyE1clM\",
        \n    \"accounts_uri\": \"/v1/merchants/TEST-MR1Qdkfd3s1CdsDYpIyE1clM/accounts\",
        \n    \"meta\": {}, \n    \"postal_code\": \"90210\", \n    \"country_code\":
        \"USA\", \n    \"type\": \"person\", \n    \"balance\": 0, \n    \"api_keys_uri\":
        \"/v1/merchants/TEST-MR1Qdkfd3s1CdsDYpIyE1clM/api_keys\", \n    \"id\": \"TEST-MR1Qdkfd3s1CdsDYpIyE1clM\",
        \n    \"street_address\": \"123 Fake St\"\n  }, \n  \"secret\": \"3cac2eb2c72211e1a29c026ba7e5e72e\",
        \n  \"meta\": {}, \n  \"created_at\": \"2012-07-06T04:22:45.865186Z\", \n
        \ \"uri\": \"/v1/api_keys/AK1QufqsOoGwey1DmEmOBMho\", \n  \"id\": \"AK1QufqsOoGwey1DmEmOBMho\"\n}"
    http_version: !!null 
  recorded_at: Fri, 06 Jul 2012 04:22:46 GMT
recorded_with: VCR 2.2.2

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
balanced-ach-0.1 spec/cassettes/Balanced/configure.yml