mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-03 14:24:23 +01:00
2497 lines
111 KiB
YAML
2497 lines
111 KiB
YAML
---
|
|
http_interactions:
|
|
- request:
|
|
method: post
|
|
uri: https://api.stripe.com/v1/payment_methods
|
|
body:
|
|
encoding: UTF-8
|
|
string: type=card&card[number]=4242424242424242&card[exp_month]=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:
|
|
- '{"last_request_metrics":{"request_id":"req_UNSBmHJmCC5Mk4","request_duration_ms":665}}'
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-Client-User-Agent:
|
|
- '{"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:
|
|
- Mon, 13 Sep 2021 11:24:25 GMT
|
|
Content-Type:
|
|
- application/json
|
|
Content-Length:
|
|
- '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:
|
|
- req_S1TuYcKn9g6p3Q
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-C-Cost:
|
|
- '6'
|
|
Strict-Transport-Security:
|
|
- max-age=31556926; includeSubDomains; preload
|
|
body:
|
|
encoding: UTF-8
|
|
string: |
|
|
{
|
|
"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": {
|
|
},
|
|
"type": "card"
|
|
}
|
|
recorded_at: Mon, 13 Sep 2021 11:24:25 GMT
|
|
- request:
|
|
method: post
|
|
uri: https://api.stripe.com/v1/payment_methods/pm_1JZDGv2sOmf47Nz9SM0WLRa7/attach
|
|
body:
|
|
encoding: UTF-8
|
|
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:
|
|
- '{"last_request_metrics":{"request_id":"req_S1TuYcKn9g6p3Q","request_duration_ms":648}}'
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-Client-User-Agent:
|
|
- '{"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:
|
|
- Mon, 13 Sep 2021 11:24:26 GMT
|
|
Content-Type:
|
|
- application/json
|
|
Content-Length:
|
|
- '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:
|
|
- req_TlXd8Njb8JNAL2
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-C-Cost:
|
|
- '6'
|
|
Strict-Transport-Security:
|
|
- max-age=31556926; includeSubDomains; preload
|
|
body:
|
|
encoding: UTF-8
|
|
string: |
|
|
{
|
|
"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": "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
|
|
},
|
|
"created": 1631532265,
|
|
"customer": "cus_8Di1wjdVktv5kt",
|
|
"livemode": false,
|
|
"metadata": {
|
|
},
|
|
"type": "card"
|
|
}
|
|
recorded_at: Mon, 13 Sep 2021 11:24:26 GMT
|
|
- request:
|
|
method: post
|
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
|
body:
|
|
encoding: UTF-8
|
|
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:
|
|
- '{"last_request_metrics":{"request_id":"req_TlXd8Njb8JNAL2","request_duration_ms":848}}'
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-Client-User-Agent:
|
|
- '{"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:
|
|
- Mon, 13 Sep 2021 11:24:27 GMT
|
|
Content-Type:
|
|
- application/json
|
|
Content-Length:
|
|
- '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:
|
|
- req_7d7f1XoQjkrWWk
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-C-Cost:
|
|
- '0'
|
|
Strict-Transport-Security:
|
|
- max-age=31556926; includeSubDomains; preload
|
|
body:
|
|
encoding: UTF-8
|
|
string: |
|
|
{
|
|
"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": {
|
|
},
|
|
"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"
|
|
},
|
|
"tax_info": null,
|
|
"tax_info_verification": null
|
|
}
|
|
recorded_at: Mon, 13 Sep 2021 11:24:27 GMT
|
|
- request:
|
|
method: post
|
|
uri: https://api.stripe.com/v1/prices
|
|
body:
|
|
encoding: UTF-8
|
|
string: unit_amount=9466¤cy=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:
|
|
- '{"last_request_metrics":{"request_id":"req_7d7f1XoQjkrWWk","request_duration_ms":872}}'
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-Client-User-Agent:
|
|
- '{"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:
|
|
- Mon, 13 Sep 2021 11:24:28 GMT
|
|
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
|
|
Request-Id:
|
|
- 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: |
|
|
{
|
|
"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"
|
|
}
|
|
recorded_at: Mon, 13 Sep 2021 11:24:28 GMT
|
|
- request:
|
|
method: post
|
|
uri: https://api.stripe.com/v1/prices
|
|
body:
|
|
encoding: UTF-8
|
|
string: unit_amount=8¤cy=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:
|
|
- '{"last_request_metrics":{"request_id":"req_Lp30w3Uspkg793","request_duration_ms":411}}'
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-Client-User-Agent:
|
|
- '{"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:
|
|
- Mon, 13 Sep 2021 11:24:28 GMT
|
|
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
|
|
Request-Id:
|
|
- 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: |
|
|
{
|
|
"id": "price_1JZDGy2sOmf47Nz9CZX0fiJ7",
|
|
"object": "price",
|
|
"active": true,
|
|
"billing_scheme": "per_unit",
|
|
"created": 1631532268,
|
|
"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"
|
|
}
|
|
recorded_at: Mon, 13 Sep 2021 11:24:28 GMT
|
|
- request:
|
|
method: post
|
|
uri: https://api.stripe.com/v1/subscriptions
|
|
body:
|
|
encoding: UTF-8
|
|
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:
|
|
- '{"last_request_metrics":{"request_id":"req_QoAEGxzt4tLOu8","request_duration_ms":360}}'
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-Client-User-Agent:
|
|
- '{"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:
|
|
- Mon, 13 Sep 2021 11:24:31 GMT
|
|
Content-Type:
|
|
- application/json
|
|
Content-Length:
|
|
- '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:
|
|
- req_eaFvvEpIyvK3kw
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-C-Cost:
|
|
- '10'
|
|
Strict-Transport-Security:
|
|
- max-age=31556926; includeSubDomains; preload
|
|
body:
|
|
encoding: ASCII-8BIT
|
|
string: !binary |-
|
|
ewogICJpZCI6ICJzdWJfS0RlYVZqN3lZbDB0YVEiLAogICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICJhdXRvbWF0aWNfdGF4IjogewogICAgImVuYWJsZWQiOiBmYWxzZQogIH0sCiAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJiaWxsaW5nX2N5Y2xlX2FuY2hvciI6IDE2MzE1MzIyNjgsCiAgImJpbGxpbmdfdGhyZXNob2xkcyI6IG51bGwsCiAgImNhbmNlbF9hdCI6IDE2NjMwNjgyNjcsCiAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogZmFsc2UsCiAgImNhbmNlbGVkX2F0IjogMTYzMTUzMjI2OCwKICAiY29sbGVjdGlvbl9tZXRob2QiOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJjcmVhdGVkIjogMTYzMTUzMjI2OCwKICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTYzNDEyNDI2OCwKICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNjMxNTMyMjY4LAogICJjdXN0b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICJkYXlzX3VudGlsX2R1ZSI6IG51bGwsCiAgImRlZmF1bHRfcGF5bWVudF9tZXRob2QiOiAicG1fMUpaREd2MnNPbWY0N056OVNNMFdMUmE3IiwKICAiZGVmYXVsdF9zb3VyY2UiOiBudWxsLAogICJkZWZhdWx0X3RheF9yYXRlcyI6IFsKCiAgXSwKICAiZGlzY291bnQiOiBudWxsLAogICJlbmRlZF9hdCI6IG51bGwsCiAgImludm9pY2VfY3VzdG9tZXJfYmFsYW5jZV9zZXR0aW5ncyI6IHsKICAgICJjb25zdW1lX2FwcGxpZWRfYmFsYW5jZV9vbl92b2lkIjogdHJ1ZQogIH0sCiAgIml0ZW1zIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogInNpX0tEZWFreDNKcDc1cm9ZIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiYmlsbGluZ190aHJlc2hvbGRzIjogbnVsbCwKICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIyNjksCiAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgIH0sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAicHJpY2VfMUpaREd4MnNPbWY0N056OW5VV2V4MXUyIiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgImFtb3VudCI6IDk0NjYsCiAgICAgICAgICAiYW1vdW50X2RlY2ltYWwiOiAiOTQ2NiIsCiAgICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjY3LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICB9LAogICAgICAgICJwcmljZSI6IHsKICAgICAgICAgICJpZCI6ICJwcmljZV8xSlpER3gyc09tZjQ3Tno5blVXZXgxdTIiLAogICAgICAgICAgIm9iamVjdCI6ICJwcmljZSIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIyNjcsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgImxvb2t1cF9rZXkiOiBudWxsLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJyZWN1cnJpbmciOiB7CiAgICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICAgIH0sCiAgICAgICAgICAidGF4X2JlaGF2aW9yIjogInVuc3BlY2lmaWVkIiwKICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICJ0cmFuc2Zvcm1fcXVhbnRpdHkiOiBudWxsLAogICAgICAgICAgInR5cGUiOiAicmVjdXJyaW5nIiwKICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDk0NjYsCiAgICAgICAgICAidW5pdF9hbW91bnRfZGVjaW1hbCI6ICI5NDY2IgogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9LRGVhVmo3eVlsMHRhUSIsCiAgICAgICAgInRheF9yYXRlcyI6IFsKCiAgICAgICAgXQogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfS0RlYVZqN3lZbDB0YVEiCiAgfSwKICAibGF0ZXN0X2ludm9pY2UiOiB7CiAgICAiaWQiOiAiaW5fMUpaREd5MnNPbWY0N056OTFwWTFtV2VtIiwKICAgICJvYmplY3QiOiAiaW52b2ljZSIsCiAgICAiYWNjb3VudF9jb3VudHJ5IjogIkZSIiwKICAgICJhY2NvdW50X25hbWUiOiAiU2xlZWRlIiwKICAgICJhY2NvdW50X3RheF9pZHMiOiBudWxsLAogICAgImFtb3VudF9kdWUiOiA5NDc0LAogICAgImFtb3VudF9wYWlkIjogOTQ3NCwKICAgICJhbW91bnRfcmVtYWluaW5nIjogMCwKICAgICJhcHBsaWNhdGlvbl9mZWVfYW1vdW50IjogbnVsbCwKICAgICJhdHRlbXB0X2NvdW50IjogMSwKICAgICJhdHRlbXB0ZWQiOiB0cnVlLAogICAgImF1dG9fYWR2YW5jZSI6IGZhbHNlLAogICAgImF1dG9tYXRpY190YXgiOiB7CiAgICAgICJlbmFibGVkIjogZmFsc2UsCiAgICAgICJzdGF0dXMiOiBudWxsCiAgICB9LAogICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgImJpbGxpbmdfcmVhc29uIjogInN1YnNjcmlwdGlvbl9jcmVhdGUiLAogICAgImNoYXJnZSI6ICJjaF8zSlpER3oyc09tZjQ3Tno5MTl4djVrUWMiLAogICAgImNvbGxlY3Rpb25fbWV0aG9kIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICJjcmVhdGVkIjogMTYzMTUzMjI2OCwKICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgImN1c3RvbV9maWVsZHMiOiBudWxsLAogICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAiY3VzdG9tZXJfYWRkcmVzcyI6IG51bGwsCiAgICAiY3VzdG9tZXJfZW1haWwiOiAiamVhbi5kdXBvbmRAZ21haWwuY29tIiwKICAgICJjdXN0b21lcl9uYW1lIjogbnVsbCwKICAgICJjdXN0b21lcl9waG9uZSI6IG51bGwsCiAgICAiY3VzdG9tZXJfc2hpcHBpbmciOiBudWxsLAogICAgImN1c3RvbWVyX3RheF9leGVtcHQiOiAibm9uZSIsCiAgICAiY3VzdG9tZXJfdGF4X2lkcyI6IFsKCiAgICBdLAogICAgImRlZmF1bHRfcGF5bWVudF9tZXRob2QiOiBudWxsLAogICAgImRlZmF1bHRfc291cmNlIjogbnVsbCwKICAgICJkZWZhdWx0X3RheF9yYXRlcyI6IFsKCiAgICBdLAogICAgImRlc2NyaXB0aW9uIjogbnVsbCwKICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAiZGlzY291bnRzIjogWwoKICAgIF0sCiAgICAiZHVlX2RhdGUiOiBudWxsLAogICAgImVuZGluZ19iYWxhbmNlIjogMCwKICAgICJmb290ZXIiOiBudWxsLAogICAgImhvc3RlZF9pbnZvaWNlX3VybCI6ICJodHRwczovL2ludm9pY2Uuc3RyaXBlLmNvbS9pL2FjY3RfMTAzckU2MnNPbWY0N056OS9pbnZzdF9LRGVhWnZyZEdHcFBpeHlEektySllIa0FuS1JMZ0d1IiwKICAgICJpbnZvaWNlX3BkZiI6ICJodHRwczovL3BheS5zdHJpcGUuY29tL2ludm9pY2UvYWNjdF8xMDNyRTYyc09tZjQ3Tno5L2ludnN0X0tEZWFadnJkR0dwUGl4eUR6S3JKWUhrQW5LUkxnR3UvcGRmIiwKICAgICJsYXN0X2ZpbmFsaXphdGlvbl9lcnJvciI6IG51bGwsCiAgICAibGluZXMiOiB7CiAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAgICJkYXRhIjogWwogICAgICAgIHsKICAgICAgICAgICJpZCI6ICJpaV8xSlpER3kyc09tZjQ3Tno5dDBuZDdwVHQiLAogICAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgImFtb3VudCI6IDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJBYm9ubmVtZW50IG1lbnN1YWxpc2FibGUgLSBzdGFuZGFyZCwgYXNzb2NpYXRpb24sIHllYXIiLAogICAgICAgICAgImRpc2NvdW50X2Ftb3VudHMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICAgImRpc2NvdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgImludm9pY2VfaXRlbSI6ICJpaV8xSlpER3kyc09tZjQ3Tno5dDBuZDdwVHQiLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgICB9LAogICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgImVuZCI6IDE2MzQxMjQyNjgsCiAgICAgICAgICAgICJzdGFydCI6IDE2MzE1MzIyNjgKICAgICAgICAgIH0sCiAgICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAgICAicHJpY2UiOiB7CiAgICAgICAgICAgICJpZCI6ICJwcmljZV8xSlpER3kyc09tZjQ3Tno5Q1pYMGZpSjciLAogICAgICAgICAgICAib2JqZWN0IjogInByaWNlIiwKICAgICAgICAgICAgImFjdGl2ZSI6IHRydWUsCiAgICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAgICJjcmVhdGVkIjogMTYzMTUzMjI2OCwKICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAibG9va3VwX2tleSI6IG51bGwsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIm5pY2tuYW1lIjogIlByaWNlIGFkanVzdG1lbnQgZm9yIHBheW1lbnQgc2NoZWR1bGUiLAogICAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICAgInJlY3VycmluZyI6IG51bGwsCiAgICAgICAgICAgICJ0YXhfYmVoYXZpb3IiOiAidW5zcGVjaWZpZWQiLAogICAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAgICJ0cmFuc2Zvcm1fcXVhbnRpdHkiOiBudWxsLAogICAgICAgICAgICAidHlwZSI6ICJvbmVfdGltZSIsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDgsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudF9kZWNpbWFsIjogIjgiCiAgICAgICAgICB9LAogICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0tEZWFWajd5WWwwdGFRIiwKICAgICAgICAgICJ0YXhfYW1vdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgInRheF9yYXRlcyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgInR5cGUiOiAiaW52b2ljZWl0ZW0iLAogICAgICAgICAgInVuaXF1ZV9pZCI6ICJpbF8xSlpER3kyc09tZjQ3Tno5cDdtYnl0TEwiCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAiaWQiOiAic2xpXzE5YzNlYTJzT21mNDdOejk0M2E4YzkzZCIsCiAgICAgICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgICAiYW1vdW50IjogOTQ2NiwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImRlc2NyaXB0aW9uIjogIjEgw5cgQWJvbm5lbWVudCBtZW5zdWFsaXNhYmxlIC0gc3RhbmRhcmQsIGFzc29jaWF0aW9uLCB5ZWFyIChhdCAkOTQuNjYgLyBtb250aCkiLAogICAgICAgICAgImRpc2NvdW50X2Ftb3VudHMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICAgImRpc2NvdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgICB9LAogICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgImVuZCI6IDE2MzQxMjQyNjgsCiAgICAgICAgICAgICJzdGFydCI6IDE2MzE1MzIyNjgKICAgICAgICAgIH0sCiAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICAgImlkIjogInByaWNlXzFKWkRHeDJzT21mNDdOejluVVdleDF1MiIsCiAgICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAgICJhY3RpdmUiOiB0cnVlLAogICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICAgImFtb3VudCI6IDk0NjYsCiAgICAgICAgICAgICJhbW91bnRfZGVjaW1hbCI6ICI5NDY2IiwKICAgICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjY3LAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIm5pY2tuYW1lIjogbnVsbCwKICAgICAgICAgICAgInByb2R1Y3QiOiAicHJvZF9JWlFBaGI5bkx1NGpmTiIsCiAgICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogICAgICAgICAgfSwKICAgICAgICAgICJwcmljZSI6IHsKICAgICAgICAgICAgImlkIjogInByaWNlXzFKWkRHeDJzT21mNDdOejluVVdleDF1MiIsCiAgICAgICAgICAgICJvYmplY3QiOiAicHJpY2UiLAogICAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjY3LAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICJsb29rdXBfa2V5IjogbnVsbCwKICAgICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAibmlja25hbWUiOiBudWxsLAogICAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICAgInJlY3VycmluZyI6IHsKICAgICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAgICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInRheF9iZWhhdmlvciI6ICJ1bnNwZWNpZmllZCIsCiAgICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICAgInRyYW5zZm9ybV9xdWFudGl0eSI6IG51bGwsCiAgICAgICAgICAgICJ0eXBlIjogInJlY3VycmluZyIsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDk0NjYsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudF9kZWNpbWFsIjogIjk0NjYiCiAgICAgICAgICB9LAogICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0tEZWFWajd5WWwwdGFRIiwKICAgICAgICAgICJzdWJzY3JpcHRpb25faXRlbSI6ICJzaV9LRGVha3gzSnA3NXJvWSIsCiAgICAgICAgICAidGF4X2Ftb3VudHMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJ0YXhfcmF0ZXMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJ0eXBlIjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgICAidW5pcXVlX2lkIjogImlsXzFKWkRHeTJzT21mNDdOejljNnpmN0tmTCIKICAgICAgICB9CiAgICAgIF0sCiAgICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAidG90YWxfY291bnQiOiAyLAogICAgICAidXJsIjogIi92MS9pbnZvaWNlcy9pbl8xSlpER3kyc09tZjQ3Tno5MXBZMW1XZW0vbGluZXMiCiAgICB9LAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7CiAgICB9LAogICAgIm5leHRfcGF5bWVudF9hdHRlbXB0IjogbnVsbCwKICAgICJudW1iZXIiOiAiQzBFNjYxQy0xMjU0IiwKICAgICJvbl9iZWhhbGZfb2YiOiBudWxsLAogICAgInBhaWQiOiB0cnVlLAogICAgInBheW1lbnRfaW50ZW50IjogewogICAgICAiaWQiOiAicGlfM0paREd6MnNPbWY0N056OTF3b2lPMThjIiwKICAgICAgIm9iamVjdCI6ICJwYXltZW50X2ludGVudCIsCiAgICAgICJhbW91bnQiOiA5NDc0LAogICAgICAiYW1vdW50X2NhcHR1cmFibGUiOiAwLAogICAgICAiYW1vdW50X3JlY2VpdmVkIjogOTQ3NCwKICAgICAgImFwcGxpY2F0aW9uIjogbnVsbCwKICAgICAgImFwcGxpY2F0aW9uX2ZlZV9hbW91bnQiOiBudWxsLAogICAgICAiY2FuY2VsZWRfYXQiOiBudWxsLAogICAgICAiY2FuY2VsbGF0aW9uX3JlYXNvbiI6IG51bGwsCiAgICAgICJjYXB0dXJlX21ldGhvZCI6ICJhdXRvbWF0aWMiLAogICAgICAiY2hhcmdlcyI6IHsKICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICJkYXRhIjogWwogICAgICAgICAgewogICAgICAgICAgICAiaWQiOiAiY2hfM0paREd6MnNPbWY0N056OTE5eHY1a1FjIiwKICAgICAgICAgICAgIm9iamVjdCI6ICJjaGFyZ2UiLAogICAgICAgICAgICAiYW1vdW50IjogOTQ3NCwKICAgICAgICAgICAgImFtb3VudF9jYXB0dXJlZCI6IDk0NzQsCiAgICAgICAgICAgICJhbW91bnRfcmVmdW5kZWQiOiAwLAogICAgICAgICAgICAiYXBwbGljYXRpb24iOiBudWxsLAogICAgICAgICAgICAiYXBwbGljYXRpb25fZmVlIjogbnVsbCwKICAgICAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9hbW91bnQiOiBudWxsLAogICAgICAgICAgICAiYmFsYW5jZV90cmFuc2FjdGlvbiI6ICJ0eG5fM0paREd6MnNPbWY0N056OTFsMkltMTVQIiwKICAgICAgICAgICAgImJpbGxpbmdfZGV0YWlscyI6IHsKICAgICAgICAgICAgICAiYWRkcmVzcyI6IHsKICAgICAgICAgICAgICAgICJjaXR5IjogbnVsbCwKICAgICAgICAgICAgICAgICJjb3VudHJ5IjogbnVsbCwKICAgICAgICAgICAgICAgICJsaW5lMSI6IG51bGwsCiAgICAgICAgICAgICAgICAibGluZTIiOiBudWxsLAogICAgICAgICAgICAgICAgInBvc3RhbF9jb2RlIjogbnVsbCwKICAgICAgICAgICAgICAgICJzdGF0ZSI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJlbWFpbCI6IG51bGwsCiAgICAgICAgICAgICAgIm5hbWUiOiBudWxsLAogICAgICAgICAgICAgICJwaG9uZSI6IG51bGwKICAgICAgICAgICAgfSwKICAgICAgICAgICAgImNhbGN1bGF0ZWRfc3RhdGVtZW50X2Rlc2NyaXB0b3IiOiAiU3RyaXBlIiwKICAgICAgICAgICAgImNhcHR1cmVkIjogdHJ1ZSwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjY5LAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJTdWJzY3JpcHRpb24gY3JlYXRpb24iLAogICAgICAgICAgICAiZGVzdGluYXRpb24iOiBudWxsLAogICAgICAgICAgICAiZGlzcHV0ZSI6IG51bGwsCiAgICAgICAgICAgICJkaXNwdXRlZCI6IGZhbHNlLAogICAgICAgICAgICAiZmFpbHVyZV9jb2RlIjogbnVsbCwKICAgICAgICAgICAgImZhaWx1cmVfbWVzc2FnZSI6IG51bGwsCiAgICAgICAgICAgICJmcmF1ZF9kZXRhaWxzIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAiaW52b2ljZSI6ICJpbl8xSlpER3kyc09tZjQ3Tno5MXBZMW1XZW0iLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAib25fYmVoYWxmX29mIjogbnVsbCwKICAgICAgICAgICAgIm9yZGVyIjogbnVsbCwKICAgICAgICAgICAgIm91dGNvbWUiOiB7CiAgICAgICAgICAgICAgIm5ldHdvcmtfc3RhdHVzIjogImFwcHJvdmVkX2J5X25ldHdvcmsiLAogICAgICAgICAgICAgICJyZWFzb24iOiBudWxsLAogICAgICAgICAgICAgICJyaXNrX2xldmVsIjogIm5vcm1hbCIsCiAgICAgICAgICAgICAgInJpc2tfc2NvcmUiOiA5LAogICAgICAgICAgICAgICJzZWxsZXJfbWVzc2FnZSI6ICJQYXltZW50IGNvbXBsZXRlLiIsCiAgICAgICAgICAgICAgInR5cGUiOiAiYXV0aG9yaXplZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInBhaWQiOiB0cnVlLAogICAgICAgICAgICAicGF5bWVudF9pbnRlbnQiOiAicGlfM0paREd6MnNPbWY0N056OTF3b2lPMThjIiwKICAgICAgICAgICAgInBheW1lbnRfbWV0aG9kIjogInBtXzFKWkRHdjJzT21mNDdOejlTTTBXTFJhNyIsCiAgICAgICAgICAgICJwYXltZW50X21ldGhvZF9kZXRhaWxzIjogewogICAgICAgICAgICAgICJjYXJkIjogewogICAgICAgICAgICAgICAgImJyYW5kIjogInZpc2EiLAogICAgICAgICAgICAgICAgImNoZWNrcyI6IHsKICAgICAgICAgICAgICAgICAgImFkZHJlc3NfbGluZTFfY2hlY2siOiBudWxsLAogICAgICAgICAgICAgICAgICAiYWRkcmVzc19wb3N0YWxfY29kZV9jaGVjayI6IG51bGwsCiAgICAgICAgICAgICAgICAgICJjdmNfY2hlY2siOiAicGFzcyIKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAiY291bnRyeSI6ICJVUyIsCiAgICAgICAgICAgICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAgICAgICAgICJleHBfeWVhciI6IDIwMjIsCiAgICAgICAgICAgICAgICAiZmluZ2VycHJpbnQiOiAibzUyanliUjdibm1ObjZBVCIsCiAgICAgICAgICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICAgICAgICAgImluc3RhbGxtZW50cyI6IG51bGwsCiAgICAgICAgICAgICAgICAibGFzdDQiOiAiNDI0MiIsCiAgICAgICAgICAgICAgICAibmV0d29yayI6ICJ2aXNhIiwKICAgICAgICAgICAgICAgICJ0aHJlZV9kX3NlY3VyZSI6IG51bGwsCiAgICAgICAgICAgICAgICAid2FsbGV0IjogbnVsbAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgInR5cGUiOiAiY2FyZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInJlY2VpcHRfZW1haWwiOiBudWxsLAogICAgICAgICAgICAicmVjZWlwdF9udW1iZXIiOiBudWxsLAogICAgICAgICAgICAicmVjZWlwdF91cmwiOiAiaHR0cHM6Ly9wYXkuc3RyaXBlLmNvbS9yZWNlaXB0cy9hY2N0XzEwM3JFNjJzT21mNDdOejkvY2hfM0paREd6MnNPbWY0N056OTE5eHY1a1FjL3JjcHRfS0RlYUt3RmxWOGhCVDFsSm1JY3pkYklxYXBDQkV0QSIsCiAgICAgICAgICAgICJyZWZ1bmRlZCI6IGZhbHNlLAogICAgICAgICAgICAicmVmdW5kcyI6IHsKICAgICAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAgICAgICJkYXRhIjogWwoKICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDAsCiAgICAgICAgICAgICAgInVybCI6ICIvdjEvY2hhcmdlcy9jaF8zSlpER3oyc09tZjQ3Tno5MTl4djVrUWMvcmVmdW5kcyIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInJldmlldyI6IG51bGwsCiAgICAgICAgICAgICJzaGlwcGluZyI6IG51bGwsCiAgICAgICAgICAgICJzb3VyY2UiOiBudWxsLAogICAgICAgICAgICAic291cmNlX3RyYW5zZmVyIjogbnVsbCwKICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yX3N1ZmZpeCI6IG51bGwsCiAgICAgICAgICAgICJzdGF0dXMiOiAic3VjY2VlZGVkIiwKICAgICAgICAgICAgInRyYW5zZmVyX2RhdGEiOiBudWxsLAogICAgICAgICAgICAidHJhbnNmZXJfZ3JvdXAiOiBudWxsCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICJ1cmwiOiAiL3YxL2NoYXJnZXM/cGF5bWVudF9pbnRlbnQ9cGlfM0paREd6MnNPbWY0N056OTF3b2lPMThjIgogICAgICB9LAogICAgICAiY2xpZW50X3NlY3JldCI6ICJwaV8zSlpER3oyc09tZjQ3Tno5MXdvaU8xOGNfc2VjcmV0XzBYWXFrU0d6R3g5M1kwRVNPVmN0bG1obXEiLAogICAgICAiY29uZmlybWF0aW9uX21ldGhvZCI6ICJhdXRvbWF0aWMiLAogICAgICAiY3JlYXRlZCI6IDE2MzE1MzIyNjksCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhEaTF3amRWa3R2NWt0IiwKICAgICAgImRlc2NyaXB0aW9uIjogIlN1YnNjcmlwdGlvbiBjcmVhdGlvbiIsCiAgICAgICJpbnZvaWNlIjogImluXzFKWkRHeTJzT21mNDdOejkxcFkxbVdlbSIsCiAgICAgICJsYXN0X3BheW1lbnRfZXJyb3IiOiBudWxsLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjogewogICAgICB9LAogICAgICAibmV4dF9hY3Rpb24iOiBudWxsLAogICAgICAib25fYmVoYWxmX29mIjogbnVsbCwKICAgICAgInBheW1lbnRfbWV0aG9kIjogInBtXzFKWkRHdjJzT21mNDdOejlTTTBXTFJhNyIsCiAgICAgICJwYXltZW50X21ldGhvZF9vcHRpb25zIjogewogICAgICAgICJjYXJkIjogewogICAgICAgICAgImluc3RhbGxtZW50cyI6IG51bGwsCiAgICAgICAgICAibmV0d29yayI6IG51bGwsCiAgICAgICAgICAicmVxdWVzdF90aHJlZV9kX3NlY3VyZSI6ICJhdXRvbWF0aWMiCiAgICAgICAgfQogICAgICB9LAogICAgICAicGF5bWVudF9tZXRob2RfdHlwZXMiOiBbCiAgICAgICAgImNhcmQiCiAgICAgIF0sCiAgICAgICJyZWNlaXB0X2VtYWlsIjogbnVsbCwKICAgICAgInJldmlldyI6IG51bGwsCiAgICAgICJzZXR1cF9mdXR1cmVfdXNhZ2UiOiAib2ZmX3Nlc3Npb24iLAogICAgICAic2hpcHBpbmciOiBudWxsLAogICAgICAic291cmNlIjogbnVsbCwKICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yX3N1ZmZpeCI6IG51bGwsCiAgICAgICJzdGF0dXMiOiAic3VjY2VlZGVkIiwKICAgICAgInRyYW5zZmVyX2RhdGEiOiBudWxsLAogICAgICAidHJhbnNmZXJfZ3JvdXAiOiBudWxsCiAgICB9LAogICAgInBheW1lbnRfc2V0dGluZ3MiOiB7CiAgICAgICJwYXltZW50X21ldGhvZF9vcHRpb25zIjogbnVsbCwKICAgICAgInBheW1lbnRfbWV0aG9kX3R5cGVzIjogbnVsbAogICAgfSwKICAgICJwZXJpb2RfZW5kIjogMTYzMTUzMjI2OCwKICAgICJwZXJpb2Rfc3RhcnQiOiAxNjMxNTMyMjY4LAogICAgInBvc3RfcGF5bWVudF9jcmVkaXRfbm90ZXNfYW1vdW50IjogMCwKICAgICJwcmVfcGF5bWVudF9jcmVkaXRfbm90ZXNfYW1vdW50IjogMCwKICAgICJxdW90ZSI6IG51bGwsCiAgICAicmVjZWlwdF9udW1iZXIiOiBudWxsLAogICAgInN0YXJ0aW5nX2JhbGFuY2UiOiAwLAogICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICJzdGF0dXMiOiAicGFpZCIsCiAgICAic3RhdHVzX3RyYW5zaXRpb25zIjogewogICAgICAiZmluYWxpemVkX2F0IjogMTYzMTUzMjI2OCwKICAgICAgIm1hcmtlZF91bmNvbGxlY3RpYmxlX2F0IjogbnVsbCwKICAgICAgInBhaWRfYXQiOiAxNjMxNTMyMjY4LAogICAgICAidm9pZGVkX2F0IjogbnVsbAogICAgfSwKICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0tEZWFWajd5WWwwdGFRIiwKICAgICJzdWJ0b3RhbCI6IDk0NzQsCiAgICAidGF4IjogbnVsbCwKICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAidG90YWwiOiA5NDc0LAogICAgInRvdGFsX2Rpc2NvdW50X2Ftb3VudHMiOiBbCgogICAgXSwKICAgICJ0b3RhbF90YXhfYW1vdW50cyI6IFsKCiAgICBdLAogICAgInRyYW5zZmVyX2RhdGEiOiBudWxsLAogICAgIndlYmhvb2tzX2RlbGl2ZXJlZF9hdCI6IDE2MzE1MzIyNjgKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0YSI6IHsKICB9LAogICJuZXh0X3BlbmRpbmdfaW52b2ljZV9pdGVtX2ludm9pY2UiOiBudWxsLAogICJwYXVzZV9jb2xsZWN0aW9uIjogbnVsbCwKICAicGF5bWVudF9zZXR0aW5ncyI6IHsKICAgICJwYXltZW50X21ldGhvZF9vcHRpb25zIjogbnVsbCwKICAgICJwYXltZW50X21ldGhvZF90eXBlcyI6IG51bGwKICB9LAogICJwZW5kaW5nX2ludm9pY2VfaXRlbV9pbnRlcnZhbCI6IG51bGwsCiAgInBlbmRpbmdfc2V0dXBfaW50ZW50IjogbnVsbCwKICAicGVuZGluZ191cGRhdGUiOiBudWxsLAogICJwbGFuIjogewogICAgImlkIjogInByaWNlXzFKWkRHeDJzT21mNDdOejluVVdleDF1MiIsCiAgICAib2JqZWN0IjogInBsYW4iLAogICAgImFjdGl2ZSI6IHRydWUsCiAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICJhbW91bnQiOiA5NDY2LAogICAgImFtb3VudF9kZWNpbWFsIjogIjk0NjYiLAogICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICJjcmVhdGVkIjogMTYzMTUzMjI2NywKICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICJtZXRhZGF0YSI6IHsKICAgIH0sCiAgICAibmlja25hbWUiOiBudWxsLAogICAgInByb2R1Y3QiOiAicHJvZF9JWlFBaGI5bkx1NGpmTiIsCiAgICAidGllcnMiOiBudWxsLAogICAgInRpZXJzX21vZGUiOiBudWxsLAogICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgInVzYWdlX3R5cGUiOiAibGljZW5zZWQiCiAgfSwKICAicXVhbnRpdHkiOiAxLAogICJzY2hlZHVsZSI6IG51bGwsCiAgInN0YXJ0IjogMTYzMTUzMjI2OCwKICAic3RhcnRfZGF0ZSI6IDE2MzE1MzIyNjgsCiAgInN0YXR1cyI6ICJhY3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRyYW5zZmVyX2RhdGEiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBudWxsLAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
|
|
recorded_at: Mon, 13 Sep 2021 11:24:31 GMT
|
|
- request:
|
|
method: get
|
|
uri: https://api.stripe.com/v1/subscriptions/sub_KDeaVj7yYl0taQ
|
|
body:
|
|
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:
|
|
- '{"last_request_metrics":{"request_id":"req_eaFvvEpIyvK3kw","request_duration_ms":2855}}'
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-Client-User-Agent:
|
|
- '{"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:
|
|
- Mon, 13 Sep 2021 11:24:31 GMT
|
|
Content-Type:
|
|
- application/json
|
|
Content-Length:
|
|
- '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:
|
|
- 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: |
|
|
{
|
|
"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": {
|
|
},
|
|
"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
|
|
}
|
|
recorded_at: Mon, 13 Sep 2021 11:24:31 GMT
|
|
- request:
|
|
method: get
|
|
uri: https://api.stripe.com/v1/subscriptions/sub_KDeaVj7yYl0taQ
|
|
body:
|
|
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:
|
|
- '{"last_request_metrics":{"request_id":"req_Sia4d0lvmHnOFD","request_duration_ms":329}}'
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-Client-User-Agent:
|
|
- '{"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:
|
|
- Mon, 13 Sep 2021 11:24:32 GMT
|
|
Content-Type:
|
|
- application/json
|
|
Content-Length:
|
|
- '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:
|
|
- req_ff4C1pdGb6nknP
|
|
Stripe-Version:
|
|
- '2019-08-14'
|
|
X-Stripe-C-Cost:
|
|
- '0'
|
|
Strict-Transport-Security:
|
|
- max-age=31556926; includeSubDomains; preload
|
|
body:
|
|
encoding: UTF-8
|
|
string: |
|
|
{
|
|
"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": {
|
|
},
|
|
"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
|
|
}
|
|
recorded_at: Mon, 13 Sep 2021 11:24:32 GMT
|
|
recorded_with: VCR 6.0.0
|