mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
119 lines
3.5 KiB
YAML
119 lines
3.5 KiB
YAML
|
---
|
||
|
http_interactions:
|
||
|
- request:
|
||
|
method: post
|
||
|
uri: https://api.stripe.com/v1/payment_methods
|
||
|
body:
|
||
|
encoding: UTF-8
|
||
|
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2023&card[cvc]=314
|
||
|
headers:
|
||
|
User-Agent:
|
||
|
- Stripe/v1 RubyBindings/5.29.0
|
||
|
Authorization:
|
||
|
- Bearer sk_test_testfaketestfaketestfake
|
||
|
Content-Type:
|
||
|
- application/x-www-form-urlencoded
|
||
|
X-Stripe-Client-Telemetry:
|
||
|
- '{"last_request_metrics":{"request_id":"req_TLScQWYYL5dzB0","request_duration_ms":2}}'
|
||
|
Stripe-Version:
|
||
|
- '2019-08-14'
|
||
|
X-Stripe-Client-User-Agent:
|
||
|
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.10 p210 (2022-04-12)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
|
||
|
version 5.18.10-arch1-1 (linux@archlinux) (gcc (GCC) 12.1.0, GNU ld (GNU Binutils)
|
||
|
2.38) #1 SMP PREEMPT_DYNAMIC Thu, 07 Jul 2022 17:18:13 +0000","hostname":"Sylvain-laptop"}'
|
||
|
Accept-Encoding:
|
||
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
||
|
Accept:
|
||
|
- "*/*"
|
||
|
response:
|
||
|
status:
|
||
|
code: 200
|
||
|
message: OK
|
||
|
headers:
|
||
|
Server:
|
||
|
- nginx
|
||
|
Date:
|
||
|
- Wed, 27 Jul 2022 15:21:15 GMT
|
||
|
Content-Type:
|
||
|
- application/json
|
||
|
Content-Length:
|
||
|
- '930'
|
||
|
Connection:
|
||
|
- keep-alive
|
||
|
Access-Control-Allow-Credentials:
|
||
|
- 'true'
|
||
|
Access-Control-Allow-Methods:
|
||
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||
|
Access-Control-Allow-Origin:
|
||
|
- "*"
|
||
|
Access-Control-Expose-Headers:
|
||
|
- Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
||
|
Access-Control-Max-Age:
|
||
|
- '300'
|
||
|
Cache-Control:
|
||
|
- no-cache, no-store
|
||
|
Idempotency-Key:
|
||
|
- fb9a01ef-f2e0-4c17-aa2c-77565e5bef21
|
||
|
Original-Request:
|
||
|
- req_ivPywFk7vszgb8
|
||
|
Request-Id:
|
||
|
- req_ivPywFk7vszgb8
|
||
|
Stripe-Should-Retry:
|
||
|
- 'false'
|
||
|
Stripe-Version:
|
||
|
- '2019-08-14'
|
||
|
Strict-Transport-Security:
|
||
|
- max-age=31556926; includeSubDomains; preload
|
||
|
body:
|
||
|
encoding: UTF-8
|
||
|
string: |-
|
||
|
{
|
||
|
"id": "pm_1LQC2x2sOmf47Nz9bvxgcgS3",
|
||
|
"object": "payment_method",
|
||
|
"billing_details": {
|
||
|
"address": {
|
||
|
"city": null,
|
||
|
"country": null,
|
||
|
"line1": null,
|
||
|
"line2": null,
|
||
|
"postal_code": null,
|
||
|
"state": null
|
||
|
},
|
||
|
"email": null,
|
||
|
"name": null,
|
||
|
"phone": null
|
||
|
},
|
||
|
"card": {
|
||
|
"brand": "visa",
|
||
|
"checks": {
|
||
|
"address_line1_check": null,
|
||
|
"address_postal_code_check": null,
|
||
|
"cvc_check": "unchecked"
|
||
|
},
|
||
|
"country": "US",
|
||
|
"exp_month": 4,
|
||
|
"exp_year": 2023,
|
||
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||
|
"funding": "credit",
|
||
|
"generated_from": null,
|
||
|
"last4": "4242",
|
||
|
"networks": {
|
||
|
"available": [
|
||
|
"visa"
|
||
|
],
|
||
|
"preferred": null
|
||
|
},
|
||
|
"three_d_secure_usage": {
|
||
|
"supported": true
|
||
|
},
|
||
|
"wallet": null
|
||
|
},
|
||
|
"created": 1658935275,
|
||
|
"customer": null,
|
||
|
"livemode": false,
|
||
|
"metadata": {},
|
||
|
"type": "card"
|
||
|
}
|
||
|
recorded_at: Wed, 27 Jul 2022 15:21:15 GMT
|
||
|
recorded_with: VCR 6.0.0
|