2016-04-06 15:57:27 +02:00
|
|
|
---
|
|
|
|
http_interactions:
|
|
|
|
- request:
|
|
|
|
method: post
|
2019-09-11 16:19:24 +02:00
|
|
|
uri: https://api.stripe.com/v1/payment_methods
|
2016-04-06 15:57:27 +02:00
|
|
|
body:
|
|
|
|
encoding: UTF-8
|
2020-03-03 15:57:36 +01:00
|
|
|
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2021&card[cvc]=314
|
2016-04-06 15:57:27 +02:00
|
|
|
headers:
|
|
|
|
User-Agent:
|
2019-09-11 16:19:24 +02:00
|
|
|
- Stripe/v1 RubyBindings/5.1.1
|
2016-04-06 15:57:27 +02:00
|
|
|
Authorization:
|
2020-03-03 15:57:36 +01:00
|
|
|
- Bearer sk_test_testfaketestfaketestfake
|
2016-04-06 15:57:27 +02:00
|
|
|
Content-Type:
|
|
|
|
- application/x-www-form-urlencoded
|
2019-09-11 16:19:24 +02:00
|
|
|
X-Stripe-Client-Telemetry:
|
2020-03-03 15:57:36 +01:00
|
|
|
- '{"last_request_metrics":{"request_id":"req_FLZYb8VQWkcCLS","request_duration_ms":452}}'
|
2018-07-24 14:36:18 +02:00
|
|
|
Stripe-Version:
|
2019-09-11 16:19:24 +02:00
|
|
|
- '2019-08-14'
|
2016-04-06 15:57:27 +02:00
|
|
|
X-Stripe-Client-User-Agent:
|
2020-03-03 15:57:36 +01:00
|
|
|
- '{"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"}'
|
2019-09-11 16:19:24 +02:00
|
|
|
Accept-Encoding:
|
|
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
|
|
Accept:
|
|
|
|
- "*/*"
|
2016-04-06 15:57:27 +02:00
|
|
|
response:
|
|
|
|
status:
|
|
|
|
code: 200
|
|
|
|
message: OK
|
|
|
|
headers:
|
|
|
|
Server:
|
|
|
|
- nginx
|
|
|
|
Date:
|
2020-03-03 15:57:36 +01:00
|
|
|
- Tue, 03 Mar 2020 14:55:16 GMT
|
2016-04-06 15:57:27 +02:00
|
|
|
Content-Type:
|
|
|
|
- application/json
|
|
|
|
Content-Length:
|
2019-09-11 16:19:24 +02:00
|
|
|
- '840'
|
2016-04-06 15:57:27 +02:00
|
|
|
Connection:
|
|
|
|
- keep-alive
|
|
|
|
Access-Control-Allow-Credentials:
|
|
|
|
- 'true'
|
|
|
|
Access-Control-Allow-Methods:
|
|
|
|
- GET, POST, HEAD, OPTIONS, DELETE
|
|
|
|
Access-Control-Allow-Origin:
|
|
|
|
- "*"
|
2017-09-18 11:00:20 +02:00
|
|
|
Access-Control-Expose-Headers:
|
2018-07-24 14:36:18 +02:00
|
|
|
- Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
2016-04-06 15:57:27 +02:00
|
|
|
Access-Control-Max-Age:
|
|
|
|
- '300'
|
|
|
|
Cache-Control:
|
|
|
|
- no-cache, no-store
|
|
|
|
Request-Id:
|
2020-03-03 15:57:36 +01:00
|
|
|
- req_ippegIxrFH9fJ2
|
2016-04-06 15:57:27 +02:00
|
|
|
Stripe-Version:
|
2019-09-11 16:19:24 +02:00
|
|
|
- '2019-08-14'
|
2016-04-06 15:57:27 +02:00
|
|
|
Strict-Transport-Security:
|
2017-12-14 16:39:53 +01:00
|
|
|
- max-age=31556926; includeSubDomains; preload
|
2016-04-06 15:57:27 +02:00
|
|
|
body:
|
|
|
|
encoding: UTF-8
|
|
|
|
string: |
|
|
|
|
{
|
2020-03-03 15:57:36 +01:00
|
|
|
"id": "pm_1GIc9Q2sOmf47Nz9rsPseajX",
|
2019-09-11 16:19:24 +02:00
|
|
|
"object": "payment_method",
|
|
|
|
"billing_details": {
|
|
|
|
"address": {
|
|
|
|
"city": null,
|
|
|
|
"country": null,
|
|
|
|
"line1": null,
|
|
|
|
"line2": null,
|
|
|
|
"postal_code": null,
|
|
|
|
"state": null
|
|
|
|
},
|
|
|
|
"email": null,
|
|
|
|
"name": null,
|
|
|
|
"phone": null
|
|
|
|
},
|
2016-04-06 15:57:27 +02:00
|
|
|
"card": {
|
2019-09-11 16:19:24 +02:00
|
|
|
"brand": "visa",
|
|
|
|
"checks": {
|
|
|
|
"address_line1_check": null,
|
|
|
|
"address_postal_code_check": null,
|
|
|
|
"cvc_check": "unchecked"
|
|
|
|
},
|
2016-04-06 15:57:27 +02:00
|
|
|
"country": "US",
|
|
|
|
"exp_month": 4,
|
2020-03-03 15:57:36 +01:00
|
|
|
"exp_year": 2021,
|
2016-04-06 15:57:27 +02:00
|
|
|
"fingerprint": "o52jybR7bnmNn6AT",
|
|
|
|
"funding": "credit",
|
2019-09-11 16:19:24 +02:00
|
|
|
"generated_from": null,
|
2016-04-06 15:57:27 +02:00
|
|
|
"last4": "4242",
|
2019-09-11 16:19:24 +02:00
|
|
|
"three_d_secure_usage": {
|
|
|
|
"supported": true
|
2018-09-18 15:38:04 +02:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"wallet": null
|
2016-04-06 15:57:27 +02:00
|
|
|
},
|
2020-03-03 15:57:36 +01:00
|
|
|
"created": 1583247316,
|
2019-09-11 16:19:24 +02:00
|
|
|
"customer": null,
|
2016-04-06 15:57:27 +02:00
|
|
|
"livemode": false,
|
2019-09-11 16:19:24 +02:00
|
|
|
"metadata": {
|
|
|
|
},
|
|
|
|
"type": "card"
|
2016-04-06 15:57:27 +02:00
|
|
|
}
|
2017-09-18 11:00:20 +02:00
|
|
|
http_version:
|
2020-03-03 15:57:36 +01:00
|
|
|
recorded_at: Tue, 03 Mar 2020 14:55:16 GMT
|
2016-04-06 15:57:27 +02:00
|
|
|
- request:
|
2019-09-11 16:19:24 +02:00
|
|
|
method: post
|
|
|
|
uri: https://api.stripe.com/v1/payment_intents
|
2016-04-06 15:57:27 +02:00
|
|
|
body:
|
2019-09-11 16:19:24 +02:00
|
|
|
encoding: UTF-8
|
2020-03-03 15:57:36 +01:00
|
|
|
string: payment_method=pm_1GIc9Q2sOmf47Nz9rsPseajX&amount=3000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt
|
2016-04-06 15:57:27 +02:00
|
|
|
headers:
|
|
|
|
User-Agent:
|
2019-09-11 16:19:24 +02:00
|
|
|
- Stripe/v1 RubyBindings/5.1.1
|
2016-04-06 15:57:27 +02:00
|
|
|
Authorization:
|
2020-03-03 15:57:36 +01:00
|
|
|
- Bearer sk_test_testfaketestfaketestfake
|
2016-04-06 15:57:27 +02:00
|
|
|
Content-Type:
|
|
|
|
- application/x-www-form-urlencoded
|
2019-09-11 16:19:24 +02:00
|
|
|
X-Stripe-Client-Telemetry:
|
2020-03-03 15:57:36 +01:00
|
|
|
- '{"last_request_metrics":{"request_id":"req_ippegIxrFH9fJ2","request_duration_ms":569}}'
|
2018-07-24 14:36:18 +02:00
|
|
|
Stripe-Version:
|
2019-09-11 16:19:24 +02:00
|
|
|
- '2019-08-14'
|
2016-04-06 15:57:27 +02:00
|
|
|
X-Stripe-Client-User-Agent:
|
2020-03-03 15:57:36 +01:00
|
|
|
- '{"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"}'
|
2019-09-11 16:19:24 +02:00
|
|
|
Accept-Encoding:
|
|
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
|
|
Accept:
|
|
|
|
- "*/*"
|
2016-04-06 15:57:27 +02:00
|
|
|
response:
|
|
|
|
status:
|
|
|
|
code: 200
|
|
|
|
message: OK
|
|
|
|
headers:
|
|
|
|
Server:
|
|
|
|
- nginx
|
|
|
|
Date:
|
2020-03-03 15:57:36 +01:00
|
|
|
- Tue, 03 Mar 2020 14:55:17 GMT
|
2016-04-06 15:57:27 +02:00
|
|
|
Content-Type:
|
|
|
|
- application/json
|
|
|
|
Content-Length:
|
2020-03-03 15:57:36 +01:00
|
|
|
- '4150'
|
2016-04-06 15:57:27 +02:00
|
|
|
Connection:
|
|
|
|
- keep-alive
|
|
|
|
Access-Control-Allow-Credentials:
|
|
|
|
- 'true'
|
|
|
|
Access-Control-Allow-Methods:
|
|
|
|
- GET, POST, HEAD, OPTIONS, DELETE
|
|
|
|
Access-Control-Allow-Origin:
|
|
|
|
- "*"
|
2017-09-18 11:00:20 +02:00
|
|
|
Access-Control-Expose-Headers:
|
2018-07-24 14:36:18 +02:00
|
|
|
- Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
2016-04-06 15:57:27 +02:00
|
|
|
Access-Control-Max-Age:
|
|
|
|
- '300'
|
|
|
|
Cache-Control:
|
|
|
|
- no-cache, no-store
|
|
|
|
Request-Id:
|
2020-03-03 15:57:36 +01:00
|
|
|
- req_W0JzHculn48snH
|
2016-04-06 15:57:27 +02:00
|
|
|
Stripe-Version:
|
2019-09-11 16:19:24 +02:00
|
|
|
- '2019-08-14'
|
2016-04-06 15:57:27 +02:00
|
|
|
Strict-Transport-Security:
|
2017-12-14 16:39:53 +01:00
|
|
|
- max-age=31556926; includeSubDomains; preload
|
2016-04-06 15:57:27 +02:00
|
|
|
body:
|
|
|
|
encoding: UTF-8
|
|
|
|
string: |
|
|
|
|
{
|
2020-03-03 15:57:36 +01:00
|
|
|
"id": "pi_1GIc9Q2sOmf47Nz9iYHKWLUh",
|
2019-09-11 16:19:24 +02:00
|
|
|
"object": "payment_intent",
|
|
|
|
"amount": 3000,
|
|
|
|
"amount_capturable": 0,
|
|
|
|
"amount_received": 3000,
|
|
|
|
"application": null,
|
|
|
|
"application_fee_amount": null,
|
|
|
|
"canceled_at": null,
|
|
|
|
"cancellation_reason": null,
|
|
|
|
"capture_method": "automatic",
|
|
|
|
"charges": {
|
2017-09-18 11:00:20 +02:00
|
|
|
"object": "list",
|
|
|
|
"data": [
|
|
|
|
{
|
2020-03-03 15:57:36 +01:00
|
|
|
"id": "ch_1GIc9Q2sOmf47Nz9GFzPbGLj",
|
2019-09-11 16:19:24 +02:00
|
|
|
"object": "charge",
|
|
|
|
"amount": 3000,
|
|
|
|
"amount_refunded": 0,
|
|
|
|
"application": null,
|
|
|
|
"application_fee": null,
|
|
|
|
"application_fee_amount": null,
|
2020-03-03 15:57:36 +01:00
|
|
|
"balance_transaction": "txn_1GIc9R2sOmf47Nz9ttSUmJuK",
|
2019-09-11 16:19:24 +02:00
|
|
|
"billing_details": {
|
|
|
|
"address": {
|
|
|
|
"city": null,
|
|
|
|
"country": null,
|
|
|
|
"line1": null,
|
|
|
|
"line2": null,
|
|
|
|
"postal_code": null,
|
|
|
|
"state": null
|
|
|
|
},
|
|
|
|
"email": null,
|
|
|
|
"name": null,
|
|
|
|
"phone": null
|
2018-09-18 15:38:04 +02:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"captured": true,
|
2020-03-03 15:57:36 +01:00
|
|
|
"created": 1583247316,
|
2019-09-11 16:19:24 +02:00
|
|
|
"currency": "usd",
|
2019-07-10 11:33:46 +02:00
|
|
|
"customer": "cus_8Di1wjdVktv5kt",
|
2019-09-11 16:19:24 +02:00
|
|
|
"description": null,
|
|
|
|
"destination": null,
|
|
|
|
"dispute": null,
|
2020-03-03 15:57:36 +01:00
|
|
|
"disputed": false,
|
2019-09-11 16:19:24 +02:00
|
|
|
"failure_code": null,
|
|
|
|
"failure_message": null,
|
|
|
|
"fraud_details": {
|
2019-07-10 11:33:46 +02:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"invoice": null,
|
2019-07-10 11:33:46 +02:00
|
|
|
"livemode": false,
|
|
|
|
"metadata": {
|
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"on_behalf_of": null,
|
|
|
|
"order": null,
|
|
|
|
"outcome": {
|
|
|
|
"network_status": "approved_by_network",
|
|
|
|
"reason": null,
|
|
|
|
"risk_level": "normal",
|
2020-03-03 15:57:36 +01:00
|
|
|
"risk_score": 55,
|
2019-09-11 16:19:24 +02:00
|
|
|
"seller_message": "Payment complete.",
|
|
|
|
"type": "authorized"
|
|
|
|
},
|
|
|
|
"paid": true,
|
2020-03-03 15:57:36 +01:00
|
|
|
"payment_intent": "pi_1GIc9Q2sOmf47Nz9iYHKWLUh",
|
|
|
|
"payment_method": "pm_1GIc9Q2sOmf47Nz9rsPseajX",
|
2019-09-11 16:19:24 +02:00
|
|
|
"payment_method_details": {
|
|
|
|
"card": {
|
|
|
|
"brand": "visa",
|
|
|
|
"checks": {
|
|
|
|
"address_line1_check": null,
|
|
|
|
"address_postal_code_check": null,
|
|
|
|
"cvc_check": "pass"
|
|
|
|
},
|
|
|
|
"country": "US",
|
|
|
|
"exp_month": 4,
|
2020-03-03 15:57:36 +01:00
|
|
|
"exp_year": 2021,
|
2019-09-11 16:19:24 +02:00
|
|
|
"fingerprint": "o52jybR7bnmNn6AT",
|
|
|
|
"funding": "credit",
|
2020-03-03 15:57:36 +01:00
|
|
|
"installments": null,
|
2019-09-11 16:19:24 +02:00
|
|
|
"last4": "4242",
|
2020-03-03 15:57:36 +01:00
|
|
|
"network": "visa",
|
2019-09-11 16:19:24 +02:00
|
|
|
"three_d_secure": null,
|
|
|
|
"wallet": null
|
2019-07-10 11:33:46 +02:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"type": "card"
|
2019-07-10 11:33:46 +02:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"receipt_email": null,
|
|
|
|
"receipt_number": null,
|
2020-03-03 15:57:36 +01:00
|
|
|
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9Q2sOmf47Nz9GFzPbGLj/rcpt_GqIkPUg6C6CfpZR5OlOj1LzV7JMwaGu",
|
2019-09-11 16:19:24 +02:00
|
|
|
"refunded": false,
|
|
|
|
"refunds": {
|
2018-12-10 17:20:23 +01:00
|
|
|
"object": "list",
|
|
|
|
"data": [
|
2019-05-27 11:52:28 +02:00
|
|
|
|
2018-12-10 17:20:23 +01:00
|
|
|
],
|
|
|
|
"has_more": false,
|
2019-09-11 16:19:24 +02:00
|
|
|
"total_count": 0,
|
2020-03-03 15:57:36 +01:00
|
|
|
"url": "/v1/charges/ch_1GIc9Q2sOmf47Nz9GFzPbGLj/refunds"
|
2017-09-18 11:00:20 +02:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"review": null,
|
|
|
|
"shipping": null,
|
|
|
|
"source": null,
|
|
|
|
"source_transfer": null,
|
|
|
|
"statement_descriptor": null,
|
|
|
|
"statement_descriptor_suffix": null,
|
|
|
|
"status": "succeeded",
|
|
|
|
"transfer_data": null,
|
|
|
|
"transfer_group": null
|
2017-09-18 11:00:20 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false,
|
|
|
|
"total_count": 1,
|
2020-03-03 15:57:36 +01:00
|
|
|
"url": "/v1/charges?payment_intent=pi_1GIc9Q2sOmf47Nz9iYHKWLUh"
|
2017-09-18 11:00:20 +02:00
|
|
|
},
|
2020-03-03 15:57:36 +01:00
|
|
|
"client_secret": "pi_1GIc9Q2sOmf47Nz9iYHKWLUh_secret_ztRTs2yaqzcm8vOfvyZ4j31Oj",
|
2019-09-11 16:19:24 +02:00
|
|
|
"confirmation_method": "manual",
|
2020-03-03 15:57:36 +01:00
|
|
|
"created": 1583247316,
|
2019-09-11 16:19:24 +02:00
|
|
|
"currency": "usd",
|
|
|
|
"customer": "cus_8Di1wjdVktv5kt",
|
|
|
|
"description": null,
|
|
|
|
"invoice": null,
|
|
|
|
"last_payment_error": null,
|
2017-09-18 11:00:20 +02:00
|
|
|
"livemode": false,
|
2018-09-18 15:38:04 +02:00
|
|
|
"metadata": {
|
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"next_action": null,
|
|
|
|
"on_behalf_of": null,
|
2020-03-03 15:57:36 +01:00
|
|
|
"payment_method": "pm_1GIc9Q2sOmf47Nz9rsPseajX",
|
2019-09-11 16:19:24 +02:00
|
|
|
"payment_method_options": {
|
|
|
|
"card": {
|
2020-03-03 15:57:36 +01:00
|
|
|
"installments": null,
|
2019-09-11 16:19:24 +02:00
|
|
|
"request_three_d_secure": "automatic"
|
2016-04-06 15:57:27 +02:00
|
|
|
}
|
2019-09-11 16:19:24 +02:00
|
|
|
},
|
|
|
|
"payment_method_types": [
|
|
|
|
"card"
|
2016-04-06 15:57:27 +02:00
|
|
|
],
|
2019-09-11 16:19:24 +02:00
|
|
|
"receipt_email": null,
|
|
|
|
"review": null,
|
|
|
|
"setup_future_usage": null,
|
|
|
|
"shipping": null,
|
|
|
|
"source": null,
|
|
|
|
"statement_descriptor": null,
|
|
|
|
"statement_descriptor_suffix": null,
|
|
|
|
"status": "succeeded",
|
|
|
|
"transfer_data": null,
|
|
|
|
"transfer_group": null
|
2016-04-06 15:57:27 +02:00
|
|
|
}
|
2017-09-18 11:00:20 +02:00
|
|
|
http_version:
|
2020-03-03 15:57:36 +01:00
|
|
|
recorded_at: Tue, 03 Mar 2020 14:55:17 GMT
|
2016-04-06 15:57:27 +02:00
|
|
|
- request:
|
2019-09-11 16:19:24 +02:00
|
|
|
method: post
|
2020-03-03 15:57:36 +01:00
|
|
|
uri: https://api.stripe.com/v1/payment_intents/pi_1GIc9Q2sOmf47Nz9iYHKWLUh
|
2016-04-06 15:57:27 +02:00
|
|
|
body:
|
2019-09-11 16:19:24 +02:00
|
|
|
encoding: UTF-8
|
2020-03-03 15:57:36 +01:00
|
|
|
string: description=Invoice+reference%3A+2003001%2FVL
|
2016-04-06 15:57:27 +02:00
|
|
|
headers:
|
|
|
|
User-Agent:
|
2019-09-11 16:19:24 +02:00
|
|
|
- Stripe/v1 RubyBindings/5.1.1
|
2016-04-06 15:57:27 +02:00
|
|
|
Authorization:
|
2020-03-03 15:57:36 +01:00
|
|
|
- Bearer sk_test_testfaketestfaketestfake
|
2016-04-06 15:57:27 +02:00
|
|
|
Content-Type:
|
|
|
|
- application/x-www-form-urlencoded
|
2019-09-11 16:19:24 +02:00
|
|
|
X-Stripe-Client-Telemetry:
|
2020-03-03 15:57:36 +01:00
|
|
|
- '{"last_request_metrics":{"request_id":"req_W0JzHculn48snH","request_duration_ms":1329}}'
|
2018-07-24 14:36:18 +02:00
|
|
|
Stripe-Version:
|
2019-09-11 16:19:24 +02:00
|
|
|
- '2019-08-14'
|
2016-04-06 15:57:27 +02:00
|
|
|
X-Stripe-Client-User-Agent:
|
2020-03-03 15:57:36 +01:00
|
|
|
- '{"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"}'
|
2019-09-11 16:19:24 +02:00
|
|
|
Accept-Encoding:
|
|
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
|
|
Accept:
|
|
|
|
- "*/*"
|
2016-04-06 15:57:27 +02:00
|
|
|
response:
|
|
|
|
status:
|
|
|
|
code: 200
|
|
|
|
message: OK
|
|
|
|
headers:
|
|
|
|
Server:
|
|
|
|
- nginx
|
|
|
|
Date:
|
2020-03-03 15:57:36 +01:00
|
|
|
- Tue, 03 Mar 2020 14:55:18 GMT
|
2016-04-06 15:57:27 +02:00
|
|
|
Content-Type:
|
|
|
|
- application/json
|
|
|
|
Content-Length:
|
2020-03-03 15:57:36 +01:00
|
|
|
- '4177'
|
2016-04-06 15:57:27 +02:00
|
|
|
Connection:
|
|
|
|
- keep-alive
|
|
|
|
Access-Control-Allow-Credentials:
|
|
|
|
- 'true'
|
|
|
|
Access-Control-Allow-Methods:
|
|
|
|
- GET, POST, HEAD, OPTIONS, DELETE
|
|
|
|
Access-Control-Allow-Origin:
|
|
|
|
- "*"
|
2017-09-18 11:00:20 +02:00
|
|
|
Access-Control-Expose-Headers:
|
2018-07-24 14:36:18 +02:00
|
|
|
- Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
2016-04-06 15:57:27 +02:00
|
|
|
Access-Control-Max-Age:
|
|
|
|
- '300'
|
|
|
|
Cache-Control:
|
|
|
|
- no-cache, no-store
|
|
|
|
Request-Id:
|
2020-03-03 15:57:36 +01:00
|
|
|
- req_lYkRyC5HhvAfuP
|
2016-04-06 15:57:27 +02:00
|
|
|
Stripe-Version:
|
2019-09-11 16:19:24 +02:00
|
|
|
- '2019-08-14'
|
2016-04-06 15:57:27 +02:00
|
|
|
Strict-Transport-Security:
|
2017-12-14 16:39:53 +01:00
|
|
|
- max-age=31556926; includeSubDomains; preload
|
2016-04-06 15:57:27 +02:00
|
|
|
body:
|
2017-09-18 11:00:20 +02:00
|
|
|
encoding: UTF-8
|
|
|
|
string: |
|
|
|
|
{
|
2020-03-03 15:57:36 +01:00
|
|
|
"id": "pi_1GIc9Q2sOmf47Nz9iYHKWLUh",
|
2019-09-11 16:19:24 +02:00
|
|
|
"object": "payment_intent",
|
|
|
|
"amount": 3000,
|
|
|
|
"amount_capturable": 0,
|
|
|
|
"amount_received": 3000,
|
|
|
|
"application": null,
|
|
|
|
"application_fee_amount": null,
|
|
|
|
"canceled_at": null,
|
|
|
|
"cancellation_reason": null,
|
|
|
|
"capture_method": "automatic",
|
|
|
|
"charges": {
|
2017-09-18 11:00:20 +02:00
|
|
|
"object": "list",
|
|
|
|
"data": [
|
|
|
|
{
|
2020-03-03 15:57:36 +01:00
|
|
|
"id": "ch_1GIc9Q2sOmf47Nz9GFzPbGLj",
|
2019-09-11 16:19:24 +02:00
|
|
|
"object": "charge",
|
|
|
|
"amount": 3000,
|
|
|
|
"amount_refunded": 0,
|
|
|
|
"application": null,
|
|
|
|
"application_fee": null,
|
|
|
|
"application_fee_amount": null,
|
2020-03-03 15:57:36 +01:00
|
|
|
"balance_transaction": "txn_1GIc9R2sOmf47Nz9ttSUmJuK",
|
2019-09-11 16:19:24 +02:00
|
|
|
"billing_details": {
|
|
|
|
"address": {
|
|
|
|
"city": null,
|
|
|
|
"country": null,
|
|
|
|
"line1": null,
|
|
|
|
"line2": null,
|
|
|
|
"postal_code": null,
|
|
|
|
"state": null
|
2018-12-10 17:20:23 +01:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"email": null,
|
|
|
|
"name": null,
|
|
|
|
"phone": null
|
2018-12-10 17:20:23 +01:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"captured": true,
|
2020-03-03 15:57:36 +01:00
|
|
|
"created": 1583247316,
|
2019-09-11 16:19:24 +02:00
|
|
|
"currency": "usd",
|
2019-07-10 11:33:46 +02:00
|
|
|
"customer": "cus_8Di1wjdVktv5kt",
|
2019-09-11 16:19:24 +02:00
|
|
|
"description": null,
|
|
|
|
"destination": null,
|
|
|
|
"dispute": null,
|
2020-03-03 15:57:36 +01:00
|
|
|
"disputed": false,
|
2019-09-11 16:19:24 +02:00
|
|
|
"failure_code": null,
|
|
|
|
"failure_message": null,
|
|
|
|
"fraud_details": {
|
2019-07-10 11:33:46 +02:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"invoice": null,
|
2019-07-10 11:33:46 +02:00
|
|
|
"livemode": false,
|
|
|
|
"metadata": {
|
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"on_behalf_of": null,
|
|
|
|
"order": null,
|
|
|
|
"outcome": {
|
|
|
|
"network_status": "approved_by_network",
|
|
|
|
"reason": null,
|
|
|
|
"risk_level": "normal",
|
2020-03-03 15:57:36 +01:00
|
|
|
"risk_score": 55,
|
2019-09-11 16:19:24 +02:00
|
|
|
"seller_message": "Payment complete.",
|
|
|
|
"type": "authorized"
|
|
|
|
},
|
|
|
|
"paid": true,
|
2020-03-03 15:57:36 +01:00
|
|
|
"payment_intent": "pi_1GIc9Q2sOmf47Nz9iYHKWLUh",
|
|
|
|
"payment_method": "pm_1GIc9Q2sOmf47Nz9rsPseajX",
|
2019-09-11 16:19:24 +02:00
|
|
|
"payment_method_details": {
|
|
|
|
"card": {
|
|
|
|
"brand": "visa",
|
|
|
|
"checks": {
|
|
|
|
"address_line1_check": null,
|
|
|
|
"address_postal_code_check": null,
|
|
|
|
"cvc_check": "pass"
|
|
|
|
},
|
|
|
|
"country": "US",
|
|
|
|
"exp_month": 4,
|
2020-03-03 15:57:36 +01:00
|
|
|
"exp_year": 2021,
|
2019-09-11 16:19:24 +02:00
|
|
|
"fingerprint": "o52jybR7bnmNn6AT",
|
|
|
|
"funding": "credit",
|
2020-03-03 15:57:36 +01:00
|
|
|
"installments": null,
|
2019-09-11 16:19:24 +02:00
|
|
|
"last4": "4242",
|
2020-03-03 15:57:36 +01:00
|
|
|
"network": "visa",
|
2019-09-11 16:19:24 +02:00
|
|
|
"three_d_secure": null,
|
|
|
|
"wallet": null
|
2019-07-10 11:33:46 +02:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"type": "card"
|
2019-07-10 11:33:46 +02:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"receipt_email": null,
|
|
|
|
"receipt_number": null,
|
2020-03-03 15:57:36 +01:00
|
|
|
"receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1GIc9Q2sOmf47Nz9GFzPbGLj/rcpt_GqIkPUg6C6CfpZR5OlOj1LzV7JMwaGu",
|
2019-09-11 16:19:24 +02:00
|
|
|
"refunded": false,
|
|
|
|
"refunds": {
|
2018-12-10 17:20:23 +01:00
|
|
|
"object": "list",
|
|
|
|
"data": [
|
2019-05-27 11:52:28 +02:00
|
|
|
|
2018-12-10 17:20:23 +01:00
|
|
|
],
|
|
|
|
"has_more": false,
|
2019-09-11 16:19:24 +02:00
|
|
|
"total_count": 0,
|
2020-03-03 15:57:36 +01:00
|
|
|
"url": "/v1/charges/ch_1GIc9Q2sOmf47Nz9GFzPbGLj/refunds"
|
2018-12-10 17:20:23 +01:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"review": null,
|
|
|
|
"shipping": null,
|
|
|
|
"source": null,
|
|
|
|
"source_transfer": null,
|
|
|
|
"statement_descriptor": null,
|
|
|
|
"statement_descriptor_suffix": null,
|
|
|
|
"status": "succeeded",
|
|
|
|
"transfer_data": null,
|
|
|
|
"transfer_group": null
|
2017-09-18 11:00:20 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false,
|
|
|
|
"total_count": 1,
|
2020-03-03 15:57:36 +01:00
|
|
|
"url": "/v1/charges?payment_intent=pi_1GIc9Q2sOmf47Nz9iYHKWLUh"
|
2017-09-18 11:00:20 +02:00
|
|
|
},
|
2020-03-03 15:57:36 +01:00
|
|
|
"client_secret": "pi_1GIc9Q2sOmf47Nz9iYHKWLUh_secret_ztRTs2yaqzcm8vOfvyZ4j31Oj",
|
2019-09-11 16:19:24 +02:00
|
|
|
"confirmation_method": "manual",
|
2020-03-03 15:57:36 +01:00
|
|
|
"created": 1583247316,
|
2019-09-11 16:19:24 +02:00
|
|
|
"currency": "usd",
|
2016-04-06 15:57:27 +02:00
|
|
|
"customer": "cus_8Di1wjdVktv5kt",
|
2020-03-03 15:57:36 +01:00
|
|
|
"description": "Invoice reference: 2003001/VL",
|
2019-09-11 16:19:24 +02:00
|
|
|
"invoice": null,
|
|
|
|
"last_payment_error": null,
|
2017-09-18 11:00:20 +02:00
|
|
|
"livemode": false,
|
2018-09-18 15:38:04 +02:00
|
|
|
"metadata": {
|
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"next_action": null,
|
|
|
|
"on_behalf_of": null,
|
2020-03-03 15:57:36 +01:00
|
|
|
"payment_method": "pm_1GIc9Q2sOmf47Nz9rsPseajX",
|
2019-09-11 16:19:24 +02:00
|
|
|
"payment_method_options": {
|
|
|
|
"card": {
|
2020-03-03 15:57:36 +01:00
|
|
|
"installments": null,
|
2019-09-11 16:19:24 +02:00
|
|
|
"request_three_d_secure": "automatic"
|
|
|
|
}
|
2016-04-06 15:57:27 +02:00
|
|
|
},
|
2019-09-11 16:19:24 +02:00
|
|
|
"payment_method_types": [
|
|
|
|
"card"
|
|
|
|
],
|
|
|
|
"receipt_email": null,
|
|
|
|
"review": null,
|
|
|
|
"setup_future_usage": null,
|
|
|
|
"shipping": null,
|
|
|
|
"source": null,
|
|
|
|
"statement_descriptor": null,
|
|
|
|
"statement_descriptor_suffix": null,
|
|
|
|
"status": "succeeded",
|
|
|
|
"transfer_data": null,
|
|
|
|
"transfer_group": null
|
2016-04-06 15:57:27 +02:00
|
|
|
}
|
2017-09-18 11:00:20 +02:00
|
|
|
http_version:
|
2020-03-03 15:57:36 +01:00
|
|
|
recorded_at: Tue, 03 Mar 2020 14:55:18 GMT
|
2016-04-06 15:57:27 +02:00
|
|
|
recorded_with: VCR 3.0.1
|