1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

updated cassettes + confirmed users accounts

This commit is contained in:
Sylvain 2020-03-03 15:57:36 +01:00
parent 279012e595
commit cfd84286ab
17 changed files with 902 additions and 1056 deletions

View File

@ -77,8 +77,8 @@ user_6:
current_sign_in_ip:
last_sign_in_ip:
confirmation_token:
confirmed_at:
confirmation_sent_at:
confirmed_at: 2016-04-04 15:18:14.124111000 Z
confirmation_sent_at: 2016-04-04 15:17:12.522028000 Z
unconfirmed_email:
failed_attempts: 0
unlock_token:
@ -109,7 +109,7 @@ user_5:
current_sign_in_ip: 37.64.230.6
last_sign_in_ip: 37.67.211.2
confirmation_token: 59cfd407491c4e1d95a9f91f81e710a62a83a6fd7171ad22823b4c4395312c4d
confirmed_at:
confirmed_at: 2016-04-04 15:18:12.122101000 Z
confirmation_sent_at: 2016-04-04 15:14:08.599603000 Z
unconfirmed_email:
failed_attempts: 0
@ -173,8 +173,8 @@ user_1:
current_sign_in_ip: 127.0.0.1
last_sign_in_ip: 127.0.0.1
confirmation_token:
confirmed_at:
confirmation_sent_at:
confirmed_at: 2016-04-05 08:40:21.514533000 Z
confirmation_sent_at: 2001-01-01 14:11:33.852719000 Z
unconfirmed_email:
failed_attempts: 0
unlock_token:

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_OTPoczsmUFqBLo","request_duration_ms":433}}'
- '{"last_request_metrics":{"request_id":"req_x6qr8Aki7Sk0SC","request_duration_ms":441}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:30:57 GMT
- Tue, 03 Mar 2020 14:55:12 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8WD5LYnhzY6AbH
- req_aXLV4SsElLj1LY
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVuP2sOmf47Nz976KzCWir",
"id": "pm_1GIc9L2sOmf47Nz9k6j91lpo",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208657,
"created": 1583247312,
"customer": null,
"livemode": false,
"metadata": {
@ -104,28 +104,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:30:57 GMT
recorded_at: Tue, 03 Mar 2020 14:55:12 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_8WD5LYnhzY6AbH","request_duration_ms":543}}'
- '{"last_request_metrics":{"request_id":"req_aXLV4SsElLj1LY","request_duration_ms":573}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -138,7 +138,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:30:58 GMT
- Tue, 03 Mar 2020 14:55:12 GMT
Content-Type:
- application/json
Content-Length:
@ -158,7 +158,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_aK6vgiaI6LRL5e
- req_vfbldZ92PiYQqR
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -167,7 +167,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVuQ2sOmf47Nz9k9CU22cr",
"id": "pm_1GIc9M2sOmf47Nz9fnl8ct92",
"object": "payment_method",
"billing_details": {
"address": {
@ -191,7 +191,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -201,7 +201,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208658,
"created": 1583247312,
"customer": null,
"livemode": false,
"metadata": {
@ -209,28 +209,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:30:58 GMT
recorded_at: Tue, 03 Mar 2020 14:55:12 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: payment_method=pm_1FHVuP2sOmf47Nz976KzCWir&amount=2400&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN
string: payment_method=pm_1GIc9L2sOmf47Nz9k6j91lpo&amount=2400&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_aK6vgiaI6LRL5e","request_duration_ms":601}}'
- '{"last_request_metrics":{"request_id":"req_vfbldZ92PiYQqR","request_duration_ms":560}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -243,11 +243,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:30:59 GMT
- Tue, 03 Mar 2020 14:55:14 GMT
Content-Type:
- application/json
Content-Length:
- '4030'
- '4149'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -263,7 +263,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_UH1wIxDTpP8Yzl
- req_umzY4x2alL0YYk
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -272,7 +272,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuQ2sOmf47Nz9vloBfmMp",
"id": "pi_1GIc9N2sOmf47Nz9eAeXuoje",
"object": "payment_intent",
"amount": 2400,
"amount_capturable": 0,
@ -286,14 +286,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuQ2sOmf47Nz9CMjWeoKi",
"id": "ch_1GIc9N2sOmf47Nz9Id0QFa9k",
"object": "charge",
"amount": 2400,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuR2sOmf47Nz9oh2Bh2GI",
"balance_transaction": "txn_1GIc9N2sOmf47Nz9pLPp3w8z",
"billing_details": {
"address": {
"city": null,
@ -308,12 +308,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208658,
"created": 1583247313,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -328,13 +329,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 51,
"risk_score": 1,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuQ2sOmf47Nz9vloBfmMp",
"payment_method": "pm_1FHVuP2sOmf47Nz976KzCWir",
"payment_intent": "pi_1GIc9N2sOmf47Nz9eAeXuoje",
"payment_method": "pm_1GIc9L2sOmf47Nz9k6j91lpo",
"payment_method_details": {
"card": {
"brand": "visa",
@ -345,10 +346,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -356,7 +359,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuQ2sOmf47Nz9CMjWeoKi/rcpt_Fn66d1GJ7Rohm3xMpiYcEVSE0NHhCdO",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9N2sOmf47Nz9Id0QFa9k/rcpt_GqIk4G5Akux62oo1UKqzPaSO7un3Lfp",
"refunded": false,
"refunds": {
"object": "list",
@ -365,7 +368,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuQ2sOmf47Nz9CMjWeoKi/refunds"
"url": "/v1/charges/ch_1GIc9N2sOmf47Nz9Id0QFa9k/refunds"
},
"review": null,
"shipping": null,
@ -380,11 +383,11 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuQ2sOmf47Nz9vloBfmMp"
"url": "/v1/charges?payment_intent=pi_1GIc9N2sOmf47Nz9eAeXuoje"
},
"client_secret": "pi_1FHVuQ2sOmf47Nz9vloBfmMp_secret_8TY9Qi3KWX3vXIgIj7EcnOiRN",
"client_secret": "pi_1GIc9N2sOmf47Nz9eAeXuoje_secret_d3LGJaq61LSIeTuun710CqIbV",
"confirmation_method": "manual",
"created": 1568208658,
"created": 1583247313,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
@ -395,9 +398,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuP2sOmf47Nz976KzCWir",
"payment_method": "pm_1GIc9L2sOmf47Nz9k6j91lpo",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -416,28 +420,28 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:30:59 GMT
recorded_at: Tue, 03 Mar 2020 14:55:14 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_1FHVuQ2sOmf47Nz9vloBfmMp
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc9N2sOmf47Nz9eAeXuoje
body:
encoding: UTF-8
string: description=Invoice+reference%3A+1909001%2FVL
string: description=Invoice+reference%3A+2003001%2FVL
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_UH1wIxDTpP8Yzl","request_duration_ms":1489}}'
- '{"last_request_metrics":{"request_id":"req_umzY4x2alL0YYk","request_duration_ms":1501}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -450,11 +454,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:00 GMT
- Tue, 03 Mar 2020 14:55:14 GMT
Content-Type:
- application/json
Content-Length:
- '4057'
- '4176'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -470,7 +474,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_031wufec9paUyM
- req_FLZYb8VQWkcCLS
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -479,7 +483,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuQ2sOmf47Nz9vloBfmMp",
"id": "pi_1GIc9N2sOmf47Nz9eAeXuoje",
"object": "payment_intent",
"amount": 2400,
"amount_capturable": 0,
@ -493,14 +497,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuQ2sOmf47Nz9CMjWeoKi",
"id": "ch_1GIc9N2sOmf47Nz9Id0QFa9k",
"object": "charge",
"amount": 2400,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuR2sOmf47Nz9oh2Bh2GI",
"balance_transaction": "txn_1GIc9N2sOmf47Nz9pLPp3w8z",
"billing_details": {
"address": {
"city": null,
@ -515,12 +519,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208658,
"created": 1583247313,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -535,13 +540,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 51,
"risk_score": 1,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuQ2sOmf47Nz9vloBfmMp",
"payment_method": "pm_1FHVuP2sOmf47Nz976KzCWir",
"payment_intent": "pi_1GIc9N2sOmf47Nz9eAeXuoje",
"payment_method": "pm_1GIc9L2sOmf47Nz9k6j91lpo",
"payment_method_details": {
"card": {
"brand": "visa",
@ -552,10 +557,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -563,7 +570,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuQ2sOmf47Nz9CMjWeoKi/rcpt_Fn66d1GJ7Rohm3xMpiYcEVSE0NHhCdO",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9N2sOmf47Nz9Id0QFa9k/rcpt_GqIk4G5Akux62oo1UKqzPaSO7un3Lfp",
"refunded": false,
"refunds": {
"object": "list",
@ -572,7 +579,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuQ2sOmf47Nz9CMjWeoKi/refunds"
"url": "/v1/charges/ch_1GIc9N2sOmf47Nz9Id0QFa9k/refunds"
},
"review": null,
"shipping": null,
@ -587,14 +594,14 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuQ2sOmf47Nz9vloBfmMp"
"url": "/v1/charges?payment_intent=pi_1GIc9N2sOmf47Nz9eAeXuoje"
},
"client_secret": "pi_1FHVuQ2sOmf47Nz9vloBfmMp_secret_8TY9Qi3KWX3vXIgIj7EcnOiRN",
"client_secret": "pi_1GIc9N2sOmf47Nz9eAeXuoje_secret_d3LGJaq61LSIeTuun710CqIbV",
"confirmation_method": "manual",
"created": 1568208658,
"created": 1583247313,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": "Invoice reference: 1909001/VL",
"description": "Invoice reference: 2003001/VL",
"invoice": null,
"last_payment_error": null,
"livemode": false,
@ -602,9 +609,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuP2sOmf47Nz976KzCWir",
"payment_method": "pm_1GIc9L2sOmf47Nz9k6j91lpo",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -623,5 +631,5 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:00 GMT
recorded_at: Tue, 03 Mar 2020 14:55:14 GMT
recorded_with: VCR 3.0.1

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_ayxDUCohW1BuWU","request_duration_ms":471}}'
- '{"last_request_metrics":{"request_id":"req_aYIhUnB77ZvQ5j","request_duration_ms":432}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:30:54 GMT
- Tue, 03 Mar 2020 14:55:04 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_blzEtdNa7GTGX2
- req_qzrttCf9NMC2Mi
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVuM2sOmf47Nz98FnryryE",
"id": "pm_1GIc9E2sOmf47Nz9FpiGvvan",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208654,
"created": 1583247304,
"customer": null,
"livemode": false,
"metadata": {
@ -104,28 +104,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:30:54 GMT
recorded_at: Tue, 03 Mar 2020 14:55:04 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: payment_method=pm_1FHVuM2sOmf47Nz98FnryryE&amount=1000&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8CzKe50I0J1gaI
string: payment_method=pm_1GIc9E2sOmf47Nz9FpiGvvan&amount=1000&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8CzKe50I0J1gaI
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_blzEtdNa7GTGX2","request_duration_ms":546}}'
- '{"last_request_metrics":{"request_id":"req_qzrttCf9NMC2Mi","request_duration_ms":755}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -138,11 +138,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:30:56 GMT
- Tue, 03 Mar 2020 14:55:06 GMT
Content-Type:
- application/json
Content-Length:
- '4030'
- '4150'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -158,7 +158,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_aAJzzfn4oiel47
- req_iURCQkSxc3FFrI
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -167,7 +167,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuM2sOmf47Nz9T2xkDh3J",
"id": "pi_1GIc9F2sOmf47Nz9GjveqezE",
"object": "payment_intent",
"amount": 1000,
"amount_capturable": 0,
@ -181,14 +181,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuN2sOmf47Nz9Fy6skei7",
"id": "ch_1GIc9F2sOmf47Nz9wCixBgR9",
"object": "charge",
"amount": 1000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuN2sOmf47Nz9KO6Q8MbY",
"balance_transaction": "txn_1GIc9F2sOmf47Nz9lj3XtJSw",
"billing_details": {
"address": {
"city": null,
@ -203,12 +203,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208655,
"created": 1583247305,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -223,13 +224,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 46,
"risk_score": 19,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuM2sOmf47Nz9T2xkDh3J",
"payment_method": "pm_1FHVuM2sOmf47Nz98FnryryE",
"payment_intent": "pi_1GIc9F2sOmf47Nz9GjveqezE",
"payment_method": "pm_1GIc9E2sOmf47Nz9FpiGvvan",
"payment_method_details": {
"card": {
"brand": "visa",
@ -240,10 +241,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -251,7 +254,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuN2sOmf47Nz9Fy6skei7/rcpt_Fn66vpeH9hQ4Dy7ixDksDOsH9MZ58ov",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9F2sOmf47Nz9wCixBgR9/rcpt_GqIkBGWpXdgKTA4Ry6rhZVRLnERhlk5",
"refunded": false,
"refunds": {
"object": "list",
@ -260,7 +263,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuN2sOmf47Nz9Fy6skei7/refunds"
"url": "/v1/charges/ch_1GIc9F2sOmf47Nz9wCixBgR9/refunds"
},
"review": null,
"shipping": null,
@ -275,11 +278,11 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuM2sOmf47Nz9T2xkDh3J"
"url": "/v1/charges?payment_intent=pi_1GIc9F2sOmf47Nz9GjveqezE"
},
"client_secret": "pi_1FHVuM2sOmf47Nz9T2xkDh3J_secret_lmDTWBrJfGsHJPnZM9WyTpUTm",
"client_secret": "pi_1GIc9F2sOmf47Nz9GjveqezE_secret_kpWYayvcBYMX8p7SxQNcQNCdy",
"confirmation_method": "manual",
"created": 1568208654,
"created": 1583247305,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"description": null,
@ -290,9 +293,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuM2sOmf47Nz98FnryryE",
"payment_method": "pm_1GIc9E2sOmf47Nz9FpiGvvan",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -311,28 +315,28 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:30:56 GMT
recorded_at: Tue, 03 Mar 2020 14:55:06 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_1FHVuM2sOmf47Nz9T2xkDh3J
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc9F2sOmf47Nz9GjveqezE
body:
encoding: UTF-8
string: description=Invoice+reference%3A+1909001%2FVL
string: description=Invoice+reference%3A+2003001%2FVL
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_aAJzzfn4oiel47","request_duration_ms":1647}}'
- '{"last_request_metrics":{"request_id":"req_iURCQkSxc3FFrI","request_duration_ms":1248}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -345,11 +349,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:30:56 GMT
- Tue, 03 Mar 2020 14:55:06 GMT
Content-Type:
- application/json
Content-Length:
- '4057'
- '4177'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -365,7 +369,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_OTPoczsmUFqBLo
- req_ibMIFsp2QxVYc3
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -374,7 +378,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuM2sOmf47Nz9T2xkDh3J",
"id": "pi_1GIc9F2sOmf47Nz9GjveqezE",
"object": "payment_intent",
"amount": 1000,
"amount_capturable": 0,
@ -388,14 +392,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuN2sOmf47Nz9Fy6skei7",
"id": "ch_1GIc9F2sOmf47Nz9wCixBgR9",
"object": "charge",
"amount": 1000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuN2sOmf47Nz9KO6Q8MbY",
"balance_transaction": "txn_1GIc9F2sOmf47Nz9lj3XtJSw",
"billing_details": {
"address": {
"city": null,
@ -410,12 +414,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208655,
"created": 1583247305,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -430,13 +435,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 46,
"risk_score": 19,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuM2sOmf47Nz9T2xkDh3J",
"payment_method": "pm_1FHVuM2sOmf47Nz98FnryryE",
"payment_intent": "pi_1GIc9F2sOmf47Nz9GjveqezE",
"payment_method": "pm_1GIc9E2sOmf47Nz9FpiGvvan",
"payment_method_details": {
"card": {
"brand": "visa",
@ -447,10 +452,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -458,7 +465,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuN2sOmf47Nz9Fy6skei7/rcpt_Fn66vpeH9hQ4Dy7ixDksDOsH9MZ58ov",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9F2sOmf47Nz9wCixBgR9/rcpt_GqIkBGWpXdgKTA4Ry6rhZVRLnERhlk5",
"refunded": false,
"refunds": {
"object": "list",
@ -467,7 +474,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuN2sOmf47Nz9Fy6skei7/refunds"
"url": "/v1/charges/ch_1GIc9F2sOmf47Nz9wCixBgR9/refunds"
},
"review": null,
"shipping": null,
@ -482,14 +489,14 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuM2sOmf47Nz9T2xkDh3J"
"url": "/v1/charges?payment_intent=pi_1GIc9F2sOmf47Nz9GjveqezE"
},
"client_secret": "pi_1FHVuM2sOmf47Nz9T2xkDh3J_secret_lmDTWBrJfGsHJPnZM9WyTpUTm",
"client_secret": "pi_1GIc9F2sOmf47Nz9GjveqezE_secret_kpWYayvcBYMX8p7SxQNcQNCdy",
"confirmation_method": "manual",
"created": 1568208654,
"created": 1583247305,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"description": "Invoice reference: 1909001/VL",
"description": "Invoice reference: 2003001/VL",
"invoice": null,
"last_payment_error": null,
"livemode": false,
@ -497,9 +504,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuM2sOmf47Nz98FnryryE",
"payment_method": "pm_1GIc9E2sOmf47Nz9FpiGvvan",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -518,5 +526,5 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:30:56 GMT
recorded_at: Tue, 03 Mar 2020 14:55:06 GMT
recorded_with: VCR 3.0.1

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4000000000000002&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4000000000000002&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_gD9VHhy0ydt0Qw","request_duration_ms":381}}'
- '{"last_request_metrics":{"request_id":"req_ibMIFsp2QxVYc3","request_duration_ms":444}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:10 GMT
- Tue, 03 Mar 2020 14:55:07 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_Y7XzbWsi1VyDAu
- req_rQkLrGoQDETduL
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVub2sOmf47Nz9JJe2ktdC",
"id": "pm_1GIc9H2sOmf47Nz90liTuzCF",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "xsVM9Mfv9kfwhRSL",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208669,
"created": 1583247307,
"customer": null,
"livemode": false,
"metadata": {
@ -104,28 +104,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:10 GMT
recorded_at: Tue, 03 Mar 2020 14:55:07 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: payment_method=pm_1FHVub2sOmf47Nz9JJe2ktdC&amount=3200&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt
string: payment_method=pm_1GIc9H2sOmf47Nz90liTuzCF&amount=3200&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Y7XzbWsi1VyDAu","request_duration_ms":544}}'
- '{"last_request_metrics":{"request_id":"req_rQkLrGoQDETduL","request_duration_ms":550}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -138,11 +138,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:11 GMT
- Tue, 03 Mar 2020 14:55:08 GMT
Content-Type:
- application/json
Content-Length:
- '7433'
- '7569'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -158,7 +158,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_jHVq7CSFZM4T5v
- req_Rnfs5yMyXOOH1y
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -168,13 +168,13 @@ http_interactions:
string: |
{
"error": {
"charge": "ch_1FHVuc2sOmf47Nz9l3A8A0Up",
"charge": "ch_1GIc9I2sOmf47Nz9FtpNbnZe",
"code": "card_declined",
"decline_code": "generic_decline",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card was declined.",
"payment_intent": {
"id": "pi_1FHVuc2sOmf47Nz9gcetuipP",
"id": "pi_1GIc9H2sOmf47Nz9MOnjgOxJ",
"object": "payment_intent",
"amount": 3200,
"amount_capturable": 0,
@ -188,7 +188,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuc2sOmf47Nz9l3A8A0Up",
"id": "ch_1GIc9I2sOmf47Nz9FtpNbnZe",
"object": "charge",
"amount": 3200,
"amount_refunded": 0,
@ -210,12 +210,13 @@ http_interactions:
"phone": null
},
"captured": false,
"created": 1568208670,
"created": 1583247308,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": "card_declined",
"failure_message": "Your card was declined.",
"fraud_details": {
@ -230,13 +231,13 @@ http_interactions:
"network_status": "declined_by_network",
"reason": "generic_decline",
"risk_level": "normal",
"risk_score": 59,
"risk_score": 15,
"seller_message": "The bank did not return any further details with this decline.",
"type": "issuer_declined"
},
"paid": false,
"payment_intent": "pi_1FHVuc2sOmf47Nz9gcetuipP",
"payment_method": "pm_1FHVub2sOmf47Nz9JJe2ktdC",
"payment_intent": "pi_1GIc9H2sOmf47Nz9MOnjgOxJ",
"payment_method": "pm_1GIc9H2sOmf47Nz90liTuzCF",
"payment_method_details": {
"card": {
"brand": "visa",
@ -247,10 +248,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "xsVM9Mfv9kfwhRSL",
"funding": "credit",
"installments": null,
"last4": "0002",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -258,7 +261,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuc2sOmf47Nz9l3A8A0Up/rcpt_Fn66L8Uq4il1rWfb3fmgpiINe66e7Ki",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9I2sOmf47Nz9FtpNbnZe/rcpt_GqIkyhhnZTtgnFYFV2z2p9t0R3IU6kN",
"refunded": false,
"refunds": {
"object": "list",
@ -267,7 +270,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuc2sOmf47Nz9l3A8A0Up/refunds"
"url": "/v1/charges/ch_1GIc9I2sOmf47Nz9FtpNbnZe/refunds"
},
"review": null,
"shipping": null,
@ -282,23 +285,23 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuc2sOmf47Nz9gcetuipP"
"url": "/v1/charges?payment_intent=pi_1GIc9H2sOmf47Nz9MOnjgOxJ"
},
"client_secret": "pi_1FHVuc2sOmf47Nz9gcetuipP_secret_mkKp6ISATLggDWljpJGLsRDAj",
"client_secret": "pi_1GIc9H2sOmf47Nz9MOnjgOxJ_secret_J8UKKE0FGj0sZ1oVGoYvSzcOk",
"confirmation_method": "manual",
"created": 1568208670,
"created": 1583247307,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
"invoice": null,
"last_payment_error": {
"charge": "ch_1FHVuc2sOmf47Nz9l3A8A0Up",
"charge": "ch_1GIc9I2sOmf47Nz9FtpNbnZe",
"code": "card_declined",
"decline_code": "generic_decline",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card was declined.",
"payment_method": {
"id": "pm_1FHVub2sOmf47Nz9JJe2ktdC",
"id": "pm_1GIc9H2sOmf47Nz90liTuzCF",
"object": "payment_method",
"billing_details": {
"address": {
@ -322,7 +325,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "xsVM9Mfv9kfwhRSL",
"funding": "credit",
"generated_from": null,
@ -332,7 +335,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208669,
"created": 1583247307,
"customer": null,
"livemode": false,
"metadata": {
@ -349,6 +352,7 @@ http_interactions:
"payment_method": null,
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -367,7 +371,7 @@ http_interactions:
"transfer_group": null
},
"payment_method": {
"id": "pm_1FHVub2sOmf47Nz9JJe2ktdC",
"id": "pm_1GIc9H2sOmf47Nz90liTuzCF",
"object": "payment_method",
"billing_details": {
"address": {
@ -391,7 +395,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "xsVM9Mfv9kfwhRSL",
"funding": "credit",
"generated_from": null,
@ -401,7 +405,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208669,
"created": 1583247307,
"customer": null,
"livemode": false,
"metadata": {
@ -412,5 +416,5 @@ http_interactions:
}
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:11 GMT
recorded_at: Tue, 03 Mar 2020 14:55:09 GMT
recorded_with: VCR 3.0.1

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_031wufec9paUyM","request_duration_ms":409}}'
- '{"last_request_metrics":{"request_id":"req_rQkLrGoQDETduL","request_duration_ms":550}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:01 GMT
- Tue, 03 Mar 2020 14:55:09 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_gqCpSv1VlKF1F2
- req_LIEZQxCvUuHYJP
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVuT2sOmf47Nz90e09TY4r",
"id": "pm_1GIc9J2sOmf47Nz9PJqSIEk4",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208661,
"created": 1583247309,
"customer": null,
"livemode": false,
"metadata": {
@ -104,28 +104,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:01 GMT
recorded_at: Tue, 03 Mar 2020 14:55:09 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: payment_method=pm_1FHVuT2sOmf47Nz90e09TY4r&amount=3200&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt
string: payment_method=pm_1GIc9J2sOmf47Nz9PJqSIEk4&amount=3200&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_gqCpSv1VlKF1F2","request_duration_ms":563}}'
- '{"last_request_metrics":{"request_id":"req_LIEZQxCvUuHYJP","request_duration_ms":552}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -138,11 +138,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:02 GMT
- Tue, 03 Mar 2020 14:55:10 GMT
Content-Type:
- application/json
Content-Length:
- '4030'
- '4150'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -158,7 +158,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_FuuXZMk19XUdpi
- req_HO3YR4158KeOXG
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -167,7 +167,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuT2sOmf47Nz95rNvtvNz",
"id": "pi_1GIc9J2sOmf47Nz9RNI3j6MI",
"object": "payment_intent",
"amount": 3200,
"amount_capturable": 0,
@ -181,14 +181,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuT2sOmf47Nz9jtYsotST",
"id": "ch_1GIc9K2sOmf47Nz9w5U0mEkk",
"object": "charge",
"amount": 3200,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuU2sOmf47Nz9gZGcwJOO",
"balance_transaction": "txn_1GIc9K2sOmf47Nz9318PDNXW",
"billing_details": {
"address": {
"city": null,
@ -203,12 +203,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208661,
"created": 1583247310,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -223,13 +224,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 35,
"risk_score": 44,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuT2sOmf47Nz95rNvtvNz",
"payment_method": "pm_1FHVuT2sOmf47Nz90e09TY4r",
"payment_intent": "pi_1GIc9J2sOmf47Nz9RNI3j6MI",
"payment_method": "pm_1GIc9J2sOmf47Nz9PJqSIEk4",
"payment_method_details": {
"card": {
"brand": "visa",
@ -240,10 +241,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -251,7 +254,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuT2sOmf47Nz9jtYsotST/rcpt_Fn66Q26w876cpBnpw4qqL05x7FKRKkj",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9K2sOmf47Nz9w5U0mEkk/rcpt_GqIkjpWmpcfwKljzMBmzDXiXvI7DQff",
"refunded": false,
"refunds": {
"object": "list",
@ -260,7 +263,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuT2sOmf47Nz9jtYsotST/refunds"
"url": "/v1/charges/ch_1GIc9K2sOmf47Nz9w5U0mEkk/refunds"
},
"review": null,
"shipping": null,
@ -275,11 +278,11 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuT2sOmf47Nz95rNvtvNz"
"url": "/v1/charges?payment_intent=pi_1GIc9J2sOmf47Nz9RNI3j6MI"
},
"client_secret": "pi_1FHVuT2sOmf47Nz95rNvtvNz_secret_S31rOo3SmPdulA9IlOnfeUno5",
"client_secret": "pi_1GIc9J2sOmf47Nz9RNI3j6MI_secret_FWjjKFpkyQjZiHqniqGRpmnfS",
"confirmation_method": "manual",
"created": 1568208661,
"created": 1583247309,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
@ -290,9 +293,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuT2sOmf47Nz90e09TY4r",
"payment_method": "pm_1GIc9J2sOmf47Nz9PJqSIEk4",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -311,28 +315,28 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:02 GMT
recorded_at: Tue, 03 Mar 2020 14:55:10 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_1FHVuT2sOmf47Nz95rNvtvNz
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc9J2sOmf47Nz9RNI3j6MI
body:
encoding: UTF-8
string: description=Invoice+reference%3A+1909001%2FVL
string: description=Invoice+reference%3A+2003001%2FVL
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_FuuXZMk19XUdpi","request_duration_ms":1227}}'
- '{"last_request_metrics":{"request_id":"req_HO3YR4158KeOXG","request_duration_ms":1327}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -345,11 +349,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:03 GMT
- Tue, 03 Mar 2020 14:55:11 GMT
Content-Type:
- application/json
Content-Length:
- '4057'
- '4177'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -365,7 +369,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_0exja1nzYe3lkj
- req_x6qr8Aki7Sk0SC
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -374,7 +378,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuT2sOmf47Nz95rNvtvNz",
"id": "pi_1GIc9J2sOmf47Nz9RNI3j6MI",
"object": "payment_intent",
"amount": 3200,
"amount_capturable": 0,
@ -388,14 +392,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuT2sOmf47Nz9jtYsotST",
"id": "ch_1GIc9K2sOmf47Nz9w5U0mEkk",
"object": "charge",
"amount": 3200,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuU2sOmf47Nz9gZGcwJOO",
"balance_transaction": "txn_1GIc9K2sOmf47Nz9318PDNXW",
"billing_details": {
"address": {
"city": null,
@ -410,12 +414,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208661,
"created": 1583247310,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -430,13 +435,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 35,
"risk_score": 44,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuT2sOmf47Nz95rNvtvNz",
"payment_method": "pm_1FHVuT2sOmf47Nz90e09TY4r",
"payment_intent": "pi_1GIc9J2sOmf47Nz9RNI3j6MI",
"payment_method": "pm_1GIc9J2sOmf47Nz9PJqSIEk4",
"payment_method_details": {
"card": {
"brand": "visa",
@ -447,10 +452,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -458,7 +465,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuT2sOmf47Nz9jtYsotST/rcpt_Fn66Q26w876cpBnpw4qqL05x7FKRKkj",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9K2sOmf47Nz9w5U0mEkk/rcpt_GqIkjpWmpcfwKljzMBmzDXiXvI7DQff",
"refunded": false,
"refunds": {
"object": "list",
@ -467,7 +474,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuT2sOmf47Nz9jtYsotST/refunds"
"url": "/v1/charges/ch_1GIc9K2sOmf47Nz9w5U0mEkk/refunds"
},
"review": null,
"shipping": null,
@ -482,14 +489,14 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuT2sOmf47Nz95rNvtvNz"
"url": "/v1/charges?payment_intent=pi_1GIc9J2sOmf47Nz9RNI3j6MI"
},
"client_secret": "pi_1FHVuT2sOmf47Nz95rNvtvNz_secret_S31rOo3SmPdulA9IlOnfeUno5",
"client_secret": "pi_1GIc9J2sOmf47Nz9RNI3j6MI_secret_FWjjKFpkyQjZiHqniqGRpmnfS",
"confirmation_method": "manual",
"created": 1568208661,
"created": 1583247309,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": "Invoice reference: 1909001/VL",
"description": "Invoice reference: 2003001/VL",
"invoice": null,
"last_payment_error": null,
"livemode": false,
@ -497,9 +504,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuT2sOmf47Nz90e09TY4r",
"payment_method": "pm_1GIc9J2sOmf47Nz9PJqSIEk4",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -518,5 +526,5 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:03 GMT
recorded_at: Tue, 03 Mar 2020 14:55:11 GMT
recorded_with: VCR 3.0.1

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Y7XzbWsi1VyDAu","request_duration_ms":544}}'
- '{"last_request_metrics":{"request_id":"req_GMWzR1ixnTfmPl","request_duration_ms":374}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:11 GMT
- Tue, 03 Mar 2020 14:54:59 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_lM223eRP9ymIOG
- req_C6NTHPpmiFxxXy
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVud2sOmf47Nz9I7TyJ6xm",
"id": "pm_1GIc982sOmf47Nz96LHOKPE8",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208671,
"created": 1583247299,
"customer": null,
"livemode": false,
"metadata": {
@ -104,28 +104,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:11 GMT
recorded_at: Tue, 03 Mar 2020 14:54:59 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: payment_method=pm_1FHVud2sOmf47Nz9I7TyJ6xm&amount=1000&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN
string: payment_method=pm_1GIc982sOmf47Nz96LHOKPE8&amount=1000&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_lM223eRP9ymIOG","request_duration_ms":471}}'
- '{"last_request_metrics":{"request_id":"req_C6NTHPpmiFxxXy","request_duration_ms":513}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -138,11 +138,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:13 GMT
- Tue, 03 Mar 2020 14:55:00 GMT
Content-Type:
- application/json
Content-Length:
- '4029'
- '4150'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -158,7 +158,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_OqB45sa4vxUE4r
- req_bFNL9utQPjObfv
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -167,7 +167,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVue2sOmf47Nz9txEUv8Sv",
"id": "pi_1GIc992sOmf47Nz9L2kElR3d",
"object": "payment_intent",
"amount": 1000,
"amount_capturable": 0,
@ -181,14 +181,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVue2sOmf47Nz9H5lJMyyx",
"id": "ch_1GIc992sOmf47Nz9JnrbIpwi",
"object": "charge",
"amount": 1000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVue2sOmf47Nz9WPXeqryS",
"balance_transaction": "txn_1GIc9A2sOmf47Nz9SJgwwwJ3",
"billing_details": {
"address": {
"city": null,
@ -203,12 +203,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208672,
"created": 1583247299,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -223,13 +224,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 5,
"risk_score": 47,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVue2sOmf47Nz9txEUv8Sv",
"payment_method": "pm_1FHVud2sOmf47Nz9I7TyJ6xm",
"payment_intent": "pi_1GIc992sOmf47Nz9L2kElR3d",
"payment_method": "pm_1GIc982sOmf47Nz96LHOKPE8",
"payment_method_details": {
"card": {
"brand": "visa",
@ -240,10 +241,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -251,7 +254,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVue2sOmf47Nz9H5lJMyyx/rcpt_Fn66qnovC3ZwnLFNh1pnCzDcEofQQUy",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc992sOmf47Nz9JnrbIpwi/rcpt_GqIkN1XMukIN2BKyXmLdEoQyauCkkwL",
"refunded": false,
"refunds": {
"object": "list",
@ -260,7 +263,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVue2sOmf47Nz9H5lJMyyx/refunds"
"url": "/v1/charges/ch_1GIc992sOmf47Nz9JnrbIpwi/refunds"
},
"review": null,
"shipping": null,
@ -275,11 +278,11 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVue2sOmf47Nz9txEUv8Sv"
"url": "/v1/charges?payment_intent=pi_1GIc992sOmf47Nz9L2kElR3d"
},
"client_secret": "pi_1FHVue2sOmf47Nz9txEUv8Sv_secret_dDx4g7oPO1uoCAuF2OH3BYS9P",
"client_secret": "pi_1GIc992sOmf47Nz9L2kElR3d_secret_hXfPyHsmlWnFQcedakriStju5",
"confirmation_method": "manual",
"created": 1568208672,
"created": 1583247299,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
@ -290,9 +293,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVud2sOmf47Nz9I7TyJ6xm",
"payment_method": "pm_1GIc982sOmf47Nz96LHOKPE8",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -311,28 +315,28 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:13 GMT
recorded_at: Tue, 03 Mar 2020 14:55:00 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_1FHVue2sOmf47Nz9txEUv8Sv
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc992sOmf47Nz9L2kElR3d
body:
encoding: UTF-8
string: description=Invoice+reference%3A+1909001%2FVL
string: description=Invoice+reference%3A+2003001%2FVL
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_OqB45sa4vxUE4r","request_duration_ms":1480}}'
- '{"last_request_metrics":{"request_id":"req_bFNL9utQPjObfv","request_duration_ms":1430}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -345,11 +349,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:14 GMT
- Tue, 03 Mar 2020 14:55:01 GMT
Content-Type:
- application/json
Content-Length:
- '4056'
- '4177'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -365,7 +369,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_guXeJqKGAlwmxa
- req_XCkmcOVl8ibzM8
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -374,7 +378,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVue2sOmf47Nz9txEUv8Sv",
"id": "pi_1GIc992sOmf47Nz9L2kElR3d",
"object": "payment_intent",
"amount": 1000,
"amount_capturable": 0,
@ -388,14 +392,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVue2sOmf47Nz9H5lJMyyx",
"id": "ch_1GIc992sOmf47Nz9JnrbIpwi",
"object": "charge",
"amount": 1000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVue2sOmf47Nz9WPXeqryS",
"balance_transaction": "txn_1GIc9A2sOmf47Nz9SJgwwwJ3",
"billing_details": {
"address": {
"city": null,
@ -410,12 +414,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208672,
"created": 1583247299,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -430,13 +435,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 5,
"risk_score": 47,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVue2sOmf47Nz9txEUv8Sv",
"payment_method": "pm_1FHVud2sOmf47Nz9I7TyJ6xm",
"payment_intent": "pi_1GIc992sOmf47Nz9L2kElR3d",
"payment_method": "pm_1GIc982sOmf47Nz96LHOKPE8",
"payment_method_details": {
"card": {
"brand": "visa",
@ -447,10 +452,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -458,7 +465,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVue2sOmf47Nz9H5lJMyyx/rcpt_Fn66qnovC3ZwnLFNh1pnCzDcEofQQUy",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc992sOmf47Nz9JnrbIpwi/rcpt_GqIkN1XMukIN2BKyXmLdEoQyauCkkwL",
"refunded": false,
"refunds": {
"object": "list",
@ -467,7 +474,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVue2sOmf47Nz9H5lJMyyx/refunds"
"url": "/v1/charges/ch_1GIc992sOmf47Nz9JnrbIpwi/refunds"
},
"review": null,
"shipping": null,
@ -482,14 +489,14 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVue2sOmf47Nz9txEUv8Sv"
"url": "/v1/charges?payment_intent=pi_1GIc992sOmf47Nz9L2kElR3d"
},
"client_secret": "pi_1FHVue2sOmf47Nz9txEUv8Sv_secret_dDx4g7oPO1uoCAuF2OH3BYS9P",
"client_secret": "pi_1GIc992sOmf47Nz9L2kElR3d_secret_hXfPyHsmlWnFQcedakriStju5",
"confirmation_method": "manual",
"created": 1568208672,
"created": 1583247299,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": "Invoice reference: 1909001/VL",
"description": "Invoice reference: 2003001/VL",
"invoice": null,
"last_payment_error": null,
"livemode": false,
@ -497,9 +504,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVud2sOmf47Nz9I7TyJ6xm",
"payment_method": "pm_1GIc982sOmf47Nz96LHOKPE8",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -518,5 +526,5 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:14 GMT
recorded_at: Tue, 03 Mar 2020 14:55:01 GMT
recorded_with: VCR 3.0.1

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_0exja1nzYe3lkj","request_duration_ms":374}}'
- '{"last_request_metrics":{"request_id":"req_XCkmcOVl8ibzM8","request_duration_ms":436}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:04 GMT
- Tue, 03 Mar 2020 14:55:02 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_Rzyp6lxEaQz566
- req_55JRffo7TFGrdT
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVuV2sOmf47Nz9PIHRtj68",
"id": "pm_1GIc9B2sOmf47Nz9pKb0t0ry",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208663,
"created": 1583247301,
"customer": null,
"livemode": false,
"metadata": {
@ -104,28 +104,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:04 GMT
recorded_at: Tue, 03 Mar 2020 14:55:02 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: payment_method=pm_1FHVuV2sOmf47Nz9PIHRtj68&amount=5100&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt
string: payment_method=pm_1GIc9B2sOmf47Nz9pKb0t0ry&amount=5100&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Rzyp6lxEaQz566","request_duration_ms":481}}'
- '{"last_request_metrics":{"request_id":"req_55JRffo7TFGrdT","request_duration_ms":544}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -138,11 +138,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:05 GMT
- Tue, 03 Mar 2020 14:55:03 GMT
Content-Type:
- application/json
Content-Length:
- '4030'
- '4150'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -158,7 +158,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_nP698xB1P4exNe
- req_ST5lCeD68xtxs3
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -167,7 +167,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuW2sOmf47Nz9gvvvaJis",
"id": "pi_1GIc9C2sOmf47Nz97hYG413j",
"object": "payment_intent",
"amount": 5100,
"amount_capturable": 0,
@ -181,14 +181,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuW2sOmf47Nz9MgvzLXXL",
"id": "ch_1GIc9C2sOmf47Nz9SM5bFPj2",
"object": "charge",
"amount": 5100,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuW2sOmf47Nz9hWEEpXy4",
"balance_transaction": "txn_1GIc9C2sOmf47Nz9nPAjyZQ5",
"billing_details": {
"address": {
"city": null,
@ -203,12 +203,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208664,
"created": 1583247302,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -223,13 +224,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 16,
"risk_score": 23,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuW2sOmf47Nz9gvvvaJis",
"payment_method": "pm_1FHVuV2sOmf47Nz9PIHRtj68",
"payment_intent": "pi_1GIc9C2sOmf47Nz97hYG413j",
"payment_method": "pm_1GIc9B2sOmf47Nz9pKb0t0ry",
"payment_method_details": {
"card": {
"brand": "visa",
@ -240,10 +241,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -251,7 +254,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuW2sOmf47Nz9MgvzLXXL/rcpt_Fn66Aaybo61CPJFvssSkvnSPoMCacNt",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9C2sOmf47Nz9SM5bFPj2/rcpt_GqIks79BAgX5h7JXNnDajnDviycxD0j",
"refunded": false,
"refunds": {
"object": "list",
@ -260,7 +263,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuW2sOmf47Nz9MgvzLXXL/refunds"
"url": "/v1/charges/ch_1GIc9C2sOmf47Nz9SM5bFPj2/refunds"
},
"review": null,
"shipping": null,
@ -275,11 +278,11 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuW2sOmf47Nz9gvvvaJis"
"url": "/v1/charges?payment_intent=pi_1GIc9C2sOmf47Nz97hYG413j"
},
"client_secret": "pi_1FHVuW2sOmf47Nz9gvvvaJis_secret_M0o2tjrbj3szWiLVIiPzTBDMx",
"client_secret": "pi_1GIc9C2sOmf47Nz97hYG413j_secret_FboNGX5rFzb9Jalyse6QaTMdf",
"confirmation_method": "manual",
"created": 1568208664,
"created": 1583247302,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
@ -290,9 +293,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuV2sOmf47Nz9PIHRtj68",
"payment_method": "pm_1GIc9B2sOmf47Nz9pKb0t0ry",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -311,28 +315,28 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:05 GMT
recorded_at: Tue, 03 Mar 2020 14:55:03 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_1FHVuW2sOmf47Nz9gvvvaJis
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc9C2sOmf47Nz97hYG413j
body:
encoding: UTF-8
string: description=Invoice+reference%3A+1909001%2FVL
string: description=Invoice+reference%3A+2003001%2FVL
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_nP698xB1P4exNe","request_duration_ms":1052}}'
- '{"last_request_metrics":{"request_id":"req_ST5lCeD68xtxs3","request_duration_ms":1308}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -345,11 +349,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:05 GMT
- Tue, 03 Mar 2020 14:55:03 GMT
Content-Type:
- application/json
Content-Length:
- '4057'
- '4177'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -365,7 +369,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_il1XyC47wUJkoL
- req_aYIhUnB77ZvQ5j
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -374,7 +378,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuW2sOmf47Nz9gvvvaJis",
"id": "pi_1GIc9C2sOmf47Nz97hYG413j",
"object": "payment_intent",
"amount": 5100,
"amount_capturable": 0,
@ -388,14 +392,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuW2sOmf47Nz9MgvzLXXL",
"id": "ch_1GIc9C2sOmf47Nz9SM5bFPj2",
"object": "charge",
"amount": 5100,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuW2sOmf47Nz9hWEEpXy4",
"balance_transaction": "txn_1GIc9C2sOmf47Nz9nPAjyZQ5",
"billing_details": {
"address": {
"city": null,
@ -410,12 +414,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208664,
"created": 1583247302,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -430,13 +435,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 16,
"risk_score": 23,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuW2sOmf47Nz9gvvvaJis",
"payment_method": "pm_1FHVuV2sOmf47Nz9PIHRtj68",
"payment_intent": "pi_1GIc9C2sOmf47Nz97hYG413j",
"payment_method": "pm_1GIc9B2sOmf47Nz9pKb0t0ry",
"payment_method_details": {
"card": {
"brand": "visa",
@ -447,10 +452,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -458,7 +465,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuW2sOmf47Nz9MgvzLXXL/rcpt_Fn66Aaybo61CPJFvssSkvnSPoMCacNt",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9C2sOmf47Nz9SM5bFPj2/rcpt_GqIks79BAgX5h7JXNnDajnDviycxD0j",
"refunded": false,
"refunds": {
"object": "list",
@ -467,7 +474,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuW2sOmf47Nz9MgvzLXXL/refunds"
"url": "/v1/charges/ch_1GIc9C2sOmf47Nz9SM5bFPj2/refunds"
},
"review": null,
"shipping": null,
@ -482,14 +489,14 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuW2sOmf47Nz9gvvvaJis"
"url": "/v1/charges?payment_intent=pi_1GIc9C2sOmf47Nz97hYG413j"
},
"client_secret": "pi_1FHVuW2sOmf47Nz9gvvvaJis_secret_M0o2tjrbj3szWiLVIiPzTBDMx",
"client_secret": "pi_1GIc9C2sOmf47Nz97hYG413j_secret_FboNGX5rFzb9Jalyse6QaTMdf",
"confirmation_method": "manual",
"created": 1568208664,
"created": 1583247302,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": "Invoice reference: 1909001/VL",
"description": "Invoice reference: 2003001/VL",
"invoice": null,
"last_payment_error": null,
"livemode": false,
@ -497,9 +504,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuV2sOmf47Nz9PIHRtj68",
"payment_method": "pm_1GIc9B2sOmf47Nz9pKb0t0ry",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -518,5 +526,5 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:05 GMT
recorded_at: Tue, 03 Mar 2020 14:55:03 GMT
recorded_with: VCR 3.0.1

View File

@ -2,7 +2,7 @@
http_interactions:
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc962sOmf47Nz9YBsuyxKn
body:
encoding: US-ASCII
string: ''
@ -10,17 +10,17 @@ http_interactions:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_hp6XHNgv9VQ4yt","request_duration_ms":457}}'
- '{"last_request_metrics":{"request_id":"req_Bd5Vwd3cPNoLTt","request_duration_ms":416}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,11 +33,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:09 GMT
- Tue, 03 Mar 2020 14:54:58 GMT
Content-Type:
- application/json
Content-Length:
- '4057'
- '4177'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_gD9VHhy0ydt0Qw
- req_GMWzR1ixnTfmPl
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb",
"id": "pi_1GIc962sOmf47Nz9YBsuyxKn",
"object": "payment_intent",
"amount": 3825,
"amount_capturable": 0,
@ -76,14 +76,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuZ2sOmf47Nz9TH2u9sRl",
"id": "ch_1GIc962sOmf47Nz9Uq5jY1jX",
"object": "charge",
"amount": 3825,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuZ2sOmf47Nz9ndcpZXQq",
"balance_transaction": "txn_1GIc962sOmf47Nz9Q3q7kCPg",
"billing_details": {
"address": {
"city": null,
@ -98,12 +98,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208667,
"created": 1583247296,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -118,13 +119,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 31,
"risk_score": 62,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb",
"payment_method": "pm_1FHVuY2sOmf47Nz9dCzLS3it",
"payment_intent": "pi_1GIc962sOmf47Nz9YBsuyxKn",
"payment_method": "pm_1GIc952sOmf47Nz9fS2p9Rxu",
"payment_method_details": {
"card": {
"brand": "visa",
@ -135,10 +136,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -146,7 +149,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuZ2sOmf47Nz9TH2u9sRl/rcpt_Fn661Dkd77NDJaUCLQxVwkUhMSaUG8L",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc962sOmf47Nz9Uq5jY1jX/rcpt_GqIkWzM6n72G361VXBXlldDkJUWQS7Z",
"refunded": false,
"refunds": {
"object": "list",
@ -155,7 +158,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuZ2sOmf47Nz9TH2u9sRl/refunds"
"url": "/v1/charges/ch_1GIc962sOmf47Nz9Uq5jY1jX/refunds"
},
"review": null,
"shipping": null,
@ -170,14 +173,14 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb"
"url": "/v1/charges?payment_intent=pi_1GIc962sOmf47Nz9YBsuyxKn"
},
"client_secret": "pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb_secret_9OjKYVbuu09IqouRjOxGXaq0X",
"client_secret": "pi_1GIc962sOmf47Nz9YBsuyxKn_secret_DlWg2EEk0dvS4nMUwgzWneNn7",
"confirmation_method": "manual",
"created": 1568208667,
"created": 1583247296,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": "Invoice reference: 1909001/VL",
"description": "Invoice reference: 2003001/VL",
"invoice": null,
"last_payment_error": null,
"livemode": false,
@ -185,9 +188,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuY2sOmf47Nz9dCzLS3it",
"payment_method": "pm_1GIc952sOmf47Nz9fS2p9Rxu",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -206,5 +210,5 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:09 GMT
recorded_at: Tue, 03 Mar 2020 14:54:58 GMT
recorded_with: VCR 3.0.1

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_il1XyC47wUJkoL","request_duration_ms":461}}'
- '{"last_request_metrics":{"request_id":"req_7t6Czv8JevU9CB","request_duration_ms":513}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:06 GMT
- Tue, 03 Mar 2020 14:54:55 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_B45mZ8KTg0ydhl
- req_yirqrAAMdgxV5F
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVuY2sOmf47Nz9dCzLS3it",
"id": "pm_1GIc952sOmf47Nz9fS2p9Rxu",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208666,
"created": 1583247295,
"customer": null,
"livemode": false,
"metadata": {
@ -104,28 +104,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:06 GMT
recorded_at: Tue, 03 Mar 2020 14:54:55 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: payment_method=pm_1FHVuY2sOmf47Nz9dCzLS3it&amount=3825&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt
string: payment_method=pm_1GIc952sOmf47Nz9fS2p9Rxu&amount=3825&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_B45mZ8KTg0ydhl","request_duration_ms":594}}'
- '{"last_request_metrics":{"request_id":"req_yirqrAAMdgxV5F","request_duration_ms":510}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -138,11 +138,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:08 GMT
- Tue, 03 Mar 2020 14:54:57 GMT
Content-Type:
- application/json
Content-Length:
- '4030'
- '4150'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -158,7 +158,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_YzpJoFbqnjHlFy
- req_Gir8V0OQ50uxPe
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -167,7 +167,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb",
"id": "pi_1GIc962sOmf47Nz9YBsuyxKn",
"object": "payment_intent",
"amount": 3825,
"amount_capturable": 0,
@ -181,14 +181,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuZ2sOmf47Nz9TH2u9sRl",
"id": "ch_1GIc962sOmf47Nz9Uq5jY1jX",
"object": "charge",
"amount": 3825,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuZ2sOmf47Nz9ndcpZXQq",
"balance_transaction": "txn_1GIc962sOmf47Nz9Q3q7kCPg",
"billing_details": {
"address": {
"city": null,
@ -203,12 +203,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208667,
"created": 1583247296,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -223,13 +224,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 31,
"risk_score": 62,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb",
"payment_method": "pm_1FHVuY2sOmf47Nz9dCzLS3it",
"payment_intent": "pi_1GIc962sOmf47Nz9YBsuyxKn",
"payment_method": "pm_1GIc952sOmf47Nz9fS2p9Rxu",
"payment_method_details": {
"card": {
"brand": "visa",
@ -240,10 +241,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -251,7 +254,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuZ2sOmf47Nz9TH2u9sRl/rcpt_Fn661Dkd77NDJaUCLQxVwkUhMSaUG8L",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc962sOmf47Nz9Uq5jY1jX/rcpt_GqIkWzM6n72G361VXBXlldDkJUWQS7Z",
"refunded": false,
"refunds": {
"object": "list",
@ -260,7 +263,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuZ2sOmf47Nz9TH2u9sRl/refunds"
"url": "/v1/charges/ch_1GIc962sOmf47Nz9Uq5jY1jX/refunds"
},
"review": null,
"shipping": null,
@ -275,11 +278,11 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb"
"url": "/v1/charges?payment_intent=pi_1GIc962sOmf47Nz9YBsuyxKn"
},
"client_secret": "pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb_secret_9OjKYVbuu09IqouRjOxGXaq0X",
"client_secret": "pi_1GIc962sOmf47Nz9YBsuyxKn_secret_DlWg2EEk0dvS4nMUwgzWneNn7",
"confirmation_method": "manual",
"created": 1568208667,
"created": 1583247296,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
@ -290,9 +293,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuY2sOmf47Nz9dCzLS3it",
"payment_method": "pm_1GIc952sOmf47Nz9fS2p9Rxu",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -311,28 +315,28 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:08 GMT
recorded_at: Tue, 03 Mar 2020 14:54:57 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc962sOmf47Nz9YBsuyxKn
body:
encoding: UTF-8
string: description=Invoice+reference%3A+1909001%2FVL
string: description=Invoice+reference%3A+2003001%2FVL
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_YzpJoFbqnjHlFy","request_duration_ms":1209}}'
- '{"last_request_metrics":{"request_id":"req_Gir8V0OQ50uxPe","request_duration_ms":1590}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -345,11 +349,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:08 GMT
- Tue, 03 Mar 2020 14:54:57 GMT
Content-Type:
- application/json
Content-Length:
- '4057'
- '4177'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -365,7 +369,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_hp6XHNgv9VQ4yt
- req_Bd5Vwd3cPNoLTt
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -374,7 +378,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb",
"id": "pi_1GIc962sOmf47Nz9YBsuyxKn",
"object": "payment_intent",
"amount": 3825,
"amount_capturable": 0,
@ -388,14 +392,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuZ2sOmf47Nz9TH2u9sRl",
"id": "ch_1GIc962sOmf47Nz9Uq5jY1jX",
"object": "charge",
"amount": 3825,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuZ2sOmf47Nz9ndcpZXQq",
"balance_transaction": "txn_1GIc962sOmf47Nz9Q3q7kCPg",
"billing_details": {
"address": {
"city": null,
@ -410,12 +414,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208667,
"created": 1583247296,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -430,13 +435,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 31,
"risk_score": 62,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb",
"payment_method": "pm_1FHVuY2sOmf47Nz9dCzLS3it",
"payment_intent": "pi_1GIc962sOmf47Nz9YBsuyxKn",
"payment_method": "pm_1GIc952sOmf47Nz9fS2p9Rxu",
"payment_method_details": {
"card": {
"brand": "visa",
@ -447,10 +452,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -458,7 +465,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuZ2sOmf47Nz9TH2u9sRl/rcpt_Fn661Dkd77NDJaUCLQxVwkUhMSaUG8L",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc962sOmf47Nz9Uq5jY1jX/rcpt_GqIkWzM6n72G361VXBXlldDkJUWQS7Z",
"refunded": false,
"refunds": {
"object": "list",
@ -467,7 +474,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuZ2sOmf47Nz9TH2u9sRl/refunds"
"url": "/v1/charges/ch_1GIc962sOmf47Nz9Uq5jY1jX/refunds"
},
"review": null,
"shipping": null,
@ -482,14 +489,14 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb"
"url": "/v1/charges?payment_intent=pi_1GIc962sOmf47Nz9YBsuyxKn"
},
"client_secret": "pi_1FHVuZ2sOmf47Nz9PWYJ8Fxb_secret_9OjKYVbuu09IqouRjOxGXaq0X",
"client_secret": "pi_1GIc962sOmf47Nz9YBsuyxKn_secret_DlWg2EEk0dvS4nMUwgzWneNn7",
"confirmation_method": "manual",
"created": 1568208667,
"created": 1583247296,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": "Invoice reference: 1909001/VL",
"description": "Invoice reference: 2003001/VL",
"invoice": null,
"last_payment_error": null,
"livemode": false,
@ -497,9 +504,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuY2sOmf47Nz9dCzLS3it",
"payment_method": "pm_1GIc952sOmf47Nz9fS2p9Rxu",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -518,5 +526,5 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:08 GMT
recorded_at: Tue, 03 Mar 2020 14:54:57 GMT
recorded_with: VCR 3.0.1

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_qFWzRpBB0daj5r","request_duration_ms":381}}'
- '{"last_request_metrics":{"request_id":"req_Reuaqw87EjoTN7","request_duration_ms":381}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:30:53 GMT
- Tue, 03 Mar 2020 14:54:54 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_pCdwNLPqHdMGOz
- req_AKmq4YFv8nv3Zj
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVuL2sOmf47Nz9BE2u744Y",
"id": "pm_1GIc942sOmf47Nz9X2OnwfHz",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208653,
"created": 1583247294,
"customer": null,
"livemode": false,
"metadata": {
@ -104,28 +104,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:30:53 GMT
recorded_at: Tue, 03 Mar 2020 14:54:54 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_pCdwNLPqHdMGOz","request_duration_ms":562}}'
- '{"last_request_metrics":{"request_id":"req_AKmq4YFv8nv3Zj","request_duration_ms":526}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -138,7 +138,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:30:53 GMT
- Tue, 03 Mar 2020 14:54:55 GMT
Content-Type:
- application/json
Content-Length:
@ -158,7 +158,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_ayxDUCohW1BuWU
- req_7t6Czv8JevU9CB
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -167,7 +167,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVuL2sOmf47Nz93XcqNdta",
"id": "pm_1GIc942sOmf47Nz9zy21Kacp",
"object": "payment_method",
"billing_details": {
"address": {
@ -191,7 +191,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -201,7 +201,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208653,
"created": 1583247295,
"customer": null,
"livemode": false,
"metadata": {
@ -209,5 +209,5 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:30:53 GMT
recorded_at: Tue, 03 Mar 2020 14:54:55 GMT
recorded_with: VCR 3.0.1

View File

@ -5,20 +5,20 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -31,7 +31,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:30:49 GMT
- Tue, 03 Mar 2020 14:54:45 GMT
Content-Type:
- application/json
Content-Length:
@ -51,7 +51,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_B1gGFY34cEM9Ih
- req_HoBLUXCSZ5M1LS
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -60,7 +60,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVuH2sOmf47Nz9J3iaP7BZ",
"id": "pm_1GIc8u2sOmf47Nz9Z9zoefnj",
"object": "payment_method",
"billing_details": {
"address": {
@ -84,7 +84,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -94,7 +94,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208649,
"created": 1583247285,
"customer": null,
"livemode": false,
"metadata": {
@ -102,28 +102,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:30:49 GMT
recorded_at: Tue, 03 Mar 2020 14:54:45 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: payment_method=pm_1FHVuH2sOmf47Nz9J3iaP7BZ&amount=42350&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN
string: payment_method=pm_1GIc8u2sOmf47Nz9Z9zoefnj&amount=42350&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_B1gGFY34cEM9Ih","request_duration_ms":593}}'
- '{"last_request_metrics":{"request_id":"req_HoBLUXCSZ5M1LS","request_duration_ms":564}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -136,11 +136,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:30:51 GMT
- Tue, 03 Mar 2020 14:54:46 GMT
Content-Type:
- application/json
Content-Length:
- '4032'
- '4153'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -156,7 +156,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_ma8Vimm4Ff6JvN
- req_F06TYabhdT0lY1
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -165,7 +165,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuI2sOmf47Nz9jBgevbfl",
"id": "pi_1GIc8v2sOmf47Nz9ml7utm9H",
"object": "payment_intent",
"amount": 42350,
"amount_capturable": 0,
@ -179,14 +179,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuI2sOmf47Nz9EiQ0Ht0c",
"id": "ch_1GIc8v2sOmf47Nz9QI9nWnpU",
"object": "charge",
"amount": 42350,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuI2sOmf47Nz952xHk1ka",
"balance_transaction": "txn_1GIc8w2sOmf47Nz9myVnnnlm",
"billing_details": {
"address": {
"city": null,
@ -201,12 +201,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208650,
"created": 1583247285,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -221,13 +222,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 9,
"risk_score": 52,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuI2sOmf47Nz9jBgevbfl",
"payment_method": "pm_1FHVuH2sOmf47Nz9J3iaP7BZ",
"payment_intent": "pi_1GIc8v2sOmf47Nz9ml7utm9H",
"payment_method": "pm_1GIc8u2sOmf47Nz9Z9zoefnj",
"payment_method_details": {
"card": {
"brand": "visa",
@ -238,10 +239,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -249,7 +252,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuI2sOmf47Nz9EiQ0Ht0c/rcpt_Fn66fwvJLgOJWEAg0NHzMAffnm1PgCc",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc8v2sOmf47Nz9QI9nWnpU/rcpt_GqIk4euyZSZAF2cqvoQ4YlwZk64iIbT",
"refunded": false,
"refunds": {
"object": "list",
@ -258,7 +261,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuI2sOmf47Nz9EiQ0Ht0c/refunds"
"url": "/v1/charges/ch_1GIc8v2sOmf47Nz9QI9nWnpU/refunds"
},
"review": null,
"shipping": null,
@ -273,11 +276,11 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuI2sOmf47Nz9jBgevbfl"
"url": "/v1/charges?payment_intent=pi_1GIc8v2sOmf47Nz9ml7utm9H"
},
"client_secret": "pi_1FHVuI2sOmf47Nz9jBgevbfl_secret_kasp2cfaKxHB49QfSJYpxCWf6",
"client_secret": "pi_1GIc8v2sOmf47Nz9ml7utm9H_secret_KktP51swzT5Zl6B0qXflO2Non",
"confirmation_method": "manual",
"created": 1568208650,
"created": 1583247285,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
@ -288,9 +291,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuH2sOmf47Nz9J3iaP7BZ",
"payment_method": "pm_1GIc8u2sOmf47Nz9Z9zoefnj",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -309,28 +313,28 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:30:51 GMT
recorded_at: Tue, 03 Mar 2020 14:54:46 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_1FHVuI2sOmf47Nz9jBgevbfl
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc8v2sOmf47Nz9ml7utm9H
body:
encoding: UTF-8
string: description=Invoice+reference%3A+1909001%2FVL
string: description=Invoice+reference%3A+2003001%2FVL
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_ma8Vimm4Ff6JvN","request_duration_ms":1496}}'
- '{"last_request_metrics":{"request_id":"req_F06TYabhdT0lY1","request_duration_ms":1262}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -343,11 +347,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:30:51 GMT
- Tue, 03 Mar 2020 14:54:47 GMT
Content-Type:
- application/json
Content-Length:
- '4059'
- '4180'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -363,7 +367,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_qFWzRpBB0daj5r
- req_IDZnriQDLXdBNX
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -372,7 +376,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuI2sOmf47Nz9jBgevbfl",
"id": "pi_1GIc8v2sOmf47Nz9ml7utm9H",
"object": "payment_intent",
"amount": 42350,
"amount_capturable": 0,
@ -386,14 +390,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuI2sOmf47Nz9EiQ0Ht0c",
"id": "ch_1GIc8v2sOmf47Nz9QI9nWnpU",
"object": "charge",
"amount": 42350,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuI2sOmf47Nz952xHk1ka",
"balance_transaction": "txn_1GIc8w2sOmf47Nz9myVnnnlm",
"billing_details": {
"address": {
"city": null,
@ -408,12 +412,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208650,
"created": 1583247285,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -428,13 +433,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 9,
"risk_score": 52,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuI2sOmf47Nz9jBgevbfl",
"payment_method": "pm_1FHVuH2sOmf47Nz9J3iaP7BZ",
"payment_intent": "pi_1GIc8v2sOmf47Nz9ml7utm9H",
"payment_method": "pm_1GIc8u2sOmf47Nz9Z9zoefnj",
"payment_method_details": {
"card": {
"brand": "visa",
@ -445,10 +450,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -456,7 +463,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuI2sOmf47Nz9EiQ0Ht0c/rcpt_Fn66fwvJLgOJWEAg0NHzMAffnm1PgCc",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc8v2sOmf47Nz9QI9nWnpU/rcpt_GqIk4euyZSZAF2cqvoQ4YlwZk64iIbT",
"refunded": false,
"refunds": {
"object": "list",
@ -465,7 +472,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuI2sOmf47Nz9EiQ0Ht0c/refunds"
"url": "/v1/charges/ch_1GIc8v2sOmf47Nz9QI9nWnpU/refunds"
},
"review": null,
"shipping": null,
@ -480,14 +487,14 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuI2sOmf47Nz9jBgevbfl"
"url": "/v1/charges?payment_intent=pi_1GIc8v2sOmf47Nz9ml7utm9H"
},
"client_secret": "pi_1FHVuI2sOmf47Nz9jBgevbfl_secret_kasp2cfaKxHB49QfSJYpxCWf6",
"client_secret": "pi_1GIc8v2sOmf47Nz9ml7utm9H_secret_KktP51swzT5Zl6B0qXflO2Non",
"confirmation_method": "manual",
"created": 1568208650,
"created": 1583247285,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": "Invoice reference: 1909001/VL",
"description": "Invoice reference: 2003001/VL",
"invoice": null,
"last_payment_error": null,
"livemode": false,
@ -495,9 +502,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuH2sOmf47Nz9J3iaP7BZ",
"payment_method": "pm_1GIc8u2sOmf47Nz9Z9zoefnj",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -516,5 +524,5 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:30:51 GMT
recorded_at: Tue, 03 Mar 2020 14:54:47 GMT
recorded_with: VCR 3.0.1

View File

@ -2,7 +2,7 @@
http_interactions:
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_1FHVuI2sOmf47Nz9jBgevbfl
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc8v2sOmf47Nz9ml7utm9H
body:
encoding: US-ASCII
string: ''
@ -10,17 +10,17 @@ http_interactions:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_qFWzRpBB0daj5r","request_duration_ms":4}}'
- '{"last_request_metrics":{"request_id":"req_IDZnriQDLXdBNX","request_duration_ms":403}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,11 +33,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 14:08:33 GMT
- Tue, 03 Mar 2020 14:54:48 GMT
Content-Type:
- application/json
Content-Length:
- '4059'
- '4180'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rLrzPDwSYcxy0
- req_Reuaqw87EjoTN7
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuI2sOmf47Nz9jBgevbfl",
"id": "pi_1GIc8v2sOmf47Nz9ml7utm9H",
"object": "payment_intent",
"amount": 42350,
"amount_capturable": 0,
@ -76,14 +76,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuI2sOmf47Nz9EiQ0Ht0c",
"id": "ch_1GIc8v2sOmf47Nz9QI9nWnpU",
"object": "charge",
"amount": 42350,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuI2sOmf47Nz952xHk1ka",
"balance_transaction": "txn_1GIc8w2sOmf47Nz9myVnnnlm",
"billing_details": {
"address": {
"city": null,
@ -98,12 +98,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208650,
"created": 1583247285,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -118,13 +119,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 9,
"risk_score": 52,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuI2sOmf47Nz9jBgevbfl",
"payment_method": "pm_1FHVuH2sOmf47Nz9J3iaP7BZ",
"payment_intent": "pi_1GIc8v2sOmf47Nz9ml7utm9H",
"payment_method": "pm_1GIc8u2sOmf47Nz9Z9zoefnj",
"payment_method_details": {
"card": {
"brand": "visa",
@ -135,10 +136,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -146,7 +149,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuI2sOmf47Nz9EiQ0Ht0c/rcpt_Fn66fwvJLgOJWEAg0NHzMAffnm1PgCc",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc8v2sOmf47Nz9QI9nWnpU/rcpt_GqIk4euyZSZAF2cqvoQ4YlwZk64iIbT",
"refunded": false,
"refunds": {
"object": "list",
@ -155,7 +158,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuI2sOmf47Nz9EiQ0Ht0c/refunds"
"url": "/v1/charges/ch_1GIc8v2sOmf47Nz9QI9nWnpU/refunds"
},
"review": null,
"shipping": null,
@ -170,14 +173,14 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuI2sOmf47Nz9jBgevbfl"
"url": "/v1/charges?payment_intent=pi_1GIc8v2sOmf47Nz9ml7utm9H"
},
"client_secret": "pi_1FHVuI2sOmf47Nz9jBgevbfl_secret_kasp2cfaKxHB49QfSJYpxCWf6",
"client_secret": "pi_1GIc8v2sOmf47Nz9ml7utm9H_secret_KktP51swzT5Zl6B0qXflO2Non",
"confirmation_method": "manual",
"created": 1568208650,
"created": 1583247285,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": "Invoice reference: 1909001/VL",
"description": "Invoice reference: 2003001/VL",
"invoice": null,
"last_payment_error": null,
"livemode": false,
@ -185,9 +188,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuH2sOmf47Nz9J3iaP7BZ",
"payment_method": "pm_1GIc8u2sOmf47Nz9Z9zoefnj",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -206,5 +210,5 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 14:08:33 GMT
recorded_at: Tue, 03 Mar 2020 14:54:48 GMT
recorded_with: VCR 3.0.1

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_h6p1Z4uIchcuNH","request_duration_ms":409}}'
- '{"last_request_metrics":{"request_id":"req_sKTcNxwXEgg7UW","request_duration_ms":391}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:30 GMT
- Tue, 03 Mar 2020 14:55:21 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_yJbCiyFMrrLeji
- req_qJlAIwLHBL3Eaj
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVuv2sOmf47Nz9qI60kcA1",
"id": "pm_1GIc9V2sOmf47Nz96pqAvXKb",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208690,
"created": 1583247321,
"customer": null,
"livemode": false,
"metadata": {
@ -104,5 +104,5 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:30 GMT
recorded_at: Tue, 03 Mar 2020 14:55:21 GMT
recorded_with: VCR 3.0.1

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Y5D9fvjMJ2wSMr","request_duration_ms":537}}'
- '{"last_request_metrics":{"request_id":"req_FLZYb8VQWkcCLS","request_duration_ms":452}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:24 GMT
- Tue, 03 Mar 2020 14:55:16 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_MbZEeCPk82V4u1
- req_ippegIxrFH9fJ2
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVuq2sOmf47Nz98IIIuGZY",
"id": "pm_1GIc9Q2sOmf47Nz9rsPseajX",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208684,
"created": 1583247316,
"customer": null,
"livemode": false,
"metadata": {
@ -104,28 +104,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:24 GMT
recorded_at: Tue, 03 Mar 2020 14:55:16 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: payment_method=pm_1FHVuq2sOmf47Nz98IIIuGZY&amount=3000&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt
string: payment_method=pm_1GIc9Q2sOmf47Nz9rsPseajX&amount=3000&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_MbZEeCPk82V4u1","request_duration_ms":518}}'
- '{"last_request_metrics":{"request_id":"req_ippegIxrFH9fJ2","request_duration_ms":569}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -138,11 +138,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:26 GMT
- Tue, 03 Mar 2020 14:55:17 GMT
Content-Type:
- application/json
Content-Length:
- '4030'
- '4150'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -158,7 +158,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_zqpgajtd9oa6dN
- req_W0JzHculn48snH
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -167,7 +167,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVur2sOmf47Nz9tciS897v",
"id": "pi_1GIc9Q2sOmf47Nz9iYHKWLUh",
"object": "payment_intent",
"amount": 3000,
"amount_capturable": 0,
@ -181,14 +181,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVur2sOmf47Nz9mZbZnRf8",
"id": "ch_1GIc9Q2sOmf47Nz9GFzPbGLj",
"object": "charge",
"amount": 3000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVur2sOmf47Nz9y3tMa3Dn",
"balance_transaction": "txn_1GIc9R2sOmf47Nz9ttSUmJuK",
"billing_details": {
"address": {
"city": null,
@ -203,12 +203,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208685,
"created": 1583247316,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -223,13 +224,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 15,
"risk_score": 55,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVur2sOmf47Nz9tciS897v",
"payment_method": "pm_1FHVuq2sOmf47Nz98IIIuGZY",
"payment_intent": "pi_1GIc9Q2sOmf47Nz9iYHKWLUh",
"payment_method": "pm_1GIc9Q2sOmf47Nz9rsPseajX",
"payment_method_details": {
"card": {
"brand": "visa",
@ -240,10 +241,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -251,7 +254,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVur2sOmf47Nz9mZbZnRf8/rcpt_Fn67fW5QXxjjHCsqPLCRRnNAV6qDZuQ",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9Q2sOmf47Nz9GFzPbGLj/rcpt_GqIkPUg6C6CfpZR5OlOj1LzV7JMwaGu",
"refunded": false,
"refunds": {
"object": "list",
@ -260,7 +263,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVur2sOmf47Nz9mZbZnRf8/refunds"
"url": "/v1/charges/ch_1GIc9Q2sOmf47Nz9GFzPbGLj/refunds"
},
"review": null,
"shipping": null,
@ -275,11 +278,11 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVur2sOmf47Nz9tciS897v"
"url": "/v1/charges?payment_intent=pi_1GIc9Q2sOmf47Nz9iYHKWLUh"
},
"client_secret": "pi_1FHVur2sOmf47Nz9tciS897v_secret_hrYtox1xbTOJWcgxp9nirdHwF",
"client_secret": "pi_1GIc9Q2sOmf47Nz9iYHKWLUh_secret_ztRTs2yaqzcm8vOfvyZ4j31Oj",
"confirmation_method": "manual",
"created": 1568208685,
"created": 1583247316,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
@ -290,9 +293,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuq2sOmf47Nz98IIIuGZY",
"payment_method": "pm_1GIc9Q2sOmf47Nz9rsPseajX",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -311,28 +315,28 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:26 GMT
recorded_at: Tue, 03 Mar 2020 14:55:17 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_1FHVur2sOmf47Nz9tciS897v
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc9Q2sOmf47Nz9iYHKWLUh
body:
encoding: UTF-8
string: description=Invoice+reference%3A+1909001%2FVL
string: description=Invoice+reference%3A+2003001%2FVL
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_zqpgajtd9oa6dN","request_duration_ms":1093}}'
- '{"last_request_metrics":{"request_id":"req_W0JzHculn48snH","request_duration_ms":1329}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -345,11 +349,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:26 GMT
- Tue, 03 Mar 2020 14:55:18 GMT
Content-Type:
- application/json
Content-Length:
- '4057'
- '4177'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -365,7 +369,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_sYC1AgInF2FGSu
- req_lYkRyC5HhvAfuP
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -374,7 +378,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVur2sOmf47Nz9tciS897v",
"id": "pi_1GIc9Q2sOmf47Nz9iYHKWLUh",
"object": "payment_intent",
"amount": 3000,
"amount_capturable": 0,
@ -388,14 +392,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVur2sOmf47Nz9mZbZnRf8",
"id": "ch_1GIc9Q2sOmf47Nz9GFzPbGLj",
"object": "charge",
"amount": 3000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVur2sOmf47Nz9y3tMa3Dn",
"balance_transaction": "txn_1GIc9R2sOmf47Nz9ttSUmJuK",
"billing_details": {
"address": {
"city": null,
@ -410,12 +414,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208685,
"created": 1583247316,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -430,13 +435,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 15,
"risk_score": 55,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVur2sOmf47Nz9tciS897v",
"payment_method": "pm_1FHVuq2sOmf47Nz98IIIuGZY",
"payment_intent": "pi_1GIc9Q2sOmf47Nz9iYHKWLUh",
"payment_method": "pm_1GIc9Q2sOmf47Nz9rsPseajX",
"payment_method_details": {
"card": {
"brand": "visa",
@ -447,10 +452,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -458,7 +465,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVur2sOmf47Nz9mZbZnRf8/rcpt_Fn67fW5QXxjjHCsqPLCRRnNAV6qDZuQ",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9Q2sOmf47Nz9GFzPbGLj/rcpt_GqIkPUg6C6CfpZR5OlOj1LzV7JMwaGu",
"refunded": false,
"refunds": {
"object": "list",
@ -467,7 +474,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVur2sOmf47Nz9mZbZnRf8/refunds"
"url": "/v1/charges/ch_1GIc9Q2sOmf47Nz9GFzPbGLj/refunds"
},
"review": null,
"shipping": null,
@ -482,14 +489,14 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVur2sOmf47Nz9tciS897v"
"url": "/v1/charges?payment_intent=pi_1GIc9Q2sOmf47Nz9iYHKWLUh"
},
"client_secret": "pi_1FHVur2sOmf47Nz9tciS897v_secret_hrYtox1xbTOJWcgxp9nirdHwF",
"client_secret": "pi_1GIc9Q2sOmf47Nz9iYHKWLUh_secret_ztRTs2yaqzcm8vOfvyZ4j31Oj",
"confirmation_method": "manual",
"created": 1568208685,
"created": 1583247316,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"description": "Invoice reference: 1909001/VL",
"description": "Invoice reference: 2003001/VL",
"invoice": null,
"last_payment_error": null,
"livemode": false,
@ -497,9 +504,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuq2sOmf47Nz98IIIuGZY",
"payment_method": "pm_1GIc9Q2sOmf47Nz9rsPseajX",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -518,5 +526,5 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:26 GMT
recorded_at: Tue, 03 Mar 2020 14:55:18 GMT
recorded_with: VCR 3.0.1

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_sYC1AgInF2FGSu","request_duration_ms":438}}'
- '{"last_request_metrics":{"request_id":"req_lYkRyC5HhvAfuP","request_duration_ms":568}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:27 GMT
- Tue, 03 Mar 2020 14:55:19 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_SrqPSosY3a1d8G
- req_EGVR0KbXOjQQEl
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVut2sOmf47Nz9csSdVOVQ",
"id": "pm_1GIc9S2sOmf47Nz9KEzEGLZL",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208687,
"created": 1583247319,
"customer": null,
"livemode": false,
"metadata": {
@ -104,28 +104,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:27 GMT
recorded_at: Tue, 03 Mar 2020 14:55:19 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: payment_method=pm_1FHVut2sOmf47Nz9csSdVOVQ&amount=1000&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN
string: payment_method=pm_1GIc9S2sOmf47Nz9KEzEGLZL&amount=1000&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_SrqPSosY3a1d8G","request_duration_ms":460}}'
- '{"last_request_metrics":{"request_id":"req_EGVR0KbXOjQQEl","request_duration_ms":528}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -138,11 +138,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:28 GMT
- Tue, 03 Mar 2020 14:55:20 GMT
Content-Type:
- application/json
Content-Length:
- '4030'
- '4150'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -158,7 +158,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_krT65cyCQPpI9c
- req_lJBhm8ex2TbJZ5
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -167,7 +167,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVut2sOmf47Nz9s3ok787j",
"id": "pi_1GIc9T2sOmf47Nz9kYoPSMEq",
"object": "payment_intent",
"amount": 1000,
"amount_capturable": 0,
@ -181,14 +181,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVut2sOmf47Nz9MgHAONYu",
"id": "ch_1GIc9T2sOmf47Nz9hzX3fbro",
"object": "charge",
"amount": 1000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuu2sOmf47Nz9oT3JEzXm",
"balance_transaction": "txn_1GIc9U2sOmf47Nz9K6V3j4qG",
"billing_details": {
"address": {
"city": null,
@ -203,12 +203,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208687,
"created": 1583247319,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -223,13 +224,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 45,
"risk_score": 35,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVut2sOmf47Nz9s3ok787j",
"payment_method": "pm_1FHVut2sOmf47Nz9csSdVOVQ",
"payment_intent": "pi_1GIc9T2sOmf47Nz9kYoPSMEq",
"payment_method": "pm_1GIc9S2sOmf47Nz9KEzEGLZL",
"payment_method_details": {
"card": {
"brand": "visa",
@ -240,10 +241,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -251,7 +254,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVut2sOmf47Nz9MgHAONYu/rcpt_Fn673j2xXMO76VhJx4cDupK9giWrEFZ",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9T2sOmf47Nz9hzX3fbro/rcpt_GqIkZJAzoXiw26bymloAGrjy4Vg0hna",
"refunded": false,
"refunds": {
"object": "list",
@ -260,7 +263,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVut2sOmf47Nz9MgHAONYu/refunds"
"url": "/v1/charges/ch_1GIc9T2sOmf47Nz9hzX3fbro/refunds"
},
"review": null,
"shipping": null,
@ -275,11 +278,11 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVut2sOmf47Nz9s3ok787j"
"url": "/v1/charges?payment_intent=pi_1GIc9T2sOmf47Nz9kYoPSMEq"
},
"client_secret": "pi_1FHVut2sOmf47Nz9s3ok787j_secret_L8l5FNjaFgCyqI5N2Bk7Z6Veu",
"client_secret": "pi_1GIc9T2sOmf47Nz9kYoPSMEq_secret_JUtjtVOZaDsZAoN57aDWFwGnV",
"confirmation_method": "manual",
"created": 1568208687,
"created": 1583247319,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
@ -290,9 +293,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVut2sOmf47Nz9csSdVOVQ",
"payment_method": "pm_1GIc9S2sOmf47Nz9KEzEGLZL",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -311,28 +315,28 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:28 GMT
recorded_at: Tue, 03 Mar 2020 14:55:20 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_1FHVut2sOmf47Nz9s3ok787j
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc9T2sOmf47Nz9kYoPSMEq
body:
encoding: UTF-8
string: description=Invoice+reference%3A+1909001%2FVL
string: description=Invoice+reference%3A+2003001%2FVL
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_krT65cyCQPpI9c","request_duration_ms":1499}}'
- '{"last_request_metrics":{"request_id":"req_lJBhm8ex2TbJZ5","request_duration_ms":1399}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -345,11 +349,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:29 GMT
- Tue, 03 Mar 2020 14:55:21 GMT
Content-Type:
- application/json
Content-Length:
- '4057'
- '4177'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -365,7 +369,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_h6p1Z4uIchcuNH
- req_sKTcNxwXEgg7UW
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -374,7 +378,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVut2sOmf47Nz9s3ok787j",
"id": "pi_1GIc9T2sOmf47Nz9kYoPSMEq",
"object": "payment_intent",
"amount": 1000,
"amount_capturable": 0,
@ -388,14 +392,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVut2sOmf47Nz9MgHAONYu",
"id": "ch_1GIc9T2sOmf47Nz9hzX3fbro",
"object": "charge",
"amount": 1000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVuu2sOmf47Nz9oT3JEzXm",
"balance_transaction": "txn_1GIc9U2sOmf47Nz9K6V3j4qG",
"billing_details": {
"address": {
"city": null,
@ -410,12 +414,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208687,
"created": 1583247319,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -430,13 +435,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 45,
"risk_score": 35,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVut2sOmf47Nz9s3ok787j",
"payment_method": "pm_1FHVut2sOmf47Nz9csSdVOVQ",
"payment_intent": "pi_1GIc9T2sOmf47Nz9kYoPSMEq",
"payment_method": "pm_1GIc9S2sOmf47Nz9KEzEGLZL",
"payment_method_details": {
"card": {
"brand": "visa",
@ -447,10 +452,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -458,7 +465,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVut2sOmf47Nz9MgHAONYu/rcpt_Fn673j2xXMO76VhJx4cDupK9giWrEFZ",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9T2sOmf47Nz9hzX3fbro/rcpt_GqIkZJAzoXiw26bymloAGrjy4Vg0hna",
"refunded": false,
"refunds": {
"object": "list",
@ -467,7 +474,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVut2sOmf47Nz9MgHAONYu/refunds"
"url": "/v1/charges/ch_1GIc9T2sOmf47Nz9hzX3fbro/refunds"
},
"review": null,
"shipping": null,
@ -482,14 +489,14 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVut2sOmf47Nz9s3ok787j"
"url": "/v1/charges?payment_intent=pi_1GIc9T2sOmf47Nz9kYoPSMEq"
},
"client_secret": "pi_1FHVut2sOmf47Nz9s3ok787j_secret_L8l5FNjaFgCyqI5N2Bk7Z6Veu",
"client_secret": "pi_1GIc9T2sOmf47Nz9kYoPSMEq_secret_JUtjtVOZaDsZAoN57aDWFwGnV",
"confirmation_method": "manual",
"created": 1568208687,
"created": 1583247319,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"description": "Invoice reference: 1909001/VL",
"description": "Invoice reference: 2003001/VL",
"invoice": null,
"last_payment_error": null,
"livemode": false,
@ -497,9 +504,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVut2sOmf47Nz9csSdVOVQ",
"payment_method": "pm_1GIc9S2sOmf47Nz9KEzEGLZL",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -518,5 +526,5 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:29 GMT
recorded_at: Tue, 03 Mar 2020 14:55:21 GMT
recorded_with: VCR 3.0.1

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4000000000000002&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4000000000000002&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_yJbCiyFMrrLeji","request_duration_ms":507}}'
- '{"last_request_metrics":{"request_id":"req_NNCoWza9ondAIx","request_duration_ms":599}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:31 GMT
- Tue, 03 Mar 2020 14:55:25 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_nIIa4tzsTuL8pO
- req_omWmVa1SbgnhXT
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVux2sOmf47Nz9Zg4MqPHw",
"id": "pm_1GIc9Y2sOmf47Nz9aaIwjK7V",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "xsVM9Mfv9kfwhRSL",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208691,
"created": 1583247325,
"customer": null,
"livemode": false,
"metadata": {
@ -104,28 +104,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:31 GMT
recorded_at: Tue, 03 Mar 2020 14:55:25 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: payment_method=pm_1FHVux2sOmf47Nz9Zg4MqPHw&amount=3000&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8E2ys9zDZgetWX
string: payment_method=pm_1GIc9Y2sOmf47Nz9aaIwjK7V&amount=3000&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8E2ys9zDZgetWX
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_nIIa4tzsTuL8pO","request_duration_ms":589}}'
- '{"last_request_metrics":{"request_id":"req_omWmVa1SbgnhXT","request_duration_ms":527}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -138,11 +138,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:33 GMT
- Tue, 03 Mar 2020 14:55:27 GMT
Content-Type:
- application/json
Content-Length:
- '7433'
- '7569'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -158,7 +158,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_wzQsR7xnkIbZ2x
- req_M2H98iru3Xt31z
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -168,13 +168,13 @@ http_interactions:
string: |
{
"error": {
"charge": "ch_1FHVuy2sOmf47Nz9fKgXiEwt",
"charge": "ch_1GIc9Z2sOmf47Nz9xoFaFgIA",
"code": "card_declined",
"decline_code": "generic_decline",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card was declined.",
"payment_intent": {
"id": "pi_1FHVuy2sOmf47Nz9utdUTYA2",
"id": "pi_1GIc9Z2sOmf47Nz91xCkee6I",
"object": "payment_intent",
"amount": 3000,
"amount_capturable": 0,
@ -188,7 +188,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVuy2sOmf47Nz9fKgXiEwt",
"id": "ch_1GIc9Z2sOmf47Nz9xoFaFgIA",
"object": "charge",
"amount": 3000,
"amount_refunded": 0,
@ -210,12 +210,13 @@ http_interactions:
"phone": null
},
"captured": false,
"created": 1568208692,
"created": 1583247325,
"currency": "usd",
"customer": "cus_8E2ys9zDZgetWX",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": "card_declined",
"failure_message": "Your card was declined.",
"fraud_details": {
@ -230,13 +231,13 @@ http_interactions:
"network_status": "declined_by_network",
"reason": "generic_decline",
"risk_level": "normal",
"risk_score": 30,
"risk_score": 64,
"seller_message": "The bank did not return any further details with this decline.",
"type": "issuer_declined"
},
"paid": false,
"payment_intent": "pi_1FHVuy2sOmf47Nz9utdUTYA2",
"payment_method": "pm_1FHVux2sOmf47Nz9Zg4MqPHw",
"payment_intent": "pi_1GIc9Z2sOmf47Nz91xCkee6I",
"payment_method": "pm_1GIc9Y2sOmf47Nz9aaIwjK7V",
"payment_method_details": {
"card": {
"brand": "visa",
@ -247,10 +248,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "xsVM9Mfv9kfwhRSL",
"funding": "credit",
"installments": null,
"last4": "0002",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -258,7 +261,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVuy2sOmf47Nz9fKgXiEwt/rcpt_Fn67scvM2L2uxrCO42FtaMRX4P7RJQg",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9Z2sOmf47Nz9xoFaFgIA/rcpt_GqIlCsRVxrOuz8AE4BdqbdKWItWjNBV",
"refunded": false,
"refunds": {
"object": "list",
@ -267,7 +270,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVuy2sOmf47Nz9fKgXiEwt/refunds"
"url": "/v1/charges/ch_1GIc9Z2sOmf47Nz9xoFaFgIA/refunds"
},
"review": null,
"shipping": null,
@ -282,23 +285,23 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuy2sOmf47Nz9utdUTYA2"
"url": "/v1/charges?payment_intent=pi_1GIc9Z2sOmf47Nz91xCkee6I"
},
"client_secret": "pi_1FHVuy2sOmf47Nz9utdUTYA2_secret_Qb3BdfLX8cTgumUQqo3TOvpDV",
"client_secret": "pi_1GIc9Z2sOmf47Nz91xCkee6I_secret_OJQYRP55NZ5iVKUWcxwIG4vpt",
"confirmation_method": "manual",
"created": 1568208692,
"created": 1583247325,
"currency": "usd",
"customer": "cus_8E2ys9zDZgetWX",
"description": null,
"invoice": null,
"last_payment_error": {
"charge": "ch_1FHVuy2sOmf47Nz9fKgXiEwt",
"charge": "ch_1GIc9Z2sOmf47Nz9xoFaFgIA",
"code": "card_declined",
"decline_code": "generic_decline",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card was declined.",
"payment_method": {
"id": "pm_1FHVux2sOmf47Nz9Zg4MqPHw",
"id": "pm_1GIc9Y2sOmf47Nz9aaIwjK7V",
"object": "payment_method",
"billing_details": {
"address": {
@ -322,7 +325,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "xsVM9Mfv9kfwhRSL",
"funding": "credit",
"generated_from": null,
@ -332,7 +335,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208691,
"created": 1583247325,
"customer": null,
"livemode": false,
"metadata": {
@ -349,6 +352,7 @@ http_interactions:
"payment_method": null,
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -367,7 +371,7 @@ http_interactions:
"transfer_group": null
},
"payment_method": {
"id": "pm_1FHVux2sOmf47Nz9Zg4MqPHw",
"id": "pm_1GIc9Y2sOmf47Nz9aaIwjK7V",
"object": "payment_method",
"billing_details": {
"address": {
@ -391,7 +395,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "xsVM9Mfv9kfwhRSL",
"funding": "credit",
"generated_from": null,
@ -401,7 +405,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208691,
"created": 1583247325,
"customer": null,
"livemode": false,
"metadata": {
@ -412,5 +416,5 @@ http_interactions:
}
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:33 GMT
recorded_at: Tue, 03 Mar 2020 14:55:27 GMT
recorded_with: VCR 3.0.1

View File

@ -5,22 +5,22 @@ http_interactions:
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2020&card[cvc]=314
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_nIIa4tzsTuL8pO","request_duration_ms":589}}'
- '{"last_request_metrics":{"request_id":"req_qJlAIwLHBL3Eaj","request_duration_ms":590}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -33,7 +33,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:33 GMT
- Tue, 03 Mar 2020 14:55:22 GMT
Content-Type:
- application/json
Content-Length:
@ -53,7 +53,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_KIQhSZYAtOUCXF
- req_dfmAuwdRAZxOVT
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -62,7 +62,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pm_1FHVuz2sOmf47Nz9rtaYE4lP",
"id": "pm_1GIc9W2sOmf47Nz9xOphAQQe",
"object": "payment_method",
"billing_details": {
"address": {
@ -86,7 +86,7 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
@ -96,7 +96,7 @@ http_interactions:
},
"wallet": null
},
"created": 1568208693,
"created": 1583247322,
"customer": null,
"livemode": false,
"metadata": {
@ -104,28 +104,28 @@ http_interactions:
"type": "card"
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:33 GMT
recorded_at: Tue, 03 Mar 2020 14:55:22 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: payment_method=pm_1FHVuz2sOmf47Nz9rtaYE4lP&amount=3000&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8E2ys9zDZgetWX
string: payment_method=pm_1GIc9W2sOmf47Nz9xOphAQQe&amount=3000&currency=usd&confirmation_method=manual&confirm=true&customer=cus_8E2ys9zDZgetWX
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_KIQhSZYAtOUCXF","request_duration_ms":512}}'
- '{"last_request_metrics":{"request_id":"req_dfmAuwdRAZxOVT","request_duration_ms":555}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -138,11 +138,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:35 GMT
- Tue, 03 Mar 2020 14:55:24 GMT
Content-Type:
- application/json
Content-Length:
- '4030'
- '4150'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -158,7 +158,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_c7yuzZxHfTUKrH
- req_JJcOaWgidBQ4OW
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -167,7 +167,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuz2sOmf47Nz9V30nrFK6",
"id": "pi_1GIc9X2sOmf47Nz9KUeU06j5",
"object": "payment_intent",
"amount": 3000,
"amount_capturable": 0,
@ -181,14 +181,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVv02sOmf47Nz9jqbrJSQh",
"id": "ch_1GIc9X2sOmf47Nz9sXXWeRP9",
"object": "charge",
"amount": 3000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVv02sOmf47Nz9nQhrgsVM",
"balance_transaction": "txn_1GIc9X2sOmf47Nz9nzhSgQkq",
"billing_details": {
"address": {
"city": null,
@ -203,12 +203,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208694,
"created": 1583247323,
"currency": "usd",
"customer": "cus_8E2ys9zDZgetWX",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -223,13 +224,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 38,
"risk_score": 21,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuz2sOmf47Nz9V30nrFK6",
"payment_method": "pm_1FHVuz2sOmf47Nz9rtaYE4lP",
"payment_intent": "pi_1GIc9X2sOmf47Nz9KUeU06j5",
"payment_method": "pm_1GIc9W2sOmf47Nz9xOphAQQe",
"payment_method_details": {
"card": {
"brand": "visa",
@ -240,10 +241,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -251,7 +254,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVv02sOmf47Nz9jqbrJSQh/rcpt_Fn677M2AhWXTyoPeZAr4ituknglc3XH",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9X2sOmf47Nz9sXXWeRP9/rcpt_GqIlDf1OtiNDpCE3f6H8yzNNNJgiThf",
"refunded": false,
"refunds": {
"object": "list",
@ -260,7 +263,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVv02sOmf47Nz9jqbrJSQh/refunds"
"url": "/v1/charges/ch_1GIc9X2sOmf47Nz9sXXWeRP9/refunds"
},
"review": null,
"shipping": null,
@ -275,11 +278,11 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuz2sOmf47Nz9V30nrFK6"
"url": "/v1/charges?payment_intent=pi_1GIc9X2sOmf47Nz9KUeU06j5"
},
"client_secret": "pi_1FHVuz2sOmf47Nz9V30nrFK6_secret_sLIxJ1WkoCc2QQJL4VHQnHUqm",
"client_secret": "pi_1GIc9X2sOmf47Nz9KUeU06j5_secret_Y2DWwqJ1cY5xEPb302KsejvF4",
"confirmation_method": "manual",
"created": 1568208693,
"created": 1583247323,
"currency": "usd",
"customer": "cus_8E2ys9zDZgetWX",
"description": null,
@ -290,9 +293,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuz2sOmf47Nz9rtaYE4lP",
"payment_method": "pm_1GIc9W2sOmf47Nz9xOphAQQe",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -311,28 +315,28 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:35 GMT
recorded_at: Tue, 03 Mar 2020 14:55:24 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_1FHVuz2sOmf47Nz9V30nrFK6
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc9X2sOmf47Nz9KUeU06j5
body:
encoding: UTF-8
string: description=Invoice+reference%3A+1909001%2FVL
string: description=Invoice+reference%3A+2003001%2FVL
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_c7yuzZxHfTUKrH","request_duration_ms":1617}}'
- '{"last_request_metrics":{"request_id":"req_JJcOaWgidBQ4OW","request_duration_ms":1170}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.8 p459 (2018-10-18)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.5.5-arch1-1 (linux@archlinux) (gcc version 9.2.1 20200130 (Arch
Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Thu, 20 Feb 2020 18:23:09 +0000","hostname":"Sylvain-desktop"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@ -345,11 +349,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:35 GMT
- Tue, 03 Mar 2020 14:55:24 GMT
Content-Type:
- application/json
Content-Length:
- '4057'
- '4177'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -365,7 +369,7 @@ http_interactions:
Cache-Control:
- no-cache, no-store
Request-Id:
- req_J3MVMF1JALpEXm
- req_NNCoWza9ondAIx
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
@ -374,7 +378,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "pi_1FHVuz2sOmf47Nz9V30nrFK6",
"id": "pi_1GIc9X2sOmf47Nz9KUeU06j5",
"object": "payment_intent",
"amount": 3000,
"amount_capturable": 0,
@ -388,14 +392,14 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ch_1FHVv02sOmf47Nz9jqbrJSQh",
"id": "ch_1GIc9X2sOmf47Nz9sXXWeRP9",
"object": "charge",
"amount": 3000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_1FHVv02sOmf47Nz9nQhrgsVM",
"balance_transaction": "txn_1GIc9X2sOmf47Nz9nzhSgQkq",
"billing_details": {
"address": {
"city": null,
@ -410,12 +414,13 @@ http_interactions:
"phone": null
},
"captured": true,
"created": 1568208694,
"created": 1583247323,
"currency": "usd",
"customer": "cus_8E2ys9zDZgetWX",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
@ -430,13 +435,13 @@ http_interactions:
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 38,
"risk_score": 21,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_1FHVuz2sOmf47Nz9V30nrFK6",
"payment_method": "pm_1FHVuz2sOmf47Nz9rtaYE4lP",
"payment_intent": "pi_1GIc9X2sOmf47Nz9KUeU06j5",
"payment_method": "pm_1GIc9W2sOmf47Nz9xOphAQQe",
"payment_method_details": {
"card": {
"brand": "visa",
@ -447,10 +452,12 @@ http_interactions:
},
"country": "US",
"exp_month": 4,
"exp_year": 2020,
"exp_year": 2021,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
@ -458,7 +465,7 @@ http_interactions:
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1FHVv02sOmf47Nz9jqbrJSQh/rcpt_Fn677M2AhWXTyoPeZAr4ituknglc3XH",
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9X2sOmf47Nz9sXXWeRP9/rcpt_GqIlDf1OtiNDpCE3f6H8yzNNNJgiThf",
"refunded": false,
"refunds": {
"object": "list",
@ -467,7 +474,7 @@ http_interactions:
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_1FHVv02sOmf47Nz9jqbrJSQh/refunds"
"url": "/v1/charges/ch_1GIc9X2sOmf47Nz9sXXWeRP9/refunds"
},
"review": null,
"shipping": null,
@ -482,14 +489,14 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_1FHVuz2sOmf47Nz9V30nrFK6"
"url": "/v1/charges?payment_intent=pi_1GIc9X2sOmf47Nz9KUeU06j5"
},
"client_secret": "pi_1FHVuz2sOmf47Nz9V30nrFK6_secret_sLIxJ1WkoCc2QQJL4VHQnHUqm",
"client_secret": "pi_1GIc9X2sOmf47Nz9KUeU06j5_secret_Y2DWwqJ1cY5xEPb302KsejvF4",
"confirmation_method": "manual",
"created": 1568208693,
"created": 1583247323,
"currency": "usd",
"customer": "cus_8E2ys9zDZgetWX",
"description": "Invoice reference: 1909001/VL",
"description": "Invoice reference: 2003001/VL",
"invoice": null,
"last_payment_error": null,
"livemode": false,
@ -497,9 +504,10 @@ http_interactions:
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1FHVuz2sOmf47Nz9rtaYE4lP",
"payment_method": "pm_1GIc9W2sOmf47Nz9xOphAQQe",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
@ -518,255 +526,5 @@ http_interactions:
"transfer_group": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:35 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.1.1
Authorization:
- Bearer sk_test_mGokO9TGtrVxMOyK4yZiktBE
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_J3MVMF1JALpEXm","request_duration_ms":390}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"5.1.1","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.15.0-62-generic (buildd@lcy01-amd64-024) (gcc version 7.4.0 (Ubuntu
7.4.0-1ubuntu1~18.04.1)) #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019","hostname":"Sleede-SylvainPC"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Wed, 11 Sep 2019 13:31:35 GMT
Content-Type:
- application/json
Content-Length:
- '5175'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_5tt7o8IMT7QNFk
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
"id": "cus_8E2ys9zDZgetWX",
"object": "customer",
"account_balance": 0,
"address": null,
"balance": 0,
"created": 1460026822,
"currency": "usd",
"default_source": "card_1Euc902sOmf47Nz9eZvNNyyQ",
"delinquent": false,
"description": "Lucile Seguin",
"discount": null,
"email": "lucile.seguin@live.fr",
"invoice_prefix": "BCC32B8",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null
},
"livemode": false,
"metadata": {
},
"name": null,
"phone": null,
"preferred_locales": [
],
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_1Euc902sOmf47Nz9eZvNNyyQ",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_8E2ys9zDZgetWX",
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2020,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {
},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/customers/cus_8E2ys9zDZgetWX/sources"
},
"subscriptions": {
"object": "list",
"data": [
{
"id": "sub_E84hFvNBlPia7R",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"billing_cycle_anchor": 1544447514,
"billing_thresholds": null,
"cancel_at": null,
"cancel_at_period_end": false,
"canceled_at": null,
"collection_method": "charge_automatically",
"created": 1544447514,
"current_period_end": 1570713114,
"current_period_start": 1568121114,
"customer": "cus_8E2ys9zDZgetWX",
"days_until_due": null,
"default_payment_method": null,
"default_source": null,
"default_tax_rates": [
],
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_E84hhZgnjOkD73",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1544447515,
"metadata": {
},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 3000,
"amount_decimal": "3000",
"billing_scheme": "per_unit",
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_BV0emghsuiUJDn",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"quantity": 1,
"subscription": "sub_E84hFvNBlPia7R",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_E84hFvNBlPia7R"
},
"latest_invoice": "in_1FH98S2sOmf47Nz9qjFw9BOD",
"livemode": false,
"metadata": {
},
"pending_setup_intent": null,
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 3000,
"amount_decimal": "3000",
"billing_scheme": "per_unit",
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_BV0emghsuiUJDn",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
"start": 1544447514,
"start_date": 1544447514,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/customers/cus_8E2ys9zDZgetWX/subscriptions"
},
"tax_exempt": "none",
"tax_ids": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_8E2ys9zDZgetWX/tax_ids"
},
"tax_info": null,
"tax_info_verification": null
}
http_version:
recorded_at: Wed, 11 Sep 2019 13:31:35 GMT
recorded_at: Tue, 03 Mar 2020 14:55:24 GMT
recorded_with: VCR 3.0.1