Adds payment capture scenario

This commit is contained in:
filipefurtad0
2023-12-05 15:27:46 +00:00
parent f3f59ed6ad
commit e50baa9a18
34 changed files with 13068 additions and 1188 deletions

View File

@@ -1,529 +0,0 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4000002500003155&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Mon, 04 Dec 2023 20:46:32 GMT
Content-Type:
- application/json
Content-Length:
- '931'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- d5a8669a-5e7e-4ac5-9d9c-f7eafafbcbfa
Original-Request:
- req_wcTMbNP098ISmy
Request-Id:
- req_wcTMbNP098ISmy
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2CKuuB1fWySnmTYY6khQ",
"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": "FR",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "2Z1xiwQp79NyXETe",
"funding": "credit",
"generated_from": null,
"last4": "3155",
"networks": {
"available": [
"visa"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701722792,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:46:32 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2CKuuB1fWySnmTYY6khQ&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_wcTMbNP098ISmy","request_duration_ms":711}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Mon, 04 Dec 2023 20:46:33 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 4a6845b1-a6af-4c67-97c4-5f1c1bd2d9d6
Original-Request:
- req_5TLWJjEPel2FVW
Request-Id:
- req_5TLWJjEPel2FVW
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2DKuuB1fWySn2TTdJ1Tw",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2DKuuB1fWySn2TTdJ1Tw_secret_X6ePZ2G9LOnKehVKHiM0fapXu",
"confirmation_method": "automatic",
"created": 1701722793,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2CKuuB1fWySnmTYY6khQ",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:33 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2DKuuB1fWySn2TTdJ1Tw/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_5TLWJjEPel2FVW","request_duration_ms":720}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Mon, 04 Dec 2023 20:46:34 GMT
Content-Type:
- application/json
Content-Length:
- '1752'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 8d6f6a15-1913-463b-8c28-d45543abb367
Original-Request:
- req_yjy69ZLoaoY2mC
Request-Id:
- req_yjy69ZLoaoY2mC
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2DKuuB1fWySn2TTdJ1Tw",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2DKuuB1fWySn2TTdJ1Tw_secret_X6ePZ2G9LOnKehVKHiM0fapXu",
"confirmation_method": "automatic",
"created": 1701722793,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": {
"type": "use_stripe_sdk",
"use_stripe_sdk": {
"source": "src_1OJj2EKuuB1fWySnqeCQCrZF",
"stripe_js": "https://hooks.stripe.com/redirect/authenticate/src_1OJj2EKuuB1fWySnqeCQCrZF?client_secret=src_client_secret_YRiJPGckZJtNDUldHHbs8s3u&source_redirect_slug=test_YWNjdF8xRmlxRXNLdXVCMWZXeVNuLF9QN3owNGNMRDhFUGFaTmlJMjhqSjh5V1J0SGpkQkNl0100XBhfiDBT",
"type": "three_d_secure_redirect"
}
},
"on_behalf_of": null,
"payment_method": "pm_1OJj2CKuuB1fWySnmTYY6khQ",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_action",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:34 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2DKuuB1fWySn2TTdJ1Tw
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_yjy69ZLoaoY2mC","request_duration_ms":1123}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Mon, 04 Dec 2023 20:46:35 GMT
Content-Type:
- application/json
Content-Length:
- '1752'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_TFYWjB2c88GTQp
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2DKuuB1fWySn2TTdJ1Tw",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2DKuuB1fWySn2TTdJ1Tw_secret_X6ePZ2G9LOnKehVKHiM0fapXu",
"confirmation_method": "automatic",
"created": 1701722793,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": {
"type": "use_stripe_sdk",
"use_stripe_sdk": {
"source": "src_1OJj2EKuuB1fWySnqeCQCrZF",
"stripe_js": "https://hooks.stripe.com/redirect/authenticate/src_1OJj2EKuuB1fWySnqeCQCrZF?client_secret=src_client_secret_YRiJPGckZJtNDUldHHbs8s3u&source_redirect_slug=test_YWNjdF8xRmlxRXNLdXVCMWZXeVNuLF9QN3owNGNMRDhFUGFaTmlJMjhqSjh5V1J0SGpkQkNl0100XBhfiDBT",
"type": "three_d_secure_redirect"
}
},
"on_behalf_of": null,
"payment_method": "pm_1OJj2CKuuB1fWySnmTYY6khQ",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_action",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:35 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=378282246310005&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_hDMJRF3PKMkqRA","request_duration_ms":412}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:59 GMT
Content-Type:
- application/json
Content-Length:
- '932'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- a8ae9a78-6df4-437e-b614-6961ba8b9b19
Original-Request:
- req_SYoCWmWwYsUDB2
Request-Id:
- req_SYoCWmWwYsUDB2
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0NnKuuB1fWySnCwEknS1v",
"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": "amex",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "US",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "zYCOiuhqkk4w2g2M",
"funding": "credit",
"generated_from": null,
"last4": "0005",
"networks": {
"available": [
"amex"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": false
},
"wallet": null
},
"created": 1701789479,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:17:59 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0NnKuuB1fWySnCwEknS1v&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_SYoCWmWwYsUDB2","request_duration_ms":698}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:59 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- d36ad718-c670-4096-a0ce-2b2d90e4e084
Original-Request:
- req_sMOosltstE21F2
Request-Id:
- req_sMOosltstE21F2
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NnKuuB1fWySn1Ea3k80J",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NnKuuB1fWySn1Ea3k80J_secret_7wzasiQ4kikXKuqDTh3dmtOW6",
"confirmation_method": "automatic",
"created": 1701789479,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NnKuuB1fWySnCwEknS1v",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:59 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NnKuuB1fWySn1Ea3k80J/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_sMOosltstE21F2","request_duration_ms":623}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:01 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 6e48f67e-18c2-4c6f-b014-073854ce72c3
Original-Request:
- req_AlxJNFEp2APeSU
Request-Id:
- req_AlxJNFEp2APeSU
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NnKuuB1fWySn1Ea3k80J",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NnKuuB1fWySn1Ea3k80J_secret_7wzasiQ4kikXKuqDTh3dmtOW6",
"confirmation_method": "automatic",
"created": 1701789479,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NnKuuB1fWySn1g2gr2XU",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NnKuuB1fWySnCwEknS1v",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:00 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NnKuuB1fWySn1Ea3k80J
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_AlxJNFEp2APeSU","request_duration_ms":1238}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:01 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_rNC3BOSQBSM7jv
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NnKuuB1fWySn1Ea3k80J",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NnKuuB1fWySn1Ea3k80J_secret_7wzasiQ4kikXKuqDTh3dmtOW6",
"confirmation_method": "automatic",
"created": 1701789479,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NnKuuB1fWySn1g2gr2XU",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NnKuuB1fWySnCwEknS1v",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:01 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NnKuuB1fWySn1Ea3k80J/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_rNC3BOSQBSM7jv","request_duration_ms":528}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:03 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- d40d23b6-4806-4203-889f-af8b4283180c
Original-Request:
- req_ZHmpjdytcnwPEV
Request-Id:
- req_ZHmpjdytcnwPEV
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NnKuuB1fWySn1Ea3k80J",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NnKuuB1fWySn1Ea3k80J_secret_7wzasiQ4kikXKuqDTh3dmtOW6",
"confirmation_method": "automatic",
"created": 1701789479,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NnKuuB1fWySn1g2gr2XU",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NnKuuB1fWySnCwEknS1v",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:02 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NnKuuB1fWySn1Ea3k80J
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_ZHmpjdytcnwPEV","request_duration_ms":1460}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:03 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_CpRbwgH4d5pN4d
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NnKuuB1fWySn1Ea3k80J",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NnKuuB1fWySn1Ea3k80J_secret_7wzasiQ4kikXKuqDTh3dmtOW6",
"confirmation_method": "automatic",
"created": 1701789479,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NnKuuB1fWySn1g2gr2XU",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NnKuuB1fWySnCwEknS1v",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:03 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_2nR9W2ZCRoU7Zt","request_duration_ms":418}}'
- '{"last_request_metrics":{"request_id":"req_aill0MXqVb2gur","request_duration_ms":373}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:52 GMT
- Tue, 05 Dec 2023 15:17:56 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 785d9bdb-3260-4702-afed-6a1995c41bf4
- f4bf3727-3295-4ec9-b193-a3bcc6248d8c
Original-Request:
- req_ud5UGo3TLJlE3V
- req_IKwNHSoX51G1UH
Request-Id:
- req_ud5UGo3TLJlE3V
- req_IKwNHSoX51G1UH
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2WKuuB1fWySnp8wdHY2g",
"id": "pm_1OK0NjKuuB1fWySnf1DLzQbQ",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722812,
"created": 1701789475,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:46:52 GMT
recorded_at: Tue, 05 Dec 2023 15:17:55 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2WKuuB1fWySnp8wdHY2g&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0NjKuuB1fWySnf1DLzQbQ&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_ud5UGo3TLJlE3V","request_duration_ms":467}}'
- '{"last_request_metrics":{"request_id":"req_IKwNHSoX51G1UH","request_duration_ms":625}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:53 GMT
- Tue, 05 Dec 2023 15:17:56 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 1c8d6a4b-c6be-492e-a4c7-ebafba7c78f4
- 343353fc-4ba4-47f6-a8b6-c485c4d65cf6
Original-Request:
- req_XhKxeSDZ0Sycn9
- req_a5MRKLmiWzP5Bt
Request-Id:
- req_XhKxeSDZ0Sycn9
- req_a5MRKLmiWzP5Bt
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2WKuuB1fWySn07Xkpx25",
"id": "pi_3OK0NkKuuB1fWySn26j9L00x",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2WKuuB1fWySn07Xkpx25_secret_t5FsYIakS9DwGTIOEX8QbL6jQ",
"client_secret": "pi_3OK0NkKuuB1fWySn26j9L00x_secret_TsLQMlOnmhjCZWjBbiBqldzDB",
"confirmation_method": "automatic",
"created": 1701722812,
"created": 1701789476,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2WKuuB1fWySnp8wdHY2g",
"payment_method": "pm_1OK0NjKuuB1fWySnf1DLzQbQ",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:53 GMT
recorded_at: Tue, 05 Dec 2023 15:17:56 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2WKuuB1fWySn07Xkpx25/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NkKuuB1fWySn26j9L00x/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_XhKxeSDZ0Sycn9","request_duration_ms":396}}'
- '{"last_request_metrics":{"request_id":"req_a5MRKLmiWzP5Bt","request_duration_ms":624}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:54 GMT
- Tue, 05 Dec 2023 15:17:57 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 65158ad1-4aa8-4f37-8e1e-1bda18bffb65
- 8c0875cb-1e95-4d4c-997d-c9c21248117e
Original-Request:
- req_L5y463rS7140I6
- req_oSfvc1FoeEuIOl
Request-Id:
- req_L5y463rS7140I6
- req_oSfvc1FoeEuIOl
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2WKuuB1fWySn07Xkpx25",
"id": "pi_3OK0NkKuuB1fWySn26j9L00x",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2WKuuB1fWySn07Xkpx25_secret_t5FsYIakS9DwGTIOEX8QbL6jQ",
"client_secret": "pi_3OK0NkKuuB1fWySn26j9L00x_secret_TsLQMlOnmhjCZWjBbiBqldzDB",
"confirmation_method": "automatic",
"created": 1701722812,
"created": 1701789476,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2WKuuB1fWySn0tBsEUXs",
"latest_charge": "ch_3OK0NkKuuB1fWySn2a21PE8W",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2WKuuB1fWySnp8wdHY2g",
"payment_method": "pm_1OK0NjKuuB1fWySnf1DLzQbQ",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:54 GMT
recorded_at: Tue, 05 Dec 2023 15:17:57 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2WKuuB1fWySn07Xkpx25
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NkKuuB1fWySn26j9L00x
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_L5y463rS7140I6","request_duration_ms":1027}}'
- '{"last_request_metrics":{"request_id":"req_oSfvc1FoeEuIOl","request_duration_ms":1042}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:55 GMT
- Tue, 05 Dec 2023 15:17:58 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_hIwz6YfndA8AcC
- req_hDMJRF3PKMkqRA
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2WKuuB1fWySn07Xkpx25",
"id": "pi_3OK0NkKuuB1fWySn26j9L00x",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2WKuuB1fWySn07Xkpx25_secret_t5FsYIakS9DwGTIOEX8QbL6jQ",
"client_secret": "pi_3OK0NkKuuB1fWySn26j9L00x_secret_TsLQMlOnmhjCZWjBbiBqldzDB",
"confirmation_method": "automatic",
"created": 1701722812,
"created": 1701789476,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2WKuuB1fWySn0tBsEUXs",
"latest_charge": "ch_3OK0NkKuuB1fWySn2a21PE8W",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2WKuuB1fWySnp8wdHY2g",
"payment_method": "pm_1OK0NjKuuB1fWySnf1DLzQbQ",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:55 GMT
recorded_at: Tue, 05 Dec 2023 15:17:58 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=6555900000604105&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_N9IvR7c7bdPRVF","request_duration_ms":489}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:39 GMT
Content-Type:
- application/json
Content-Length:
- '939'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 18ada2e6-2f82-48a6-a66f-c528075b2a3b
Original-Request:
- req_LBhKyXRz0te2LM
Request-Id:
- req_LBhKyXRz0te2LM
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0ORKuuB1fWySn01GwTcHT",
"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": "discover",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "US",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "7NZ8adObS8Rw8HOq",
"funding": "credit",
"generated_from": null,
"last4": "4105",
"networks": {
"available": [
"discover"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789519,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:18:38 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0ORKuuB1fWySn01GwTcHT&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_LBhKyXRz0te2LM","request_duration_ms":485}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:39 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 1d6614cf-5c31-406a-93c0-976861923559
Original-Request:
- req_KWddo4V7yQvpKh
Request-Id:
- req_KWddo4V7yQvpKh
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0ORKuuB1fWySn0sIZSpGF",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0ORKuuB1fWySn0sIZSpGF_secret_Jbm9bPiWtYazT9cw1wwdeWxz4",
"confirmation_method": "automatic",
"created": 1701789519,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0ORKuuB1fWySn01GwTcHT",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:39 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0ORKuuB1fWySn0sIZSpGF/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_KWddo4V7yQvpKh","request_duration_ms":510}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:40 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- f562bdb6-62fd-436d-89f3-1110fae6fe1a
Original-Request:
- req_vmRWBvjaYxSsqJ
Request-Id:
- req_vmRWBvjaYxSsqJ
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0ORKuuB1fWySn0sIZSpGF",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0ORKuuB1fWySn0sIZSpGF_secret_Jbm9bPiWtYazT9cw1wwdeWxz4",
"confirmation_method": "automatic",
"created": 1701789519,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0ORKuuB1fWySn00XsuLJz",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0ORKuuB1fWySn01GwTcHT",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:40 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0ORKuuB1fWySn0sIZSpGF
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_vmRWBvjaYxSsqJ","request_duration_ms":1051}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:41 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_0IKVsFYco3MLM0
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0ORKuuB1fWySn0sIZSpGF",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0ORKuuB1fWySn0sIZSpGF_secret_Jbm9bPiWtYazT9cw1wwdeWxz4",
"confirmation_method": "automatic",
"created": 1701789519,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0ORKuuB1fWySn00XsuLJz",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0ORKuuB1fWySn01GwTcHT",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:40 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0ORKuuB1fWySn0sIZSpGF/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_0IKVsFYco3MLM0","request_duration_ms":426}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:42 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 461c4490-90ac-4b91-980d-dc06fdc1ae01
Original-Request:
- req_kOivKLRQV2gwAG
Request-Id:
- req_kOivKLRQV2gwAG
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0ORKuuB1fWySn0sIZSpGF",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0ORKuuB1fWySn0sIZSpGF_secret_Jbm9bPiWtYazT9cw1wwdeWxz4",
"confirmation_method": "automatic",
"created": 1701789519,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0ORKuuB1fWySn00XsuLJz",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0ORKuuB1fWySn01GwTcHT",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:42 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0ORKuuB1fWySn0sIZSpGF
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_kOivKLRQV2gwAG","request_duration_ms":1163}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:42 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_T1R5tMpzPVq4Qh
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0ORKuuB1fWySn0sIZSpGF",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0ORKuuB1fWySn0sIZSpGF_secret_Jbm9bPiWtYazT9cw1wwdeWxz4",
"confirmation_method": "automatic",
"created": 1701789519,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0ORKuuB1fWySn00XsuLJz",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0ORKuuB1fWySn01GwTcHT",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:42 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Huk2iMtr6cghVI","request_duration_ms":390}}'
- '{"last_request_metrics":{"request_id":"req_FsWpCIItxhZwAx","request_duration_ms":493}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:08 GMT
- Tue, 05 Dec 2023 15:18:36 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 4e1d0fda-1907-49be-afd9-82243424994b
- a8f4a2e6-110e-43f2-8837-894841616018
Original-Request:
- req_UsUuNXI6Mf78Zr
- req_uAMB03UKPu5Lvf
Request-Id:
- req_UsUuNXI6Mf78Zr
- req_uAMB03UKPu5Lvf
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2mKuuB1fWySnwzbZHjl8",
"id": "pm_1OK0OOKuuB1fWySnGptMBuYy",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722828,
"created": 1701789516,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:47:08 GMT
recorded_at: Tue, 05 Dec 2023 15:18:36 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2mKuuB1fWySnwzbZHjl8&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0OOKuuB1fWySnGptMBuYy&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_UsUuNXI6Mf78Zr","request_duration_ms":574}}'
- '{"last_request_metrics":{"request_id":"req_uAMB03UKPu5Lvf","request_duration_ms":500}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:08 GMT
- Tue, 05 Dec 2023 15:18:36 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- c225ede7-4a69-4984-b0bc-0fea33898deb
- 743a1f66-3192-43e3-9e89-f53978609279
Original-Request:
- req_Xx4ybTOvJ2JW1q
- req_7xYPaXePiaTYB8
Request-Id:
- req_Xx4ybTOvJ2JW1q
- req_7xYPaXePiaTYB8
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2mKuuB1fWySn0bNhtOzo",
"id": "pi_3OK0OOKuuB1fWySn2OKUeMDy",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2mKuuB1fWySn0bNhtOzo_secret_XUKC9pxXp4pPc8a3MCH02okch",
"client_secret": "pi_3OK0OOKuuB1fWySn2OKUeMDy_secret_J1Fu2Q2OdSokbidZipe83zGBB",
"confirmation_method": "automatic",
"created": 1701722828,
"created": 1701789516,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2mKuuB1fWySnwzbZHjl8",
"payment_method": "pm_1OK0OOKuuB1fWySnGptMBuYy",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:08 GMT
recorded_at: Tue, 05 Dec 2023 15:18:36 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2mKuuB1fWySn0bNhtOzo/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OOKuuB1fWySn2OKUeMDy/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Xx4ybTOvJ2JW1q","request_duration_ms":404}}'
- '{"last_request_metrics":{"request_id":"req_7xYPaXePiaTYB8","request_duration_ms":468}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:09 GMT
- Tue, 05 Dec 2023 15:18:37 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- a72f707b-9107-4716-a499-6d6ad43d76df
- 2cf4c83e-08f6-40d0-89ae-084c8e9237ec
Original-Request:
- req_1iXUE29Ls5dtX5
- req_PPPIIre38iMPAf
Request-Id:
- req_1iXUE29Ls5dtX5
- req_PPPIIre38iMPAf
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2mKuuB1fWySn0bNhtOzo",
"id": "pi_3OK0OOKuuB1fWySn2OKUeMDy",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2mKuuB1fWySn0bNhtOzo_secret_XUKC9pxXp4pPc8a3MCH02okch",
"client_secret": "pi_3OK0OOKuuB1fWySn2OKUeMDy_secret_J1Fu2Q2OdSokbidZipe83zGBB",
"confirmation_method": "automatic",
"created": 1701722828,
"created": 1701789516,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2mKuuB1fWySn0Z6aBzKj",
"latest_charge": "ch_3OK0OOKuuB1fWySn24oGO6oI",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2mKuuB1fWySnwzbZHjl8",
"payment_method": "pm_1OK0OOKuuB1fWySnGptMBuYy",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:09 GMT
recorded_at: Tue, 05 Dec 2023 15:18:37 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2mKuuB1fWySn0bNhtOzo
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OOKuuB1fWySn2OKUeMDy
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_1iXUE29Ls5dtX5","request_duration_ms":1020}}'
- '{"last_request_metrics":{"request_id":"req_PPPIIre38iMPAf","request_duration_ms":1016}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:10 GMT
- Tue, 05 Dec 2023 15:18:38 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_MVdZ7didxp5zr8
- req_N9IvR7c7bdPRVF
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2mKuuB1fWySn0bNhtOzo",
"id": "pi_3OK0OOKuuB1fWySn2OKUeMDy",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2mKuuB1fWySn0bNhtOzo_secret_XUKC9pxXp4pPc8a3MCH02okch",
"client_secret": "pi_3OK0OOKuuB1fWySn2OKUeMDy_secret_J1Fu2Q2OdSokbidZipe83zGBB",
"confirmation_method": "automatic",
"created": 1701722828,
"created": 1701789516,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2mKuuB1fWySn0Z6aBzKj",
"latest_charge": "ch_3OK0OOKuuB1fWySn24oGO6oI",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2mKuuB1fWySnwzbZHjl8",
"payment_method": "pm_1OK0OOKuuB1fWySnGptMBuYy",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:10 GMT
recorded_at: Tue, 05 Dec 2023 15:18:38 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=3056930009020004&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_WmC2NruzVUF1qB","request_duration_ms":516}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:24 GMT
Content-Type:
- application/json
Content-Length:
- '936'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 93f68076-4a61-483e-9d6a-3da797c891af
Original-Request:
- req_AF8cYVTb9Rp80a
Request-Id:
- req_AF8cYVTb9Rp80a
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0OCKuuB1fWySnXXYtmIqO",
"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": "diners",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "US",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "8CvV2XFCUY7eGw6O",
"funding": "credit",
"generated_from": null,
"last4": "0004",
"networks": {
"available": [
"diners"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": false
},
"wallet": null
},
"created": 1701789504,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:18:24 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0OCKuuB1fWySnXXYtmIqO&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_AF8cYVTb9Rp80a","request_duration_ms":685}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:25 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 4bacfd64-5c40-4602-a162-4d31f820e03e
Original-Request:
- req_pITol3FN79B8nb
Request-Id:
- req_pITol3FN79B8nb
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0ODKuuB1fWySn2L39JsPV",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0ODKuuB1fWySn2L39JsPV_secret_pMYnFNWohTPsSdwOOSmfS4lIF",
"confirmation_method": "automatic",
"created": 1701789505,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OCKuuB1fWySnXXYtmIqO",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:25 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0ODKuuB1fWySn2L39JsPV/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_pITol3FN79B8nb","request_duration_ms":733}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:26 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- ddd63ea8-d6af-41d1-a473-54444ebe2bb7
Original-Request:
- req_gEQw4EUIq9Utey
Request-Id:
- req_gEQw4EUIq9Utey
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0ODKuuB1fWySn2L39JsPV",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0ODKuuB1fWySn2L39JsPV_secret_pMYnFNWohTPsSdwOOSmfS4lIF",
"confirmation_method": "automatic",
"created": 1701789505,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0ODKuuB1fWySn2JjFgzR4",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OCKuuB1fWySnXXYtmIqO",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:26 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0ODKuuB1fWySn2L39JsPV
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_gEQw4EUIq9Utey","request_duration_ms":1249}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:27 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_N4xfPjUAXq6Gix
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0ODKuuB1fWySn2L39JsPV",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0ODKuuB1fWySn2L39JsPV_secret_pMYnFNWohTPsSdwOOSmfS4lIF",
"confirmation_method": "automatic",
"created": 1701789505,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0ODKuuB1fWySn2JjFgzR4",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OCKuuB1fWySnXXYtmIqO",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:27 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0ODKuuB1fWySn2L39JsPV/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_N4xfPjUAXq6Gix","request_duration_ms":517}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:28 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 27a7c41c-ac5d-4133-b9bd-f3eabb7a36ce
Original-Request:
- req_RyhaEhFojMNcKq
Request-Id:
- req_RyhaEhFojMNcKq
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0ODKuuB1fWySn2L39JsPV",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0ODKuuB1fWySn2L39JsPV_secret_pMYnFNWohTPsSdwOOSmfS4lIF",
"confirmation_method": "automatic",
"created": 1701789505,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0ODKuuB1fWySn2JjFgzR4",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OCKuuB1fWySnXXYtmIqO",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:28 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0ODKuuB1fWySn2L39JsPV
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_RyhaEhFojMNcKq","request_duration_ms":1021}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:29 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_WISMFz5TxsTsH2
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0ODKuuB1fWySn2L39JsPV",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0ODKuuB1fWySn2L39JsPV_secret_pMYnFNWohTPsSdwOOSmfS4lIF",
"confirmation_method": "automatic",
"created": 1701789505,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0ODKuuB1fWySn2JjFgzR4",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OCKuuB1fWySnXXYtmIqO",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:28 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_QyvzzQqGeKUY7C","request_duration_ms":394}}'
- '{"last_request_metrics":{"request_id":"req_fEQMyAwtwZBVEk","request_duration_ms":411}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:02 GMT
- Tue, 05 Dec 2023 15:18:21 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 323860d7-7e6a-4f30-9f14-558973f820d2
- 1e540e0b-0403-4021-9fe1-ff7244b01325
Original-Request:
- req_gGtCYiWxbNeaJv
- req_2wmS5fABuqN6wt
Request-Id:
- req_gGtCYiWxbNeaJv
- req_2wmS5fABuqN6wt
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2gKuuB1fWySnUg2cFGOG",
"id": "pm_1OK0O9KuuB1fWySnYxg1USuQ",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722822,
"created": 1701789501,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:47:02 GMT
recorded_at: Tue, 05 Dec 2023 15:18:21 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2gKuuB1fWySnUg2cFGOG&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0O9KuuB1fWySnYxg1USuQ&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_gGtCYiWxbNeaJv","request_duration_ms":572}}'
- '{"last_request_metrics":{"request_id":"req_2wmS5fABuqN6wt","request_duration_ms":583}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:03 GMT
- Tue, 05 Dec 2023 15:18:22 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- bd145627-8d95-40ad-aa8d-05715feabb2f
- 82413363-4d46-48ca-b23c-a2f89b7fa445
Original-Request:
- req_u4pKVVS1PRCvVN
- req_sILOyo6TfjinMP
Request-Id:
- req_u4pKVVS1PRCvVN
- req_sILOyo6TfjinMP
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2gKuuB1fWySn0oN3C56a",
"id": "pi_3OK0O9KuuB1fWySn2dzGWJDM",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2gKuuB1fWySn0oN3C56a_secret_PoHyuHdQsNXD5sr4e2AaPwqsO",
"client_secret": "pi_3OK0O9KuuB1fWySn2dzGWJDM_secret_iwQSzWjIVFSMUymOSFfcR2yXm",
"confirmation_method": "automatic",
"created": 1701722822,
"created": 1701789501,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2gKuuB1fWySnUg2cFGOG",
"payment_method": "pm_1OK0O9KuuB1fWySnYxg1USuQ",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:03 GMT
recorded_at: Tue, 05 Dec 2023 15:18:21 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2gKuuB1fWySn0oN3C56a/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0O9KuuB1fWySn2dzGWJDM/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_u4pKVVS1PRCvVN","request_duration_ms":506}}'
- '{"last_request_metrics":{"request_id":"req_sILOyo6TfjinMP","request_duration_ms":650}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:03 GMT
- Tue, 05 Dec 2023 15:18:23 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- b9f75b70-dc38-4659-91a5-93bb7f1f081f
- d8f9a2a4-3514-4083-9bbc-2510ebe95077
Original-Request:
- req_hHAv52Rtio8Kar
- req_ryGKj05BBCSD8X
Request-Id:
- req_hHAv52Rtio8Kar
- req_ryGKj05BBCSD8X
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2gKuuB1fWySn0oN3C56a",
"id": "pi_3OK0O9KuuB1fWySn2dzGWJDM",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2gKuuB1fWySn0oN3C56a_secret_PoHyuHdQsNXD5sr4e2AaPwqsO",
"client_secret": "pi_3OK0O9KuuB1fWySn2dzGWJDM_secret_iwQSzWjIVFSMUymOSFfcR2yXm",
"confirmation_method": "automatic",
"created": 1701722822,
"created": 1701789501,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2gKuuB1fWySn0PgzKS1r",
"latest_charge": "ch_3OK0O9KuuB1fWySn2kmXf3Z1",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2gKuuB1fWySnUg2cFGOG",
"payment_method": "pm_1OK0O9KuuB1fWySnYxg1USuQ",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:03 GMT
recorded_at: Tue, 05 Dec 2023 15:18:23 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2gKuuB1fWySn0oN3C56a
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0O9KuuB1fWySn2dzGWJDM
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_hHAv52Rtio8Kar","request_duration_ms":838}}'
- '{"last_request_metrics":{"request_id":"req_ryGKj05BBCSD8X","request_duration_ms":1249}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:04 GMT
- Tue, 05 Dec 2023 15:18:24 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_zHez8FZF2OLOHh
- req_WmC2NruzVUF1qB
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2gKuuB1fWySn0oN3C56a",
"id": "pi_3OK0O9KuuB1fWySn2dzGWJDM",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2gKuuB1fWySn0oN3C56a_secret_PoHyuHdQsNXD5sr4e2AaPwqsO",
"client_secret": "pi_3OK0O9KuuB1fWySn2dzGWJDM_secret_iwQSzWjIVFSMUymOSFfcR2yXm",
"confirmation_method": "automatic",
"created": 1701722822,
"created": 1701789501,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2gKuuB1fWySn0PgzKS1r",
"latest_charge": "ch_3OK0O9KuuB1fWySn2kmXf3Z1",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2gKuuB1fWySnUg2cFGOG",
"payment_method": "pm_1OK0O9KuuB1fWySnYxg1USuQ",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:04 GMT
recorded_at: Tue, 05 Dec 2023 15:18:24 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=36227206271667&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_gF5BV3665PJPDP","request_duration_ms":368}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:32 GMT
Content-Type:
- application/json
Content-Length:
- '936'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- d48744a5-5171-4a65-87a0-f708d6a36a5f
Original-Request:
- req_RrZ1sJtovOOBje
Request-Id:
- req_RrZ1sJtovOOBje
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0OKKuuB1fWySn6WzTbGV2",
"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": "diners",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "US",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "gDlx6y9moRYkO83e",
"funding": "credit",
"generated_from": null,
"last4": "1667",
"networks": {
"available": [
"diners"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": false
},
"wallet": null
},
"created": 1701789512,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:18:31 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0OKKuuB1fWySn6WzTbGV2&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_RrZ1sJtovOOBje","request_duration_ms":513}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:32 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 36c9609b-1c1d-4196-83ed-b06942b1990b
Original-Request:
- req_s2WqG1gJrDeKCm
Request-Id:
- req_s2WqG1gJrDeKCm
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OKKuuB1fWySn0TJin4D9",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OKKuuB1fWySn0TJin4D9_secret_ljmW3elp3sfCUMyAzATpJYIp5",
"confirmation_method": "automatic",
"created": 1701789512,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OKKuuB1fWySn6WzTbGV2",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:32 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OKKuuB1fWySn0TJin4D9/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_s2WqG1gJrDeKCm","request_duration_ms":614}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:33 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- b2fecd39-2e57-4906-8be0-c1ba7721e9c1
Original-Request:
- req_8ypzoboT7DiogX
Request-Id:
- req_8ypzoboT7DiogX
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OKKuuB1fWySn0TJin4D9",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OKKuuB1fWySn0TJin4D9_secret_ljmW3elp3sfCUMyAzATpJYIp5",
"confirmation_method": "automatic",
"created": 1701789512,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OKKuuB1fWySn0oj3Kykf",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OKKuuB1fWySn6WzTbGV2",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:33 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OKKuuB1fWySn0TJin4D9
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_8ypzoboT7DiogX","request_duration_ms":1047}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:34 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_XmZiX7jkQguWjO
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OKKuuB1fWySn0TJin4D9",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OKKuuB1fWySn0TJin4D9_secret_ljmW3elp3sfCUMyAzATpJYIp5",
"confirmation_method": "automatic",
"created": 1701789512,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OKKuuB1fWySn0oj3Kykf",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OKKuuB1fWySn6WzTbGV2",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:33 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OKKuuB1fWySn0TJin4D9/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_XmZiX7jkQguWjO","request_duration_ms":408}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:35 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- f68fe172-f97a-452f-b7c9-b8ef61b69b4d
Original-Request:
- req_ccAEZHbsZ6WPUJ
Request-Id:
- req_ccAEZHbsZ6WPUJ
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OKKuuB1fWySn0TJin4D9",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OKKuuB1fWySn0TJin4D9_secret_ljmW3elp3sfCUMyAzATpJYIp5",
"confirmation_method": "automatic",
"created": 1701789512,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OKKuuB1fWySn0oj3Kykf",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OKKuuB1fWySn6WzTbGV2",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:35 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OKKuuB1fWySn0TJin4D9
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_ccAEZHbsZ6WPUJ","request_duration_ms":1071}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:35 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_FsWpCIItxhZwAx
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OKKuuB1fWySn0TJin4D9",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OKKuuB1fWySn0TJin4D9_secret_ljmW3elp3sfCUMyAzATpJYIp5",
"confirmation_method": "automatic",
"created": 1701789512,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OKKuuB1fWySn0oj3Kykf",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OKKuuB1fWySn6WzTbGV2",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:35 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_zHez8FZF2OLOHh","request_duration_ms":388}}'
- '{"last_request_metrics":{"request_id":"req_WISMFz5TxsTsH2","request_duration_ms":347}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:05 GMT
- Tue, 05 Dec 2023 15:18:29 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- d515aec3-6187-45a7-a15d-204bd33f6d89
- 6de8d9b8-4e18-4b06-8db0-4866f971af3d
Original-Request:
- req_kubS80nZjHbZPs
- req_pMgRt6g1WYtnVF
Request-Id:
- req_kubS80nZjHbZPs
- req_pMgRt6g1WYtnVF
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2jKuuB1fWySn3RgNmuah",
"id": "pm_1OK0OHKuuB1fWySnfdKrLSaO",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722825,
"created": 1701789509,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:47:05 GMT
recorded_at: Tue, 05 Dec 2023 15:18:29 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2jKuuB1fWySn3RgNmuah&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0OHKuuB1fWySnfdKrLSaO&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_kubS80nZjHbZPs","request_duration_ms":573}}'
- '{"last_request_metrics":{"request_id":"req_pMgRt6g1WYtnVF","request_duration_ms":460}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:05 GMT
- Tue, 05 Dec 2023 15:18:30 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 6817365c-51f0-4d4a-99ac-69e68171ad1e
- 960de879-0f49-4887-a35f-96a1ef5a0dde
Original-Request:
- req_g3hnQzB5ZlXOsP
- req_tRlxa4A80syvcP
Request-Id:
- req_g3hnQzB5ZlXOsP
- req_tRlxa4A80syvcP
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2jKuuB1fWySn2j9vH0uw",
"id": "pi_3OK0OHKuuB1fWySn1Gh3RVWD",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2jKuuB1fWySn2j9vH0uw_secret_I8oix67gX7JnJFsd4otPRGEB6",
"client_secret": "pi_3OK0OHKuuB1fWySn1Gh3RVWD_secret_027i8OfISkmpgjbIjkZTDcrS7",
"confirmation_method": "automatic",
"created": 1701722825,
"created": 1701789509,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2jKuuB1fWySn3RgNmuah",
"payment_method": "pm_1OK0OHKuuB1fWySnfdKrLSaO",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:05 GMT
recorded_at: Tue, 05 Dec 2023 15:18:29 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2jKuuB1fWySn2j9vH0uw/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OHKuuB1fWySn1Gh3RVWD/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_g3hnQzB5ZlXOsP","request_duration_ms":502}}'
- '{"last_request_metrics":{"request_id":"req_tRlxa4A80syvcP","request_duration_ms":512}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:06 GMT
- Tue, 05 Dec 2023 15:18:31 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- d553557d-e7a8-4d4e-829c-a8dba40d18de
- 1c003b8f-8c3b-4faf-8125-f133cb4e1669
Original-Request:
- req_WL9p3GWQJc1rCi
- req_QaocmSTOevIwEa
Request-Id:
- req_WL9p3GWQJc1rCi
- req_QaocmSTOevIwEa
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2jKuuB1fWySn2j9vH0uw",
"id": "pi_3OK0OHKuuB1fWySn1Gh3RVWD",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2jKuuB1fWySn2j9vH0uw_secret_I8oix67gX7JnJFsd4otPRGEB6",
"client_secret": "pi_3OK0OHKuuB1fWySn1Gh3RVWD_secret_027i8OfISkmpgjbIjkZTDcrS7",
"confirmation_method": "automatic",
"created": 1701722825,
"created": 1701789509,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2jKuuB1fWySn2oDk10YR",
"latest_charge": "ch_3OK0OHKuuB1fWySn1LDXECIw",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2jKuuB1fWySn3RgNmuah",
"payment_method": "pm_1OK0OHKuuB1fWySnfdKrLSaO",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:07 GMT
recorded_at: Tue, 05 Dec 2023 15:18:30 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2jKuuB1fWySn2j9vH0uw
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OHKuuB1fWySn1Gh3RVWD
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_WL9p3GWQJc1rCi","request_duration_ms":1123}}'
- '{"last_request_metrics":{"request_id":"req_QaocmSTOevIwEa","request_duration_ms":962}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:07 GMT
- Tue, 05 Dec 2023 15:18:31 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_Huk2iMtr6cghVI
- req_gF5BV3665PJPDP
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2jKuuB1fWySn2j9vH0uw",
"id": "pi_3OK0OHKuuB1fWySn1Gh3RVWD",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2jKuuB1fWySn2j9vH0uw_secret_I8oix67gX7JnJFsd4otPRGEB6",
"client_secret": "pi_3OK0OHKuuB1fWySn1Gh3RVWD_secret_027i8OfISkmpgjbIjkZTDcrS7",
"confirmation_method": "automatic",
"created": 1701722825,
"created": 1701789509,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2jKuuB1fWySn2oDk10YR",
"latest_charge": "ch_3OK0OHKuuB1fWySn1LDXECIw",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2jKuuB1fWySn3RgNmuah",
"payment_method": "pm_1OK0OHKuuB1fWySnfdKrLSaO",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:07 GMT
recorded_at: Tue, 05 Dec 2023 15:18:31 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=6011111111111117&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_1hLpMPmHEGomFh","request_duration_ms":407}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:08 GMT
Content-Type:
- application/json
Content-Length:
- '939'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- e958287d-3f3b-4aea-b4aa-23506d886393
Original-Request:
- req_INtOy9prrhZKbl
Request-Id:
- req_INtOy9prrhZKbl
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0NwKuuB1fWySnfUgFlKXB",
"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": "discover",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "US",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "SJztPPlfyEUr9hdK",
"funding": "credit",
"generated_from": null,
"last4": "1117",
"networks": {
"available": [
"discover"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789488,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:18:08 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0NwKuuB1fWySnfUgFlKXB&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_INtOy9prrhZKbl","request_duration_ms":698}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:08 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 10001b20-617a-4f79-a704-de9ffc21985f
Original-Request:
- req_yYXtKZ4VDOonsV
Request-Id:
- req_yYXtKZ4VDOonsV
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NwKuuB1fWySn0fgo2maD",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NwKuuB1fWySn0fgo2maD_secret_pkX6XOmt6wkplCy8JMO28QVlZ",
"confirmation_method": "automatic",
"created": 1701789488,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NwKuuB1fWySnfUgFlKXB",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:08 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NwKuuB1fWySn0fgo2maD/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_yYXtKZ4VDOonsV","request_duration_ms":627}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:10 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- ac79c4ad-ea9f-4d6c-b7dc-26f89a83facc
Original-Request:
- req_e5q1D2vKSl0DnF
Request-Id:
- req_e5q1D2vKSl0DnF
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NwKuuB1fWySn0fgo2maD",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NwKuuB1fWySn0fgo2maD_secret_pkX6XOmt6wkplCy8JMO28QVlZ",
"confirmation_method": "automatic",
"created": 1701789488,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NwKuuB1fWySn0kCldUqy",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NwKuuB1fWySnfUgFlKXB",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:09 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NwKuuB1fWySn0fgo2maD
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_e5q1D2vKSl0DnF","request_duration_ms":1249}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:10 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_rXIL9kFKAQqZXW
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NwKuuB1fWySn0fgo2maD",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NwKuuB1fWySn0fgo2maD_secret_pkX6XOmt6wkplCy8JMO28QVlZ",
"confirmation_method": "automatic",
"created": 1701789488,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NwKuuB1fWySn0kCldUqy",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NwKuuB1fWySnfUgFlKXB",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:10 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NwKuuB1fWySn0fgo2maD/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_rXIL9kFKAQqZXW","request_duration_ms":414}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:11 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 93b2b280-7a0b-4df2-b26c-5dd7cd114136
Original-Request:
- req_24U8Ir715ClZBs
Request-Id:
- req_24U8Ir715ClZBs
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NwKuuB1fWySn0fgo2maD",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NwKuuB1fWySn0fgo2maD_secret_pkX6XOmt6wkplCy8JMO28QVlZ",
"confirmation_method": "automatic",
"created": 1701789488,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NwKuuB1fWySn0kCldUqy",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NwKuuB1fWySnfUgFlKXB",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:11 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NwKuuB1fWySn0fgo2maD
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_24U8Ir715ClZBs","request_duration_ms":997}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:12 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_JrYczcmiuxsmqo
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NwKuuB1fWySn0fgo2maD",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NwKuuB1fWySn0fgo2maD_secret_pkX6XOmt6wkplCy8JMO28QVlZ",
"confirmation_method": "automatic",
"created": 1701789488,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NwKuuB1fWySn0kCldUqy",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NwKuuB1fWySnfUgFlKXB",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:11 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_hIwz6YfndA8AcC","request_duration_ms":3}}'
- '{"last_request_metrics":{"request_id":"req_CpRbwgH4d5pN4d","request_duration_ms":1}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:56 GMT
- Tue, 05 Dec 2023 15:18:05 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 97a91438-d123-4854-a92b-aa720cd12084
- 81d2d69c-8a49-4c1f-ac8b-da505d6a5703
Original-Request:
- req_TvJodmTvBRnmnJ
- req_RxgTHuCyiQnRk7
Request-Id:
- req_TvJodmTvBRnmnJ
- req_RxgTHuCyiQnRk7
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2aKuuB1fWySnMsW5jxOx",
"id": "pm_1OK0NsKuuB1fWySnu84NwBCO",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722816,
"created": 1701789484,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:46:56 GMT
recorded_at: Tue, 05 Dec 2023 15:18:04 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2aKuuB1fWySnMsW5jxOx&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0NsKuuB1fWySnu84NwBCO&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_TvJodmTvBRnmnJ","request_duration_ms":640}}'
- '{"last_request_metrics":{"request_id":"req_RxgTHuCyiQnRk7","request_duration_ms":958}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:56 GMT
- Tue, 05 Dec 2023 15:18:05 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- bd96c097-19d5-4780-9a3b-e64f79d99022
- '00099559-508e-4f1e-8a4c-d5cd59156464'
Original-Request:
- req_GfG1H0LGaxGRH5
- req_WdkrWLU7ikaF70
Request-Id:
- req_GfG1H0LGaxGRH5
- req_WdkrWLU7ikaF70
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2aKuuB1fWySn0vqbmdz5",
"id": "pi_3OK0NtKuuB1fWySn2Kfuyw7h",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2aKuuB1fWySn0vqbmdz5_secret_F83oJtyX1n1fgnE3qwMkM4Gzn",
"client_secret": "pi_3OK0NtKuuB1fWySn2Kfuyw7h_secret_IcrdkpBJDS4uarpm4zKW8pg1b",
"confirmation_method": "automatic",
"created": 1701722816,
"created": 1701789485,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2aKuuB1fWySnMsW5jxOx",
"payment_method": "pm_1OK0NsKuuB1fWySnu84NwBCO",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:56 GMT
recorded_at: Tue, 05 Dec 2023 15:18:05 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2aKuuB1fWySn0vqbmdz5/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NtKuuB1fWySn2Kfuyw7h/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_GfG1H0LGaxGRH5","request_duration_ms":406}}'
- '{"last_request_metrics":{"request_id":"req_WdkrWLU7ikaF70","request_duration_ms":623}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:57 GMT
- Tue, 05 Dec 2023 15:18:06 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 8152a891-fbb6-411a-aa97-bcdcc1af2cba
- d5224c97-e4fb-4c78-a50d-4acce1ebc6ad
Original-Request:
- req_4wIP4ww15nZzwx
- req_XnN991eTwOsoHl
Request-Id:
- req_4wIP4ww15nZzwx
- req_XnN991eTwOsoHl
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2aKuuB1fWySn0vqbmdz5",
"id": "pi_3OK0NtKuuB1fWySn2Kfuyw7h",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2aKuuB1fWySn0vqbmdz5_secret_F83oJtyX1n1fgnE3qwMkM4Gzn",
"client_secret": "pi_3OK0NtKuuB1fWySn2Kfuyw7h_secret_IcrdkpBJDS4uarpm4zKW8pg1b",
"confirmation_method": "automatic",
"created": 1701722816,
"created": 1701789485,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2aKuuB1fWySn0era0pHB",
"latest_charge": "ch_3OK0NtKuuB1fWySn2ufFrZM7",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2aKuuB1fWySnMsW5jxOx",
"payment_method": "pm_1OK0NsKuuB1fWySnu84NwBCO",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:57 GMT
recorded_at: Tue, 05 Dec 2023 15:18:06 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2aKuuB1fWySn0vqbmdz5
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NtKuuB1fWySn2Kfuyw7h
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_4wIP4ww15nZzwx","request_duration_ms":1019}}'
- '{"last_request_metrics":{"request_id":"req_XnN991eTwOsoHl","request_duration_ms":1147}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:58 GMT
- Tue, 05 Dec 2023 15:18:07 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_G2bdZBkEP2NnQa
- req_1hLpMPmHEGomFh
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2aKuuB1fWySn0vqbmdz5",
"id": "pi_3OK0NtKuuB1fWySn2Kfuyw7h",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2aKuuB1fWySn0vqbmdz5_secret_F83oJtyX1n1fgnE3qwMkM4Gzn",
"client_secret": "pi_3OK0NtKuuB1fWySn2Kfuyw7h_secret_IcrdkpBJDS4uarpm4zKW8pg1b",
"confirmation_method": "automatic",
"created": 1701722816,
"created": 1701789485,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2aKuuB1fWySn0era0pHB",
"latest_charge": "ch_3OK0NtKuuB1fWySn2ufFrZM7",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2aKuuB1fWySnMsW5jxOx",
"payment_method": "pm_1OK0NsKuuB1fWySnu84NwBCO",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:58 GMT
recorded_at: Tue, 05 Dec 2023 15:18:07 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=6011981111111113&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_1ViTQrzG25an8r","request_duration_ms":343}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:16 GMT
Content-Type:
- application/json
Content-Length:
- '938'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- adfd1f8f-bf3a-42e0-941a-272c70a59898
Original-Request:
- req_XOmgvSPLOaHPTD
Request-Id:
- req_XOmgvSPLOaHPTD
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0O4KuuB1fWySnKFzLZy7M",
"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": "discover",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "US",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "Y3EGIoTEEuDsD8eJ",
"funding": "debit",
"generated_from": null,
"last4": "1113",
"networks": {
"available": [
"discover"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789496,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:18:16 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0O4KuuB1fWySnKFzLZy7M&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_XOmgvSPLOaHPTD","request_duration_ms":625}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:17 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 1319002a-695f-49d5-bcef-cc3e4f336306
Original-Request:
- req_SF5blWQN8HY02X
Request-Id:
- req_SF5blWQN8HY02X
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0O4KuuB1fWySn0JWVs3Qx",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0O4KuuB1fWySn0JWVs3Qx_secret_aaKp4Wge3a97zkCW7XNUdV2At",
"confirmation_method": "automatic",
"created": 1701789496,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0O4KuuB1fWySnKFzLZy7M",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:16 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0O4KuuB1fWySn0JWVs3Qx/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_SF5blWQN8HY02X","request_duration_ms":624}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:18 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 158f7b7e-470f-4b25-a0a2-67eeec2a26a3
Original-Request:
- req_FMRk10uH8NkKdm
Request-Id:
- req_FMRk10uH8NkKdm
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0O4KuuB1fWySn0JWVs3Qx",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0O4KuuB1fWySn0JWVs3Qx_secret_aaKp4Wge3a97zkCW7XNUdV2At",
"confirmation_method": "automatic",
"created": 1701789496,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0O4KuuB1fWySn0kpZFFlH",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0O4KuuB1fWySnKFzLZy7M",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:18 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0O4KuuB1fWySn0JWVs3Qx
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_FMRk10uH8NkKdm","request_duration_ms":1454}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:19 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_VUCGt5ByT8OUVS
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0O4KuuB1fWySn0JWVs3Qx",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0O4KuuB1fWySn0JWVs3Qx_secret_aaKp4Wge3a97zkCW7XNUdV2At",
"confirmation_method": "automatic",
"created": 1701789496,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0O4KuuB1fWySn0kpZFFlH",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0O4KuuB1fWySnKFzLZy7M",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:19 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0O4KuuB1fWySn0JWVs3Qx/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_VUCGt5ByT8OUVS","request_duration_ms":624}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:20 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- cfcb9cc1-92ce-4d7f-885b-0d13669c6190
Original-Request:
- req_0wvjEfHuvcpIY5
Request-Id:
- req_0wvjEfHuvcpIY5
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0O4KuuB1fWySn0JWVs3Qx",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0O4KuuB1fWySn0JWVs3Qx_secret_aaKp4Wge3a97zkCW7XNUdV2At",
"confirmation_method": "automatic",
"created": 1701789496,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0O4KuuB1fWySn0kpZFFlH",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0O4KuuB1fWySnKFzLZy7M",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:20 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0O4KuuB1fWySn0JWVs3Qx
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_0wvjEfHuvcpIY5","request_duration_ms":1252}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:21 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_fEQMyAwtwZBVEk
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0O4KuuB1fWySn0JWVs3Qx",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0O4KuuB1fWySn0JWVs3Qx_secret_aaKp4Wge3a97zkCW7XNUdV2At",
"confirmation_method": "automatic",
"created": 1701789496,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0O4KuuB1fWySn0kpZFFlH",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0O4KuuB1fWySnKFzLZy7M",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:20 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_G2bdZBkEP2NnQa","request_duration_ms":1}}'
- '{"last_request_metrics":{"request_id":"req_JrYczcmiuxsmqo","request_duration_ms":1}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:59 GMT
- Tue, 05 Dec 2023 15:18:13 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- e1d1530e-4459-452b-b58b-ffe28d7cac77
- 8fd36173-4e3e-4b30-b5ab-b604e0ba195d
Original-Request:
- req_TCaUGX811CvlXm
- req_SeX9YZbPRNCYsW
Request-Id:
- req_TCaUGX811CvlXm
- req_SeX9YZbPRNCYsW
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2dKuuB1fWySnmSKlIi5g",
"id": "pm_1OK0O1KuuB1fWySnXhmZxs6L",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722819,
"created": 1701789493,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:46:59 GMT
recorded_at: Tue, 05 Dec 2023 15:18:13 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2dKuuB1fWySnmSKlIi5g&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0O1KuuB1fWySnXhmZxs6L&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_TCaUGX811CvlXm","request_duration_ms":657}}'
- '{"last_request_metrics":{"request_id":"req_SeX9YZbPRNCYsW","request_duration_ms":934}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:00 GMT
- Tue, 05 Dec 2023 15:18:14 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- be39911a-bb09-4a5b-b32f-8ece7bac6111
- a2917253-5b6a-47e1-ab13-974ef7d12fd6
Original-Request:
- req_eRcSfNEf18DyC1
- req_ReuFOaS57k9foi
Request-Id:
- req_eRcSfNEf18DyC1
- req_ReuFOaS57k9foi
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2dKuuB1fWySn02YhKqxe",
"id": "pi_3OK0O1KuuB1fWySn08yaTwHX",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2dKuuB1fWySn02YhKqxe_secret_ig8wlubruurAczOHfMVeFkgQq",
"client_secret": "pi_3OK0O1KuuB1fWySn08yaTwHX_secret_qM2JJSY2jN2nvwbQXGknf7w4Y",
"confirmation_method": "automatic",
"created": 1701722819,
"created": 1701789493,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2dKuuB1fWySnmSKlIi5g",
"payment_method": "pm_1OK0O1KuuB1fWySnXhmZxs6L",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:00 GMT
recorded_at: Tue, 05 Dec 2023 15:18:13 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2dKuuB1fWySn02YhKqxe/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0O1KuuB1fWySn08yaTwHX/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_eRcSfNEf18DyC1","request_duration_ms":406}}'
- '{"last_request_metrics":{"request_id":"req_ReuFOaS57k9foi","request_duration_ms":624}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:01 GMT
- Tue, 05 Dec 2023 15:18:15 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- c9245e72-f78a-40a6-9f9c-382e49e709be
- 1d3ef5a0-c582-4e68-aae5-ea83ea4f51ed
Original-Request:
- req_AVivtTDQPX0YJM
- req_0bOs0JxU4NQo4l
Request-Id:
- req_AVivtTDQPX0YJM
- req_0bOs0JxU4NQo4l
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2dKuuB1fWySn02YhKqxe",
"id": "pi_3OK0O1KuuB1fWySn08yaTwHX",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2dKuuB1fWySn02YhKqxe_secret_ig8wlubruurAczOHfMVeFkgQq",
"client_secret": "pi_3OK0O1KuuB1fWySn08yaTwHX_secret_qM2JJSY2jN2nvwbQXGknf7w4Y",
"confirmation_method": "automatic",
"created": 1701722819,
"created": 1701789493,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2dKuuB1fWySn0fscw9kw",
"latest_charge": "ch_3OK0O1KuuB1fWySn0vO4E9kM",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2dKuuB1fWySnmSKlIi5g",
"payment_method": "pm_1OK0O1KuuB1fWySnXhmZxs6L",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:01 GMT
recorded_at: Tue, 05 Dec 2023 15:18:14 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2dKuuB1fWySn02YhKqxe
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0O1KuuB1fWySn08yaTwHX
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_AVivtTDQPX0YJM","request_duration_ms":1038}}'
- '{"last_request_metrics":{"request_id":"req_0bOs0JxU4NQo4l","request_duration_ms":1146}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:01 GMT
- Tue, 05 Dec 2023 15:18:16 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_QyvzzQqGeKUY7C
- req_1ViTQrzG25an8r
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2dKuuB1fWySn02YhKqxe",
"id": "pi_3OK0O1KuuB1fWySn08yaTwHX",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2dKuuB1fWySn02YhKqxe_secret_ig8wlubruurAczOHfMVeFkgQq",
"client_secret": "pi_3OK0O1KuuB1fWySn08yaTwHX_secret_qM2JJSY2jN2nvwbQXGknf7w4Y",
"confirmation_method": "automatic",
"created": 1701722819,
"created": 1701789493,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2dKuuB1fWySn0fscw9kw",
"latest_charge": "ch_3OK0O1KuuB1fWySn0vO4E9kM",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2dKuuB1fWySnmSKlIi5g",
"payment_method": "pm_1OK0O1KuuB1fWySnXhmZxs6L",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:02 GMT
recorded_at: Tue, 05 Dec 2023 15:18:15 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=3566002020360505&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_gWKJoDXU4mFNz0","request_duration_ms":629}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:47 GMT
Content-Type:
- application/json
Content-Length:
- '929'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 0d96667a-6f27-4ba2-aac5-2543ddb715d3
Original-Request:
- req_8ksHnBQt6vz0QL
Request-Id:
- req_8ksHnBQt6vz0QL
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0OYKuuB1fWySnDcZS566I",
"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": "jcb",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "JP",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "8f2gcynh7EdGyDKt",
"funding": "credit",
"generated_from": null,
"last4": "0505",
"networks": {
"available": [
"jcb"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789527,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:18:46 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0OYKuuB1fWySnDcZS566I&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_8ksHnBQt6vz0QL","request_duration_ms":489}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:47 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 62787329-17e8-4126-aed8-5f9ce9a469e2
Original-Request:
- req_gxl5CWrM8r64aH
Request-Id:
- req_gxl5CWrM8r64aH
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OZKuuB1fWySn1p9EbBj3",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OZKuuB1fWySn1p9EbBj3_secret_ZzVWaxXn23nIQeyClWquzSu4U",
"confirmation_method": "automatic",
"created": 1701789527,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OYKuuB1fWySnDcZS566I",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:47 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OZKuuB1fWySn1p9EbBj3/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_gxl5CWrM8r64aH","request_duration_ms":618}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:48 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 43e3d555-d0c0-4113-943b-b4dbcbf1c605
Original-Request:
- req_A9veKTIQeBmR3o
Request-Id:
- req_A9veKTIQeBmR3o
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OZKuuB1fWySn1p9EbBj3",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OZKuuB1fWySn1p9EbBj3_secret_ZzVWaxXn23nIQeyClWquzSu4U",
"confirmation_method": "automatic",
"created": 1701789527,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OZKuuB1fWySn1tYQM5Uy",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OYKuuB1fWySnDcZS566I",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:48 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OZKuuB1fWySn1p9EbBj3
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_A9veKTIQeBmR3o","request_duration_ms":1145}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:49 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_o15lOfUrJ3SbHK
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OZKuuB1fWySn1p9EbBj3",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OZKuuB1fWySn1p9EbBj3_secret_ZzVWaxXn23nIQeyClWquzSu4U",
"confirmation_method": "automatic",
"created": 1701789527,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OZKuuB1fWySn1tYQM5Uy",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OYKuuB1fWySnDcZS566I",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:48 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OZKuuB1fWySn1p9EbBj3/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_o15lOfUrJ3SbHK","request_duration_ms":515}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:50 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- c7811517-1974-4292-b53e-272a28cb2c49
Original-Request:
- req_IZB77dpIlzssj1
Request-Id:
- req_IZB77dpIlzssj1
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OZKuuB1fWySn1p9EbBj3",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OZKuuB1fWySn1p9EbBj3_secret_ZzVWaxXn23nIQeyClWquzSu4U",
"confirmation_method": "automatic",
"created": 1701789527,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OZKuuB1fWySn1tYQM5Uy",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OYKuuB1fWySnDcZS566I",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:50 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OZKuuB1fWySn1p9EbBj3
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_IZB77dpIlzssj1","request_duration_ms":1147}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:50 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_ZuE1qwJzDm3cwU
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OZKuuB1fWySn1p9EbBj3",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OZKuuB1fWySn1p9EbBj3_secret_ZzVWaxXn23nIQeyClWquzSu4U",
"confirmation_method": "automatic",
"created": 1701789527,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OZKuuB1fWySn1tYQM5Uy",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OYKuuB1fWySnDcZS566I",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:50 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_MVdZ7didxp5zr8","request_duration_ms":320}}'
- '{"last_request_metrics":{"request_id":"req_T1R5tMpzPVq4Qh","request_duration_ms":449}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:11 GMT
- Tue, 05 Dec 2023 15:18:43 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 5f87fb65-57a8-432a-8da4-18f2cde41e89
- 8e18635b-7ac9-4878-a929-d0a4f7124cb7
Original-Request:
- req_6zwMOQn7UEKz6h
- req_CZ2muIp4NCYZWj
Request-Id:
- req_6zwMOQn7UEKz6h
- req_CZ2muIp4NCYZWj
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2pKuuB1fWySnutBfMJtf",
"id": "pm_1OK0OVKuuB1fWySnqnxaRpff",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722831,
"created": 1701789523,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:47:11 GMT
recorded_at: Tue, 05 Dec 2023 15:18:43 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2pKuuB1fWySnutBfMJtf&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0OVKuuB1fWySnqnxaRpff&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_6zwMOQn7UEKz6h","request_duration_ms":439}}'
- '{"last_request_metrics":{"request_id":"req_CZ2muIp4NCYZWj","request_duration_ms":591}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:11 GMT
- Tue, 05 Dec 2023 15:18:44 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- befe0b53-fd2c-4374-9e2f-fd55b9425863
- 75c5d4b6-d824-497f-af46-932f90b399b6
Original-Request:
- req_3sMcsrq5wWRIMK
- req_p2qlhVgOWXbTeD
Request-Id:
- req_3sMcsrq5wWRIMK
- req_p2qlhVgOWXbTeD
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2pKuuB1fWySn032muymS",
"id": "pi_3OK0OVKuuB1fWySn1rpy2BLJ",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2pKuuB1fWySn032muymS_secret_urMInk75ViprdTlBTqCTcMkAE",
"client_secret": "pi_3OK0OVKuuB1fWySn1rpy2BLJ_secret_ibgKpoPrSmdXMuZlvLkVsN6vL",
"confirmation_method": "automatic",
"created": 1701722831,
"created": 1701789523,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2pKuuB1fWySnutBfMJtf",
"payment_method": "pm_1OK0OVKuuB1fWySnqnxaRpff",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:11 GMT
recorded_at: Tue, 05 Dec 2023 15:18:43 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2pKuuB1fWySn032muymS/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OVKuuB1fWySn1rpy2BLJ/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_3sMcsrq5wWRIMK","request_duration_ms":387}}'
- '{"last_request_metrics":{"request_id":"req_p2qlhVgOWXbTeD","request_duration_ms":540}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:12 GMT
- Tue, 05 Dec 2023 15:18:45 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 391b23c6-649f-4f9e-9e3a-b20348c518fb
- 42b80457-685f-4a5f-a424-04d022887e50
Original-Request:
- req_eBOcHkUNpiGMIR
- req_UOZ622CINVnqRu
Request-Id:
- req_eBOcHkUNpiGMIR
- req_UOZ622CINVnqRu
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2pKuuB1fWySn032muymS",
"id": "pi_3OK0OVKuuB1fWySn1rpy2BLJ",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2pKuuB1fWySn032muymS_secret_urMInk75ViprdTlBTqCTcMkAE",
"client_secret": "pi_3OK0OVKuuB1fWySn1rpy2BLJ_secret_ibgKpoPrSmdXMuZlvLkVsN6vL",
"confirmation_method": "automatic",
"created": 1701722831,
"created": 1701789523,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2pKuuB1fWySn0EIu3p5h",
"latest_charge": "ch_3OK0OVKuuB1fWySn1qR4epmU",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2pKuuB1fWySnutBfMJtf",
"payment_method": "pm_1OK0OVKuuB1fWySnqnxaRpff",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:12 GMT
recorded_at: Tue, 05 Dec 2023 15:18:44 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2pKuuB1fWySn032muymS
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OVKuuB1fWySn1rpy2BLJ
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_eBOcHkUNpiGMIR","request_duration_ms":968}}'
- '{"last_request_metrics":{"request_id":"req_UOZ622CINVnqRu","request_duration_ms":1187}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:13 GMT
- Tue, 05 Dec 2023 15:18:46 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_JTUbXkj4ct2Q35
- req_gWKJoDXU4mFNz0
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2pKuuB1fWySn032muymS",
"id": "pi_3OK0OVKuuB1fWySn1rpy2BLJ",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2pKuuB1fWySn032muymS_secret_urMInk75ViprdTlBTqCTcMkAE",
"client_secret": "pi_3OK0OVKuuB1fWySn1rpy2BLJ_secret_ibgKpoPrSmdXMuZlvLkVsN6vL",
"confirmation_method": "automatic",
"created": 1701722831,
"created": 1701789523,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2pKuuB1fWySn0EIu3p5h",
"latest_charge": "ch_3OK0OVKuuB1fWySn1qR4epmU",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2pKuuB1fWySnutBfMJtf",
"payment_method": "pm_1OK0OVKuuB1fWySnqnxaRpff",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:13 GMT
recorded_at: Tue, 05 Dec 2023 15:18:46 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=5555555555554444&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_7s69DHSda08ycI","request_duration_ms":402}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:29 GMT
Content-Type:
- application/json
Content-Length:
- '943'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- e936d876-f59f-4b8f-881d-9376a974bf12
Original-Request:
- req_pSI5lfG3YSLfln
Request-Id:
- req_pSI5lfG3YSLfln
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0NIKuuB1fWySnxSofvUbH",
"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": "mastercard",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "US",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "BL35fEFVcTTS5wpE",
"funding": "credit",
"generated_from": null,
"last4": "4444",
"networks": {
"available": [
"mastercard"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789448,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:17:28 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0NIKuuB1fWySnxSofvUbH&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_pSI5lfG3YSLfln","request_duration_ms":656}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:29 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 99d028e2-21c4-4664-beb4-ec5a205677ce
Original-Request:
- req_B2Q68MwHagcae4
Request-Id:
- req_B2Q68MwHagcae4
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NJKuuB1fWySn0yOAxhTY",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NJKuuB1fWySn0yOAxhTY_secret_ECLhXxp0gccY4VvBoaqx6aNkS",
"confirmation_method": "automatic",
"created": 1701789449,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NIKuuB1fWySnxSofvUbH",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:29 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NJKuuB1fWySn0yOAxhTY/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_B2Q68MwHagcae4","request_duration_ms":518}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:30 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 6e4108bb-e7db-4c00-af8f-f80fc698e5fc
Original-Request:
- req_P13zxbM4ya7DNW
Request-Id:
- req_P13zxbM4ya7DNW
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NJKuuB1fWySn0yOAxhTY",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NJKuuB1fWySn0yOAxhTY_secret_ECLhXxp0gccY4VvBoaqx6aNkS",
"confirmation_method": "automatic",
"created": 1701789449,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NJKuuB1fWySn0K8w9RVv",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NIKuuB1fWySnxSofvUbH",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:30 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NJKuuB1fWySn0yOAxhTY
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_P13zxbM4ya7DNW","request_duration_ms":1146}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:31 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_IotENUBPfMHIFa
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NJKuuB1fWySn0yOAxhTY",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NJKuuB1fWySn0yOAxhTY_secret_ECLhXxp0gccY4VvBoaqx6aNkS",
"confirmation_method": "automatic",
"created": 1701789449,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NJKuuB1fWySn0K8w9RVv",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NIKuuB1fWySnxSofvUbH",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:30 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NJKuuB1fWySn0yOAxhTY/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_IotENUBPfMHIFa","request_duration_ms":492}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:32 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 9da1179d-5e39-4840-ac4b-5877edbfae56
Original-Request:
- req_NKb17rsAUUrWFd
Request-Id:
- req_NKb17rsAUUrWFd
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NJKuuB1fWySn0yOAxhTY",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NJKuuB1fWySn0yOAxhTY_secret_ECLhXxp0gccY4VvBoaqx6aNkS",
"confirmation_method": "automatic",
"created": 1701789449,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NJKuuB1fWySn0K8w9RVv",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NIKuuB1fWySnxSofvUbH",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:31 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NJKuuB1fWySn0yOAxhTY
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_NKb17rsAUUrWFd","request_duration_ms":1007}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:32 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_1AZ5pg0ZxxvUXj
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NJKuuB1fWySn0yOAxhTY",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NJKuuB1fWySn0yOAxhTY_secret_ECLhXxp0gccY4VvBoaqx6aNkS",
"confirmation_method": "automatic",
"created": 1701789449,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NJKuuB1fWySn0K8w9RVv",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NIKuuB1fWySnxSofvUbH",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:32 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_HnAxMcQcRahsXX","request_duration_ms":285}}'
- '{"last_request_metrics":{"request_id":"req_O23HuS6lzDg04Z","request_duration_ms":381}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:41 GMT
- Tue, 05 Dec 2023 15:17:25 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 742e850f-0e97-4c28-98eb-1be24e28fd17
- 39506b3d-fe78-4c0e-a4f5-446e7f8ce06d
Original-Request:
- req_PS8S5e8CVLUnQM
- req_uEiAVH8XHnnUYN
Request-Id:
- req_PS8S5e8CVLUnQM
- req_uEiAVH8XHnnUYN
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2LKuuB1fWySnFsyUXxaq",
"id": "pm_1OK0NFKuuB1fWySnIfH6ZcIU",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722801,
"created": 1701789445,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:46:41 GMT
recorded_at: Tue, 05 Dec 2023 15:17:25 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2LKuuB1fWySnFsyUXxaq&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0NFKuuB1fWySnIfH6ZcIU&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_PS8S5e8CVLUnQM","request_duration_ms":479}}'
- '{"last_request_metrics":{"request_id":"req_uEiAVH8XHnnUYN","request_duration_ms":519}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:42 GMT
- Tue, 05 Dec 2023 15:17:26 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 60de5bc5-76f5-4833-8f62-bec39fce49fe
- e89508e8-a2ad-4bdd-861a-ec0463674b5b
Original-Request:
- req_LhpOxMoRbsDdJU
- req_JXqcVF88p8Lkam
Request-Id:
- req_LhpOxMoRbsDdJU
- req_JXqcVF88p8Lkam
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2MKuuB1fWySn0UdRnVgN",
"id": "pi_3OK0NGKuuB1fWySn1KLKQD2Q",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2MKuuB1fWySn0UdRnVgN_secret_xveHs2ahlaVGHZJmvlogniDqv",
"client_secret": "pi_3OK0NGKuuB1fWySn1KLKQD2Q_secret_09pSimGd3ynYnIIgQo14xsLZZ",
"confirmation_method": "automatic",
"created": 1701722802,
"created": 1701789446,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2LKuuB1fWySnFsyUXxaq",
"payment_method": "pm_1OK0NFKuuB1fWySnIfH6ZcIU",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:42 GMT
recorded_at: Tue, 05 Dec 2023 15:17:25 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2MKuuB1fWySn0UdRnVgN/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NGKuuB1fWySn1KLKQD2Q/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_LhpOxMoRbsDdJU","request_duration_ms":479}}'
- '{"last_request_metrics":{"request_id":"req_JXqcVF88p8Lkam","request_duration_ms":517}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:43 GMT
- Tue, 05 Dec 2023 15:17:27 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 6376df60-5807-46f2-8060-08d89b1ada71
- 321e490c-be3a-48ae-a3db-80ef969f82bc
Original-Request:
- req_eTWb5ne5MYQ4Wh
- req_ouZWhhpPikhlxR
Request-Id:
- req_eTWb5ne5MYQ4Wh
- req_ouZWhhpPikhlxR
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2MKuuB1fWySn0UdRnVgN",
"id": "pi_3OK0NGKuuB1fWySn1KLKQD2Q",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2MKuuB1fWySn0UdRnVgN_secret_xveHs2ahlaVGHZJmvlogniDqv",
"client_secret": "pi_3OK0NGKuuB1fWySn1KLKQD2Q_secret_09pSimGd3ynYnIIgQo14xsLZZ",
"confirmation_method": "automatic",
"created": 1701722802,
"created": 1701789446,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2MKuuB1fWySn0jCaTNJG",
"latest_charge": "ch_3OK0NGKuuB1fWySn17HRxW0P",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2LKuuB1fWySnFsyUXxaq",
"payment_method": "pm_1OK0NFKuuB1fWySnIfH6ZcIU",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:43 GMT
recorded_at: Tue, 05 Dec 2023 15:17:27 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2MKuuB1fWySn0UdRnVgN
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NGKuuB1fWySn1KLKQD2Q
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_eTWb5ne5MYQ4Wh","request_duration_ms":918}}'
- '{"last_request_metrics":{"request_id":"req_ouZWhhpPikhlxR","request_duration_ms":1145}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:43 GMT
- Tue, 05 Dec 2023 15:17:28 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_xWkEtUOYFxOqa1
- req_7s69DHSda08ycI
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2MKuuB1fWySn0UdRnVgN",
"id": "pi_3OK0NGKuuB1fWySn1KLKQD2Q",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2MKuuB1fWySn0UdRnVgN_secret_xveHs2ahlaVGHZJmvlogniDqv",
"client_secret": "pi_3OK0NGKuuB1fWySn1KLKQD2Q_secret_09pSimGd3ynYnIIgQo14xsLZZ",
"confirmation_method": "automatic",
"created": 1701722802,
"created": 1701789446,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2MKuuB1fWySn0jCaTNJG",
"latest_charge": "ch_3OK0NGKuuB1fWySn17HRxW0P",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2LKuuB1fWySnFsyUXxaq",
"payment_method": "pm_1OK0NFKuuB1fWySnIfH6ZcIU",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:43 GMT
recorded_at: Tue, 05 Dec 2023 15:17:28 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=2223003122003222&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_xAroRCvY2jpYW3","request_duration_ms":508}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:36 GMT
Content-Type:
- application/json
Content-Length:
- '943'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- a1b49965-d453-4cf2-8dc1-41539d8d7ec2
Original-Request:
- req_1CiS0by8DcbkGT
Request-Id:
- req_1CiS0by8DcbkGT
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0NQKuuB1fWySnE41Drfql",
"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": "mastercard",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "US",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "0gTPwvyIV7E6CAld",
"funding": "credit",
"generated_from": null,
"last4": "3222",
"networks": {
"available": [
"mastercard"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789456,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:17:36 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0NQKuuB1fWySnE41Drfql&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_1CiS0by8DcbkGT","request_duration_ms":584}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:37 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 3d5951a2-a287-4779-bef5-5b878037a0d1
Original-Request:
- req_BAIO9vWEEwUKBK
Request-Id:
- req_BAIO9vWEEwUKBK
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NRKuuB1fWySn1jKScTzc",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NRKuuB1fWySn1jKScTzc_secret_6VbvQty6C4VWQK9HhjhogFi7T",
"confirmation_method": "automatic",
"created": 1701789457,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NQKuuB1fWySnE41Drfql",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:37 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NRKuuB1fWySn1jKScTzc/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_BAIO9vWEEwUKBK","request_duration_ms":494}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:38 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 55c5d61b-e359-4ebe-be56-58ff33a170fe
Original-Request:
- req_tgYhAz22bjQzE8
Request-Id:
- req_tgYhAz22bjQzE8
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NRKuuB1fWySn1jKScTzc",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NRKuuB1fWySn1jKScTzc_secret_6VbvQty6C4VWQK9HhjhogFi7T",
"confirmation_method": "automatic",
"created": 1701789457,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NRKuuB1fWySn1AcczQgg",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NQKuuB1fWySnE41Drfql",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:38 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NRKuuB1fWySn1jKScTzc
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_tgYhAz22bjQzE8","request_duration_ms":1067}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:38 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_lCmMUYzK9Paq13
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NRKuuB1fWySn1jKScTzc",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NRKuuB1fWySn1jKScTzc_secret_6VbvQty6C4VWQK9HhjhogFi7T",
"confirmation_method": "automatic",
"created": 1701789457,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NRKuuB1fWySn1AcczQgg",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NQKuuB1fWySnE41Drfql",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:38 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NRKuuB1fWySn1jKScTzc/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_lCmMUYzK9Paq13","request_duration_ms":518}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:40 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- f12c870a-4e73-43ba-9cae-c0aa7d877cda
Original-Request:
- req_5B3ucu048VY5x9
Request-Id:
- req_5B3ucu048VY5x9
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NRKuuB1fWySn1jKScTzc",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NRKuuB1fWySn1jKScTzc_secret_6VbvQty6C4VWQK9HhjhogFi7T",
"confirmation_method": "automatic",
"created": 1701789457,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NRKuuB1fWySn1AcczQgg",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NQKuuB1fWySnE41Drfql",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:39 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NRKuuB1fWySn1jKScTzc
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_5B3ucu048VY5x9","request_duration_ms":1041}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:40 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_VoAQDloqULYjq3
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NRKuuB1fWySn1jKScTzc",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NRKuuB1fWySn1jKScTzc_secret_6VbvQty6C4VWQK9HhjhogFi7T",
"confirmation_method": "automatic",
"created": 1701789457,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NRKuuB1fWySn1AcczQgg",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NQKuuB1fWySnE41Drfql",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:40 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_xWkEtUOYFxOqa1","request_duration_ms":311}}'
- '{"last_request_metrics":{"request_id":"req_1AZ5pg0ZxxvUXj","request_duration_ms":477}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:44 GMT
- Tue, 05 Dec 2023 15:17:33 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 98e53dae-967b-480c-b766-1f2f36396c4d
- e5f194a7-fc4f-487b-9250-3cd62c0c359b
Original-Request:
- req_LKTIJjqn9Cxpsz
- req_vArEV82NuAlgfm
Request-Id:
- req_LKTIJjqn9Cxpsz
- req_vArEV82NuAlgfm
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2OKuuB1fWySnIpkWmNA9",
"id": "pm_1OK0NNKuuB1fWySnEjpRN60q",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722804,
"created": 1701789453,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:46:44 GMT
recorded_at: Tue, 05 Dec 2023 15:17:33 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2OKuuB1fWySnIpkWmNA9&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0NNKuuB1fWySnEjpRN60q&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_LKTIJjqn9Cxpsz","request_duration_ms":465}}'
- '{"last_request_metrics":{"request_id":"req_vArEV82NuAlgfm","request_duration_ms":715}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:44 GMT
- Tue, 05 Dec 2023 15:17:34 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- f897f2ed-e834-4033-836f-40547076e6ed
- f17f71f6-0f56-4365-87a2-eac2f03af34a
Original-Request:
- req_aRs681Z8r2LLrX
- req_lCjfcknJWFUXj8
Request-Id:
- req_aRs681Z8r2LLrX
- req_lCjfcknJWFUXj8
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2OKuuB1fWySn0P3Hmijt",
"id": "pi_3OK0NNKuuB1fWySn1tdL2KbH",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2OKuuB1fWySn0P3Hmijt_secret_eWu0u1Dru6MVb2v6mQG9hoTO5",
"client_secret": "pi_3OK0NNKuuB1fWySn1tdL2KbH_secret_LNwG4PKemeXE7TC0yUhNrGQbw",
"confirmation_method": "automatic",
"created": 1701722804,
"created": 1701789453,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2OKuuB1fWySnIpkWmNA9",
"payment_method": "pm_1OK0NNKuuB1fWySnEjpRN60q",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:44 GMT
recorded_at: Tue, 05 Dec 2023 15:17:33 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2OKuuB1fWySn0P3Hmijt/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NNKuuB1fWySn1tdL2KbH/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_aRs681Z8r2LLrX","request_duration_ms":373}}'
- '{"last_request_metrics":{"request_id":"req_lCjfcknJWFUXj8","request_duration_ms":833}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:45 GMT
- Tue, 05 Dec 2023 15:17:35 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 0523c130-9590-4e59-bdf9-a0509e4a24eb
- 27c3dd75-5e78-4e97-8913-5bfb552ddf89
Original-Request:
- req_Bi16cFfudXGu6g
- req_RD5gui9J3qKOXO
Request-Id:
- req_Bi16cFfudXGu6g
- req_RD5gui9J3qKOXO
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2OKuuB1fWySn0P3Hmijt",
"id": "pi_3OK0NNKuuB1fWySn1tdL2KbH",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2OKuuB1fWySn0P3Hmijt_secret_eWu0u1Dru6MVb2v6mQG9hoTO5",
"client_secret": "pi_3OK0NNKuuB1fWySn1tdL2KbH_secret_LNwG4PKemeXE7TC0yUhNrGQbw",
"confirmation_method": "automatic",
"created": 1701722804,
"created": 1701789453,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2OKuuB1fWySn0307tJHk",
"latest_charge": "ch_3OK0NNKuuB1fWySn1aQQfbXI",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2OKuuB1fWySnIpkWmNA9",
"payment_method": "pm_1OK0NNKuuB1fWySnEjpRN60q",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:45 GMT
recorded_at: Tue, 05 Dec 2023 15:17:35 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2OKuuB1fWySn0P3Hmijt
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NNKuuB1fWySn1tdL2KbH
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Bi16cFfudXGu6g","request_duration_ms":1051}}'
- '{"last_request_metrics":{"request_id":"req_RD5gui9J3qKOXO","request_duration_ms":1026}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:46 GMT
- Tue, 05 Dec 2023 15:17:36 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_IwpZjxRgPqGyw7
- req_xAroRCvY2jpYW3
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2OKuuB1fWySn0P3Hmijt",
"id": "pi_3OK0NNKuuB1fWySn1tdL2KbH",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2OKuuB1fWySn0P3Hmijt_secret_eWu0u1Dru6MVb2v6mQG9hoTO5",
"client_secret": "pi_3OK0NNKuuB1fWySn1tdL2KbH_secret_LNwG4PKemeXE7TC0yUhNrGQbw",
"confirmation_method": "automatic",
"created": 1701722804,
"created": 1701789453,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2OKuuB1fWySn0307tJHk",
"latest_charge": "ch_3OK0NNKuuB1fWySn1aQQfbXI",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2OKuuB1fWySnIpkWmNA9",
"payment_method": "pm_1OK0NNKuuB1fWySnEjpRN60q",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:46 GMT
recorded_at: Tue, 05 Dec 2023 15:17:35 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=5200828282828210&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_F60f0SjgTkVXLo","request_duration_ms":461}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:44 GMT
Content-Type:
- application/json
Content-Length:
- '942'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 406677db-8f40-4bf2-a28b-5d783ed2951e
Original-Request:
- req_IStqxHWUkPjwUt
Request-Id:
- req_IStqxHWUkPjwUt
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0NXKuuB1fWySn9tXKT30h",
"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": "mastercard",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "US",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "DpQ8VoC0Z3P9xrbi",
"funding": "debit",
"generated_from": null,
"last4": "8210",
"networks": {
"available": [
"mastercard"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789464,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:17:44 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0NXKuuB1fWySn9tXKT30h&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_IStqxHWUkPjwUt","request_duration_ms":715}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:44 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 26d52ccd-9603-4316-97fa-5e5ec3fa6504
Original-Request:
- req_oSwtx1GWT4f4Uq
Request-Id:
- req_oSwtx1GWT4f4Uq
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NYKuuB1fWySn0kDNEepU",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NYKuuB1fWySn0kDNEepU_secret_famZc9G6d9w1Ijg94vrMJQi8m",
"confirmation_method": "automatic",
"created": 1701789464,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NXKuuB1fWySn9tXKT30h",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:44 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NYKuuB1fWySn0kDNEepU/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_oSwtx1GWT4f4Uq","request_duration_ms":518}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:45 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- f2d05068-3dca-402d-84f9-c646a63e2cfc
Original-Request:
- req_zYWdSE5T4bbBEI
Request-Id:
- req_zYWdSE5T4bbBEI
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NYKuuB1fWySn0kDNEepU",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NYKuuB1fWySn0kDNEepU_secret_famZc9G6d9w1Ijg94vrMJQi8m",
"confirmation_method": "automatic",
"created": 1701789464,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NYKuuB1fWySn0Ffn14ck",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NXKuuB1fWySn9tXKT30h",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:45 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NYKuuB1fWySn0kDNEepU
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_zYWdSE5T4bbBEI","request_duration_ms":957}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:46 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_trh84hNaPj6eRl
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NYKuuB1fWySn0kDNEepU",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NYKuuB1fWySn0kDNEepU_secret_famZc9G6d9w1Ijg94vrMJQi8m",
"confirmation_method": "automatic",
"created": 1701789464,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NYKuuB1fWySn0Ffn14ck",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NXKuuB1fWySn9tXKT30h",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:46 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NYKuuB1fWySn0kDNEepU/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_trh84hNaPj6eRl","request_duration_ms":498}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:47 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- df1e33ae-32e3-4097-a17e-1abbe999623a
Original-Request:
- req_WhEhT6MeluUdDi
Request-Id:
- req_WhEhT6MeluUdDi
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NYKuuB1fWySn0kDNEepU",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NYKuuB1fWySn0kDNEepU_secret_famZc9G6d9w1Ijg94vrMJQi8m",
"confirmation_method": "automatic",
"created": 1701789464,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NYKuuB1fWySn0Ffn14ck",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NXKuuB1fWySn9tXKT30h",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:47 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NYKuuB1fWySn0kDNEepU
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_WhEhT6MeluUdDi","request_duration_ms":1146}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:47 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_N6tQgEm1E8fGfe
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NYKuuB1fWySn0kDNEepU",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NYKuuB1fWySn0kDNEepU_secret_famZc9G6d9w1Ijg94vrMJQi8m",
"confirmation_method": "automatic",
"created": 1701789464,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NYKuuB1fWySn0Ffn14ck",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NXKuuB1fWySn9tXKT30h",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:47 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_IwpZjxRgPqGyw7","request_duration_ms":366}}'
- '{"last_request_metrics":{"request_id":"req_VoAQDloqULYjq3","request_duration_ms":518}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:46 GMT
- Tue, 05 Dec 2023 15:17:41 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 10b41ff6-8948-4282-9089-8f232145bb69
- 6f5439a9-2522-4ce1-b72e-f9a4fb85fc3b
Original-Request:
- req_QoqigMNp4jhg4F
- req_OtJ9tQfVBq6Kh2
Request-Id:
- req_QoqigMNp4jhg4F
- req_OtJ9tQfVBq6Kh2
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2QKuuB1fWySnrtGemn7e",
"id": "pm_1OK0NUKuuB1fWySn3jHZslK0",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722806,
"created": 1701789461,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:46:47 GMT
recorded_at: Tue, 05 Dec 2023 15:17:40 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2QKuuB1fWySnrtGemn7e&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0NUKuuB1fWySn3jHZslK0&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_QoqigMNp4jhg4F","request_duration_ms":420}}'
- '{"last_request_metrics":{"request_id":"req_OtJ9tQfVBq6Kh2","request_duration_ms":653}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:47 GMT
- Tue, 05 Dec 2023 15:17:41 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 88b825ed-9ac3-4adf-92ef-8966200db8ef
- acb6df4f-d7a6-4185-8894-d26b41272517
Original-Request:
- req_H1Gzo1f9e1a1ye
- req_Rd9urFFXu3X7dO
Request-Id:
- req_H1Gzo1f9e1a1ye
- req_Rd9urFFXu3X7dO
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2RKuuB1fWySn0Xm1D2v6",
"id": "pi_3OK0NVKuuB1fWySn0tfMQy1E",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2RKuuB1fWySn0Xm1D2v6_secret_k4lWXYcHxLzJQDt6suSRFqmPy",
"client_secret": "pi_3OK0NVKuuB1fWySn0tfMQy1E_secret_V3qErUXTPstOCuOcC2tU93MAV",
"confirmation_method": "automatic",
"created": 1701722807,
"created": 1701789461,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2QKuuB1fWySnrtGemn7e",
"payment_method": "pm_1OK0NUKuuB1fWySn3jHZslK0",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:47 GMT
recorded_at: Tue, 05 Dec 2023 15:17:41 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2RKuuB1fWySn0Xm1D2v6/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NVKuuB1fWySn0tfMQy1E/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_H1Gzo1f9e1a1ye","request_duration_ms":553}}'
- '{"last_request_metrics":{"request_id":"req_Rd9urFFXu3X7dO","request_duration_ms":475}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:48 GMT
- Tue, 05 Dec 2023 15:17:42 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 34b24887-57b9-4ae9-9c0f-b850f0bbbfcd
- d41ddb17-0d58-4998-8f8b-6c9d77c7233e
Original-Request:
- req_XmYf53Nbvp56lo
- req_Quj9nGoQsIEpHh
Request-Id:
- req_XmYf53Nbvp56lo
- req_Quj9nGoQsIEpHh
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2RKuuB1fWySn0Xm1D2v6",
"id": "pi_3OK0NVKuuB1fWySn0tfMQy1E",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2RKuuB1fWySn0Xm1D2v6_secret_k4lWXYcHxLzJQDt6suSRFqmPy",
"client_secret": "pi_3OK0NVKuuB1fWySn0tfMQy1E_secret_V3qErUXTPstOCuOcC2tU93MAV",
"confirmation_method": "automatic",
"created": 1701722807,
"created": 1701789461,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2RKuuB1fWySn0OyfmQWp",
"latest_charge": "ch_3OK0NVKuuB1fWySn0WkdG4Gs",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2QKuuB1fWySnrtGemn7e",
"payment_method": "pm_1OK0NUKuuB1fWySn3jHZslK0",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:48 GMT
recorded_at: Tue, 05 Dec 2023 15:17:42 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2RKuuB1fWySn0Xm1D2v6
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NVKuuB1fWySn0tfMQy1E
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_XmYf53Nbvp56lo","request_duration_ms":1018}}'
- '{"last_request_metrics":{"request_id":"req_Quj9nGoQsIEpHh","request_duration_ms":1146}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:49 GMT
- Tue, 05 Dec 2023 15:17:43 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_tXVz4ODdWNVfB9
- req_F60f0SjgTkVXLo
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2RKuuB1fWySn0Xm1D2v6",
"id": "pi_3OK0NVKuuB1fWySn0tfMQy1E",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2RKuuB1fWySn0Xm1D2v6_secret_k4lWXYcHxLzJQDt6suSRFqmPy",
"client_secret": "pi_3OK0NVKuuB1fWySn0tfMQy1E_secret_V3qErUXTPstOCuOcC2tU93MAV",
"confirmation_method": "automatic",
"created": 1701722807,
"created": 1701789461,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2RKuuB1fWySn0OyfmQWp",
"latest_charge": "ch_3OK0NVKuuB1fWySn0WkdG4Gs",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2QKuuB1fWySnrtGemn7e",
"payment_method": "pm_1OK0NUKuuB1fWySn3jHZslK0",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:49 GMT
recorded_at: Tue, 05 Dec 2023 15:17:43 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=5105105105105100&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_DBhgYBoHBETSJI","request_duration_ms":534}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:51 GMT
Content-Type:
- application/json
Content-Length:
- '944'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- be49f5c3-c50a-4db8-9ed3-9a2c1095dddb
Original-Request:
- req_BpVDTpRROz9iuB
Request-Id:
- req_BpVDTpRROz9iuB
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0NfKuuB1fWySnoWSl16FX",
"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": "mastercard",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "US",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "B9ykFJ6imaeWU8aO",
"funding": "prepaid",
"generated_from": null,
"last4": "5100",
"networks": {
"available": [
"mastercard"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789471,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:17:51 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0NfKuuB1fWySnoWSl16FX&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_BpVDTpRROz9iuB","request_duration_ms":511}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:52 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- ddfb249e-ba30-4a16-b218-28b9b1acabac
Original-Request:
- req_2HmEALswVFSEgo
Request-Id:
- req_2HmEALswVFSEgo
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NgKuuB1fWySn1yGeaAnl",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NgKuuB1fWySn1yGeaAnl_secret_Hhp1W4e33DPc6Idyg8U1qwpZr",
"confirmation_method": "automatic",
"created": 1701789472,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NfKuuB1fWySnoWSl16FX",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:51 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NgKuuB1fWySn1yGeaAnl/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_2HmEALswVFSEgo","request_duration_ms":500}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:53 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 1677ca1c-bb6d-4434-a2ad-e544e38271f9
Original-Request:
- req_zqTE28CGMsh7sW
Request-Id:
- req_zqTE28CGMsh7sW
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NgKuuB1fWySn1yGeaAnl",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NgKuuB1fWySn1yGeaAnl_secret_Hhp1W4e33DPc6Idyg8U1qwpZr",
"confirmation_method": "automatic",
"created": 1701789472,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NgKuuB1fWySn1ueh1Kwa",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NfKuuB1fWySnoWSl16FX",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:53 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NgKuuB1fWySn1yGeaAnl
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_zqTE28CGMsh7sW","request_duration_ms":1149}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:53 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_8XJzHbJshJgVwA
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NgKuuB1fWySn1yGeaAnl",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NgKuuB1fWySn1yGeaAnl_secret_Hhp1W4e33DPc6Idyg8U1qwpZr",
"confirmation_method": "automatic",
"created": 1701789472,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NgKuuB1fWySn1ueh1Kwa",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NfKuuB1fWySnoWSl16FX",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:53 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NgKuuB1fWySn1yGeaAnl/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_8XJzHbJshJgVwA","request_duration_ms":412}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:55 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 340b6ad0-f920-4287-9ca7-07140813d84f
Original-Request:
- req_cmEicOz7ESiYfJ
Request-Id:
- req_cmEicOz7ESiYfJ
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NgKuuB1fWySn1yGeaAnl",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NgKuuB1fWySn1yGeaAnl_secret_Hhp1W4e33DPc6Idyg8U1qwpZr",
"confirmation_method": "automatic",
"created": 1701789472,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NgKuuB1fWySn1ueh1Kwa",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NfKuuB1fWySnoWSl16FX",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:54 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NgKuuB1fWySn1yGeaAnl
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_cmEicOz7ESiYfJ","request_duration_ms":1149}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:55 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_aill0MXqVb2gur
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NgKuuB1fWySn1yGeaAnl",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NgKuuB1fWySn1yGeaAnl_secret_Hhp1W4e33DPc6Idyg8U1qwpZr",
"confirmation_method": "automatic",
"created": 1701789472,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NgKuuB1fWySn1ueh1Kwa",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NfKuuB1fWySnoWSl16FX",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:55 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_tXVz4ODdWNVfB9","request_duration_ms":287}}'
- '{"last_request_metrics":{"request_id":"req_N6tQgEm1E8fGfe","request_duration_ms":520}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:49 GMT
- Tue, 05 Dec 2023 15:17:48 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 286f75b0-5fa2-478f-8477-7120c3856b5f
- 76052257-c34f-4fc3-b117-0afc278bee7b
Original-Request:
- req_LloNStq1tCGrjf
- req_hix7PK9Zzy9g4L
Request-Id:
- req_LloNStq1tCGrjf
- req_hix7PK9Zzy9g4L
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2TKuuB1fWySnMp68Qsrd",
"id": "pm_1OK0NcKuuB1fWySnAjHXboxb",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722809,
"created": 1701789468,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:46:49 GMT
recorded_at: Tue, 05 Dec 2023 15:17:48 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2TKuuB1fWySnMp68Qsrd&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0NcKuuB1fWySnAjHXboxb&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_LloNStq1tCGrjf","request_duration_ms":464}}'
- '{"last_request_metrics":{"request_id":"req_hix7PK9Zzy9g4L","request_duration_ms":698}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:50 GMT
- Tue, 05 Dec 2023 15:17:49 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 8c26f5a6-c934-4e0d-ac47-c8f7f0f0070b
- 9936f0c5-e736-4a4c-8879-ad0232bad386
Original-Request:
- req_sPWIqISyePb0LG
- req_1ntV8cC7LCbXxS
Request-Id:
- req_sPWIqISyePb0LG
- req_1ntV8cC7LCbXxS
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2TKuuB1fWySn1EeH0Lho",
"id": "pi_3OK0NdKuuB1fWySn1VJhrWPK",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2TKuuB1fWySn1EeH0Lho_secret_b2uIapt8ScB7TneUngzF8ujiq",
"client_secret": "pi_3OK0NdKuuB1fWySn1VJhrWPK_secret_XOOVJ1E38rhFTZpLJMPC1czz2",
"confirmation_method": "automatic",
"created": 1701722809,
"created": 1701789469,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2TKuuB1fWySnMp68Qsrd",
"payment_method": "pm_1OK0NcKuuB1fWySnAjHXboxb",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:50 GMT
recorded_at: Tue, 05 Dec 2023 15:17:48 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2TKuuB1fWySn1EeH0Lho/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NdKuuB1fWySn1VJhrWPK/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_sPWIqISyePb0LG","request_duration_ms":506}}'
- '{"last_request_metrics":{"request_id":"req_1ntV8cC7LCbXxS","request_duration_ms":500}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:51 GMT
- Tue, 05 Dec 2023 15:17:50 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 62b3cce9-e2b4-41dd-8f26-533b0a16c0e5
- 1e145cff-e685-4fe6-aea7-1a1a3049fb79
Original-Request:
- req_Snmp0E5ne6Y5qS
- req_KyB5JVspgGqCUF
Request-Id:
- req_Snmp0E5ne6Y5qS
- req_KyB5JVspgGqCUF
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2TKuuB1fWySn1EeH0Lho",
"id": "pi_3OK0NdKuuB1fWySn1VJhrWPK",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2TKuuB1fWySn1EeH0Lho_secret_b2uIapt8ScB7TneUngzF8ujiq",
"client_secret": "pi_3OK0NdKuuB1fWySn1VJhrWPK_secret_XOOVJ1E38rhFTZpLJMPC1czz2",
"confirmation_method": "automatic",
"created": 1701722809,
"created": 1701789469,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2TKuuB1fWySn1tNNirHo",
"latest_charge": "ch_3OK0NdKuuB1fWySn14dEedyj",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2TKuuB1fWySnMp68Qsrd",
"payment_method": "pm_1OK0NcKuuB1fWySnAjHXboxb",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:51 GMT
recorded_at: Tue, 05 Dec 2023 15:17:50 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2TKuuB1fWySn1EeH0Lho
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NdKuuB1fWySn1VJhrWPK
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Snmp0E5ne6Y5qS","request_duration_ms":920}}'
- '{"last_request_metrics":{"request_id":"req_KyB5JVspgGqCUF","request_duration_ms":1162}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:52 GMT
- Tue, 05 Dec 2023 15:17:51 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_2nR9W2ZCRoU7Zt
- req_DBhgYBoHBETSJI
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2TKuuB1fWySn1EeH0Lho",
"id": "pi_3OK0NdKuuB1fWySn1VJhrWPK",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2TKuuB1fWySn1EeH0Lho_secret_b2uIapt8ScB7TneUngzF8ujiq",
"client_secret": "pi_3OK0NdKuuB1fWySn1VJhrWPK_secret_XOOVJ1E38rhFTZpLJMPC1czz2",
"confirmation_method": "automatic",
"created": 1701722809,
"created": 1701789469,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2TKuuB1fWySn1tNNirHo",
"latest_charge": "ch_3OK0NdKuuB1fWySn14dEedyj",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2TKuuB1fWySnMp68Qsrd",
"payment_method": "pm_1OK0NcKuuB1fWySnAjHXboxb",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:52 GMT
recorded_at: Tue, 05 Dec 2023 15:17:50 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=6200000000000005&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_VDRgkPf2FBfebe","request_duration_ms":510}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:54 GMT
Content-Type:
- application/json
Content-Length:
- '939'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- '097e2ea9-cb9f-4d21-92db-ec3636fe6028'
Original-Request:
- req_r5G0ar3oolAlr3
Request-Id:
- req_r5G0ar3oolAlr3
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0OgKuuB1fWySndE4QLhcf",
"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": "unionpay",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "CN",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "Aq45rzUxvT6SiF1W",
"funding": "credit",
"generated_from": null,
"last4": "0005",
"networks": {
"available": [
"unionpay"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789534,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:18:54 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0OgKuuB1fWySndE4QLhcf&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_r5G0ar3oolAlr3","request_duration_ms":698}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:55 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 6a9e3b3a-b837-411b-8b04-45b70df9c394
Original-Request:
- req_sHRwqKxjRHO7F8
Request-Id:
- req_sHRwqKxjRHO7F8
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OgKuuB1fWySn2ctItjtf",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OgKuuB1fWySn2ctItjtf_secret_dPzJ6CdD6ym8KU7elt1grEjCX",
"confirmation_method": "automatic",
"created": 1701789534,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OgKuuB1fWySndE4QLhcf",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:54 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OgKuuB1fWySn2ctItjtf/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_sHRwqKxjRHO7F8","request_duration_ms":727}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:56 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 3718bc28-db6e-4764-9e95-3dc575cd968e
Original-Request:
- req_P54IGcpVNpPJSr
Request-Id:
- req_P54IGcpVNpPJSr
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OgKuuB1fWySn2ctItjtf",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OgKuuB1fWySn2ctItjtf_secret_dPzJ6CdD6ym8KU7elt1grEjCX",
"confirmation_method": "automatic",
"created": 1701789534,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OgKuuB1fWySn2rP3lagy",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OgKuuB1fWySndE4QLhcf",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:56 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OgKuuB1fWySn2ctItjtf
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_P54IGcpVNpPJSr","request_duration_ms":1129}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:56 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_UITNkgej12gmYd
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OgKuuB1fWySn2ctItjtf",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OgKuuB1fWySn2ctItjtf_secret_dPzJ6CdD6ym8KU7elt1grEjCX",
"confirmation_method": "automatic",
"created": 1701789534,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OgKuuB1fWySn2rP3lagy",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OgKuuB1fWySndE4QLhcf",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:56 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OgKuuB1fWySn2ctItjtf/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_UITNkgej12gmYd","request_duration_ms":432}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:58 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- '0229161d-dc66-4a6d-a29d-3655878b6232'
Original-Request:
- req_QFS7N7FC7z3Uab
Request-Id:
- req_QFS7N7FC7z3Uab
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OgKuuB1fWySn2ctItjtf",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OgKuuB1fWySn2ctItjtf_secret_dPzJ6CdD6ym8KU7elt1grEjCX",
"confirmation_method": "automatic",
"created": 1701789534,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OgKuuB1fWySn2rP3lagy",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OgKuuB1fWySndE4QLhcf",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:57 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OgKuuB1fWySn2ctItjtf
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_QFS7N7FC7z3Uab","request_duration_ms":1263}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:18:58 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_YilKaEGPGZwhMS
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OgKuuB1fWySn2ctItjtf",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OgKuuB1fWySn2ctItjtf_secret_dPzJ6CdD6ym8KU7elt1grEjCX",
"confirmation_method": "automatic",
"created": 1701789534,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OgKuuB1fWySn2rP3lagy",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OgKuuB1fWySndE4QLhcf",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:18:58 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_JTUbXkj4ct2Q35","request_duration_ms":347}}'
- '{"last_request_metrics":{"request_id":"req_ZuE1qwJzDm3cwU","request_duration_ms":378}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:13 GMT
- Tue, 05 Dec 2023 15:18:51 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- febb326b-4f98-4ac3-97cf-0a5384200d10
- 7f960af1-3d82-4fcf-80ac-16cee68e7688
Original-Request:
- req_SMrgpuiweD3PjK
- req_d8ZiiACtQ06Rbo
Request-Id:
- req_SMrgpuiweD3PjK
- req_d8ZiiACtQ06Rbo
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2rKuuB1fWySnGZIjSslY",
"id": "pm_1OK0OdKuuB1fWySnp3GL2sQq",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722833,
"created": 1701789531,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:47:13 GMT
recorded_at: Tue, 05 Dec 2023 15:18:51 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2rKuuB1fWySnGZIjSslY&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0OdKuuB1fWySnp3GL2sQq&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_SMrgpuiweD3PjK","request_duration_ms":474}}'
- '{"last_request_metrics":{"request_id":"req_d8ZiiACtQ06Rbo","request_duration_ms":471}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:14 GMT
- Tue, 05 Dec 2023 15:18:51 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- af32b398-dca6-41f8-96cf-dd1a842ae181
- ab05b392-8c4e-4135-8e07-78e27a5b5c97
Original-Request:
- req_P2y0c7rJMee8rU
- req_zBMGBk4ALHJ53k
Request-Id:
- req_P2y0c7rJMee8rU
- req_zBMGBk4ALHJ53k
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2sKuuB1fWySn2jiI7zQt",
"id": "pi_3OK0OdKuuB1fWySn0jRLoF0O",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2sKuuB1fWySn2jiI7zQt_secret_v5lIhNs2q5QUuIwTN0TtMQZWj",
"client_secret": "pi_3OK0OdKuuB1fWySn0jRLoF0O_secret_XgzEEP58gQQRJTdZFScMUngKz",
"confirmation_method": "automatic",
"created": 1701722834,
"created": 1701789531,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2rKuuB1fWySnGZIjSslY",
"payment_method": "pm_1OK0OdKuuB1fWySnp3GL2sQq",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:14 GMT
recorded_at: Tue, 05 Dec 2023 15:18:51 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2sKuuB1fWySn2jiI7zQt/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OdKuuB1fWySn0jRLoF0O/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_P2y0c7rJMee8rU","request_duration_ms":405}}'
- '{"last_request_metrics":{"request_id":"req_zBMGBk4ALHJ53k","request_duration_ms":429}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:15 GMT
- Tue, 05 Dec 2023 15:18:52 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- f1d3336d-acfb-419b-9ca8-f12dc71763cb
- 8591c014-5c0a-40e0-b568-a85f84808cd4
Original-Request:
- req_8DgrZVPPhj7fnm
- req_KJ5m1JKnvKuW7X
Request-Id:
- req_8DgrZVPPhj7fnm
- req_KJ5m1JKnvKuW7X
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2sKuuB1fWySn2jiI7zQt",
"id": "pi_3OK0OdKuuB1fWySn0jRLoF0O",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2sKuuB1fWySn2jiI7zQt_secret_v5lIhNs2q5QUuIwTN0TtMQZWj",
"client_secret": "pi_3OK0OdKuuB1fWySn0jRLoF0O_secret_XgzEEP58gQQRJTdZFScMUngKz",
"confirmation_method": "automatic",
"created": 1701722834,
"created": 1701789531,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2sKuuB1fWySn2ng1XGkr",
"latest_charge": "ch_3OK0OdKuuB1fWySn0FO8hMSz",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2rKuuB1fWySnGZIjSslY",
"payment_method": "pm_1OK0OdKuuB1fWySnp3GL2sQq",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:15 GMT
recorded_at: Tue, 05 Dec 2023 15:18:52 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2sKuuB1fWySn2jiI7zQt
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OdKuuB1fWySn0jRLoF0O
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_8DgrZVPPhj7fnm","request_duration_ms":1021}}'
- '{"last_request_metrics":{"request_id":"req_KJ5m1JKnvKuW7X","request_duration_ms":1042}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:15 GMT
- Tue, 05 Dec 2023 15:18:53 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_4wmy4SEdLRcDG9
- req_VDRgkPf2FBfebe
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2sKuuB1fWySn2jiI7zQt",
"id": "pi_3OK0OdKuuB1fWySn0jRLoF0O",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2sKuuB1fWySn2jiI7zQt_secret_v5lIhNs2q5QUuIwTN0TtMQZWj",
"client_secret": "pi_3OK0OdKuuB1fWySn0jRLoF0O_secret_XgzEEP58gQQRJTdZFScMUngKz",
"confirmation_method": "automatic",
"created": 1701722834,
"created": 1701789531,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2sKuuB1fWySn2ng1XGkr",
"latest_charge": "ch_3OK0OdKuuB1fWySn0FO8hMSz",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2rKuuB1fWySnGZIjSslY",
"payment_method": "pm_1OK0OdKuuB1fWySnp3GL2sQq",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:16 GMT
recorded_at: Tue, 05 Dec 2023 15:18:53 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=6205500000000000004&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_ZBWC0ReWn01SQD","request_duration_ms":470}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:19:11 GMT
Content-Type:
- application/json
Content-Length:
- '938'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- ece5f5ca-94ae-485f-b50f-cb8adabdf8df
Original-Request:
- req_Wo2qnoErMuGcJk
Request-Id:
- req_Wo2qnoErMuGcJk
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0OxKuuB1fWySnzESkHW85",
"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": "unionpay",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "US",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "F9o1vzLUnyEJBPXi",
"funding": "debit",
"generated_from": null,
"last4": "0004",
"networks": {
"available": [
"unionpay"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789551,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:19:11 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0OxKuuB1fWySnzESkHW85&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Wo2qnoErMuGcJk","request_duration_ms":1426}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:19:12 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 3315bd46-3d67-465e-ab03-503feec78d86
Original-Request:
- req_KNDdQAdBM86x54
Request-Id:
- req_KNDdQAdBM86x54
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OyKuuB1fWySn0R6JrFXQ",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OyKuuB1fWySn0R6JrFXQ_secret_HrcT6rjw8dm8YPLHpOwKACXDS",
"confirmation_method": "automatic",
"created": 1701789552,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OxKuuB1fWySnzESkHW85",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:19:13 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OyKuuB1fWySn0R6JrFXQ/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_KNDdQAdBM86x54","request_duration_ms":506}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:19:14 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- af79f075-1e7e-43b6-aaac-34ec571ae48a
Original-Request:
- req_IQzO3S0a5cIp1l
Request-Id:
- req_IQzO3S0a5cIp1l
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OyKuuB1fWySn0R6JrFXQ",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OyKuuB1fWySn0R6JrFXQ_secret_HrcT6rjw8dm8YPLHpOwKACXDS",
"confirmation_method": "automatic",
"created": 1701789552,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OyKuuB1fWySn0DK45tX5",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OxKuuB1fWySnzESkHW85",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:19:14 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OyKuuB1fWySn0R6JrFXQ
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_IQzO3S0a5cIp1l","request_duration_ms":1108}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:19:14 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_KmR6LU2UUpi5j4
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OyKuuB1fWySn0R6JrFXQ",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OyKuuB1fWySn0R6JrFXQ_secret_HrcT6rjw8dm8YPLHpOwKACXDS",
"confirmation_method": "automatic",
"created": 1701789552,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OyKuuB1fWySn0DK45tX5",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OxKuuB1fWySnzESkHW85",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:19:14 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OyKuuB1fWySn0R6JrFXQ/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_KmR6LU2UUpi5j4","request_duration_ms":555}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:19:15 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- a44878b0-2de2-4bac-b3d5-7e1750d36aae
Original-Request:
- req_U33tub2kFefrZV
Request-Id:
- req_U33tub2kFefrZV
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OyKuuB1fWySn0R6JrFXQ",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OyKuuB1fWySn0R6JrFXQ_secret_HrcT6rjw8dm8YPLHpOwKACXDS",
"confirmation_method": "automatic",
"created": 1701789552,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OyKuuB1fWySn0DK45tX5",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OxKuuB1fWySnzESkHW85",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:19:15 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OyKuuB1fWySn0R6JrFXQ
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_U33tub2kFefrZV","request_duration_ms":1196}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:19:16 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_job7iKTfQQRxAj
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OyKuuB1fWySn0R6JrFXQ",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OyKuuB1fWySn0R6JrFXQ_secret_HrcT6rjw8dm8YPLHpOwKACXDS",
"confirmation_method": "automatic",
"created": 1701789552,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OyKuuB1fWySn0DK45tX5",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OxKuuB1fWySnzESkHW85",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:19:16 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_9ro64kilrFj4To","request_duration_ms":403}}'
- '{"last_request_metrics":{"request_id":"req_xKCeFNu7e5BfpF","request_duration_ms":626}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:19 GMT
- Tue, 05 Dec 2023 15:19:07 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- '08a2b487-4548-44e6-a162-957e6a867957'
- be9e256b-0f4d-454b-8623-fc780032e7df
Original-Request:
- req_oeD0kQklE96e0a
- req_WUH9xgO9YiyVO0
Request-Id:
- req_oeD0kQklE96e0a
- req_WUH9xgO9YiyVO0
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2wKuuB1fWySnW5e0E3Pm",
"id": "pm_1OK0OtKuuB1fWySnjgEiVnHP",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722838,
"created": 1701789547,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:47:19 GMT
recorded_at: Tue, 05 Dec 2023 15:19:07 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2wKuuB1fWySnW5e0E3Pm&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0OtKuuB1fWySnjgEiVnHP&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_oeD0kQklE96e0a","request_duration_ms":565}}'
- '{"last_request_metrics":{"request_id":"req_WUH9xgO9YiyVO0","request_duration_ms":771}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:19 GMT
- Tue, 05 Dec 2023 15:19:08 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 7015bf78-4049-4048-bef7-aa4d1d1301ae
- 67bced54-f962-4e02-8228-4a75039e431c
Original-Request:
- req_iYmEFfw4ajYKgU
- req_JBW5GoKQBMNf85
Request-Id:
- req_iYmEFfw4ajYKgU
- req_JBW5GoKQBMNf85
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2xKuuB1fWySn2nhpzbdQ",
"id": "pi_3OK0OuKuuB1fWySn019xq8Gn",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2xKuuB1fWySn2nhpzbdQ_secret_HUnUvPOu030pxIzeGPTZpl1EQ",
"client_secret": "pi_3OK0OuKuuB1fWySn019xq8Gn_secret_ig38E6cBdFNumh1qsnN6nz1ms",
"confirmation_method": "automatic",
"created": 1701722839,
"created": 1701789548,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2wKuuB1fWySnW5e0E3Pm",
"payment_method": "pm_1OK0OtKuuB1fWySnjgEiVnHP",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:19 GMT
recorded_at: Tue, 05 Dec 2023 15:19:08 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2xKuuB1fWySn2nhpzbdQ/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OuKuuB1fWySn019xq8Gn/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_iYmEFfw4ajYKgU","request_duration_ms":507}}'
- '{"last_request_metrics":{"request_id":"req_JBW5GoKQBMNf85","request_duration_ms":724}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:20 GMT
- Tue, 05 Dec 2023 15:19:09 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- c79031cb-7c54-401c-88da-6da291f6d850
- e1171110-f120-4eb6-9bc4-eea959e5ff2c
Original-Request:
- req_A10i0krkHnlJ88
- req_312xR4RbraiN7K
Request-Id:
- req_A10i0krkHnlJ88
- req_312xR4RbraiN7K
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2xKuuB1fWySn2nhpzbdQ",
"id": "pi_3OK0OuKuuB1fWySn019xq8Gn",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2xKuuB1fWySn2nhpzbdQ_secret_HUnUvPOu030pxIzeGPTZpl1EQ",
"client_secret": "pi_3OK0OuKuuB1fWySn019xq8Gn_secret_ig38E6cBdFNumh1qsnN6nz1ms",
"confirmation_method": "automatic",
"created": 1701722839,
"created": 1701789548,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2xKuuB1fWySn2LEd86vF",
"latest_charge": "ch_3OK0OuKuuB1fWySn0Xaro0pW",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2wKuuB1fWySnW5e0E3Pm",
"payment_method": "pm_1OK0OtKuuB1fWySnjgEiVnHP",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:20 GMT
recorded_at: Tue, 05 Dec 2023 15:19:09 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2xKuuB1fWySn2nhpzbdQ
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OuKuuB1fWySn019xq8Gn
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_A10i0krkHnlJ88","request_duration_ms":918}}'
- '{"last_request_metrics":{"request_id":"req_312xR4RbraiN7K","request_duration_ms":1148}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:21 GMT
- Tue, 05 Dec 2023 15:19:10 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_9pkmm8GBwHLk9r
- req_ZBWC0ReWn01SQD
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2xKuuB1fWySn2nhpzbdQ",
"id": "pi_3OK0OuKuuB1fWySn019xq8Gn",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2xKuuB1fWySn2nhpzbdQ_secret_HUnUvPOu030pxIzeGPTZpl1EQ",
"client_secret": "pi_3OK0OuKuuB1fWySn019xq8Gn_secret_ig38E6cBdFNumh1qsnN6nz1ms",
"confirmation_method": "automatic",
"created": 1701722839,
"created": 1701789548,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2xKuuB1fWySn2LEd86vF",
"latest_charge": "ch_3OK0OuKuuB1fWySn0Xaro0pW",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2wKuuB1fWySnW5e0E3Pm",
"payment_method": "pm_1OK0OtKuuB1fWySnjgEiVnHP",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:21 GMT
recorded_at: Tue, 05 Dec 2023 15:19:10 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=6200000000000047&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Y5NxTpKbH4Fc7E","request_duration_ms":474}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:19:02 GMT
Content-Type:
- application/json
Content-Length:
- '938'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 2cd56fed-2848-496a-93c7-2c5036c3536a
Original-Request:
- req_70aKrc8cE9PJxb
Request-Id:
- req_70aKrc8cE9PJxb
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0OoKuuB1fWySnWTaF1Bpw",
"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": "unionpay",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "CN",
"exp_month": 12,
"exp_year": 2024,
"fingerprint": "Bk3yMwVTBMfdXTtb",
"funding": "debit",
"generated_from": null,
"last4": "0047",
"networks": {
"available": [
"unionpay"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789542,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:19:02 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0OoKuuB1fWySnWTaF1Bpw&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_70aKrc8cE9PJxb","request_duration_ms":567}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:19:03 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 598c36d2-0ccb-4fd7-be00-15c171402d72
Original-Request:
- req_AybcFGK5cPU57A
Request-Id:
- req_AybcFGK5cPU57A
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OpKuuB1fWySn1Kuri4H6",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OpKuuB1fWySn1Kuri4H6_secret_OV3xnSkYVvrNI8FQiwUOgHH6K",
"confirmation_method": "automatic",
"created": 1701789543,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OoKuuB1fWySnWTaF1Bpw",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:19:02 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OpKuuB1fWySn1Kuri4H6/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_AybcFGK5cPU57A","request_duration_ms":518}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:19:04 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 7f4ad8a9-023f-4a7c-8ca6-fb7d4579b175
Original-Request:
- req_L8ggX8i1brrIwq
Request-Id:
- req_L8ggX8i1brrIwq
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OpKuuB1fWySn1Kuri4H6",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OpKuuB1fWySn1Kuri4H6_secret_OV3xnSkYVvrNI8FQiwUOgHH6K",
"confirmation_method": "automatic",
"created": 1701789543,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OpKuuB1fWySn1c1UAlQZ",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OoKuuB1fWySnWTaF1Bpw",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:19:04 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OpKuuB1fWySn1Kuri4H6
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_L8ggX8i1brrIwq","request_duration_ms":1042}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:19:04 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_sMody1UzlHOhWs
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OpKuuB1fWySn1Kuri4H6",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OpKuuB1fWySn1Kuri4H6_secret_OV3xnSkYVvrNI8FQiwUOgHH6K",
"confirmation_method": "automatic",
"created": 1701789543,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OpKuuB1fWySn1c1UAlQZ",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OoKuuB1fWySnWTaF1Bpw",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:19:04 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OpKuuB1fWySn1Kuri4H6/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_sMody1UzlHOhWs","request_duration_ms":624}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:19:06 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 1cc5051b-4a89-4baa-b6d5-91e3975bc6de
Original-Request:
- req_gscNQzOu5P7I1P
Request-Id:
- req_gscNQzOu5P7I1P
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OpKuuB1fWySn1Kuri4H6",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OpKuuB1fWySn1Kuri4H6_secret_OV3xnSkYVvrNI8FQiwUOgHH6K",
"confirmation_method": "automatic",
"created": 1701789543,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OpKuuB1fWySn1c1UAlQZ",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OoKuuB1fWySnWTaF1Bpw",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:19:06 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OpKuuB1fWySn1Kuri4H6
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_gscNQzOu5P7I1P","request_duration_ms":1459}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:19:06 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_xKCeFNu7e5BfpF
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0OpKuuB1fWySn1Kuri4H6",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0OpKuuB1fWySn1Kuri4H6_secret_OV3xnSkYVvrNI8FQiwUOgHH6K",
"confirmation_method": "automatic",
"created": 1701789543,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0OpKuuB1fWySn1c1UAlQZ",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0OoKuuB1fWySnWTaF1Bpw",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:19:06 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_4wmy4SEdLRcDG9","request_duration_ms":319}}'
- '{"last_request_metrics":{"request_id":"req_YilKaEGPGZwhMS","request_duration_ms":611}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:16 GMT
- Tue, 05 Dec 2023 15:18:59 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 1a0f14fc-6530-4f87-8dd0-283f0829ac69
- 978b2222-f9be-4384-8238-d478213b1239
Original-Request:
- req_R4ueM1WTdswzyr
- req_6ky0im1v5qE61M
Request-Id:
- req_R4ueM1WTdswzyr
- req_6ky0im1v5qE61M
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2uKuuB1fWySnYb5hWcxP",
"id": "pm_1OK0OlKuuB1fWySn6TbPAXxn",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722836,
"created": 1701789539,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:47:16 GMT
recorded_at: Tue, 05 Dec 2023 15:18:59 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2uKuuB1fWySnYb5hWcxP&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0OlKuuB1fWySn6TbPAXxn&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_R4ueM1WTdswzyr","request_duration_ms":466}}'
- '{"last_request_metrics":{"request_id":"req_6ky0im1v5qE61M","request_duration_ms":602}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:16 GMT
- Tue, 05 Dec 2023 15:18:59 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 2f149d5f-b2ec-4302-be4b-2cec74eeb49c
- 30443fae-24cb-482b-8c8c-b727cb2533d1
Original-Request:
- req_cFYrdTYjbOaMJJ
- req_QrXtBC60EVCmy2
Request-Id:
- req_cFYrdTYjbOaMJJ
- req_QrXtBC60EVCmy2
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2uKuuB1fWySn0KauXt6G",
"id": "pi_3OK0OlKuuB1fWySn0P4BxbMr",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2uKuuB1fWySn0KauXt6G_secret_5yyPwcQiU0pljz3MMA9NZH6BZ",
"client_secret": "pi_3OK0OlKuuB1fWySn0P4BxbMr_secret_0tQmjyFe3HggGsQyCB9W0ecOt",
"confirmation_method": "automatic",
"created": 1701722836,
"created": 1701789539,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2uKuuB1fWySnYb5hWcxP",
"payment_method": "pm_1OK0OlKuuB1fWySn6TbPAXxn",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:16 GMT
recorded_at: Tue, 05 Dec 2023 15:18:59 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2uKuuB1fWySn0KauXt6G/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OlKuuB1fWySn0P4BxbMr/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_cFYrdTYjbOaMJJ","request_duration_ms":372}}'
- '{"last_request_metrics":{"request_id":"req_QrXtBC60EVCmy2","request_duration_ms":572}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:17 GMT
- Tue, 05 Dec 2023 15:19:01 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 00f734fc-6c93-4836-a2f4-a7493b28e51a
- cf93bac8-fc86-4597-a5e4-7ed08f0e7c0f
Original-Request:
- req_m1pPuXKwTySqbI
- req_cpaKljHHUAGqXX
Request-Id:
- req_m1pPuXKwTySqbI
- req_cpaKljHHUAGqXX
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2uKuuB1fWySn0KauXt6G",
"id": "pi_3OK0OlKuuB1fWySn0P4BxbMr",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2uKuuB1fWySn0KauXt6G_secret_5yyPwcQiU0pljz3MMA9NZH6BZ",
"client_secret": "pi_3OK0OlKuuB1fWySn0P4BxbMr_secret_0tQmjyFe3HggGsQyCB9W0ecOt",
"confirmation_method": "automatic",
"created": 1701722836,
"created": 1701789539,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2uKuuB1fWySn0IC5kWI1",
"latest_charge": "ch_3OK0OlKuuB1fWySn02iFSj4l",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2uKuuB1fWySnYb5hWcxP",
"payment_method": "pm_1OK0OlKuuB1fWySn6TbPAXxn",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:17 GMT
recorded_at: Tue, 05 Dec 2023 15:19:00 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2uKuuB1fWySn0KauXt6G
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0OlKuuB1fWySn0P4BxbMr
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_m1pPuXKwTySqbI","request_duration_ms":897}}'
- '{"last_request_metrics":{"request_id":"req_cpaKljHHUAGqXX","request_duration_ms":1292}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:47:18 GMT
- Tue, 05 Dec 2023 15:19:02 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_9ro64kilrFj4To
- req_Y5NxTpKbH4Fc7E
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2uKuuB1fWySn0KauXt6G",
"id": "pi_3OK0OlKuuB1fWySn0P4BxbMr",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2uKuuB1fWySn0KauXt6G_secret_5yyPwcQiU0pljz3MMA9NZH6BZ",
"client_secret": "pi_3OK0OlKuuB1fWySn0P4BxbMr_secret_0tQmjyFe3HggGsQyCB9W0ecOt",
"confirmation_method": "automatic",
"created": 1701722836,
"created": 1701789539,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2uKuuB1fWySn0IC5kWI1",
"latest_charge": "ch_3OK0OlKuuB1fWySn02iFSj4l",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2uKuuB1fWySnYb5hWcxP",
"payment_method": "pm_1OK0OlKuuB1fWySn6TbPAXxn",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:47:18 GMT
recorded_at: Tue, 05 Dec 2023 15:19:01 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
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]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_aiF3Gd8YvpypCq","request_duration_ms":441}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:14 GMT
Content-Type:
- application/json
Content-Length:
- '931'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 15b53166-e52b-4a82-bac7-56277fd9ff49
Original-Request:
- req_PBn7JT6pkOAztU
Request-Id:
- req_PBn7JT6pkOAztU
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0N3KuuB1fWySnrASsqWla",
"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": 12,
"exp_year": 2024,
"fingerprint": "6E6tgVjx6U65iHFV",
"funding": "credit",
"generated_from": null,
"last4": "4242",
"networks": {
"available": [
"visa"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789433,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:17:13 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0N3KuuB1fWySnrASsqWla&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_PBn7JT6pkOAztU","request_duration_ms":559}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:14 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 370042d5-b3b2-4915-9e72-3e8cd90e8ae9
Original-Request:
- req_u94SpUT2S9mo8i
Request-Id:
- req_u94SpUT2S9mo8i
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0N4KuuB1fWySn2cJnusju",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0N4KuuB1fWySn2cJnusju_secret_wgoyzyvA28ep1rYEiNO7QMa4H",
"confirmation_method": "automatic",
"created": 1701789434,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0N3KuuB1fWySnrASsqWla",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:14 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0N4KuuB1fWySn2cJnusju/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_u94SpUT2S9mo8i","request_duration_ms":537}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:15 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- e42bf25e-660e-4de4-8d33-51a6e349a844
Original-Request:
- req_3MEHavjY1GaTSh
Request-Id:
- req_3MEHavjY1GaTSh
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0N4KuuB1fWySn2cJnusju",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0N4KuuB1fWySn2cJnusju_secret_wgoyzyvA28ep1rYEiNO7QMa4H",
"confirmation_method": "automatic",
"created": 1701789434,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0N4KuuB1fWySn2uAGQfXD",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0N3KuuB1fWySnrASsqWla",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:15 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0N4KuuB1fWySn2cJnusju
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_3MEHavjY1GaTSh","request_duration_ms":1041}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:16 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_3nAEjoUkk8p7pL
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0N4KuuB1fWySn2cJnusju",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0N4KuuB1fWySn2cJnusju_secret_wgoyzyvA28ep1rYEiNO7QMa4H",
"confirmation_method": "automatic",
"created": 1701789434,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0N4KuuB1fWySn2uAGQfXD",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0N3KuuB1fWySnrASsqWla",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:15 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0N4KuuB1fWySn2cJnusju/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_3nAEjoUkk8p7pL","request_duration_ms":516}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:17 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- f5376f8a-a0d7-43c1-b31b-7c1b7c129d76
Original-Request:
- req_4NW74nvyP7315A
Request-Id:
- req_4NW74nvyP7315A
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0N4KuuB1fWySn2cJnusju",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0N4KuuB1fWySn2cJnusju_secret_wgoyzyvA28ep1rYEiNO7QMa4H",
"confirmation_method": "automatic",
"created": 1701789434,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0N4KuuB1fWySn2uAGQfXD",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0N3KuuB1fWySnrASsqWla",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:16 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0N4KuuB1fWySn2cJnusju
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_4NW74nvyP7315A","request_duration_ms":1146}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:17 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_vO8qrn7fP8cCF0
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0N4KuuB1fWySn2cJnusju",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0N4KuuB1fWySn2cJnusju_secret_wgoyzyvA28ep1rYEiNO7QMa4H",
"confirmation_method": "automatic",
"created": 1701789434,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0N4KuuB1fWySn2uAGQfXD",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0N3KuuB1fWySnrASsqWla",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:17 GMT
recorded_with: VCR 6.2.0

View File

@@ -13,8 +13,6 @@ http_interactions:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_TFYWjB2c88GTQp","request_duration_ms":294}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +32,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:36 GMT
- Tue, 05 Dec 2023 15:17:09 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +57,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 48870c95-5148-491c-bb94-f00fb95e2080
- 8024fec1-4e37-4443-b9d5-60fd5dede380
Original-Request:
- req_LmifJNlcjscRvV
- req_u5fQT0UWabeKzG
Request-Id:
- req_LmifJNlcjscRvV
- req_u5fQT0UWabeKzG
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +76,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2FKuuB1fWySnnFGOYQha",
"id": "pm_1OK0MzKuuB1fWySnA8bo8ueR",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +116,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722796,
"created": 1701789429,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:46:36 GMT
recorded_at: Tue, 05 Dec 2023 15:17:09 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2FKuuB1fWySnnFGOYQha&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0MzKuuB1fWySnA8bo8ueR&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +137,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_LmifJNlcjscRvV","request_duration_ms":435}}'
- '{"last_request_metrics":{"request_id":"req_u5fQT0UWabeKzG","request_duration_ms":1776}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +157,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:36 GMT
- Tue, 05 Dec 2023 15:17:10 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +182,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 614c220d-872d-4f48-9b10-b3a629b66ad5
- d54433cd-6e3a-43dc-8e9e-3213bb6e18a2
Original-Request:
- req_cy8clAZTdpUZCE
- req_Y5oEH60D4yi40a
Request-Id:
- req_cy8clAZTdpUZCE
- req_Y5oEH60D4yi40a
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +201,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2GKuuB1fWySn0L6zUWZM",
"id": "pi_3OK0N0KuuB1fWySn0y6d7Alg",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +215,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2GKuuB1fWySn0L6zUWZM_secret_fdjyu0ZZeB6KQOYK9fM97c7iU",
"client_secret": "pi_3OK0N0KuuB1fWySn0y6d7Alg_secret_ifL68RNgHXIPXNWBlHNuzixnA",
"confirmation_method": "automatic",
"created": 1701722796,
"created": 1701789430,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +228,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2FKuuB1fWySnnFGOYQha",
"payment_method": "pm_1OK0MzKuuB1fWySnA8bo8ueR",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +253,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:36 GMT
recorded_at: Tue, 05 Dec 2023 15:17:10 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2GKuuB1fWySn0L6zUWZM/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0N0KuuB1fWySn0y6d7Alg/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +268,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_cy8clAZTdpUZCE","request_duration_ms":434}}'
- '{"last_request_metrics":{"request_id":"req_Y5oEH60D4yi40a","request_duration_ms":1144}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +288,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:37 GMT
- Tue, 05 Dec 2023 15:17:12 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +314,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 4cd9daeb-7772-4fef-a833-a78897a52515
- c2405253-b731-4a6d-a5ff-5d856039ceb1
Original-Request:
- req_b5W8XofC0cCYcU
- req_z9trADZXt0Lqsv
Request-Id:
- req_b5W8XofC0cCYcU
- req_z9trADZXt0Lqsv
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +333,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2GKuuB1fWySn0L6zUWZM",
"id": "pi_3OK0N0KuuB1fWySn0y6d7Alg",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +347,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2GKuuB1fWySn0L6zUWZM_secret_fdjyu0ZZeB6KQOYK9fM97c7iU",
"client_secret": "pi_3OK0N0KuuB1fWySn0y6d7Alg_secret_ifL68RNgHXIPXNWBlHNuzixnA",
"confirmation_method": "automatic",
"created": 1701722796,
"created": 1701789430,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2GKuuB1fWySn0rJjslie",
"latest_charge": "ch_3OK0N0KuuB1fWySn0SMOKDN4",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2FKuuB1fWySnnFGOYQha",
"payment_method": "pm_1OK0MzKuuB1fWySnA8bo8ueR",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +385,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:37 GMT
recorded_at: Tue, 05 Dec 2023 15:17:11 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2GKuuB1fWySn0L6zUWZM
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0N0KuuB1fWySn0y6d7Alg
body:
encoding: US-ASCII
string: ''
@@ -402,7 +400,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_b5W8XofC0cCYcU","request_duration_ms":1123}}'
- '{"last_request_metrics":{"request_id":"req_z9trADZXt0Lqsv","request_duration_ms":1289}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +420,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:38 GMT
- Tue, 05 Dec 2023 15:17:13 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +446,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_L7OYD5kmaQIMPk
- req_aiF3Gd8YvpypCq
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +459,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2GKuuB1fWySn0L6zUWZM",
"id": "pi_3OK0N0KuuB1fWySn0y6d7Alg",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +473,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2GKuuB1fWySn0L6zUWZM_secret_fdjyu0ZZeB6KQOYK9fM97c7iU",
"client_secret": "pi_3OK0N0KuuB1fWySn0y6d7Alg_secret_ifL68RNgHXIPXNWBlHNuzixnA",
"confirmation_method": "automatic",
"created": 1701722796,
"created": 1701789430,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2GKuuB1fWySn0rJjslie",
"latest_charge": "ch_3OK0N0KuuB1fWySn0SMOKDN4",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2FKuuB1fWySnnFGOYQha",
"payment_method": "pm_1OK0MzKuuB1fWySnA8bo8ueR",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +511,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:38 GMT
recorded_at: Tue, 05 Dec 2023 15:17:13 GMT
recorded_with: VCR 6.2.0

View File

@@ -0,0 +1,775 @@
---
http_interactions:
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4000056655665556&card[exp_month]=12&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_ZkA8ZCo5ERur3x","request_duration_ms":470}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:21 GMT
Content-Type:
- application/json
Content-Length:
- '930'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_methods; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 53f0dbb7-cf2b-4632-b86d-e491577997be
Original-Request:
- req_qV9EPQMhcSmWxE
Request-Id:
- req_qV9EPQMhcSmWxE
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pm_1OK0NBKuuB1fWySnBanhATQe",
"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": 12,
"exp_year": 2024,
"fingerprint": "QOaaYMtlTSm6xJM8",
"funding": "debit",
"generated_from": null,
"last4": "5556",
"networks": {
"available": [
"visa"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1701789441,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 05 Dec 2023 15:17:21 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OK0NBKuuB1fWySnBanhATQe&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_qV9EPQMhcSmWxE","request_duration_ms":447}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:21 GMT
Content-Type:
- application/json
Content-Length:
- '1343'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- d21aabbf-bf33-4ba3-abb4-fa143b176415
Original-Request:
- req_jBZ6ydbq6wreHr
Request-Id:
- req_jBZ6ydbq6wreHr
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NBKuuB1fWySn1zyIRfxn",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NBKuuB1fWySn1zyIRfxn_secret_hagOhIL5t6uTWbqTGDP54Re6y",
"confirmation_method": "automatic",
"created": 1701789441,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NBKuuB1fWySnBanhATQe",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_confirmation",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:21 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NBKuuB1fWySn1zyIRfxn/confirm
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_jBZ6ydbq6wreHr","request_duration_ms":437}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:22 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- ad3af5ac-ed74-4499-a6db-bf1f8d1d239a
Original-Request:
- req_b94QpThTVNsaDV
Request-Id:
- req_b94QpThTVNsaDV
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NBKuuB1fWySn1zyIRfxn",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NBKuuB1fWySn1zyIRfxn_secret_hagOhIL5t6uTWbqTGDP54Re6y",
"confirmation_method": "automatic",
"created": 1701789441,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NBKuuB1fWySn10gtgFyF",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NBKuuB1fWySnBanhATQe",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:22 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NBKuuB1fWySn1zyIRfxn
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_b94QpThTVNsaDV","request_duration_ms":1264}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:23 GMT
Content-Type:
- application/json
Content-Length:
- '1365'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_zeHjSf80djIfrj
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NBKuuB1fWySn1zyIRfxn",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
"amount_details": {
"tip": {}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NBKuuB1fWySn1zyIRfxn_secret_hagOhIL5t6uTWbqTGDP54Re6y",
"confirmation_method": "automatic",
"created": 1701789441,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NBKuuB1fWySn10gtgFyF",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NBKuuB1fWySnBanhATQe",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_capture",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:23 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NBKuuB1fWySn1zyIRfxn/capture
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_zeHjSf80djIfrj","request_duration_ms":414}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:24 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fcapture;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 620f16e3-ed28-4cbf-bef5-c5667c033b57
Original-Request:
- req_iX8wsFJSraVlJj
Request-Id:
- req_iX8wsFJSraVlJj
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NBKuuB1fWySn1zyIRfxn",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NBKuuB1fWySn1zyIRfxn_secret_hagOhIL5t6uTWbqTGDP54Re6y",
"confirmation_method": "automatic",
"created": 1701789441,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NBKuuB1fWySn10gtgFyF",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NBKuuB1fWySnBanhATQe",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:24 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0NBKuuB1fWySn1zyIRfxn
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_iX8wsFJSraVlJj","request_duration_ms":1356}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.2.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-37-generic (buildd@bos03-amd64-055) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2","hostname":"ff-LAT"}'
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:
- Tue, 05 Dec 2023 15:17:25 GMT
Content-Type:
- application/json
Content-Length:
- '1358'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_O23HuS6lzDg04Z
Stripe-Version:
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "pi_3OK0NBKuuB1fWySn1zyIRfxn",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 100,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OK0NBKuuB1fWySn1zyIRfxn_secret_hagOhIL5t6uTWbqTGDP54Re6y",
"confirmation_method": "automatic",
"created": 1701789441,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OK0NBKuuB1fWySn10gtgFyF",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OK0NBKuuB1fWySnBanhATQe",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 05 Dec 2023 15:17:24 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,7 +14,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_L7OYD5kmaQIMPk","request_duration_ms":312}}'
- '{"last_request_metrics":{"request_id":"req_vO8qrn7fP8cCF0","request_duration_ms":623}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:39 GMT
- Tue, 05 Dec 2023 15:17:18 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- baa8c920-ca3f-4a1f-add7-cd61de2aa73b
- b729b00d-3874-4a9a-a167-ad80c62bdd3d
Original-Request:
- req_JXfsPHDK3CXUC6
- req_e0u7KZqngYBuvc
Request-Id:
- req_JXfsPHDK3CXUC6
- req_e0u7KZqngYBuvc
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1OJj2IKuuB1fWySnSIE4gDTL",
"id": "pm_1OK0N8KuuB1fWySnwRv0nkLw",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1701722798,
"created": 1701789438,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Mon, 04 Dec 2023 20:46:39 GMT
recorded_at: Tue, 05 Dec 2023 15:17:18 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1OJj2IKuuB1fWySnSIE4gDTL&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1OK0N8KuuB1fWySnwRv0nkLw&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.2.0
@@ -139,7 +139,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_JXfsPHDK3CXUC6","request_duration_ms":471}}'
- '{"last_request_metrics":{"request_id":"req_e0u7KZqngYBuvc","request_duration_ms":523}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:39 GMT
- Tue, 05 Dec 2023 15:17:19 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- e3350400-79eb-4616-ab1a-a899512c9266
- 616d6aaf-0b18-4229-b7f0-e88e71c1f3e6
Original-Request:
- req_dkFhtRG9mp9N15
- req_g7ga8UxzPmDZTK
Request-Id:
- req_dkFhtRG9mp9N15
- req_g7ga8UxzPmDZTK
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2JKuuB1fWySn2RlGpZxw",
"id": "pi_3OK0N8KuuB1fWySn237dksa3",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2JKuuB1fWySn2RlGpZxw_secret_fDCAcBHWT3Fama20zwPFFJ9AA",
"client_secret": "pi_3OK0N8KuuB1fWySn237dksa3_secret_0hY6fVElhza0Ii17uz9M4BkVH",
"confirmation_method": "automatic",
"created": 1701722799,
"created": 1701789438,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2IKuuB1fWySnSIE4gDTL",
"payment_method": "pm_1OK0N8KuuB1fWySnwRv0nkLw",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:39 GMT
recorded_at: Tue, 05 Dec 2023 15:17:18 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2JKuuB1fWySn2RlGpZxw/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0N8KuuB1fWySn237dksa3/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,7 +270,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_dkFhtRG9mp9N15","request_duration_ms":411}}'
- '{"last_request_metrics":{"request_id":"req_g7ga8UxzPmDZTK","request_duration_ms":570}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:40 GMT
- Tue, 05 Dec 2023 15:17:20 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- a78d843f-e267-41fd-838e-34b22d48c66e
- 4e1c8b16-a750-40b8-b661-6f25e66819b1
Original-Request:
- req_aBXrqitnoYPiRa
- req_P0I7UxOILotUnA
Request-Id:
- req_aBXrqitnoYPiRa
- req_P0I7UxOILotUnA
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -335,7 +335,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2JKuuB1fWySn2RlGpZxw",
"id": "pi_3OK0N8KuuB1fWySn237dksa3",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -349,20 +349,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2JKuuB1fWySn2RlGpZxw_secret_fDCAcBHWT3Fama20zwPFFJ9AA",
"client_secret": "pi_3OK0N8KuuB1fWySn237dksa3_secret_0hY6fVElhza0Ii17uz9M4BkVH",
"confirmation_method": "automatic",
"created": 1701722799,
"created": 1701789438,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2JKuuB1fWySn23b1nTwA",
"latest_charge": "ch_3OK0N8KuuB1fWySn250dE2fd",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2IKuuB1fWySnSIE4gDTL",
"payment_method": "pm_1OK0N8KuuB1fWySnwRv0nkLw",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -387,10 +387,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:40 GMT
recorded_at: Tue, 05 Dec 2023 15:17:19 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3OJj2JKuuB1fWySn2RlGpZxw
uri: https://api.stripe.com/v1/payment_intents/pi_3OK0N8KuuB1fWySn237dksa3
body:
encoding: US-ASCII
string: ''
@@ -402,7 +402,7 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_aBXrqitnoYPiRa","request_duration_ms":1014}}'
- '{"last_request_metrics":{"request_id":"req_P0I7UxOILotUnA","request_duration_ms":1055}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
@@ -422,7 +422,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 04 Dec 2023 20:46:41 GMT
- Tue, 05 Dec 2023 15:17:20 GMT
Content-Type:
- application/json
Content-Length:
@@ -448,7 +448,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_HnAxMcQcRahsXX
- req_ZkA8ZCo5ERur3x
Stripe-Version:
- '2023-10-16'
Vary:
@@ -461,7 +461,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3OJj2JKuuB1fWySn2RlGpZxw",
"id": "pi_3OK0N8KuuB1fWySn237dksa3",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -475,20 +475,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3OJj2JKuuB1fWySn2RlGpZxw_secret_fDCAcBHWT3Fama20zwPFFJ9AA",
"client_secret": "pi_3OK0N8KuuB1fWySn237dksa3_secret_0hY6fVElhza0Ii17uz9M4BkVH",
"confirmation_method": "automatic",
"created": 1701722799,
"created": 1701789438,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3OJj2JKuuB1fWySn23b1nTwA",
"latest_charge": "ch_3OK0N8KuuB1fWySn250dE2fd",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1OJj2IKuuB1fWySnSIE4gDTL",
"payment_method": "pm_1OK0N8KuuB1fWySnwRv0nkLw",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -513,5 +513,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Mon, 04 Dec 2023 20:46:41 GMT
recorded_at: Tue, 05 Dec 2023 15:17:20 GMT
recorded_with: VCR 6.2.0

View File

@@ -60,11 +60,22 @@ describe Stripe::PaymentIntentValidator do
expect(result).to eq payment_intent_response_body
}.to_not raise_error Stripe::StripeError
end
it "captures the payment" do
expect(Stripe::PaymentIntent.retrieve(
payment_intent.id
).status).to eq("requires_capture")
Stripe::PaymentIntent.capture(payment_intent.id)
expect(Stripe::PaymentIntent.retrieve(
payment_intent.id
).status).to eq("succeeded")
end
end
end
context "valid credit cards are correctly handled" do
it_behaves_like "payments intents", "Authenticate unless set up", 4_000_002_500_003_155
context "valid non-3D credit cards are correctly handled" do
it_behaves_like "payments intents", "Visa", 4_242_424_242_424_242
it_behaves_like "payments intents", "Visa (debit)", 4_000_056_655_665_556
it_behaves_like "payments intents", "Mastercard", 5_555_555_555_554_444