Files
danbooru/test/fixtures/vcr_cassettes/stripe-gold-to-plat-bad.yml
2014-11-06 17:43:10 -08:00

67 lines
2.4 KiB
YAML

---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/tokens
body:
encoding: US-ASCII
string: card[number]=4242424242424242&card[exp_month]=1&card[exp_year]=2015&card[cvc]=123
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
User-Agent:
- Stripe/v1 RubyBindings/1.16.0
Authorization:
- Bearer sk_test_kHviyCxbt9kBxeu46TeefJQH
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- ! '{"bindings_version":"1.16.0","lang":"ruby","lang_version":"1.9.3 p327 (2012-11-10)","platform":"x86_64-darwin13.1.0","publisher":"stripe","uname":"Darwin
ayi-ltm1.internal.salesforce.com 13.4.0 Darwin Kernel Version 13.4.0: Sun
Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64"}'
Content-Length:
- '81'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Fri, 07 Nov 2014 01:42:34 GMT
Content-Type:
- application/json;charset=utf-8
Content-Length:
- '623'
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- 131d3a38-43aa-4ae1-9740-e745bbec695d
Stripe-Version:
- '2014-10-07'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: US-ASCII
string: ! "{\n \"id\": \"tok_14w1lm2Od3yiQVdJsgew67au\",\n \"livemode\": false,\n
\ \"created\": 1415324554,\n \"used\": false,\n \"object\": \"token\",\n
\ \"type\": \"card\",\n \"card\": {\n \"id\": \"card_14w1ll2Od3yiQVdJbLrKD9YV\",\n
\ \"object\": \"card\",\n \"last4\": \"4242\",\n \"brand\": \"Visa\",\n
\ \"funding\": \"credit\",\n \"exp_month\": 1,\n \"exp_year\": 2015,\n
\ \"fingerprint\": \"xrSmurPsZCJllxXR\",\n \"country\": \"US\",\n \"name\":
null,\n \"address_line1\": null,\n \"address_line2\": null,\n \"address_city\":
null,\n \"address_state\": null,\n \"address_zip\": null,\n \"address_country\":
null,\n \"dynamic_last4\": null,\n \"customer\": null\n }\n}\n"
http_version:
recorded_at: Fri, 07 Nov 2014 01:42:33 GMT
recorded_with: VCR 2.9.0