1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-12 23:09:03 +01:00
fab-manager/test/vcr_cassettes/reservations_training_subscription_with_payment_schedule.yml

2188 lines
103 KiB
YAML
Raw Normal View History

---
http_interactions:
- request:
method: post
2021-09-13 14:25:30 +02:00
uri: https://api.stripe.com/v1/payment_methods
body:
encoding: UTF-8
2021-09-13 14:25:30 +02:00
string: type=card&card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2022&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.29.0
Authorization:
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-10-15 11:55:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.14.11-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils)
2.36.1) #1 SMP PREEMPT Sun, 10 Oct 2021 00:48:26 +0000","hostname":"Sylvain-desktop"}'
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:
2021-10-15 11:55:30 +02:00
- Fri, 15 Oct 2021 07:30:40 GMT
Content-Type:
- application/json
Content-Length:
2021-09-13 14:25:30 +02:00
- '934'
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
2021-10-15 11:55:30 +02:00
Idempotency-Key:
- b391d4b2-6a23-42a8-bdc8-5de28c25f285
Original-Request:
- req_b94fsZi5USwUuK
Request-Id:
2021-10-15 11:55:30 +02:00
- req_b94fsZi5USwUuK
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
2021-10-15 11:55:30 +02:00
"id": "pm_1JkksG2sOmf47Nz9dNTQ60AF",
2021-09-13 14:25:30 +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
},
"card": {
"brand": "visa",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "unchecked"
},
"country": "US",
"exp_month": 4,
"exp_year": 2022,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
"last4": "4242",
"networks": {
"available": [
"visa"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
2021-10-15 11:55:30 +02:00
"created": 1634283040,
2021-09-13 14:25:30 +02:00
"customer": null,
"livemode": false,
"metadata": {
},
2021-09-13 14:25:30 +02:00
"type": "card"
}
2021-10-15 11:55:30 +02:00
recorded_at: Fri, 15 Oct 2021 07:30:40 GMT
- request:
method: post
2021-10-15 11:55:30 +02:00
uri: https://api.stripe.com/v1/payment_methods/pm_1JkksG2sOmf47Nz9dNTQ60AF/attach
body:
encoding: UTF-8
2021-09-13 14:25:30 +02:00
string: customer=cus_8Di1wjdVktv5kt
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.29.0
Authorization:
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
2021-10-15 11:55:30 +02:00
- '{"last_request_metrics":{"request_id":"req_b94fsZi5USwUuK","request_duration_ms":752}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-10-15 11:55:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.14.11-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils)
2.36.1) #1 SMP PREEMPT Sun, 10 Oct 2021 00:48:26 +0000","hostname":"Sylvain-desktop"}'
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:
2021-10-15 11:55:30 +02:00
- Fri, 15 Oct 2021 07:30:41 GMT
Content-Type:
- application/json
Content-Length:
2021-09-13 14:25:30 +02:00
- '945'
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
2021-10-15 11:55:30 +02:00
Idempotency-Key:
- 8ffc7213-d6ad-40cb-b905-11984920e8a8
Original-Request:
- req_fO5s0JlIHsdfGM
Request-Id:
2021-10-15 11:55:30 +02:00
- req_fO5s0JlIHsdfGM
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
2021-10-15 11:55:30 +02:00
"id": "pm_1JkksG2sOmf47Nz9dNTQ60AF",
"object": "payment_method",
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null
},
"card": {
"brand": "visa",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
2021-09-13 14:25:30 +02:00
"cvc_check": "pass"
},
"country": "US",
"exp_month": 4,
"exp_year": 2022,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"generated_from": null,
"last4": "4242",
"networks": {
"available": [
"visa"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
2021-10-15 11:55:30 +02:00
"created": 1634283040,
2021-09-13 14:25:30 +02:00
"customer": "cus_8Di1wjdVktv5kt",
"livemode": false,
"metadata": {
},
"type": "card"
}
2021-10-15 11:55:30 +02:00
recorded_at: Fri, 15 Oct 2021 07:30:41 GMT
- request:
method: post
2021-09-13 14:25:30 +02:00
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
body:
encoding: UTF-8
2021-10-15 11:55:30 +02:00
string: invoice_settings[default_payment_method]=pm_1JkksG2sOmf47Nz9dNTQ60AF
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.29.0
Authorization:
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
2021-10-15 11:55:30 +02:00
- '{"last_request_metrics":{"request_id":"req_fO5s0JlIHsdfGM","request_duration_ms":834}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-10-15 11:55:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.14.11-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils)
2.36.1) #1 SMP PREEMPT Sun, 10 Oct 2021 00:48:26 +0000","hostname":"Sylvain-desktop"}'
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:
2021-10-15 11:55:30 +02:00
- Fri, 15 Oct 2021 07:30:42 GMT
Content-Type:
- application/json
Content-Length:
2021-10-15 11:55:30 +02:00
- '49845'
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
2021-10-15 11:55:30 +02:00
Idempotency-Key:
- 07bdd63c-d82a-4c5b-af20-88042d75419d
Original-Request:
- req_oOeUrytkxbeMDu
Request-Id:
2021-10-15 11:55:30 +02:00
- req_oOeUrytkxbeMDu
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
2021-09-13 14:25:30 +02:00
"id": "cus_8Di1wjdVktv5kt",
"object": "customer",
"account_balance": 0,
"address": null,
"balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_1Euc972sOmf47Nz9kex4UjRG",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
"email": "jean.dupond@gmail.com",
"invoice_prefix": "C0E661C",
"invoice_settings": {
"custom_fields": null,
2021-10-15 11:55:30 +02:00
"default_payment_method": "pm_1JkksG2sOmf47Nz9dNTQ60AF",
2021-09-13 14:25:30 +02:00
"footer": null
},
"livemode": false,
"metadata": {
},
2021-09-13 14:25:30 +02:00
"name": null,
2021-10-15 11:55:30 +02:00
"next_invoice_sequence": 1457,
2021-09-13 14:25:30 +02:00
"phone": null,
"preferred_locales": [
],
2021-09-13 14:25:30 +02:00
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_1Euc972sOmf47Nz9kex4UjRG",
"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_8Di1wjdVktv5kt",
"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_8Di1wjdVktv5kt/sources"
},
"subscriptions": {
"object": "list",
"data": [
{
2021-10-15 11:55:30 +02:00
"id": "sub_1JkWLZ2sOmf47Nz9w2nKfeEK",
2021-09-13 14:25:30 +02:00
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
2021-10-15 11:55:30 +02:00
"billing_cycle_anchor": 1634227197,
2021-09-13 14:25:30 +02:00
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"cancel_at": 1665763195,
2021-09-13 14:25:30 +02:00
"cancel_at_period_end": false,
2021-10-15 11:55:30 +02:00
"canceled_at": 1634227197,
2021-09-13 14:25:30 +02:00
"collection_method": "charge_automatically",
2021-10-15 11:55:30 +02:00
"created": 1634227197,
"current_period_end": 1636905597,
"current_period_start": 1634227197,
2021-09-13 14:25:30 +02:00
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
2021-10-15 11:55:30 +02:00
"default_payment_method": "pm_1JkWLV2sOmf47Nz9xRAxhRsO",
2021-09-13 14:25:30 +02:00
"default_source": null,
"default_tax_rates": [
],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
{
2021-10-15 11:55:30 +02:00
"id": "si_KPL1MX9RacpolM",
2021-09-13 14:25:30 +02:00
"object": "subscription_item",
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"created": 1634227197,
2021-09-13 14:25:30 +02:00
"metadata": {
},
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkWLY2sOmf47Nz9qBznWZ1L",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634227196,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"price": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkWLY2sOmf47Nz9qBznWZ1L",
2021-09-13 14:25:30 +02:00
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634227196,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"livemode": false,
"lookup_key": null,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
},
"quantity": 1,
2021-10-15 11:55:30 +02:00
"subscription": "sub_1JkWLZ2sOmf47Nz9w2nKfeEK",
2021-09-13 14:25:30 +02:00
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
2021-10-15 11:55:30 +02:00
"url": "/v1/subscription_items?subscription=sub_1JkWLZ2sOmf47Nz9w2nKfeEK"
2021-09-13 14:25:30 +02:00
},
2021-10-15 11:55:30 +02:00
"latest_invoice": "in_1JkWLZ2sOmf47Nz9G7pXzBXm",
2021-09-13 14:25:30 +02:00
"livemode": false,
"metadata": {
},
"next_pending_invoice_item_invoice": null,
"pause_collection": null,
"payment_settings": {
"payment_method_options": null,
"payment_method_types": null
},
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"pending_update": null,
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkWLY2sOmf47Nz9qBznWZ1L",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634227196,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
2021-10-15 11:55:30 +02:00
"start": 1634227197,
"start_date": 1634227197,
"status": "incomplete",
2021-09-13 14:25:30 +02:00
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
2021-10-15 11:55:30 +02:00
"id": "sub_1JkWL22sOmf47Nz9QynJVnJq",
2021-09-13 14:25:30 +02:00
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
2021-10-15 11:55:30 +02:00
"billing_cycle_anchor": 1634227164,
2021-09-13 14:25:30 +02:00
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"cancel_at": 1665763162,
2021-09-13 14:25:30 +02:00
"cancel_at_period_end": false,
2021-10-15 11:55:30 +02:00
"canceled_at": 1634227164,
2021-09-13 14:25:30 +02:00
"collection_method": "charge_automatically",
2021-10-15 11:55:30 +02:00
"created": 1634227164,
"current_period_end": 1636905564,
"current_period_start": 1634227164,
2021-09-13 14:25:30 +02:00
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
2021-10-15 11:55:30 +02:00
"default_payment_method": "pm_1JkWKy2sOmf47Nz9hyz9oVKt",
2021-09-13 14:25:30 +02:00
"default_source": null,
"default_tax_rates": [
],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
{
2021-10-15 11:55:30 +02:00
"id": "si_KPL1rIMIn7Dja5",
2021-09-13 14:25:30 +02:00
"object": "subscription_item",
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"created": 1634227164,
2021-09-13 14:25:30 +02:00
"metadata": {
},
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkWL12sOmf47Nz98iad0nyI",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634227163,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"price": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkWL12sOmf47Nz98iad0nyI",
2021-09-13 14:25:30 +02:00
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634227163,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"livemode": false,
"lookup_key": null,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
},
"quantity": 1,
2021-10-15 11:55:30 +02:00
"subscription": "sub_1JkWL22sOmf47Nz9QynJVnJq",
2021-09-13 14:25:30 +02:00
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
2021-10-15 11:55:30 +02:00
"url": "/v1/subscription_items?subscription=sub_1JkWL22sOmf47Nz9QynJVnJq"
2021-09-13 14:25:30 +02:00
},
2021-10-15 11:55:30 +02:00
"latest_invoice": "in_1JkWL22sOmf47Nz9zTqCdG1T",
2021-09-13 14:25:30 +02:00
"livemode": false,
"metadata": {
},
"next_pending_invoice_item_invoice": null,
"pause_collection": null,
"payment_settings": {
"payment_method_options": null,
"payment_method_types": null
},
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"pending_update": null,
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkWL12sOmf47Nz98iad0nyI",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634227163,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
2021-10-15 11:55:30 +02:00
"start": 1634227164,
"start_date": 1634227164,
"status": "incomplete",
2021-09-13 14:25:30 +02:00
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
2021-10-15 11:55:30 +02:00
"id": "sub_1JkWIu2sOmf47Nz9blZ3AdqA",
2021-09-13 14:25:30 +02:00
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
2021-10-15 11:55:30 +02:00
"billing_cycle_anchor": 1634227031,
2021-09-13 14:25:30 +02:00
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"cancel_at": 1665763030,
2021-09-13 14:25:30 +02:00
"cancel_at_period_end": false,
2021-10-15 11:55:30 +02:00
"canceled_at": 1634227031,
2021-09-13 14:25:30 +02:00
"collection_method": "charge_automatically",
2021-10-15 11:55:30 +02:00
"created": 1634227031,
"current_period_end": 1636905431,
"current_period_start": 1634227031,
2021-09-13 14:25:30 +02:00
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
2021-10-15 11:55:30 +02:00
"default_payment_method": "pm_1JkWIq2sOmf47Nz9y8vyE7cz",
2021-09-13 14:25:30 +02:00
"default_source": null,
"default_tax_rates": [
],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
{
2021-10-15 11:55:30 +02:00
"id": "si_KPKyNBY7Dth5wf",
2021-09-13 14:25:30 +02:00
"object": "subscription_item",
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"created": 1634227032,
2021-09-13 14:25:30 +02:00
"metadata": {
},
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkWIs2sOmf47Nz9eGVZoz2W",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634227030,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"price": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkWIs2sOmf47Nz9eGVZoz2W",
2021-09-13 14:25:30 +02:00
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634227030,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"livemode": false,
"lookup_key": null,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
},
"quantity": 1,
2021-10-15 11:55:30 +02:00
"subscription": "sub_1JkWIu2sOmf47Nz9blZ3AdqA",
2021-09-13 14:25:30 +02:00
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
2021-10-15 11:55:30 +02:00
"url": "/v1/subscription_items?subscription=sub_1JkWIu2sOmf47Nz9blZ3AdqA"
2021-09-13 14:25:30 +02:00
},
2021-10-15 11:55:30 +02:00
"latest_invoice": "in_1JkWIu2sOmf47Nz9obDWtNdH",
2021-09-13 14:25:30 +02:00
"livemode": false,
"metadata": {
},
"next_pending_invoice_item_invoice": null,
"pause_collection": null,
"payment_settings": {
"payment_method_options": null,
"payment_method_types": null
},
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"pending_update": null,
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkWIs2sOmf47Nz9eGVZoz2W",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634227030,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
2021-10-15 11:55:30 +02:00
"start": 1634227031,
"start_date": 1634227031,
2021-09-13 14:25:30 +02:00
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
2021-10-15 11:55:30 +02:00
"id": "sub_1JkW7C2sOmf47Nz9v1DfTXVk",
2021-09-13 14:25:30 +02:00
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
2021-10-15 11:55:30 +02:00
"billing_cycle_anchor": 1634226305,
2021-09-13 14:25:30 +02:00
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"cancel_at": 1665762304,
2021-09-13 14:25:30 +02:00
"cancel_at_period_end": false,
2021-10-15 11:55:30 +02:00
"canceled_at": 1634226305,
2021-09-13 14:25:30 +02:00
"collection_method": "charge_automatically",
2021-10-15 11:55:30 +02:00
"created": 1634226305,
"current_period_end": 1636904705,
"current_period_start": 1634226305,
2021-09-13 14:25:30 +02:00
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
2021-10-15 11:55:30 +02:00
"default_payment_method": "pm_1JkW772sOmf47Nz9IlBfocG1",
2021-09-13 14:25:30 +02:00
"default_source": null,
"default_tax_rates": [
],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
{
2021-10-15 11:55:30 +02:00
"id": "si_KPKmRh1aVMvlVs",
2021-09-13 14:25:30 +02:00
"object": "subscription_item",
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"created": 1634226306,
2021-09-13 14:25:30 +02:00
"metadata": {
},
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkW7B2sOmf47Nz9bktMHJcG",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634226305,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"price": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkW7B2sOmf47Nz9bktMHJcG",
2021-09-13 14:25:30 +02:00
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634226305,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"livemode": false,
"lookup_key": null,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
},
"quantity": 1,
2021-10-15 11:55:30 +02:00
"subscription": "sub_1JkW7C2sOmf47Nz9v1DfTXVk",
2021-09-13 14:25:30 +02:00
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
2021-10-15 11:55:30 +02:00
"url": "/v1/subscription_items?subscription=sub_1JkW7C2sOmf47Nz9v1DfTXVk"
2021-09-13 14:25:30 +02:00
},
2021-10-15 11:55:30 +02:00
"latest_invoice": "in_1JkW7C2sOmf47Nz9DHI5iyGy",
2021-09-13 14:25:30 +02:00
"livemode": false,
"metadata": {
},
"next_pending_invoice_item_invoice": null,
"pause_collection": null,
"payment_settings": {
"payment_method_options": null,
"payment_method_types": null
},
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"pending_update": null,
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkW7B2sOmf47Nz9bktMHJcG",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634226305,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
2021-10-15 11:55:30 +02:00
"start": 1634226305,
"start_date": 1634226305,
"status": "incomplete",
2021-09-13 14:25:30 +02:00
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
2021-10-15 11:55:30 +02:00
"id": "sub_1JkW4B2sOmf47Nz9H7F8oy4X",
2021-09-13 14:25:30 +02:00
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
2021-10-15 11:55:30 +02:00
"billing_cycle_anchor": 1634226119,
2021-09-13 14:25:30 +02:00
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"cancel_at": 1665762118,
2021-09-13 14:25:30 +02:00
"cancel_at_period_end": false,
2021-10-15 11:55:30 +02:00
"canceled_at": 1634226119,
2021-09-13 14:25:30 +02:00
"collection_method": "charge_automatically",
2021-10-15 11:55:30 +02:00
"created": 1634226119,
"current_period_end": 1636904519,
"current_period_start": 1634226119,
2021-09-13 14:25:30 +02:00
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
2021-10-15 11:55:30 +02:00
"default_payment_method": "pm_1JkW472sOmf47Nz9eDPVcQRR",
2021-09-13 14:25:30 +02:00
"default_source": null,
"default_tax_rates": [
],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
{
2021-10-15 11:55:30 +02:00
"id": "si_KPKjWzNKMgo5Fm",
2021-09-13 14:25:30 +02:00
"object": "subscription_item",
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"created": 1634226120,
2021-09-13 14:25:30 +02:00
"metadata": {
},
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkW4A2sOmf47Nz9OWxtnQoG",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634226118,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"price": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkW4A2sOmf47Nz9OWxtnQoG",
2021-09-13 14:25:30 +02:00
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634226118,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"livemode": false,
"lookup_key": null,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
},
"quantity": 1,
2021-10-15 11:55:30 +02:00
"subscription": "sub_1JkW4B2sOmf47Nz9H7F8oy4X",
2021-09-13 14:25:30 +02:00
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
2021-10-15 11:55:30 +02:00
"url": "/v1/subscription_items?subscription=sub_1JkW4B2sOmf47Nz9H7F8oy4X"
2021-09-13 14:25:30 +02:00
},
2021-10-15 11:55:30 +02:00
"latest_invoice": "in_1JkW4B2sOmf47Nz99kAOQNRU",
2021-09-13 14:25:30 +02:00
"livemode": false,
"metadata": {
},
"next_pending_invoice_item_invoice": null,
"pause_collection": null,
"payment_settings": {
"payment_method_options": null,
"payment_method_types": null
},
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"pending_update": null,
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JkW4A2sOmf47Nz9OWxtnQoG",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634226118,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
2021-10-15 11:55:30 +02:00
"start": 1634226119,
"start_date": 1634226119,
"status": "incomplete",
2021-09-13 14:25:30 +02:00
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
2021-10-15 11:55:30 +02:00
"id": "sub_KDebRcYreXVUnH",
2021-09-13 14:25:30 +02:00
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
2021-10-15 11:55:30 +02:00
"billing_cycle_anchor": 1631532361,
2021-09-13 14:25:30 +02:00
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"cancel_at": 1663068360,
2021-09-13 14:25:30 +02:00
"cancel_at_period_end": false,
2021-10-15 11:55:30 +02:00
"canceled_at": 1631532361,
2021-09-13 14:25:30 +02:00
"collection_method": "charge_automatically",
2021-10-15 11:55:30 +02:00
"created": 1631532361,
"current_period_end": 1636802761,
"current_period_start": 1634124361,
2021-09-13 14:25:30 +02:00
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
2021-10-15 11:55:30 +02:00
"default_payment_method": "pm_1JZDIP2sOmf47Nz9RVtJc1dz",
2021-09-13 14:25:30 +02:00
"default_source": null,
"default_tax_rates": [
],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
{
2021-10-15 11:55:30 +02:00
"id": "si_KDebUR1KKDUfV6",
2021-09-13 14:25:30 +02:00
"object": "subscription_item",
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"created": 1631532361,
2021-09-13 14:25:30 +02:00
"metadata": {
},
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZDIS2sOmf47Nz9jK6fXjAN",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631532360,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"price": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZDIS2sOmf47Nz9jK6fXjAN",
2021-09-13 14:25:30 +02:00
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631532360,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"livemode": false,
"lookup_key": null,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
},
"quantity": 1,
2021-10-15 11:55:30 +02:00
"subscription": "sub_KDebRcYreXVUnH",
2021-09-13 14:25:30 +02:00
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
2021-10-15 11:55:30 +02:00
"url": "/v1/subscription_items?subscription=sub_KDebRcYreXVUnH"
2021-09-13 14:25:30 +02:00
},
2021-10-15 11:55:30 +02:00
"latest_invoice": "in_1Jk5cF2sOmf47Nz9UrRCYQQP",
2021-09-13 14:25:30 +02:00
"livemode": false,
"metadata": {
},
"next_pending_invoice_item_invoice": null,
"pause_collection": null,
"payment_settings": {
"payment_method_options": null,
"payment_method_types": null
},
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"pending_update": null,
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZDIS2sOmf47Nz9jK6fXjAN",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631532360,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
2021-10-15 11:55:30 +02:00
"start": 1631532361,
"start_date": 1631532361,
2021-09-13 14:25:30 +02:00
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
2021-10-15 11:55:30 +02:00
"id": "sub_KDeatKq0nLrE5s",
2021-09-13 14:25:30 +02:00
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
2021-10-15 11:55:30 +02:00
"billing_cycle_anchor": 1631532298,
2021-09-13 14:25:30 +02:00
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"cancel_at": 1663068297,
2021-09-13 14:25:30 +02:00
"cancel_at_period_end": false,
2021-10-15 11:55:30 +02:00
"canceled_at": 1631532298,
2021-09-13 14:25:30 +02:00
"collection_method": "charge_automatically",
2021-10-15 11:55:30 +02:00
"created": 1631532298,
"current_period_end": 1636802698,
"current_period_start": 1634124298,
2021-09-13 14:25:30 +02:00
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
2021-10-15 11:55:30 +02:00
"default_payment_method": "pm_1JZDHP2sOmf47Nz9SPvppX4K",
2021-09-13 14:25:30 +02:00
"default_source": null,
"default_tax_rates": [
],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
{
2021-10-15 11:55:30 +02:00
"id": "si_KDea7Zt4pCFPCd",
2021-09-13 14:25:30 +02:00
"object": "subscription_item",
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"created": 1631532299,
2021-09-13 14:25:30 +02:00
"metadata": {
},
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZDHR2sOmf47Nz9BWE3ZEvx",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631532297,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"price": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZDHR2sOmf47Nz9BWE3ZEvx",
2021-09-13 14:25:30 +02:00
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631532297,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"livemode": false,
"lookup_key": null,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
},
"quantity": 1,
2021-10-15 11:55:30 +02:00
"subscription": "sub_KDeatKq0nLrE5s",
2021-09-13 14:25:30 +02:00
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
2021-10-15 11:55:30 +02:00
"url": "/v1/subscription_items?subscription=sub_KDeatKq0nLrE5s"
2021-09-13 14:25:30 +02:00
},
2021-10-15 11:55:30 +02:00
"latest_invoice": "in_1Jk5bN2sOmf47Nz9YtlYT2cW",
2021-09-13 14:25:30 +02:00
"livemode": false,
"metadata": {
},
"next_pending_invoice_item_invoice": null,
"pause_collection": null,
"payment_settings": {
"payment_method_options": null,
"payment_method_types": null
},
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"pending_update": null,
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZDHR2sOmf47Nz9BWE3ZEvx",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631532297,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
2021-10-15 11:55:30 +02:00
"start": 1631532298,
"start_date": 1631532298,
2021-09-13 14:25:30 +02:00
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
2021-10-15 11:55:30 +02:00
"id": "sub_KDeaVj7yYl0taQ",
2021-09-13 14:25:30 +02:00
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
2021-10-15 11:55:30 +02:00
"billing_cycle_anchor": 1631532268,
2021-09-13 14:25:30 +02:00
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"cancel_at": 1663068267,
2021-09-13 14:25:30 +02:00
"cancel_at_period_end": false,
2021-10-15 11:55:30 +02:00
"canceled_at": 1631532268,
2021-09-13 14:25:30 +02:00
"collection_method": "charge_automatically",
2021-10-15 11:55:30 +02:00
"created": 1631532268,
"current_period_end": 1636802668,
"current_period_start": 1634124268,
2021-09-13 14:25:30 +02:00
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
2021-10-15 11:55:30 +02:00
"default_payment_method": "pm_1JZDGv2sOmf47Nz9SM0WLRa7",
2021-09-13 14:25:30 +02:00
"default_source": null,
"default_tax_rates": [
],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
{
2021-10-15 11:55:30 +02:00
"id": "si_KDeakx3Jp75roY",
2021-09-13 14:25:30 +02:00
"object": "subscription_item",
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"created": 1631532269,
2021-09-13 14:25:30 +02:00
"metadata": {
},
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZDGx2sOmf47Nz9nUWex1u2",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631532267,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"price": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZDGx2sOmf47Nz9nUWex1u2",
2021-09-13 14:25:30 +02:00
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631532267,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"livemode": false,
"lookup_key": null,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
},
"quantity": 1,
2021-10-15 11:55:30 +02:00
"subscription": "sub_KDeaVj7yYl0taQ",
2021-09-13 14:25:30 +02:00
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
2021-10-15 11:55:30 +02:00
"url": "/v1/subscription_items?subscription=sub_KDeaVj7yYl0taQ"
2021-09-13 14:25:30 +02:00
},
2021-10-15 11:55:30 +02:00
"latest_invoice": "in_1Jk5ab2sOmf47Nz9HGfetsPd",
2021-09-13 14:25:30 +02:00
"livemode": false,
"metadata": {
},
"next_pending_invoice_item_invoice": null,
"pause_collection": null,
"payment_settings": {
"payment_method_options": null,
"payment_method_types": null
},
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"pending_update": null,
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZDGx2sOmf47Nz9nUWex1u2",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631532267,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
2021-10-15 11:55:30 +02:00
"start": 1631532268,
"start_date": 1631532268,
2021-09-13 14:25:30 +02:00
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
2021-10-15 11:55:30 +02:00
"id": "sub_KDeToJCqy8AUki",
2021-09-13 14:25:30 +02:00
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
2021-10-15 11:55:30 +02:00
"billing_cycle_anchor": 1631531879,
2021-09-13 14:25:30 +02:00
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"cancel_at": 1663067878,
2021-09-13 14:25:30 +02:00
"cancel_at_period_end": false,
2021-10-15 11:55:30 +02:00
"canceled_at": 1631531879,
2021-09-13 14:25:30 +02:00
"collection_method": "charge_automatically",
2021-10-15 11:55:30 +02:00
"created": 1631531879,
"current_period_end": 1636802279,
"current_period_start": 1634123879,
2021-09-13 14:25:30 +02:00
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
2021-10-15 11:55:30 +02:00
"default_payment_method": "pm_1JZDAe2sOmf47Nz9bsm9wPFI",
2021-09-13 14:25:30 +02:00
"default_source": null,
"default_tax_rates": [
],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
{
2021-10-15 11:55:30 +02:00
"id": "si_KDeT8jHdC6UAxx",
2021-09-13 14:25:30 +02:00
"object": "subscription_item",
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"created": 1631531880,
2021-09-13 14:25:30 +02:00
"metadata": {
},
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZDAh2sOmf47Nz9yYZ1jglu",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631531879,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"price": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZDAh2sOmf47Nz9yYZ1jglu",
2021-09-13 14:25:30 +02:00
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631531879,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"livemode": false,
"lookup_key": null,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
},
"quantity": 1,
2021-10-15 11:55:30 +02:00
"subscription": "sub_KDeToJCqy8AUki",
2021-09-13 14:25:30 +02:00
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
2021-10-15 11:55:30 +02:00
"url": "/v1/subscription_items?subscription=sub_KDeToJCqy8AUki"
2021-09-13 14:25:30 +02:00
},
2021-10-15 11:55:30 +02:00
"latest_invoice": "in_1Jk5Tj2sOmf47Nz94oD4YTbF",
2021-09-13 14:25:30 +02:00
"livemode": false,
"metadata": {
},
"next_pending_invoice_item_invoice": null,
"pause_collection": null,
"payment_settings": {
"payment_method_options": null,
"payment_method_types": null
},
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"pending_update": null,
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZDAh2sOmf47Nz9yYZ1jglu",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631531879,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
2021-10-15 11:55:30 +02:00
"start": 1631531879,
"start_date": 1631531879,
2021-09-13 14:25:30 +02:00
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
2021-10-15 11:55:30 +02:00
"id": "sub_KDePb9wwv9HEXL",
2021-09-13 14:25:30 +02:00
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
2021-10-15 11:55:30 +02:00
"billing_cycle_anchor": 1631531618,
2021-09-13 14:25:30 +02:00
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"cancel_at": 1663067617,
2021-09-13 14:25:30 +02:00
"cancel_at_period_end": false,
2021-10-15 11:55:30 +02:00
"canceled_at": 1631531618,
2021-09-13 14:25:30 +02:00
"collection_method": "charge_automatically",
2021-10-15 11:55:30 +02:00
"created": 1631531618,
"current_period_end": 1636802018,
"current_period_start": 1634123618,
2021-09-13 14:25:30 +02:00
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
2021-10-15 11:55:30 +02:00
"default_payment_method": "pm_1JZD6R2sOmf47Nz9CVbi40LS",
2021-09-13 14:25:30 +02:00
"default_source": null,
"default_tax_rates": [
],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
{
2021-10-15 11:55:30 +02:00
"id": "si_KDePymBNRiUzu7",
2021-09-13 14:25:30 +02:00
"object": "subscription_item",
"billing_thresholds": null,
2021-10-15 11:55:30 +02:00
"created": 1631531619,
2021-09-13 14:25:30 +02:00
"metadata": {
},
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZD6T2sOmf47Nz9eBszbfr3",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631531617,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"price": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZD6T2sOmf47Nz9eBszbfr3",
2021-09-13 14:25:30 +02:00
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631531617,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"livemode": false,
"lookup_key": null,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
},
"quantity": 1,
2021-10-15 11:55:30 +02:00
"subscription": "sub_KDePb9wwv9HEXL",
2021-09-13 14:25:30 +02:00
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
2021-10-15 11:55:30 +02:00
"url": "/v1/subscription_items?subscription=sub_KDePb9wwv9HEXL"
2021-09-13 14:25:30 +02:00
},
2021-10-15 11:55:30 +02:00
"latest_invoice": "in_1Jk5Q92sOmf47Nz9EPwy8dVf",
2021-09-13 14:25:30 +02:00
"livemode": false,
"metadata": {
},
"next_pending_invoice_item_invoice": null,
"pause_collection": null,
"payment_settings": {
"payment_method_options": null,
"payment_method_types": null
},
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"pending_update": null,
"plan": {
2021-10-15 11:55:30 +02:00
"id": "price_1JZD6T2sOmf47Nz9eBszbfr3",
2021-09-13 14:25:30 +02:00
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1631531617,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"tiers": null,
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"quantity": 1,
"schedule": null,
2021-10-15 11:55:30 +02:00
"start": 1631531618,
"start_date": 1631531618,
2021-09-13 14:25:30 +02:00
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": true,
2021-10-15 11:55:30 +02:00
"total_count": 200,
2021-09-13 14:25:30 +02:00
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
},
"tax_exempt": "none",
"tax_ids": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/tax_ids"
},
"tax_info": null,
"tax_info_verification": null
}
2021-10-15 11:55:30 +02:00
recorded_at: Fri, 15 Oct 2021 07:30:42 GMT
2021-09-13 14:25:30 +02:00
- request:
method: post
uri: https://api.stripe.com/v1/prices
body:
encoding: UTF-8
string: unit_amount=9466&currency=usd&product=prod_IZQAhb9nLu4jfN&recurring[interval]=month&recurring[interval_count]=1
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.29.0
Authorization:
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
2021-10-15 11:55:30 +02:00
- '{"last_request_metrics":{"request_id":"req_oOeUrytkxbeMDu","request_duration_ms":897}}'
2021-09-13 14:25:30 +02:00
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-10-15 11:55:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.14.11-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils)
2.36.1) #1 SMP PREEMPT Sun, 10 Oct 2021 00:48:26 +0000","hostname":"Sylvain-desktop"}'
2021-09-13 14:25:30 +02:00
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:
2021-10-15 11:55:30 +02:00
- Fri, 15 Oct 2021 07:30:43 GMT
2021-09-13 14:25:30 +02:00
Content-Type:
- application/json
Content-Length:
- '607'
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
2021-10-15 11:55:30 +02:00
Idempotency-Key:
- 72bd00db-4e9a-427d-ab9f-10cee6c93012
Original-Request:
- req_vEy97rboXhdrZo
2021-09-13 14:25:30 +02:00
Request-Id:
2021-10-15 11:55:30 +02:00
- req_vEy97rboXhdrZo
Stripe-Should-Retry:
- 'false'
2021-09-13 14:25:30 +02:00
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
2021-10-15 11:55:30 +02:00
"id": "price_1JkksI2sOmf47Nz938S8shQS",
2021-09-13 14:25:30 +02:00
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634283042,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"livemode": false,
"lookup_key": null,
"metadata": {
},
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
}
2021-10-15 11:55:30 +02:00
recorded_at: Fri, 15 Oct 2021 07:30:43 GMT
2021-09-13 14:25:30 +02:00
- request:
method: post
uri: https://api.stripe.com/v1/prices
body:
encoding: UTF-8
string: unit_amount=8&currency=usd&product=prod_IZQAhb9nLu4jfN&nickname=Price+adjustment+for+payment+schedule+
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.29.0
Authorization:
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
2021-10-15 11:55:30 +02:00
- '{"last_request_metrics":{"request_id":"req_vEy97rboXhdrZo","request_duration_ms":424}}'
2021-09-13 14:25:30 +02:00
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-10-15 11:55:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.14.11-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils)
2.36.1) #1 SMP PREEMPT Sun, 10 Oct 2021 00:48:26 +0000","hostname":"Sylvain-desktop"}'
2021-09-13 14:25:30 +02:00
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:
2021-10-15 11:55:30 +02:00
- Fri, 15 Oct 2021 07:30:43 GMT
2021-09-13 14:25:30 +02:00
Content-Type:
- application/json
Content-Length:
- '495'
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
2021-10-15 11:55:30 +02:00
Idempotency-Key:
- 1a56909f-ee19-432b-8542-04e129d09030
Original-Request:
- req_RFRx7oXl0NmV0e
2021-09-13 14:25:30 +02:00
Request-Id:
2021-10-15 11:55:30 +02:00
- req_RFRx7oXl0NmV0e
Stripe-Should-Retry:
- 'false'
2021-09-13 14:25:30 +02:00
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
2021-10-15 11:55:30 +02:00
"id": "price_1JkksJ2sOmf47Nz9yJl4Az8W",
2021-09-13 14:25:30 +02:00
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-10-15 11:55:30 +02:00
"created": 1634283043,
2021-09-13 14:25:30 +02:00
"currency": "usd",
"livemode": false,
"lookup_key": null,
"metadata": {
},
"nickname": "Price adjustment for payment schedule",
"product": "prod_IZQAhb9nLu4jfN",
"recurring": null,
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "one_time",
"unit_amount": 8,
"unit_amount_decimal": "8"
}
2021-10-15 11:55:30 +02:00
recorded_at: Fri, 15 Oct 2021 07:30:43 GMT
2021-09-13 14:25:30 +02:00
- request:
method: post
2021-10-15 11:55:30 +02:00
uri: https://api.stripe.com/v1/prices
2021-09-13 14:25:30 +02:00
body:
encoding: UTF-8
2021-10-15 11:55:30 +02:00
string: unit_amount=5100&currency=usd&product=prod_IZPyXw6BDBBFOg&nickname=Reservations+for+payment+schedule+
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.29.0
Authorization:
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
2021-10-15 11:55:30 +02:00
- '{"last_request_metrics":{"request_id":"req_RFRx7oXl0NmV0e","request_duration_ms":459}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-10-15 11:55:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.14.11-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils)
2.36.1) #1 SMP PREEMPT Sun, 10 Oct 2021 00:48:26 +0000","hostname":"Sylvain-desktop"}'
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:
2021-10-15 11:55:30 +02:00
- Fri, 15 Oct 2021 07:30:44 GMT
Content-Type:
- application/json
Content-Length:
2021-10-15 11:55:30 +02:00
- '497'
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
2021-10-15 11:55:30 +02:00
Idempotency-Key:
- 8b655556-e15a-41b6-b03e-09f5930e38e7
Original-Request:
- req_QRqu2tDrQOTAqV
Request-Id:
2021-10-15 11:55:30 +02:00
- req_QRqu2tDrQOTAqV
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
2021-10-15 11:55:30 +02:00
"id": "price_1JkksJ2sOmf47Nz97FJaIZIL",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1634283043,
"currency": "usd",
"livemode": false,
2021-10-15 11:55:30 +02:00
"lookup_key": null,
"metadata": {
},
2021-10-15 11:55:30 +02:00
"nickname": "Reservations for payment schedule",
"product": "prod_IZPyXw6BDBBFOg",
"recurring": null,
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "one_time",
"unit_amount": 5100,
"unit_amount_decimal": "5100"
2021-09-13 14:25:30 +02:00
}
2021-10-15 11:55:30 +02:00
recorded_at: Fri, 15 Oct 2021 07:30:44 GMT
2021-09-13 14:25:30 +02:00
- request:
2021-10-15 11:55:30 +02:00
method: post
uri: https://api.stripe.com/v1/subscriptions
2021-09-13 14:25:30 +02:00
body:
2021-10-15 11:55:30 +02:00
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&cancel_at=1665819042&add_invoice_items[0][price]=price_1JkksJ2sOmf47Nz9yJl4Az8W&add_invoice_items[1][price]=price_1JkksJ2sOmf47Nz97FJaIZIL&items[0][price]=price_1JkksI2sOmf47Nz938S8shQS&default_payment_method=pm_1JkksG2sOmf47Nz9dNTQ60AF&expand[0]=latest_invoice.payment_intent
2021-09-13 14:25:30 +02:00
headers:
User-Agent:
- Stripe/v1 RubyBindings/5.29.0
Authorization:
- Bearer sk_test_testfaketestfaketestfake
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
2021-10-15 11:55:30 +02:00
- '{"last_request_metrics":{"request_id":"req_QRqu2tDrQOTAqV","request_duration_ms":446}}'
2021-09-13 14:25:30 +02:00
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-10-15 11:55:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.14.11-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils)
2.36.1) #1 SMP PREEMPT Sun, 10 Oct 2021 00:48:26 +0000","hostname":"Sylvain-desktop"}'
2021-09-13 14:25:30 +02:00
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:
2021-10-15 11:55:30 +02:00
- Fri, 15 Oct 2021 07:30:47 GMT
2021-09-13 14:25:30 +02:00
Content-Type:
- application/json
Content-Length:
2021-10-15 11:55:30 +02:00
- '17275'
2021-09-13 14:25:30 +02:00
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
2021-10-15 11:55:30 +02:00
Idempotency-Key:
- ed8af7b8-d261-4e61-ada9-c5e82cc564cb
Original-Request:
- req_DAgZGrsTfwyLUQ
2021-09-13 14:25:30 +02:00
Request-Id:
2021-10-15 11:55:30 +02:00
- req_DAgZGrsTfwyLUQ
Stripe-Should-Retry:
- 'false'
2021-09-13 14:25:30 +02:00
Stripe-Version:
- '2019-08-14'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
2021-10-15 11:55:30 +02:00
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJzdWJfMUpra3NLMnNPbWY0N056OUFHN20wUVQ1IiwKICAib2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgImFwcGxpY2F0aW9uX2ZlZV9wZXJjZW50IjogbnVsbCwKICAiYXV0b21hdGljX3RheCI6IHsKICAgICJlbmFibGVkIjogZmFsc2UKICB9LAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAiYmlsbGluZ19jeWNsZV9hbmNob3IiOiAxNjM0MjgzMDQ0LAogICJiaWxsaW5nX3RocmVzaG9sZHMiOiBudWxsLAogICJjYW5jZWxfYXQiOiAxNjY1ODE5MDQyLAogICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5jZWxlZF9hdCI6IDE2MzQyODMwNDQsCiAgImNvbGxlY3Rpb25fbWV0aG9kIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAiY3JlYXRlZCI6IDE2MzQyODMwNDQsCiAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE2MzY5NjE0NDQsCiAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTYzNDI4MzA0NCwKICAiY3VzdG9tZXIiOiAiY3VzXzhEaTF3amRWa3R2NWt0IiwKICAiZGF5c191bnRpbF9kdWUiOiBudWxsLAogICJkZWZhdWx0X3BheW1lbnRfbWV0aG9kIjogInBtXzFKa2tzRzJzT21mNDdOejlkTlRRNjBBRiIsCiAgImRlZmF1bHRfc291cmNlIjogbnVsbCwKICAiZGVmYXVsdF90YXhfcmF0ZXMiOiBbCgogIF0sCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRfYXQiOiBudWxsLAogICJpbnZvaWNlX2N1c3RvbWVyX2JhbGFuY2Vfc2V0dGluZ3MiOiB7CiAgICAiY29uc3VtZV9hcHBsaWVkX2JhbGFuY2Vfb25fdm9pZCI6IHRydWUKICB9LAogICJpdGVtcyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAgICAgewogICAgICAgICJpZCI6ICJzaV9LUGEyNmxxZlVSRllKZSIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAgICAgICAgImJpbGxpbmdfdGhyZXNob2xkcyI6IG51bGwsCiAgICAgICAgImNyZWF0ZWQiOiAxNjM0MjgzMDQ1LAogICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICB9LAogICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogInByaWNlXzFKa2tzSTJzT21mNDdOejkzOFM4c2hRUyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFjdGl2ZSI6IHRydWUsCiAgICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJhbW91bnQiOiA5NDY2LAogICAgICAgICAgImFtb3VudF9kZWNpbWFsIjogIjk0NjYiLAogICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICAgICAgICJjcmVhdGVkIjogMTYzNDI4MzA0MiwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgIH0sCiAgICAgICAgICAibmlja25hbWUiOiBudWxsLAogICAgICAgICAgInByb2R1Y3QiOiAicHJvZF9JWlFBaGI5bkx1NGpmTiIsCiAgICAgICAgICAidGllcnMiOiBudWxsLAogICAgICAgICAgInRpZXJzX21vZGUiOiBudWxsLAogICAgICAgICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgICAgICAgInVzYWdlX3R5cGUiOiAibGljZW5zZWQiCiAgICAgICAgfSwKICAgICAgICAicHJpY2UiOiB7CiAgICAgICAgICAiaWQiOiAicHJpY2VfMUpra3NJMnNPbWY0N056OTM4UzhzaFFTIiwKICAgICAgICAgICJvYmplY3QiOiAicHJpY2UiLAogICAgICAgICAgImFjdGl2ZSI6IHRydWUsCiAgICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAgImNyZWF0ZWQiOiAxNjM0MjgzMDQyLAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJsb29rdXBfa2V5IjogbnVsbCwKICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgIH0sCiAgICAgICAgICAibmlja25hbWUiOiBudWxsLAogICAgICAgICAgInByb2R1Y3QiOiAicHJvZF9JWlFBaGI5bkx1NGpmTiIsCiAgICAgICAgICAicmVjdXJyaW5nIjogewogICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAgICAgICAgICAgInVzYWdlX3R5cGUiOiAibGljZW5zZWQiCiAgICAgICAgICB9LAogICAgICAgICAgInRheF9iZWhhdmlvciI6ICJ1bnNwZWNpZmllZCIsCiAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAidHJhbnNmb3JtX3F1YW50aXR5IjogbnVsbCwKICAgICAgICAgICJ0eXBlIjogInJlY3VycmluZyIsCiAgICAgICAgICAidW5pdF9hbW91bnQiOiA5NDY2LAogICAgICAgICAgInVuaXRfYW1vdW50X2RlY2ltYWwiOiAiOTQ2NiIKICAgICAgICB9LAogICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN1YnNjcmlwdGlvbiI6ICJzdWJfMUpra3NLMnNPbWY0N056OUFHN20wUVQ1IiwKICAgICAgICAidGF4X3JhdGVzIjogWwoKICAgICAgICBdCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl8xSmtrc0syc09tZjQ3Tno5QUc3bTBRVDUiCiAgfSwKICAibGF0ZXN0X2ludm9pY2UiOiB7CiAgICAiaWQiOiAiaW5fMUpra3NLMnNPbWY0N056OXZMMVlEODd4IiwKICAgICJvYmplY3QiOiAiaW52b2ljZSIsCiAgICAiYWNjb3VudF9jb3VudHJ5IjogIkZSIiwKICAgICJhY2NvdW50X25hbWUiOiAiU2xlZWRlIiwKICAgICJhY2NvdW50X3RheF9pZHMiOiBudWxsLAogICAgImFtb3VudF9kdWUiOiAxNDU3NCwKICAgICJhbW91bnRfcGFpZCI6IDE0NTc0LAogICAgImFtb3VudF9yZW1haW5pbmciOiA
recorded_at: Fri, 15 Oct 2021 07:30:47 GMT
recorded_with: VCR 6.0.0