1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/test/vcr_cassettes/subscriptions_admin_create_with_payment_schedule.yml

2497 lines
111 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
X-Stripe-Client-Telemetry:
2021-09-13 14:25:30 +02:00
- '{"last_request_metrics":{"request_id":"req_UNSBmHJmCC5Mk4","request_duration_ms":665}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-09-13 14:25:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.3 p62 (2019-04-16)","platform":"x86_64-darwin18","engine":"ruby","publisher":"stripe","uname":"Darwin
MacBook-Pro-Sleede-Peng 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33
PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64","hostname":"MacBook-Pro-Sleede-Peng"}'
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-09-13 14:25:30 +02:00
- Mon, 13 Sep 2021 11:24:25 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
Request-Id:
2021-09-13 14:25:30 +02:00
- req_S1TuYcKn9g6p3Q
Stripe-Version:
- '2019-08-14'
X-Stripe-C-Cost:
2021-09-13 14:25:30 +02:00
- '6'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
2021-09-13 14:25:30 +02:00
"id": "pm_1JZDGv2sOmf47Nz9SM0WLRa7",
"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
},
"created": 1631532265,
"customer": null,
"livemode": false,
"metadata": {
},
2021-09-13 14:25:30 +02:00
"type": "card"
}
2021-09-13 14:25:30 +02:00
recorded_at: Mon, 13 Sep 2021 11:24:25 GMT
- request:
method: post
2021-09-13 14:25:30 +02:00
uri: https://api.stripe.com/v1/payment_methods/pm_1JZDGv2sOmf47Nz9SM0WLRa7/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-09-13 14:25:30 +02:00
- '{"last_request_metrics":{"request_id":"req_S1TuYcKn9g6p3Q","request_duration_ms":648}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-09-13 14:25:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.3 p62 (2019-04-16)","platform":"x86_64-darwin18","engine":"ruby","publisher":"stripe","uname":"Darwin
MacBook-Pro-Sleede-Peng 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33
PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64","hostname":"MacBook-Pro-Sleede-Peng"}'
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-09-13 14:25:30 +02:00
- Mon, 13 Sep 2021 11:24:26 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
Request-Id:
2021-09-13 14:25:30 +02:00
- req_TlXd8Njb8JNAL2
Stripe-Version:
- '2019-08-14'
X-Stripe-C-Cost:
2021-09-13 14:25:30 +02:00
- '6'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
2021-09-13 14:25:30 +02:00
"id": "pm_1JZDGv2sOmf47Nz9SM0WLRa7",
"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-09-13 14:25:30 +02:00
"created": 1631532265,
"customer": "cus_8Di1wjdVktv5kt",
"livemode": false,
"metadata": {
},
"type": "card"
}
2021-09-13 14:25:30 +02:00
recorded_at: Mon, 13 Sep 2021 11:24:26 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-09-13 14:25:30 +02:00
string: invoice_settings[default_payment_method]=pm_1JZDGv2sOmf47Nz9SM0WLRa7
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-09-13 14:25:30 +02:00
- '{"last_request_metrics":{"request_id":"req_TlXd8Njb8JNAL2","request_duration_ms":848}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-09-13 14:25:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.3 p62 (2019-04-16)","platform":"x86_64-darwin18","engine":"ruby","publisher":"stripe","uname":"Darwin
MacBook-Pro-Sleede-Peng 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33
PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64","hostname":"MacBook-Pro-Sleede-Peng"}'
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-09-13 14:25:30 +02:00
- Mon, 13 Sep 2021 11:24:27 GMT
Content-Type:
- application/json
Content-Length:
2021-09-13 14:25:30 +02:00
- '49679'
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:
2021-09-13 14:25:30 +02:00
- req_7d7f1XoQjkrWWk
Stripe-Version:
- '2019-08-14'
X-Stripe-C-Cost:
2021-09-13 14:25:30 +02:00
- '0'
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,
"default_payment_method": "pm_1JZDGv2sOmf47Nz9SM0WLRa7",
"footer": null
},
"livemode": false,
"metadata": {
},
2021-09-13 14:25:30 +02:00
"name": null,
"next_invoice_sequence": 1254,
"phone": null,
"preferred_locales": [
],
"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": [
{
"id": "sub_KDeToJCqy8AUki",
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
"billing_cycle_anchor": 1631531879,
"billing_thresholds": null,
"cancel_at": 1663067878,
"cancel_at_period_end": false,
"canceled_at": 1631531879,
"collection_method": "charge_automatically",
"created": 1631531879,
"current_period_end": 1634123879,
"current_period_start": 1631531879,
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
"default_payment_method": "pm_1JZDAe2sOmf47Nz9bsm9wPFI",
"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": [
{
"id": "si_KDeT8jHdC6UAxx",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1631531880,
"metadata": {
},
"plan": {
"id": "price_1JZDAh2sOmf47Nz9yYZ1jglu",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631531879,
"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": {
"id": "price_1JZDAh2sOmf47Nz9yYZ1jglu",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631531879,
"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,
"subscription": "sub_KDeToJCqy8AUki",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_KDeToJCqy8AUki"
},
"latest_invoice": "in_1JZDAi2sOmf47Nz9OTez1qxa",
"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": {
"id": "price_1JZDAh2sOmf47Nz9yYZ1jglu",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631531879,
"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,
"start": 1631531879,
"start_date": 1631531879,
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_KDePb9wwv9HEXL",
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
"billing_cycle_anchor": 1631531618,
"billing_thresholds": null,
"cancel_at": 1663067617,
"cancel_at_period_end": false,
"canceled_at": 1631531618,
"collection_method": "charge_automatically",
"created": 1631531618,
"current_period_end": 1634123618,
"current_period_start": 1631531618,
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
"default_payment_method": "pm_1JZD6R2sOmf47Nz9CVbi40LS",
"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": [
{
"id": "si_KDePymBNRiUzu7",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1631531619,
"metadata": {
},
"plan": {
"id": "price_1JZD6T2sOmf47Nz9eBszbfr3",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631531617,
"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": {
"id": "price_1JZD6T2sOmf47Nz9eBszbfr3",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631531617,
"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,
"subscription": "sub_KDePb9wwv9HEXL",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_KDePb9wwv9HEXL"
},
"latest_invoice": "in_1JZD6U2sOmf47Nz96ByzJABC",
"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": {
"id": "price_1JZD6T2sOmf47Nz9eBszbfr3",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631531617,
"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,
"start": 1631531618,
"start_date": 1631531618,
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_KDcntUY1yaA3Fc",
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
"billing_cycle_anchor": 1631525640,
"billing_thresholds": null,
"cancel_at": 1663061639,
"cancel_at_period_end": false,
"canceled_at": 1631525640,
"collection_method": "charge_automatically",
"created": 1631525640,
"current_period_end": 1634117640,
"current_period_start": 1631525640,
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
"default_payment_method": "pm_1JZBY02sOmf47Nz9cujVPxe4",
"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": [
{
"id": "si_KDcn9Ud8rYiNXU",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1631525641,
"metadata": {
},
"plan": {
"id": "price_1JZBY32sOmf47Nz9ifmaJSjX",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631525639,
"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": {
"id": "price_1JZBY32sOmf47Nz9ifmaJSjX",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631525639,
"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,
"subscription": "sub_KDcntUY1yaA3Fc",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_KDcntUY1yaA3Fc"
},
"latest_invoice": "in_1JZBY42sOmf47Nz9DSvyJRef",
"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": {
"id": "price_1JZBY32sOmf47Nz9ifmaJSjX",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631525639,
"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,
"start": 1631525640,
"start_date": 1631525640,
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_KDcYcFzvKIAfxe",
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
"billing_cycle_anchor": 1631524709,
"billing_thresholds": null,
"cancel_at": 1663060707,
"cancel_at_period_end": false,
"canceled_at": 1631524709,
"collection_method": "charge_automatically",
"created": 1631524709,
"current_period_end": 1634116709,
"current_period_start": 1631524709,
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
"default_payment_method": "pm_1JZBIz2sOmf47Nz9if8isgCk",
"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": [
{
"id": "si_KDcY0GXEJ58GSV",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1631524709,
"metadata": {
},
"plan": {
"id": "price_1JZBJ22sOmf47Nz9G6GfGajO",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631524708,
"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": {
"id": "price_1JZBJ22sOmf47Nz9G6GfGajO",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631524708,
"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,
"subscription": "sub_KDcYcFzvKIAfxe",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_KDcYcFzvKIAfxe"
},
"latest_invoice": "in_1JZBJ32sOmf47Nz9cVh8GVlb",
"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": {
"id": "price_1JZBJ22sOmf47Nz9G6GfGajO",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631524708,
"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,
"start": 1631524709,
"start_date": 1631524709,
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_KDcREVjTNPz3Ew",
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
"billing_cycle_anchor": 1631524329,
"billing_thresholds": null,
"cancel_at": 1663060328,
"cancel_at_period_end": false,
"canceled_at": 1631524329,
"collection_method": "charge_automatically",
"created": 1631524329,
"current_period_end": 1634116329,
"current_period_start": 1631524329,
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
"default_payment_method": "pm_1JZBCs2sOmf47Nz9xLQzqIu9",
"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": [
{
"id": "si_KDcRvQzhZyE5ZE",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1631524330,
"metadata": {
},
"plan": {
"id": "price_1JZBCu2sOmf47Nz9EE2mabAJ",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631524328,
"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": {
"id": "price_1JZBCu2sOmf47Nz9EE2mabAJ",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631524328,
"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,
"subscription": "sub_KDcREVjTNPz3Ew",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_KDcREVjTNPz3Ew"
},
"latest_invoice": "in_1JZBCv2sOmf47Nz91bRTmzcU",
"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": {
"id": "price_1JZBCu2sOmf47Nz9EE2mabAJ",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631524328,
"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,
"start": 1631524329,
"start_date": 1631524329,
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_KDcNi59k7NkmxZ",
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
"billing_cycle_anchor": 1631524094,
"billing_thresholds": null,
"cancel_at": 1663060092,
"cancel_at_period_end": false,
"canceled_at": 1631524094,
"collection_method": "charge_automatically",
"created": 1631524094,
"current_period_end": 1634116094,
"current_period_start": 1631524094,
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
"default_payment_method": "pm_1JZB942sOmf47Nz9uaPVuoqr",
"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": [
{
"id": "si_KDcNxc5epuq6Ro",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1631524094,
"metadata": {
},
"plan": {
"id": "price_1JZB962sOmf47Nz9nKwhbU5R",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631524092,
"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": {
"id": "price_1JZB962sOmf47Nz9nKwhbU5R",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631524092,
"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,
"subscription": "sub_KDcNi59k7NkmxZ",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_KDcNi59k7NkmxZ"
},
"latest_invoice": "in_1JZB982sOmf47Nz9IFFpw8eB",
"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": {
"id": "price_1JZB962sOmf47Nz9nKwhbU5R",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631524092,
"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,
"start": 1631524094,
"start_date": 1631524094,
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_KDcKvn4YhcxOlf",
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
"billing_cycle_anchor": 1631523862,
"billing_thresholds": null,
"cancel_at": 1663059861,
"cancel_at_period_end": false,
"canceled_at": 1631523862,
"collection_method": "charge_automatically",
"created": 1631523862,
"current_period_end": 1634115862,
"current_period_start": 1631523862,
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
"default_payment_method": "pm_1JZB5K2sOmf47Nz9SmbgKZJw",
"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": [
{
"id": "si_KDcKCEkpRf7dS3",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1631523863,
"metadata": {
},
"plan": {
"id": "price_1JZB5N2sOmf47Nz9jQ012sQE",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631523861,
"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": {
"id": "price_1JZB5N2sOmf47Nz9jQ012sQE",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631523861,
"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,
"subscription": "sub_KDcKvn4YhcxOlf",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_KDcKvn4YhcxOlf"
},
"latest_invoice": "in_1JZB5O2sOmf47Nz9aP9VIGH7",
"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": {
"id": "price_1JZB5N2sOmf47Nz9jQ012sQE",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631523861,
"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,
"start": 1631523862,
"start_date": 1631523862,
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_KDc9Jl3OiO42tD",
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
"billing_cycle_anchor": 1631523255,
"billing_thresholds": null,
"cancel_at": 1663059253,
"cancel_at_period_end": false,
"canceled_at": 1631523255,
"collection_method": "charge_automatically",
"created": 1631523255,
"current_period_end": 1634115255,
"current_period_start": 1631523255,
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
"default_payment_method": "pm_1JZAvX2sOmf47Nz9Ogf35p36",
"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": [
{
"id": "si_KDc9AHcWgXWCOh",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1631523256,
"metadata": {
},
"plan": {
"id": "price_1JZAva2sOmf47Nz9Eu5l8VIe",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631523254,
"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": {
"id": "price_1JZAva2sOmf47Nz9Eu5l8VIe",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631523254,
"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,
"subscription": "sub_KDc9Jl3OiO42tD",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_KDc9Jl3OiO42tD"
},
"latest_invoice": "in_1JZAvb2sOmf47Nz9eTVrJkJA",
"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": {
"id": "price_1JZAva2sOmf47Nz9Eu5l8VIe",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631523254,
"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,
"start": 1631523255,
"start_date": 1631523255,
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_KDc72MBwZL7Mcx",
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
"billing_cycle_anchor": 1631523098,
"billing_thresholds": null,
"cancel_at": 1663059097,
"cancel_at_period_end": false,
"canceled_at": 1631523098,
"collection_method": "charge_automatically",
"created": 1631523098,
"current_period_end": 1634115098,
"current_period_start": 1631523098,
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
"default_payment_method": "pm_1JZAt02sOmf47Nz9QOEkCfu2",
"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": [
{
"id": "si_KDc7A3NMyKHOjq",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1631523099,
"metadata": {
},
"plan": {
"id": "price_1JZAt32sOmf47Nz9gjiMYpfc",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631523097,
"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": {
"id": "price_1JZAt32sOmf47Nz9gjiMYpfc",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631523097,
"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,
"subscription": "sub_KDc72MBwZL7Mcx",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_KDc72MBwZL7Mcx"
},
"latest_invoice": "in_1JZAt42sOmf47Nz9oLcWgzcU",
"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": {
"id": "price_1JZAt32sOmf47Nz9gjiMYpfc",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631523097,
"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,
"start": 1631523098,
"start_date": 1631523098,
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_KDc5yXt8R7vVm1",
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
"billing_cycle_anchor": 1631522990,
"billing_thresholds": null,
"cancel_at": 1663058989,
"cancel_at_period_end": false,
"canceled_at": 1631522990,
"collection_method": "charge_automatically",
"created": 1631522990,
"current_period_end": 1634114990,
"current_period_start": 1631522990,
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
"default_payment_method": "pm_1JZArH2sOmf47Nz96RwlW5Mo",
"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": [
{
"id": "si_KDc5U6dt18zY6H",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1631522991,
"metadata": {
},
"plan": {
"id": "price_1JZArJ2sOmf47Nz9lE4jYUzZ",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631522989,
"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": {
"id": "price_1JZArJ2sOmf47Nz9lE4jYUzZ",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631522989,
"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,
"subscription": "sub_KDc5yXt8R7vVm1",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_KDc5yXt8R7vVm1"
},
"latest_invoice": "in_1JZArK2sOmf47Nz9Bi27AXaw",
"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": {
"id": "price_1JZArJ2sOmf47Nz9lE4jYUzZ",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631522989,
"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,
"start": 1631522990,
"start_date": 1631522990,
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": true,
"total_count": 192,
"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"
},
2021-09-13 14:25:30 +02:00
"tax_info": null,
"tax_info_verification": null
}
2021-09-13 14:25:30 +02:00
recorded_at: Mon, 13 Sep 2021 11:24:27 GMT
- request:
2021-09-13 14:25:30 +02:00
method: post
uri: https://api.stripe.com/v1/prices
body:
2021-09-13 14:25:30 +02:00
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-09-13 14:25:30 +02:00
- '{"last_request_metrics":{"request_id":"req_7d7f1XoQjkrWWk","request_duration_ms":872}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-09-13 14:25:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.3 p62 (2019-04-16)","platform":"x86_64-darwin18","engine":"ruby","publisher":"stripe","uname":"Darwin
MacBook-Pro-Sleede-Peng 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33
PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64","hostname":"MacBook-Pro-Sleede-Peng"}'
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-09-13 14:25:30 +02:00
- Mon, 13 Sep 2021 11:24:28 GMT
Content-Type:
- application/json
Content-Length:
2021-09-13 14:25:30 +02:00
- '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
Request-Id:
2021-09-13 14:25:30 +02:00
- req_Lp30w3Uspkg793
Stripe-Version:
- '2019-08-14'
X-Stripe-C-Cost:
- '0'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
2021-09-13 14:25:30 +02:00
"id": "price_1JZDGx2sOmf47Nz9nUWex1u2",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631532267,
"currency": "usd",
"livemode": false,
2021-09-13 14:25:30 +02:00
"lookup_key": null,
"metadata": {
},
2021-09-13 14:25:30 +02:00
"nickname": null,
"product": "prod_IZQAhb9nLu4jfN",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"trial_period_days": null,
"usage_type": "licensed"
},
2021-09-13 14:25:30 +02:00
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
}
2021-09-13 14:25:30 +02:00
recorded_at: Mon, 13 Sep 2021 11:24:28 GMT
- request:
2021-09-13 14:25:30 +02:00
method: post
uri: https://api.stripe.com/v1/prices
body:
2021-09-13 14:25:30 +02:00
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-09-13 14:25:30 +02:00
- '{"last_request_metrics":{"request_id":"req_Lp30w3Uspkg793","request_duration_ms":411}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-09-13 14:25:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.3 p62 (2019-04-16)","platform":"x86_64-darwin18","engine":"ruby","publisher":"stripe","uname":"Darwin
MacBook-Pro-Sleede-Peng 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33
PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64","hostname":"MacBook-Pro-Sleede-Peng"}'
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-09-13 14:25:30 +02:00
- Mon, 13 Sep 2021 11:24:28 GMT
Content-Type:
- application/json
Content-Length:
2021-09-13 14:25:30 +02:00
- '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
Request-Id:
2021-09-13 14:25:30 +02:00
- req_QoAEGxzt4tLOu8
Stripe-Version:
- '2019-08-14'
X-Stripe-C-Cost:
- '0'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
2021-09-13 14:25:30 +02:00
"id": "price_1JZDGy2sOmf47Nz9CZX0fiJ7",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631532268,
"currency": "usd",
"livemode": false,
2021-09-13 14:25:30 +02:00
"lookup_key": null,
"metadata": {
},
2021-09-13 14:25:30 +02:00
"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-09-13 14:25:30 +02:00
recorded_at: Mon, 13 Sep 2021 11:24:28 GMT
- request:
method: post
2021-09-13 14:25:30 +02:00
uri: https://api.stripe.com/v1/subscriptions
body:
encoding: UTF-8
2021-09-13 14:25:30 +02:00
string: customer=cus_8Di1wjdVktv5kt&cancel_at=1663068267&add_invoice_items[0][price]=price_1JZDGy2sOmf47Nz9CZX0fiJ7&items[0][price]=price_1JZDGx2sOmf47Nz9nUWex1u2&default_payment_method=pm_1JZDGv2sOmf47Nz9SM0WLRa7&expand[0]=latest_invoice.payment_intent
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-09-13 14:25:30 +02:00
- '{"last_request_metrics":{"request_id":"req_QoAEGxzt4tLOu8","request_duration_ms":360}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-09-13 14:25:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.3 p62 (2019-04-16)","platform":"x86_64-darwin18","engine":"ruby","publisher":"stripe","uname":"Darwin
MacBook-Pro-Sleede-Peng 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33
PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64","hostname":"MacBook-Pro-Sleede-Peng"}'
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-09-13 14:25:30 +02:00
- Mon, 13 Sep 2021 11:24:31 GMT
Content-Type:
- application/json
Content-Length:
2021-09-13 14:25:30 +02:00
- '15536'
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:
2021-09-13 14:25:30 +02:00
- req_eaFvvEpIyvK3kw
Stripe-Version:
- '2019-08-14'
X-Stripe-C-Cost:
2021-09-13 14:25:30 +02:00
- '10'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
2021-09-13 14:25:30 +02:00
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJzdWJfS0RlYVZqN3lZbDB0YVEiLAogICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICJhdXRvbWF0aWNfdGF4IjogewogICAgImVuYWJsZWQiOiBmYWxzZQogIH0sCiAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJiaWxsaW5nX2N5Y2xlX2FuY2hvciI6IDE2MzE1MzIyNjgsCiAgImJpbGxpbmdfdGhyZXNob2xkcyI6IG51bGwsCiAgImNhbmNlbF9hdCI6IDE2NjMwNjgyNjcsCiAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogZmFsc2UsCiAgImNhbmNlbGVkX2F0IjogMTYzMTUzMjI2OCwKICAiY29sbGVjdGlvbl9tZXRob2QiOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJjcmVhdGVkIjogMTYzMTUzMjI2OCwKICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTYzNDEyNDI2OCwKICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNjMxNTMyMjY4LAogICJjdXN0b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICJkYXlzX3VudGlsX2R1ZSI6IG51bGwsCiAgImRlZmF1bHRfcGF5bWVudF9tZXRob2QiOiAicG1fMUpaREd2MnNPbWY0N056OVNNMFdMUmE3IiwKICAiZGVmYXVsdF9zb3VyY2UiOiBudWxsLAogICJkZWZhdWx0X3RheF9yYXRlcyI6IFsKCiAgXSwKICAiZGlzY291bnQiOiBudWxsLAogICJlbmRlZF9hdCI6IG51bGwsCiAgImludm9pY2VfY3VzdG9tZXJfYmFsYW5jZV9zZXR0aW5ncyI6IHsKICAgICJjb25zdW1lX2FwcGxpZWRfYmFsYW5jZV9vbl92b2lkIjogdHJ1ZQogIH0sCiAgIml0ZW1zIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogInNpX0tEZWFreDNKcDc1cm9ZIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiYmlsbGluZ190aHJlc2hvbGRzIjogbnVsbCwKICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIyNjksCiAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgIH0sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAicHJpY2VfMUpaREd4MnNPbWY0N056OW5VV2V4MXUyIiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgImFtb3VudCI6IDk0NjYsCiAgICAgICAgICAiYW1vdW50X2RlY2ltYWwiOiAiOTQ2NiIsCiAgICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjY3LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICB9LAogICAgICAgICJwcmljZSI6IHsKICAgICAgICAgICJpZCI6ICJwcmljZV8xSlpER3gyc09tZjQ3Tno5blVXZXgxdTIiLAogICAgICAgICAgIm9iamVjdCI6ICJwcmljZSIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIyNjcsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgImxvb2t1cF9rZXkiOiBudWxsLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJyZWN1cnJpbmciOiB7CiAgICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICAgIH0sCiAgICAgICAgICAidGF4X2JlaGF2aW9yIjogInVuc3BlY2lmaWVkIiwKICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICJ0cmFuc2Zvcm1fcXVhbnRpdHkiOiBudWxsLAogICAgICAgICAgInR5cGUiOiAicmVjdXJyaW5nIiwKICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDk0NjYsCiAgICAgICAgICAidW5pdF9hbW91bnRfZGVjaW1hbCI6ICI5NDY2IgogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9LRGVhVmo3eVlsMHRhUSIsCiAgICAgICAgInRheF9yYXRlcyI6IFsKCiAgICAgICAgXQogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfS0RlYVZqN3lZbDB0YVEiCiAgfSwKICAibGF0ZXN0X2ludm9pY2UiOiB7CiAgICAiaWQiOiAiaW5fMUpaREd5MnNPbWY0N056OTFwWTFtV2VtIiwKICAgICJvYmplY3QiOiAiaW52b2ljZSIsCiAgICAiYWNjb3VudF9jb3VudHJ5IjogIkZSIiwKICAgICJhY2NvdW50X25hbWUiOiAiU2xlZWRlIiwKICAgICJhY2NvdW50X3RheF9pZHMiOiBudWxsLAogICAgImFtb3VudF9kdWUiOiA5NDc0LAogICAgImFtb3VudF9wYWlkIjogOTQ3NCwKICAgICJhbW91bnRfcmVtYWluaW5nIjogMCwKICAgICJhcHBsaWNhdGlvbl9mZWVfYW1vdW50Ijo
recorded_at: Mon, 13 Sep 2021 11:24:31 GMT
- request:
2021-09-13 14:25:30 +02:00
method: get
uri: https://api.stripe.com/v1/subscriptions/sub_KDeaVj7yYl0taQ
body:
2021-09-13 14:25:30 +02:00
encoding: US-ASCII
string: ''
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-09-13 14:25:30 +02:00
- '{"last_request_metrics":{"request_id":"req_eaFvvEpIyvK3kw","request_duration_ms":2855}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-09-13 14:25:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.3 p62 (2019-04-16)","platform":"x86_64-darwin18","engine":"ruby","publisher":"stripe","uname":"Darwin
MacBook-Pro-Sleede-Peng 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33
PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64","hostname":"MacBook-Pro-Sleede-Peng"}'
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-09-13 14:25:30 +02:00
- Mon, 13 Sep 2021 11:24:31 GMT
Content-Type:
- application/json
Content-Length:
2021-09-13 14:25:30 +02:00
- '3906'
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:
2021-09-13 14:25:30 +02:00
- req_Sia4d0lvmHnOFD
Stripe-Version:
- '2019-08-14'
X-Stripe-C-Cost:
- '0'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
2021-09-13 14:25:30 +02:00
"id": "sub_KDeaVj7yYl0taQ",
"object": "subscription",
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
"billing_cycle_anchor": 1631532268,
"billing_thresholds": null,
"cancel_at": 1663068267,
"cancel_at_period_end": false,
"canceled_at": 1631532268,
"collection_method": "charge_automatically",
"created": 1631532268,
"current_period_end": 1634124268,
"current_period_start": 1631532268,
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
"default_payment_method": "pm_1JZDGv2sOmf47Nz9SM0WLRa7",
"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": [
{
"id": "si_KDeakx3Jp75roY",
"object": "subscription_item",
"billing_thresholds": null,
"created": 1631532269,
"metadata": {
},
"plan": {
"id": "price_1JZDGx2sOmf47Nz9nUWex1u2",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631532267,
"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": {
"id": "price_1JZDGx2sOmf47Nz9nUWex1u2",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1631532267,
"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,
"subscription": "sub_KDeaVj7yYl0taQ",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_KDeaVj7yYl0taQ"
},
"latest_invoice": "in_1JZDGy2sOmf47Nz91pY1mWem",
"livemode": false,
"metadata": {
},
2021-09-13 14:25:30 +02:00
"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": {
"id": "price_1JZDGx2sOmf47Nz9nUWex1u2",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
"created": 1631532267,
"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,
"start": 1631532268,
"start_date": 1631532268,
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
}
2021-09-13 14:25:30 +02:00
recorded_at: Mon, 13 Sep 2021 11:24:31 GMT
- request:
2021-09-13 14:25:30 +02:00
method: get
uri: https://api.stripe.com/v1/subscriptions/sub_KDeaVj7yYl0taQ
body:
2021-09-13 14:25:30 +02:00
encoding: US-ASCII
string: ''
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-09-13 14:25:30 +02:00
- '{"last_request_metrics":{"request_id":"req_Sia4d0lvmHnOFD","request_duration_ms":329}}'
Stripe-Version:
- '2019-08-14'
X-Stripe-Client-User-Agent:
2021-09-13 14:25:30 +02:00
- '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.3 p62 (2019-04-16)","platform":"x86_64-darwin18","engine":"ruby","publisher":"stripe","uname":"Darwin
MacBook-Pro-Sleede-Peng 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33
PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64","hostname":"MacBook-Pro-Sleede-Peng"}'
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-09-13 14:25:30 +02:00
- Mon, 13 Sep 2021 11:24:32 GMT
Content-Type:
- application/json
Content-Length:
2021-09-13 14:25:30 +02:00
- '3906'
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:
2021-09-13 14:25:30 +02:00
- req_ff4C1pdGb6nknP
Stripe-Version:
- '2019-08-14'
X-Stripe-C-Cost:
2021-09-13 14:25:30 +02:00
- '0'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
2021-09-13 14:25:30 +02:00
"id": "sub_KDeaVj7yYl0taQ",
"object": "subscription",
"application_fee_percent": null,
2021-09-13 14:25:30 +02:00
"automatic_tax": {
"enabled": false
},
"billing": "charge_automatically",
2021-09-13 14:25:30 +02:00
"billing_cycle_anchor": 1631532268,
"billing_thresholds": null,
2021-09-13 14:25:30 +02:00
"cancel_at": 1663068267,
"cancel_at_period_end": false,
2021-09-13 14:25:30 +02:00
"canceled_at": 1631532268,
"collection_method": "charge_automatically",
2021-09-13 14:25:30 +02:00
"created": 1631532268,
"current_period_end": 1634124268,
"current_period_start": 1631532268,
"customer": "cus_8Di1wjdVktv5kt",
"days_until_due": null,
2021-09-13 14:25:30 +02:00
"default_payment_method": "pm_1JZDGv2sOmf47Nz9SM0WLRa7",
"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-09-13 14:25:30 +02:00
"id": "si_KDeakx3Jp75roY",
"object": "subscription_item",
"billing_thresholds": null,
2021-09-13 14:25:30 +02:00
"created": 1631532269,
"metadata": {
},
"plan": {
2021-09-13 14:25:30 +02:00
"id": "price_1JZDGx2sOmf47Nz9nUWex1u2",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-09-13 14:25:30 +02:00
"created": 1631532267,
"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-09-13 14:25:30 +02:00
"id": "price_1JZDGx2sOmf47Nz9nUWex1u2",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
2021-09-13 14:25:30 +02:00
"created": 1631532267,
"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"
},
2021-09-13 14:25:30 +02:00
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 9466,
"unit_amount_decimal": "9466"
},
"quantity": 1,
2021-09-13 14:25:30 +02:00
"subscription": "sub_KDeaVj7yYl0taQ",
"tax_rates": [
]
}
],
"has_more": false,
"total_count": 1,
2021-09-13 14:25:30 +02:00
"url": "/v1/subscription_items?subscription=sub_KDeaVj7yYl0taQ"
},
2021-09-13 14:25:30 +02:00
"latest_invoice": "in_1JZDGy2sOmf47Nz91pY1mWem",
"livemode": false,
"metadata": {
},
"next_pending_invoice_item_invoice": null,
"pause_collection": null,
2021-09-13 14:25:30 +02:00
"payment_settings": {
"payment_method_options": null,
"payment_method_types": null
},
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"pending_update": null,
"plan": {
2021-09-13 14:25:30 +02:00
"id": "price_1JZDGx2sOmf47Nz9nUWex1u2",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 9466,
"amount_decimal": "9466",
"billing_scheme": "per_unit",
2021-09-13 14:25:30 +02:00
"created": 1631532267,
"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-09-13 14:25:30 +02:00
"start": 1631532268,
"start_date": 1631532268,
"status": "active",
"tax_percent": null,
"transfer_data": null,
"trial_end": null,
"trial_start": null
}
2021-09-13 14:25:30 +02:00
recorded_at: Mon, 13 Sep 2021 11:24:32 GMT
recorded_with: VCR 6.0.0