Sha256: 3f5abf353681b37960a3c2b924414b749d64b916a23d2fdf89591fe46990e62a

Contents?: true

Size: 1.58 KB

Versions: 4

Compression:

Stored size: 1.58 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://sk_test_IFWHL5kDDZFV72KtPyBp0leO:@api.spike.cc/v1/charges
    body:
      encoding: UTF-8
      string: https://api.spike.cc/v1/charges&amount=900&currency=JPY&card=tok_bUEcGsUHKT84WwCp4clFrLYv&products=%5B%7B%22title%22%3A%22%E5%95%86%E5%93%81%22%2C%22description%22%3A%22%E5%95%86%E5%93%81%E8%AA%AC%E6%98%8E%22%2C%22language%22%3A%22ja%22%2C%22price%22%3A900%2C%22currency%22%3A%22JPY%22%2C%22count%22%3A1%2C%22id%22%3A%2200001%22%2C%22stock%22%3A10%7D%5D
    headers: {}
  response:
    status:
      code: 201
      message: Created
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Type:
      - application/json
      Date:
      - Mon, 18 Apr 2016 10:05:03 GMT
      Etag:
      - W/"0eb51b104649a9e44ab7e0a1ebca23e1"
      Server:
      - nginx
      Status:
      - 201 Created
      X-Request-Id:
      - a5fd7b6a-9c89-4fd8-a1fa-19ff60e17d86
      X-Runtime:
      - '0.272823'
      Content-Length:
      - '399'
      Connection:
      - keep-alive
    body:
      encoding: ASCII-8BIT
      string: '{"id":"20160418-100503-8e1is2","object":"charge","created":1460973903,"livemode":false,"paid":true,"amount":900,"currency":"JPY","refunded":false,"source":{},"captured":true,"refunds":[],"amount_refunded":null,"authenticated":false,"attempt_authenticated":false,"authenticated_at":null,"authorization":null,"customer":null,"description":null,"dispute":null,"metadata":{},"statement_descriptor":null}'
    http_version: 
  recorded_at: Mon, 18 Apr 2016 10:05:03 GMT
recorded_with: VCR 3.0.1

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spike-ruby-0.1.3 spec/vcr/lib/spike_create_charge.yml
spike-ruby-0.1.2 spec/vcr/lib/spike_create_charge.yml
spike-ruby-0.1.1 spec/vcr/lib/spike_create_charge.yml
spike-ruby-0.1.0 spec/vcr/lib/spike_create_charge.yml