2021-06-11 14:29:30 +02:00
|
|
|
---
|
|
|
|
http_interactions:
|
|
|
|
- request:
|
|
|
|
method: post
|
2021-09-13 14:25:30 +02:00
|
|
|
uri: https://api.stripe.com/v1/payment_methods
|
2021-06-11 14:29:30 +02:00
|
|
|
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
|
2021-06-11 14:29:30 +02:00
|
|
|
headers:
|
|
|
|
User-Agent:
|
|
|
|
- Stripe/v1 RubyBindings/5.29.0
|
|
|
|
Authorization:
|
|
|
|
- Bearer sk_test_testfaketestfaketestfake
|
|
|
|
Content-Type:
|
|
|
|
- application/x-www-form-urlencoded
|
|
|
|
X-Stripe-Client-Telemetry:
|
2021-09-13 14:25:30 +02:00
|
|
|
- '{"last_request_metrics":{"request_id":"req_rJM7Tj1DPqPulJ","request_duration_ms":555}}'
|
2021-06-11 14:29:30 +02:00
|
|
|
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"}'
|
2021-06-11 14:29:30 +02:00
|
|
|
Accept-Encoding:
|
|
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
|
|
Accept:
|
|
|
|
- "*/*"
|
|
|
|
response:
|
|
|
|
status:
|
|
|
|
code: 200
|
|
|
|
message: OK
|
|
|
|
headers:
|
|
|
|
Server:
|
|
|
|
- nginx
|
|
|
|
Date:
|
2021-09-13 14:25:30 +02:00
|
|
|
- Mon, 13 Sep 2021 11:25:58 GMT
|
2021-06-11 14:29:30 +02:00
|
|
|
Content-Type:
|
|
|
|
- application/json
|
|
|
|
Content-Length:
|
2021-09-13 14:25:30 +02:00
|
|
|
- '934'
|
2021-06-11 14:29:30 +02:00
|
|
|
Connection:
|
|
|
|
- keep-alive
|
|
|
|
Access-Control-Allow-Credentials:
|
|
|
|
- 'true'
|
|
|
|
Access-Control-Allow-Methods:
|
|
|
|
- GET, POST, HEAD, OPTIONS, DELETE
|
|
|
|
Access-Control-Allow-Origin:
|
|
|
|
- "*"
|
|
|
|
Access-Control-Expose-Headers:
|
|
|
|
- Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
|
|
|
Access-Control-Max-Age:
|
|
|
|
- '300'
|
|
|
|
Cache-Control:
|
|
|
|
- no-cache, no-store
|
|
|
|
Request-Id:
|
2021-09-13 14:25:30 +02:00
|
|
|
- req_5QA3Vs0mjOZJaE
|
2021-06-11 14:29:30 +02:00
|
|
|
Stripe-Version:
|
|
|
|
- '2019-08-14'
|
|
|
|
X-Stripe-C-Cost:
|
2021-09-13 14:25:30 +02:00
|
|
|
- '6'
|
2021-06-11 14:29:30 +02:00
|
|
|
Strict-Transport-Security:
|
|
|
|
- max-age=31556926; includeSubDomains; preload
|
|
|
|
body:
|
|
|
|
encoding: UTF-8
|
|
|
|
string: |
|
|
|
|
{
|
2021-09-13 14:25:30 +02:00
|
|
|
"id": "pm_1JZDIP2sOmf47Nz9RVtJc1dz",
|
|
|
|
"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": 1631532357,
|
|
|
|
"customer": null,
|
2021-06-11 14:29:30 +02:00
|
|
|
"livemode": false,
|
|
|
|
"metadata": {
|
|
|
|
},
|
2021-09-13 14:25:30 +02:00
|
|
|
"type": "card"
|
2021-06-11 14:29:30 +02:00
|
|
|
}
|
2021-09-13 14:25:30 +02:00
|
|
|
recorded_at: Mon, 13 Sep 2021 11:25:58 GMT
|
2021-06-11 14:29:30 +02:00
|
|
|
- request:
|
|
|
|
method: post
|
2021-09-13 14:25:30 +02:00
|
|
|
uri: https://api.stripe.com/v1/payment_methods/pm_1JZDIP2sOmf47Nz9RVtJc1dz/attach
|
2021-06-11 14:29:30 +02:00
|
|
|
body:
|
|
|
|
encoding: UTF-8
|
2021-09-13 14:25:30 +02:00
|
|
|
string: customer=cus_8Di1wjdVktv5kt
|
2021-06-11 14:29:30 +02:00
|
|
|
headers:
|
|
|
|
User-Agent:
|
|
|
|
- Stripe/v1 RubyBindings/5.29.0
|
|
|
|
Authorization:
|
|
|
|
- Bearer sk_test_testfaketestfaketestfake
|
|
|
|
Content-Type:
|
|
|
|
- application/x-www-form-urlencoded
|
|
|
|
X-Stripe-Client-Telemetry:
|
2021-09-13 14:25:30 +02:00
|
|
|
- '{"last_request_metrics":{"request_id":"req_5QA3Vs0mjOZJaE","request_duration_ms":775}}'
|
2021-06-11 14:29:30 +02:00
|
|
|
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"}'
|
2021-06-11 14:29:30 +02:00
|
|
|
Accept-Encoding:
|
|
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
|
|
Accept:
|
|
|
|
- "*/*"
|
|
|
|
response:
|
|
|
|
status:
|
|
|
|
code: 200
|
|
|
|
message: OK
|
|
|
|
headers:
|
|
|
|
Server:
|
|
|
|
- nginx
|
|
|
|
Date:
|
2021-09-13 14:25:30 +02:00
|
|
|
- Mon, 13 Sep 2021 11:25:59 GMT
|
2021-06-11 14:29:30 +02:00
|
|
|
Content-Type:
|
|
|
|
- application/json
|
|
|
|
Content-Length:
|
2021-09-13 14:25:30 +02:00
|
|
|
- '945'
|
2021-06-11 14:29:30 +02:00
|
|
|
Connection:
|
|
|
|
- keep-alive
|
|
|
|
Access-Control-Allow-Credentials:
|
|
|
|
- 'true'
|
|
|
|
Access-Control-Allow-Methods:
|
|
|
|
- GET, POST, HEAD, OPTIONS, DELETE
|
|
|
|
Access-Control-Allow-Origin:
|
|
|
|
- "*"
|
|
|
|
Access-Control-Expose-Headers:
|
|
|
|
- Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
|
|
|
Access-Control-Max-Age:
|
|
|
|
- '300'
|
|
|
|
Cache-Control:
|
|
|
|
- no-cache, no-store
|
|
|
|
Request-Id:
|
2021-09-13 14:25:30 +02:00
|
|
|
- req_gtZABiHBPbKflR
|
2021-06-11 14:29:30 +02:00
|
|
|
Stripe-Version:
|
|
|
|
- '2019-08-14'
|
|
|
|
X-Stripe-C-Cost:
|
2021-09-13 14:25:30 +02:00
|
|
|
- '6'
|
2021-06-11 14:29:30 +02:00
|
|
|
Strict-Transport-Security:
|
|
|
|
- max-age=31556926; includeSubDomains; preload
|
|
|
|
body:
|
|
|
|
encoding: UTF-8
|
|
|
|
string: |
|
|
|
|
{
|
2021-09-13 14:25:30 +02:00
|
|
|
"id": "pm_1JZDIP2sOmf47Nz9RVtJc1dz",
|
2021-06-11 14:29:30 +02:00
|
|
|
"object": "payment_method",
|
|
|
|
"billing_details": {
|
|
|
|
"address": {
|
|
|
|
"city": null,
|
|
|
|
"country": null,
|
|
|
|
"line1": null,
|
|
|
|
"line2": null,
|
|
|
|
"postal_code": null,
|
|
|
|
"state": null
|
|
|
|
},
|
|
|
|
"email": null,
|
|
|
|
"name": null,
|
|
|
|
"phone": null
|
|
|
|
},
|
|
|
|
"card": {
|
|
|
|
"brand": "visa",
|
|
|
|
"checks": {
|
|
|
|
"address_line1_check": null,
|
|
|
|
"address_postal_code_check": null,
|
2021-09-13 14:25:30 +02:00
|
|
|
"cvc_check": "pass"
|
2021-06-11 14:29:30 +02:00
|
|
|
},
|
|
|
|
"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": 1631532357,
|
|
|
|
"customer": "cus_8Di1wjdVktv5kt",
|
2021-06-11 14:29:30 +02:00
|
|
|
"livemode": false,
|
|
|
|
"metadata": {
|
|
|
|
},
|
|
|
|
"type": "card"
|
|
|
|
}
|
2021-09-13 14:25:30 +02:00
|
|
|
recorded_at: Mon, 13 Sep 2021 11:25:59 GMT
|
2021-06-11 14:29:30 +02:00
|
|
|
- request:
|
|
|
|
method: post
|
2021-09-13 14:25:30 +02:00
|
|
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
2021-06-11 14:29:30 +02:00
|
|
|
body:
|
|
|
|
encoding: UTF-8
|
2021-09-13 14:25:30 +02:00
|
|
|
string: invoice_settings[default_payment_method]=pm_1JZDIP2sOmf47Nz9RVtJc1dz
|
2021-06-11 14:29:30 +02:00
|
|
|
headers:
|
|
|
|
User-Agent:
|
|
|
|
- Stripe/v1 RubyBindings/5.29.0
|
|
|
|
Authorization:
|
|
|
|
- Bearer sk_test_testfaketestfaketestfake
|
|
|
|
Content-Type:
|
|
|
|
- application/x-www-form-urlencoded
|
|
|
|
X-Stripe-Client-Telemetry:
|
2021-09-13 14:25:30 +02:00
|
|
|
- '{"last_request_metrics":{"request_id":"req_gtZABiHBPbKflR","request_duration_ms":798}}'
|
2021-06-11 14:29:30 +02:00
|
|
|
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"}'
|
2021-06-11 14:29:30 +02:00
|
|
|
Accept-Encoding:
|
|
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
|
|
Accept:
|
|
|
|
- "*/*"
|
|
|
|
response:
|
|
|
|
status:
|
|
|
|
code: 200
|
|
|
|
message: OK
|
|
|
|
headers:
|
|
|
|
Server:
|
|
|
|
- nginx
|
|
|
|
Date:
|
2021-09-13 14:25:30 +02:00
|
|
|
- Mon, 13 Sep 2021 11:25:59 GMT
|
2021-06-11 14:29:30 +02:00
|
|
|
Content-Type:
|
|
|
|
- application/json
|
|
|
|
Content-Length:
|
2021-09-13 14:25:30 +02:00
|
|
|
- '49679'
|
2021-06-11 14:29:30 +02:00
|
|
|
Connection:
|
|
|
|
- keep-alive
|
|
|
|
Access-Control-Allow-Credentials:
|
|
|
|
- 'true'
|
|
|
|
Access-Control-Allow-Methods:
|
|
|
|
- GET, POST, HEAD, OPTIONS, DELETE
|
|
|
|
Access-Control-Allow-Origin:
|
|
|
|
- "*"
|
|
|
|
Access-Control-Expose-Headers:
|
|
|
|
- Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
|
|
|
Access-Control-Max-Age:
|
|
|
|
- '300'
|
|
|
|
Cache-Control:
|
|
|
|
- no-cache, no-store
|
|
|
|
Request-Id:
|
2021-09-13 14:25:30 +02:00
|
|
|
- req_KtSIM4xEmlSjVF
|
2021-06-11 14:29:30 +02:00
|
|
|
Stripe-Version:
|
|
|
|
- '2019-08-14'
|
|
|
|
X-Stripe-C-Cost:
|
2021-09-13 14:25:30 +02:00
|
|
|
- '0'
|
2021-06-11 14:29:30 +02:00
|
|
|
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_1JZDIP2sOmf47Nz9RVtJc1dz",
|
|
|
|
"footer": null
|
|
|
|
},
|
2021-06-11 14:29:30 +02:00
|
|
|
"livemode": false,
|
|
|
|
"metadata": {
|
|
|
|
},
|
2021-09-13 14:25:30 +02:00
|
|
|
"name": null,
|
|
|
|
"next_invoice_sequence": 1256,
|
|
|
|
"phone": null,
|
|
|
|
"preferred_locales": [
|
|
|
|
|
2021-06-11 14:29:30 +02:00
|
|
|
],
|
2021-09-13 14:25:30 +02:00
|
|
|
"shipping": null,
|
|
|
|
"sources": {
|
|
|
|
"object": "list",
|
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"id": "card_1Euc972sOmf47Nz9kex4UjRG",
|
|
|
|
"object": "card",
|
|
|
|
"address_city": null,
|
|
|
|
"address_country": null,
|
|
|
|
"address_line1": null,
|
|
|
|
"address_line1_check": null,
|
|
|
|
"address_line2": null,
|
|
|
|
"address_state": null,
|
|
|
|
"address_zip": null,
|
|
|
|
"address_zip_check": null,
|
|
|
|
"brand": "Visa",
|
|
|
|
"country": "US",
|
|
|
|
"customer": "cus_8Di1wjdVktv5kt",
|
|
|
|
"cvc_check": "unchecked",
|
|
|
|
"dynamic_last4": null,
|
|
|
|
"exp_month": 4,
|
|
|
|
"exp_year": 2020,
|
|
|
|
"fingerprint": "o52jybR7bnmNn6AT",
|
|
|
|
"funding": "credit",
|
|
|
|
"last4": "4242",
|
|
|
|
"metadata": {
|
|
|
|
},
|
|
|
|
"name": null,
|
|
|
|
"tokenization_method": null
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false,
|
|
|
|
"total_count": 1,
|
|
|
|
"url": "/v1/customers/cus_8Di1wjdVktv5kt/sources"
|
|
|
|
},
|
|
|
|
"subscriptions": {
|
|
|
|
"object": "list",
|
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"id": "sub_KDeatKq0nLrE5s",
|
|
|
|
"object": "subscription",
|
|
|
|
"application_fee_percent": null,
|
|
|
|
"automatic_tax": {
|
|
|
|
"enabled": false
|
|
|
|
},
|
|
|
|
"billing": "charge_automatically",
|
|
|
|
"billing_cycle_anchor": 1631532298,
|
|
|
|
"billing_thresholds": null,
|
|
|
|
"cancel_at": 1663068297,
|
|
|
|
"cancel_at_period_end": false,
|
|
|
|
"canceled_at": 1631532298,
|
|
|
|
"collection_method": "charge_automatically",
|
|
|
|
"created": 1631532298,
|
|
|
|
"current_period_end": 1634124298,
|
|
|
|
"current_period_start": 1631532298,
|
|
|
|
"customer": "cus_8Di1wjdVktv5kt",
|
|
|
|
"days_until_due": null,
|
|
|
|
"default_payment_method": "pm_1JZDHP2sOmf47Nz9SPvppX4K",
|
|
|
|
"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_KDea7Zt4pCFPCd",
|
|
|
|
"object": "subscription_item",
|
|
|
|
"billing_thresholds": null,
|
|
|
|
"created": 1631532299,
|
|
|
|
"metadata": {
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "price_1JZDHR2sOmf47Nz9BWE3ZEvx",
|
|
|
|
"object": "plan",
|
|
|
|
"active": true,
|
|
|
|
"aggregate_usage": null,
|
|
|
|
"amount": 9466,
|
|
|
|
"amount_decimal": "9466",
|
|
|
|
"billing_scheme": "per_unit",
|
|
|
|
"created": 1631532297,
|
|
|
|
"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_1JZDHR2sOmf47Nz9BWE3ZEvx",
|
|
|
|
"object": "price",
|
|
|
|
"active": true,
|
|
|
|
"billing_scheme": "per_unit",
|
|
|
|
"created": 1631532297,
|
|
|
|
"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_KDeatKq0nLrE5s",
|
|
|
|
"tax_rates": [
|
|
|
|
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false,
|
|
|
|
"total_count": 1,
|
|
|
|
"url": "/v1/subscription_items?subscription=sub_KDeatKq0nLrE5s"
|
|
|
|
},
|
|
|
|
"latest_invoice": "in_1JZDHS2sOmf47Nz95wa1736E",
|
|
|
|
"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_1JZDHR2sOmf47Nz9BWE3ZEvx",
|
|
|
|
"object": "plan",
|
|
|
|
"active": true,
|
|
|
|
"aggregate_usage": null,
|
|
|
|
"amount": 9466,
|
|
|
|
"amount_decimal": "9466",
|
|
|
|
"billing_scheme": "per_unit",
|
|
|
|
"created": 1631532297,
|
|
|
|
"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": 1631532298,
|
|
|
|
"start_date": 1631532298,
|
|
|
|
"status": "active",
|
|
|
|
"tax_percent": null,
|
|
|
|
"transfer_data": null,
|
|
|
|
"trial_end": null,
|
|
|
|
"trial_start": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": true,
|
|
|
|
"total_count": 194,
|
|
|
|
"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:25:59 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_KtSIM4xEmlSjVF","request_duration_ms":882}}'
|
|
|
|
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:26:00 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_CTdZ26DV6i168a
|
|
|
|
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_1JZDIS2sOmf47Nz9jK6fXjAN",
|
|
|
|
"object": "price",
|
|
|
|
"active": true,
|
|
|
|
"billing_scheme": "per_unit",
|
|
|
|
"created": 1631532360,
|
|
|
|
"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:26:00 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_CTdZ26DV6i168a","request_duration_ms":413}}'
|
|
|
|
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:26:00 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_k5JtsidTxaKgry
|
|
|
|
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_1JZDIS2sOmf47Nz970bn4iqE",
|
|
|
|
"object": "price",
|
|
|
|
"active": true,
|
|
|
|
"billing_scheme": "per_unit",
|
|
|
|
"created": 1631532360,
|
|
|
|
"currency": "usd",
|
|
|
|
"livemode": false,
|
|
|
|
"lookup_key": null,
|
|
|
|
"metadata": {
|
|
|
|
},
|
|
|
|
"nickname": "Price adjustment for payment schedule",
|
|
|
|
"product": "prod_IZQAhb9nLu4jfN",
|
|
|
|
"recurring": null,
|
|
|
|
"tax_behavior": "unspecified",
|
|
|
|
"tiers_mode": null,
|
|
|
|
"transform_quantity": null,
|
|
|
|
"type": "one_time",
|
|
|
|
"unit_amount": 8,
|
|
|
|
"unit_amount_decimal": "8"
|
2021-06-11 14:29:30 +02:00
|
|
|
}
|
2021-09-13 14:25:30 +02:00
|
|
|
recorded_at: Mon, 13 Sep 2021 11:26:00 GMT
|
|
|
|
- request:
|
|
|
|
method: post
|
|
|
|
uri: https://api.stripe.com/v1/subscriptions
|
|
|
|
body:
|
|
|
|
encoding: UTF-8
|
|
|
|
string: customer=cus_8Di1wjdVktv5kt&cancel_at=1663068360&add_invoice_items[0][price]=price_1JZDIS2sOmf47Nz970bn4iqE&items[0][price]=price_1JZDIS2sOmf47Nz9jK6fXjAN&default_payment_method=pm_1JZDIP2sOmf47Nz9RVtJc1dz&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_k5JtsidTxaKgry","request_duration_ms":370}}'
|
|
|
|
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:26:03 GMT
|
|
|
|
Content-Type:
|
|
|
|
- application/json
|
|
|
|
Content-Length:
|
|
|
|
- '15537'
|
|
|
|
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_a7Mf1FkHvSZmwg
|
|
|
|
Stripe-Version:
|
|
|
|
- '2019-08-14'
|
|
|
|
X-Stripe-C-Cost:
|
|
|
|
- '10'
|
|
|
|
Strict-Transport-Security:
|
|
|
|
- max-age=31556926; includeSubDomains; preload
|
|
|
|
body:
|
|
|
|
encoding: ASCII-8BIT
|
|
|
|
string: !binary |-
|
|
|
|
ewogICJpZCI6ICJzdWJfS0RlYlJjWXJlWFZVbkgiLAogICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICJhdXRvbWF0aWNfdGF4IjogewogICAgImVuYWJsZWQiOiBmYWxzZQogIH0sCiAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJiaWxsaW5nX2N5Y2xlX2FuY2hvciI6IDE2MzE1MzIzNjEsCiAgImJpbGxpbmdfdGhyZXNob2xkcyI6IG51bGwsCiAgImNhbmNlbF9hdCI6IDE2NjMwNjgzNjAsCiAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogZmFsc2UsCiAgImNhbmNlbGVkX2F0IjogMTYzMTUzMjM2MSwKICAiY29sbGVjdGlvbl9tZXRob2QiOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJjcmVhdGVkIjogMTYzMTUzMjM2MSwKICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTYzNDEyNDM2MSwKICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNjMxNTMyMzYxLAogICJjdXN0b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICJkYXlzX3VudGlsX2R1ZSI6IG51bGwsCiAgImRlZmF1bHRfcGF5bWVudF9tZXRob2QiOiAicG1fMUpaRElQMnNPbWY0N056OVJWdEpjMWR6IiwKICAiZGVmYXVsdF9zb3VyY2UiOiBudWxsLAogICJkZWZhdWx0X3RheF9yYXRlcyI6IFsKCiAgXSwKICAiZGlzY291bnQiOiBudWxsLAogICJlbmRlZF9hdCI6IG51bGwsCiAgImludm9pY2VfY3VzdG9tZXJfYmFsYW5jZV9zZXR0aW5ncyI6IHsKICAgICJjb25zdW1lX2FwcGxpZWRfYmFsYW5jZV9vbl92b2lkIjogdHJ1ZQogIH0sCiAgIml0ZW1zIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogInNpX0tEZWJVUjFLS0RVZlY2IiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiYmlsbGluZ190aHJlc2hvbGRzIjogbnVsbCwKICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIzNjEsCiAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgIH0sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAicHJpY2VfMUpaRElTMnNPbWY0N056OWpLNmZYakFOIiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgImFtb3VudCI6IDk0NjYsCiAgICAgICAgICAiYW1vdW50X2RlY2ltYWwiOiAiOTQ2NiIsCiAgICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMzYwLAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICB9LAogICAgICAgICJwcmljZSI6IHsKICAgICAgICAgICJpZCI6ICJwcmljZV8xSlpESVMyc09tZjQ3Tno5aks2ZlhqQU4iLAogICAgICAgICAgIm9iamVjdCI6ICJwcmljZSIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIzNjAsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgImxvb2t1cF9rZXkiOiBudWxsLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJyZWN1cnJpbmciOiB7CiAgICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICAgIH0sCiAgICAgICAgICAidGF4X2JlaGF2aW9yIjogInVuc3BlY2lmaWVkIiwKICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICJ0cmFuc2Zvcm1fcXVhbnRpdHkiOiBudWxsLAogICAgICAgICAgInR5cGUiOiAicmVjdXJyaW5nIiwKICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDk0NjYsCiAgICAgICAgICAidW5pdF9hbW91bnRfZGVjaW1hbCI6ICI5NDY2IgogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9LRGViUmNZcmVYVlVuSCIsCiAgICAgICAgInRheF9yYXRlcyI6IFsKCiAgICAgICAgXQogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfS0RlYlJjWXJlWFZVbkgiCiAgfSwKICAibGF0ZXN0X2ludm9pY2UiOiB7CiAgICAiaWQiOiAiaW5fMUpaRElUMnNPbWY0N056OWdWRGYwMk1UIiwKICAgICJvYmplY3QiOiAiaW52b2ljZSIsCiAgICAiYWNjb3VudF9jb3VudHJ5IjogIkZSIiwKICAgICJhY2NvdW50X25hbWUiOiAiU2xlZWRlIiwKICAgICJhY2NvdW50X3RheF9pZHMiOiBudWxsLAogICAgImFtb3VudF9kdWUiOiA5NDc0LAogICAgImFtb3VudF9wYWlkIjogOTQ3NCwKICAgICJhbW91bnRfcmVtYWluaW5nIjogMCwKICAgICJhcHBsaWNhdGlvbl9mZWVfYW1vdW50Ijo
|
|
|
|
recorded_at: Mon, 13 Sep 2021 11:26:03 GMT
|
2021-06-11 14:29:30 +02:00
|
|
|
- request:
|
|
|
|
method: get
|
2021-09-13 14:25:30 +02:00
|
|
|
uri: https://api.stripe.com/v1/subscriptions/sub_KDebRcYreXVUnH
|
2021-06-11 14:29:30 +02:00
|
|
|
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:
|
2021-09-13 14:25:30 +02:00
|
|
|
- '{"last_request_metrics":{"request_id":"req_a7Mf1FkHvSZmwg","request_duration_ms":2971}}'
|
2021-06-11 14:29:30 +02:00
|
|
|
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"}'
|
2021-06-11 14:29:30 +02:00
|
|
|
Accept-Encoding:
|
|
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
|
|
Accept:
|
|
|
|
- "*/*"
|
|
|
|
response:
|
|
|
|
status:
|
|
|
|
code: 200
|
|
|
|
message: OK
|
|
|
|
headers:
|
|
|
|
Server:
|
|
|
|
- nginx
|
|
|
|
Date:
|
2021-09-13 14:25:30 +02:00
|
|
|
- Mon, 13 Sep 2021 11:26:04 GMT
|
2021-06-11 14:29:30 +02:00
|
|
|
Content-Type:
|
|
|
|
- application/json
|
|
|
|
Content-Length:
|
2021-09-13 14:25:30 +02:00
|
|
|
- '3906'
|
2021-06-11 14:29:30 +02:00
|
|
|
Connection:
|
|
|
|
- keep-alive
|
|
|
|
Access-Control-Allow-Credentials:
|
|
|
|
- 'true'
|
|
|
|
Access-Control-Allow-Methods:
|
|
|
|
- GET, POST, HEAD, OPTIONS, DELETE
|
|
|
|
Access-Control-Allow-Origin:
|
|
|
|
- "*"
|
|
|
|
Access-Control-Expose-Headers:
|
|
|
|
- Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
|
|
|
|
Access-Control-Max-Age:
|
|
|
|
- '300'
|
|
|
|
Cache-Control:
|
|
|
|
- no-cache, no-store
|
|
|
|
Request-Id:
|
2021-09-13 14:25:30 +02:00
|
|
|
- req_dglssRgWgVS3VT
|
2021-06-11 14:29:30 +02:00
|
|
|
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_KDebRcYreXVUnH",
|
|
|
|
"object": "subscription",
|
|
|
|
"application_fee_percent": null,
|
|
|
|
"automatic_tax": {
|
|
|
|
"enabled": false
|
|
|
|
},
|
|
|
|
"billing": "charge_automatically",
|
|
|
|
"billing_cycle_anchor": 1631532361,
|
|
|
|
"billing_thresholds": null,
|
|
|
|
"cancel_at": 1663068360,
|
|
|
|
"cancel_at_period_end": false,
|
|
|
|
"canceled_at": 1631532361,
|
|
|
|
"collection_method": "charge_automatically",
|
|
|
|
"created": 1631532361,
|
|
|
|
"current_period_end": 1634124361,
|
|
|
|
"current_period_start": 1631532361,
|
2021-06-11 14:29:30 +02:00
|
|
|
"customer": "cus_8Di1wjdVktv5kt",
|
2021-09-13 14:25:30 +02:00
|
|
|
"days_until_due": null,
|
|
|
|
"default_payment_method": "pm_1JZDIP2sOmf47Nz9RVtJc1dz",
|
|
|
|
"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_KDebUR1KKDUfV6",
|
|
|
|
"object": "subscription_item",
|
|
|
|
"billing_thresholds": null,
|
|
|
|
"created": 1631532361,
|
|
|
|
"metadata": {
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "price_1JZDIS2sOmf47Nz9jK6fXjAN",
|
|
|
|
"object": "plan",
|
|
|
|
"active": true,
|
|
|
|
"aggregate_usage": null,
|
|
|
|
"amount": 9466,
|
|
|
|
"amount_decimal": "9466",
|
|
|
|
"billing_scheme": "per_unit",
|
|
|
|
"created": 1631532360,
|
|
|
|
"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_1JZDIS2sOmf47Nz9jK6fXjAN",
|
|
|
|
"object": "price",
|
|
|
|
"active": true,
|
|
|
|
"billing_scheme": "per_unit",
|
|
|
|
"created": 1631532360,
|
|
|
|
"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_KDebRcYreXVUnH",
|
|
|
|
"tax_rates": [
|
|
|
|
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false,
|
|
|
|
"total_count": 1,
|
|
|
|
"url": "/v1/subscription_items?subscription=sub_KDebRcYreXVUnH"
|
|
|
|
},
|
|
|
|
"latest_invoice": "in_1JZDIT2sOmf47Nz9gVDf02MT",
|
2021-06-11 14:29:30 +02:00
|
|
|
"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_1JZDIS2sOmf47Nz9jK6fXjAN",
|
|
|
|
"object": "plan",
|
|
|
|
"active": true,
|
|
|
|
"aggregate_usage": null,
|
|
|
|
"amount": 9466,
|
|
|
|
"amount_decimal": "9466",
|
|
|
|
"billing_scheme": "per_unit",
|
|
|
|
"created": 1631532360,
|
|
|
|
"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": 1631532361,
|
|
|
|
"start_date": 1631532361,
|
|
|
|
"status": "active",
|
|
|
|
"tax_percent": null,
|
|
|
|
"transfer_data": null,
|
|
|
|
"trial_end": null,
|
|
|
|
"trial_start": null
|
|
|
|
}
|
|
|
|
recorded_at: Mon, 13 Sep 2021 11:26:04 GMT
|
|
|
|
- request:
|
|
|
|
method: get
|
|
|
|
uri: https://api.stripe.com/v1/subscriptions/sub_KDebRcYreXVUnH
|
|
|
|
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_dglssRgWgVS3VT","request_duration_ms":341}}'
|
|
|
|
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:26:04 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_4eKLSCJepzbceC
|
|
|
|
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_KDebRcYreXVUnH",
|
|
|
|
"object": "subscription",
|
|
|
|
"application_fee_percent": null,
|
|
|
|
"automatic_tax": {
|
|
|
|
"enabled": false
|
2021-06-11 14:29:30 +02:00
|
|
|
},
|
2021-09-13 14:25:30 +02:00
|
|
|
"billing": "charge_automatically",
|
|
|
|
"billing_cycle_anchor": 1631532361,
|
|
|
|
"billing_thresholds": null,
|
|
|
|
"cancel_at": 1663068360,
|
|
|
|
"cancel_at_period_end": false,
|
|
|
|
"canceled_at": 1631532361,
|
|
|
|
"collection_method": "charge_automatically",
|
|
|
|
"created": 1631532361,
|
|
|
|
"current_period_end": 1634124361,
|
|
|
|
"current_period_start": 1631532361,
|
|
|
|
"customer": "cus_8Di1wjdVktv5kt",
|
|
|
|
"days_until_due": null,
|
|
|
|
"default_payment_method": "pm_1JZDIP2sOmf47Nz9RVtJc1dz",
|
|
|
|
"default_source": null,
|
|
|
|
"default_tax_rates": [
|
|
|
|
|
2021-06-11 14:29:30 +02:00
|
|
|
],
|
2021-09-13 14:25:30 +02:00
|
|
|
"discount": null,
|
|
|
|
"ended_at": null,
|
|
|
|
"invoice_customer_balance_settings": {
|
|
|
|
"consume_applied_balance_on_void": true
|
|
|
|
},
|
|
|
|
"items": {
|
|
|
|
"object": "list",
|
|
|
|
"data": [
|
|
|
|
{
|
|
|
|
"id": "si_KDebUR1KKDUfV6",
|
|
|
|
"object": "subscription_item",
|
|
|
|
"billing_thresholds": null,
|
|
|
|
"created": 1631532361,
|
|
|
|
"metadata": {
|
|
|
|
},
|
|
|
|
"plan": {
|
|
|
|
"id": "price_1JZDIS2sOmf47Nz9jK6fXjAN",
|
|
|
|
"object": "plan",
|
|
|
|
"active": true,
|
|
|
|
"aggregate_usage": null,
|
|
|
|
"amount": 9466,
|
|
|
|
"amount_decimal": "9466",
|
|
|
|
"billing_scheme": "per_unit",
|
|
|
|
"created": 1631532360,
|
|
|
|
"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_1JZDIS2sOmf47Nz9jK6fXjAN",
|
|
|
|
"object": "price",
|
|
|
|
"active": true,
|
|
|
|
"billing_scheme": "per_unit",
|
|
|
|
"created": 1631532360,
|
|
|
|
"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_KDebRcYreXVUnH",
|
|
|
|
"tax_rates": [
|
|
|
|
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"has_more": false,
|
|
|
|
"total_count": 1,
|
|
|
|
"url": "/v1/subscription_items?subscription=sub_KDebRcYreXVUnH"
|
|
|
|
},
|
|
|
|
"latest_invoice": "in_1JZDIT2sOmf47Nz9gVDf02MT",
|
|
|
|
"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_1JZDIS2sOmf47Nz9jK6fXjAN",
|
|
|
|
"object": "plan",
|
|
|
|
"active": true,
|
|
|
|
"aggregate_usage": null,
|
|
|
|
"amount": 9466,
|
|
|
|
"amount_decimal": "9466",
|
|
|
|
"billing_scheme": "per_unit",
|
|
|
|
"created": 1631532360,
|
|
|
|
"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": 1631532361,
|
|
|
|
"start_date": 1631532361,
|
|
|
|
"status": "active",
|
|
|
|
"tax_percent": null,
|
|
|
|
"transfer_data": null,
|
|
|
|
"trial_end": null,
|
|
|
|
"trial_start": null
|
2021-06-11 14:29:30 +02:00
|
|
|
}
|
2021-09-13 14:25:30 +02:00
|
|
|
recorded_at: Mon, 13 Sep 2021 11:26:04 GMT
|
2021-06-11 14:29:30 +02:00
|
|
|
recorded_with: VCR 6.0.0
|