Sha256: 55101750fb4c9f9859ec99ecbd0b26e970fef483051437b4e369145ddda360d6

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:24:05 GMT
      server:
      - nginx/1.0.14
      x-balanced-guru:
      - OHM6bd12224c72211e1a476026ba7e239a9
      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:24:05.085487Z\", \n    \"uri\": \"/v1/merchants/TEST-MR3hASlwbJQkOkkLMoNXskM9\",
        \n    \"accounts_uri\": \"/v1/merchants/TEST-MR3hASlwbJQkOkkLMoNXskM9/accounts\",
        \n    \"meta\": {}, \n    \"postal_code\": \"90210\", \n    \"country_code\":
        \"USA\", \n    \"type\": \"person\", \n    \"balance\": 0, \n    \"api_keys_uri\":
        \"/v1/merchants/TEST-MR3hASlwbJQkOkkLMoNXskM9/api_keys\", \n    \"id\": \"TEST-MR3hASlwbJQkOkkLMoNXskM9\",
        \n    \"street_address\": \"123 Fake St\"\n  }, \n  \"secret\": \"6c0b7938c72211e1a476026ba7e239a9\",
        \n  \"meta\": {}, \n  \"created_at\": \"2012-07-06T04:24:05.336893Z\", \n
        \ \"uri\": \"/v1/api_keys/AK3hSr3jwAGcoz6fBKiqhG4N\", \n  \"id\": \"AK3hSr3jwAGcoz6fBKiqhG4N\"\n}"
    http_version: !!null 
  recorded_at: Fri, 06 Jul 2012 04:24:05 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_ApiKey/attributes.yml