--- 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_cgnARwO4Ev5LiK","request_duration_ms":473}}' 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:55 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_BmLy1x4bEq0d9C 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_1JZDHP2sOmf47Nz9SPvppX4K", "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": 1631532295, "customer": null, "livemode": false, "metadata": { }, "type": "card" } recorded_at: Mon, 13 Sep 2021 11:24:55 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods/pm_1JZDHP2sOmf47Nz9SPvppX4K/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_BmLy1x4bEq0d9C","request_duration_ms":654}}' 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:56 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_TapdvkF3Irgpu7 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_1JZDHP2sOmf47Nz9SPvppX4K", "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": 1631532295, "customer": "cus_8Di1wjdVktv5kt", "livemode": false, "metadata": { }, "type": "card" } recorded_at: Mon, 13 Sep 2021 11:24:56 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt body: encoding: UTF-8 string: invoice_settings[default_payment_method]=pm_1JZDHP2sOmf47Nz9SPvppX4K 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_TapdvkF3Irgpu7","request_duration_ms":780}}' 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:57 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_9iMWpoT1nVpoIU 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_1JZDHP2sOmf47Nz9SPvppX4K", "footer": null }, "livemode": false, "metadata": { }, "name": null, "next_invoice_sequence": 1255, "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_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 }, { "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 } ], "has_more": true, "total_count": 193, "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:57 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_9iMWpoT1nVpoIU","request_duration_ms":794}}' 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:57 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_69i7eMK7DjsJ2o 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_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" } recorded_at: Mon, 13 Sep 2021 11:24:57 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_69i7eMK7DjsJ2o","request_duration_ms":361}}' 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:58 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_HZ6s9sl0rYwzeu 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_1JZDHR2sOmf47Nz9YVSVuEB5", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1631532297, "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:58 GMT - request: method: post uri: https://api.stripe.com/v1/subscriptions body: encoding: UTF-8 string: customer=cus_8Di1wjdVktv5kt&cancel_at=1663068297&add_invoice_items[0][price]=price_1JZDHR2sOmf47Nz9YVSVuEB5&items[0][price]=price_1JZDHR2sOmf47Nz9BWE3ZEvx&default_payment_method=pm_1JZDHP2sOmf47Nz9SPvppX4K&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_HZ6s9sl0rYwzeu","request_duration_ms":372}}' 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:25:00 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_8wNmLSrKYQCC2n Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJzdWJfS0RlYXRLcTBuTHJFNXMiLAogICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICJhdXRvbWF0aWNfdGF4IjogewogICAgImVuYWJsZWQiOiBmYWxzZQogIH0sCiAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJiaWxsaW5nX2N5Y2xlX2FuY2hvciI6IDE2MzE1MzIyOTgsCiAgImJpbGxpbmdfdGhyZXNob2xkcyI6IG51bGwsCiAgImNhbmNlbF9hdCI6IDE2NjMwNjgyOTcsCiAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogZmFsc2UsCiAgImNhbmNlbGVkX2F0IjogMTYzMTUzMjI5OCwKICAiY29sbGVjdGlvbl9tZXRob2QiOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJjcmVhdGVkIjogMTYzMTUzMjI5OCwKICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTYzNDEyNDI5OCwKICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNjMxNTMyMjk4LAogICJjdXN0b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICJkYXlzX3VudGlsX2R1ZSI6IG51bGwsCiAgImRlZmF1bHRfcGF5bWVudF9tZXRob2QiOiAicG1fMUpaREhQMnNPbWY0N056OVNQdnBwWDRLIiwKICAiZGVmYXVsdF9zb3VyY2UiOiBudWxsLAogICJkZWZhdWx0X3RheF9yYXRlcyI6IFsKCiAgXSwKICAiZGlzY291bnQiOiBudWxsLAogICJlbmRlZF9hdCI6IG51bGwsCiAgImludm9pY2VfY3VzdG9tZXJfYmFsYW5jZV9zZXR0aW5ncyI6IHsKICAgICJjb25zdW1lX2FwcGxpZWRfYmFsYW5jZV9vbl92b2lkIjogdHJ1ZQogIH0sCiAgIml0ZW1zIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogInNpX0tEZWE3WnQ0cENGUENkIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiYmlsbGluZ190aHJlc2hvbGRzIjogbnVsbCwKICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIyOTksCiAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgIH0sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAicHJpY2VfMUpaREhSMnNPbWY0N056OUJXRTNaRXZ4IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgImFtb3VudCI6IDk0NjYsCiAgICAgICAgICAiYW1vdW50X2RlY2ltYWwiOiAiOTQ2NiIsCiAgICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjk3LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICB9LAogICAgICAgICJwcmljZSI6IHsKICAgICAgICAgICJpZCI6ICJwcmljZV8xSlpESFIyc09tZjQ3Tno5QldFM1pFdngiLAogICAgICAgICAgIm9iamVjdCI6ICJwcmljZSIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIyOTcsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgImxvb2t1cF9rZXkiOiBudWxsLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJyZWN1cnJpbmciOiB7CiAgICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICAgIH0sCiAgICAgICAgICAidGF4X2JlaGF2aW9yIjogInVuc3BlY2lmaWVkIiwKICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICJ0cmFuc2Zvcm1fcXVhbnRpdHkiOiBudWxsLAogICAgICAgICAgInR5cGUiOiAicmVjdXJyaW5nIiwKICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDk0NjYsCiAgICAgICAgICAidW5pdF9hbW91bnRfZGVjaW1hbCI6ICI5NDY2IgogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9LRGVhdEtxMG5MckU1cyIsCiAgICAgICAgInRheF9yYXRlcyI6IFsKCiAgICAgICAgXQogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfS0RlYXRLcTBuTHJFNXMiCiAgfSwKICAibGF0ZXN0X2ludm9pY2UiOiB7CiAgICAiaWQiOiAiaW5fMUpaREhTMnNPbWY0N056OTV3YTE3MzZFIiwKICAgICJvYmplY3QiOiAiaW52b2ljZSIsCiAgICAiYWNjb3VudF9jb3VudHJ5IjogIkZSIiwKICAgICJhY2NvdW50X25hbWUiOiAiU2xlZWRlIiwKICAgICJhY2NvdW50X3RheF9pZHMiOiBudWxsLAogICAgImFtb3VudF9kdWUiOiA5NDc0LAogICAgImFtb3VudF9wYWlkIjogOTQ3NCwKICAgICJhbW91bnRfcmVtYWluaW5nIjogMCwKICAgICJhcHBsaWNhdGlvbl9mZWVfYW1vdW50IjogbnVsbCwKICAgICJhdHRlbXB0X2NvdW50IjogMSwKICAgICJhdHRlbXB0ZWQiOiB0cnVlLAogICAgImF1dG9fYWR2YW5jZSI6IGZhbHNlLAogICAgImF1dG9tYXRpY190YXgiOiB7CiAgICAgICJlbmFibGVkIjogZmFsc2UsCiAgICAgICJzdGF0dXMiOiBudWxsCiAgICB9LAogICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgImJpbGxpbmdfcmVhc29uIjogInN1YnNjcmlwdGlvbl9jcmVhdGUiLAogICAgImNoYXJnZSI6ICJjaF8zSlpESFMyc09tZjQ3Tno5MHlGY0ZadGIiLAogICAgImNvbGxlY3Rpb25fbWV0aG9kIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICJjcmVhdGVkIjogMTYzMTUzMjI5OCwKICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgImN1c3RvbV9maWVsZHMiOiBudWxsLAogICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAiY3VzdG9tZXJfYWRkcmVzcyI6IG51bGwsCiAgICAiY3VzdG9tZXJfZW1haWwiOiAiamVhbi5kdXBvbmRAZ21haWwuY29tIiwKICAgICJjdXN0b21lcl9uYW1lIjogbnVsbCwKICAgICJjdXN0b21lcl9waG9uZSI6IG51bGwsCiAgICAiY3VzdG9tZXJfc2hpcHBpbmciOiBudWxsLAogICAgImN1c3RvbWVyX3RheF9leGVtcHQiOiAibm9uZSIsCiAgICAiY3VzdG9tZXJfdGF4X2lkcyI6IFsKCiAgICBdLAogICAgImRlZmF1bHRfcGF5bWVudF9tZXRob2QiOiBudWxsLAogICAgImRlZmF1bHRfc291cmNlIjogbnVsbCwKICAgICJkZWZhdWx0X3RheF9yYXRlcyI6IFsKCiAgICBdLAogICAgImRlc2NyaXB0aW9uIjogbnVsbCwKICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAiZGlzY291bnRzIjogWwoKICAgIF0sCiAgICAiZHVlX2RhdGUiOiBudWxsLAogICAgImVuZGluZ19iYWxhbmNlIjogMCwKICAgICJmb290ZXIiOiBudWxsLAogICAgImhvc3RlZF9pbnZvaWNlX3VybCI6ICJodHRwczovL2ludm9pY2Uuc3RyaXBlLmNvbS9pL2FjY3RfMTAzckU2MnNPbWY0N056OS9pbnZzdF9LRGVhclVMdHFxd1Q3TlBjeDF5M1ZZb3RaVE5Tc3Y5IiwKICAgICJpbnZvaWNlX3BkZiI6ICJodHRwczovL3BheS5zdHJpcGUuY29tL2ludm9pY2UvYWNjdF8xMDNyRTYyc09tZjQ3Tno5L2ludnN0X0tEZWFyVUx0cXF3VDdOUGN4MXkzVllvdFpUTlNzdjkvcGRmIiwKICAgICJsYXN0X2ZpbmFsaXphdGlvbl9lcnJvciI6IG51bGwsCiAgICAibGluZXMiOiB7CiAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAgICJkYXRhIjogWwogICAgICAgIHsKICAgICAgICAgICJpZCI6ICJpaV8xSlpESFMyc09tZjQ3Tno5bUpPS1dwZjIiLAogICAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgImFtb3VudCI6IDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJBYm9ubmVtZW50IG1lbnN1YWxpc2FibGUgLSBzdGFuZGFyZCwgYXNzb2NpYXRpb24sIHllYXIiLAogICAgICAgICAgImRpc2NvdW50X2Ftb3VudHMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICAgImRpc2NvdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgImludm9pY2VfaXRlbSI6ICJpaV8xSlpESFMyc09tZjQ3Tno5bUpPS1dwZjIiLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgICB9LAogICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgImVuZCI6IDE2MzQxMjQyOTgsCiAgICAgICAgICAgICJzdGFydCI6IDE2MzE1MzIyOTgKICAgICAgICAgIH0sCiAgICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAgICAicHJpY2UiOiB7CiAgICAgICAgICAgICJpZCI6ICJwcmljZV8xSlpESFIyc09tZjQ3Tno5WVZTVnVFQjUiLAogICAgICAgICAgICAib2JqZWN0IjogInByaWNlIiwKICAgICAgICAgICAgImFjdGl2ZSI6IHRydWUsCiAgICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAgICJjcmVhdGVkIjogMTYzMTUzMjI5NywKICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAibG9va3VwX2tleSI6IG51bGwsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIm5pY2tuYW1lIjogIlByaWNlIGFkanVzdG1lbnQgZm9yIHBheW1lbnQgc2NoZWR1bGUiLAogICAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICAgInJlY3VycmluZyI6IG51bGwsCiAgICAgICAgICAgICJ0YXhfYmVoYXZpb3IiOiAidW5zcGVjaWZpZWQiLAogICAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAgICJ0cmFuc2Zvcm1fcXVhbnRpdHkiOiBudWxsLAogICAgICAgICAgICAidHlwZSI6ICJvbmVfdGltZSIsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDgsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudF9kZWNpbWFsIjogIjgiCiAgICAgICAgICB9LAogICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0tEZWF0S3EwbkxyRTVzIiwKICAgICAgICAgICJ0YXhfYW1vdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgInRheF9yYXRlcyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgInR5cGUiOiAiaW52b2ljZWl0ZW0iLAogICAgICAgICAgInVuaXF1ZV9pZCI6ICJpbF8xSlpESFMyc09tZjQ3Tno5NHQ1Y2JnaDgiCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAiaWQiOiAic2xpXzFjY2VkODJzT21mNDdOejkzYmU0YWY4ZSIsCiAgICAgICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgICAiYW1vdW50IjogOTQ2NiwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImRlc2NyaXB0aW9uIjogIjEgw5cgQWJvbm5lbWVudCBtZW5zdWFsaXNhYmxlIC0gc3RhbmRhcmQsIGFzc29jaWF0aW9uLCB5ZWFyIChhdCAkOTQuNjYgLyBtb250aCkiLAogICAgICAgICAgImRpc2NvdW50X2Ftb3VudHMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICAgImRpc2NvdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgICB9LAogICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgImVuZCI6IDE2MzQxMjQyOTgsCiAgICAgICAgICAgICJzdGFydCI6IDE2MzE1MzIyOTgKICAgICAgICAgIH0sCiAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICAgImlkIjogInByaWNlXzFKWkRIUjJzT21mNDdOejlCV0UzWkV2eCIsCiAgICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAgICJhY3RpdmUiOiB0cnVlLAogICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICAgImFtb3VudCI6IDk0NjYsCiAgICAgICAgICAgICJhbW91bnRfZGVjaW1hbCI6ICI5NDY2IiwKICAgICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjk3LAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIm5pY2tuYW1lIjogbnVsbCwKICAgICAgICAgICAgInByb2R1Y3QiOiAicHJvZF9JWlFBaGI5bkx1NGpmTiIsCiAgICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogICAgICAgICAgfSwKICAgICAgICAgICJwcmljZSI6IHsKICAgICAgICAgICAgImlkIjogInByaWNlXzFKWkRIUjJzT21mNDdOejlCV0UzWkV2eCIsCiAgICAgICAgICAgICJvYmplY3QiOiAicHJpY2UiLAogICAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjk3LAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICJsb29rdXBfa2V5IjogbnVsbCwKICAgICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAibmlja25hbWUiOiBudWxsLAogICAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICAgInJlY3VycmluZyI6IHsKICAgICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAgICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInRheF9iZWhhdmlvciI6ICJ1bnNwZWNpZmllZCIsCiAgICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICAgInRyYW5zZm9ybV9xdWFudGl0eSI6IG51bGwsCiAgICAgICAgICAgICJ0eXBlIjogInJlY3VycmluZyIsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDk0NjYsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudF9kZWNpbWFsIjogIjk0NjYiCiAgICAgICAgICB9LAogICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0tEZWF0S3EwbkxyRTVzIiwKICAgICAgICAgICJzdWJzY3JpcHRpb25faXRlbSI6ICJzaV9LRGVhN1p0NHBDRlBDZCIsCiAgICAgICAgICAidGF4X2Ftb3VudHMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJ0YXhfcmF0ZXMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJ0eXBlIjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgICAidW5pcXVlX2lkIjogImlsXzFKWkRIUzJzT21mNDdOejlsTEtENUdYdiIKICAgICAgICB9CiAgICAgIF0sCiAgICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAidG90YWxfY291bnQiOiAyLAogICAgICAidXJsIjogIi92MS9pbnZvaWNlcy9pbl8xSlpESFMyc09tZjQ3Tno5NXdhMTczNkUvbGluZXMiCiAgICB9LAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7CiAgICB9LAogICAgIm5leHRfcGF5bWVudF9hdHRlbXB0IjogbnVsbCwKICAgICJudW1iZXIiOiAiQzBFNjYxQy0xMjU1IiwKICAgICJvbl9iZWhhbGZfb2YiOiBudWxsLAogICAgInBhaWQiOiB0cnVlLAogICAgInBheW1lbnRfaW50ZW50IjogewogICAgICAiaWQiOiAicGlfM0paREhTMnNPbWY0N056OTA1SEVqTTRzIiwKICAgICAgIm9iamVjdCI6ICJwYXltZW50X2ludGVudCIsCiAgICAgICJhbW91bnQiOiA5NDc0LAogICAgICAiYW1vdW50X2NhcHR1cmFibGUiOiAwLAogICAgICAiYW1vdW50X3JlY2VpdmVkIjogOTQ3NCwKICAgICAgImFwcGxpY2F0aW9uIjogbnVsbCwKICAgICAgImFwcGxpY2F0aW9uX2ZlZV9hbW91bnQiOiBudWxsLAogICAgICAiY2FuY2VsZWRfYXQiOiBudWxsLAogICAgICAiY2FuY2VsbGF0aW9uX3JlYXNvbiI6IG51bGwsCiAgICAgICJjYXB0dXJlX21ldGhvZCI6ICJhdXRvbWF0aWMiLAogICAgICAiY2hhcmdlcyI6IHsKICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICJkYXRhIjogWwogICAgICAgICAgewogICAgICAgICAgICAiaWQiOiAiY2hfM0paREhTMnNPbWY0N056OTB5RmNGWnRiIiwKICAgICAgICAgICAgIm9iamVjdCI6ICJjaGFyZ2UiLAogICAgICAgICAgICAiYW1vdW50IjogOTQ3NCwKICAgICAgICAgICAgImFtb3VudF9jYXB0dXJlZCI6IDk0NzQsCiAgICAgICAgICAgICJhbW91bnRfcmVmdW5kZWQiOiAwLAogICAgICAgICAgICAiYXBwbGljYXRpb24iOiBudWxsLAogICAgICAgICAgICAiYXBwbGljYXRpb25fZmVlIjogbnVsbCwKICAgICAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9hbW91bnQiOiBudWxsLAogICAgICAgICAgICAiYmFsYW5jZV90cmFuc2FjdGlvbiI6ICJ0eG5fM0paREhTMnNPbWY0N056OTBvYnZGV0NqIiwKICAgICAgICAgICAgImJpbGxpbmdfZGV0YWlscyI6IHsKICAgICAgICAgICAgICAiYWRkcmVzcyI6IHsKICAgICAgICAgICAgICAgICJjaXR5IjogbnVsbCwKICAgICAgICAgICAgICAgICJjb3VudHJ5IjogbnVsbCwKICAgICAgICAgICAgICAgICJsaW5lMSI6IG51bGwsCiAgICAgICAgICAgICAgICAibGluZTIiOiBudWxsLAogICAgICAgICAgICAgICAgInBvc3RhbF9jb2RlIjogbnVsbCwKICAgICAgICAgICAgICAgICJzdGF0ZSI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJlbWFpbCI6IG51bGwsCiAgICAgICAgICAgICAgIm5hbWUiOiBudWxsLAogICAgICAgICAgICAgICJwaG9uZSI6IG51bGwKICAgICAgICAgICAgfSwKICAgICAgICAgICAgImNhbGN1bGF0ZWRfc3RhdGVtZW50X2Rlc2NyaXB0b3IiOiAiU3RyaXBlIiwKICAgICAgICAgICAgImNhcHR1cmVkIjogdHJ1ZSwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjk5LAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJTdWJzY3JpcHRpb24gY3JlYXRpb24iLAogICAgICAgICAgICAiZGVzdGluYXRpb24iOiBudWxsLAogICAgICAgICAgICAiZGlzcHV0ZSI6IG51bGwsCiAgICAgICAgICAgICJkaXNwdXRlZCI6IGZhbHNlLAogICAgICAgICAgICAiZmFpbHVyZV9jb2RlIjogbnVsbCwKICAgICAgICAgICAgImZhaWx1cmVfbWVzc2FnZSI6IG51bGwsCiAgICAgICAgICAgICJmcmF1ZF9kZXRhaWxzIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAiaW52b2ljZSI6ICJpbl8xSlpESFMyc09tZjQ3Tno5NXdhMTczNkUiLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAib25fYmVoYWxmX29mIjogbnVsbCwKICAgICAgICAgICAgIm9yZGVyIjogbnVsbCwKICAgICAgICAgICAgIm91dGNvbWUiOiB7CiAgICAgICAgICAgICAgIm5ldHdvcmtfc3RhdHVzIjogImFwcHJvdmVkX2J5X25ldHdvcmsiLAogICAgICAgICAgICAgICJyZWFzb24iOiBudWxsLAogICAgICAgICAgICAgICJyaXNrX2xldmVsIjogIm5vcm1hbCIsCiAgICAgICAgICAgICAgInJpc2tfc2NvcmUiOiAyMSwKICAgICAgICAgICAgICAic2VsbGVyX21lc3NhZ2UiOiAiUGF5bWVudCBjb21wbGV0ZS4iLAogICAgICAgICAgICAgICJ0eXBlIjogImF1dGhvcml6ZWQiCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJwYWlkIjogdHJ1ZSwKICAgICAgICAgICAgInBheW1lbnRfaW50ZW50IjogInBpXzNKWkRIUzJzT21mNDdOejkwNUhFak00cyIsCiAgICAgICAgICAgICJwYXltZW50X21ldGhvZCI6ICJwbV8xSlpESFAyc09tZjQ3Tno5U1B2cHBYNEsiLAogICAgICAgICAgICAicGF5bWVudF9tZXRob2RfZGV0YWlscyI6IHsKICAgICAgICAgICAgICAiY2FyZCI6IHsKICAgICAgICAgICAgICAgICJicmFuZCI6ICJ2aXNhIiwKICAgICAgICAgICAgICAgICJjaGVja3MiOiB7CiAgICAgICAgICAgICAgICAgICJhZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAgICAgICAgICAgICAgICAgImFkZHJlc3NfcG9zdGFsX2NvZGVfY2hlY2siOiBudWxsLAogICAgICAgICAgICAgICAgICAiY3ZjX2NoZWNrIjogInBhc3MiCiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAgICAgICAgICAgImV4cF9tb250aCI6IDQsCiAgICAgICAgICAgICAgICAiZXhwX3llYXIiOiAyMDIyLAogICAgICAgICAgICAgICAgImZpbmdlcnByaW50IjogIm81Mmp5YlI3Ym5tTm42QVQiLAogICAgICAgICAgICAgICAgImZ1bmRpbmciOiAiY3JlZGl0IiwKICAgICAgICAgICAgICAgICJpbnN0YWxsbWVudHMiOiBudWxsLAogICAgICAgICAgICAgICAgImxhc3Q0IjogIjQyNDIiLAogICAgICAgICAgICAgICAgIm5ldHdvcmsiOiAidmlzYSIsCiAgICAgICAgICAgICAgICAidGhyZWVfZF9zZWN1cmUiOiBudWxsLAogICAgICAgICAgICAgICAgIndhbGxldCI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJ0eXBlIjogImNhcmQiCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJyZWNlaXB0X2VtYWlsIjogbnVsbCwKICAgICAgICAgICAgInJlY2VpcHRfbnVtYmVyIjogbnVsbCwKICAgICAgICAgICAgInJlY2VpcHRfdXJsIjogImh0dHBzOi8vcGF5LnN0cmlwZS5jb20vcmVjZWlwdHMvYWNjdF8xMDNyRTYyc09tZjQ3Tno5L2NoXzNKWkRIUzJzT21mNDdOejkweUZjRlp0Yi9yY3B0X0tEZWFHd3ZldmFtbmM2R2VPUGR6Q3cwNjBobXZKSngiLAogICAgICAgICAgICAicmVmdW5kZWQiOiBmYWxzZSwKICAgICAgICAgICAgInJlZnVuZHMiOiB7CiAgICAgICAgICAgICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICAgICAgICAgICAiZGF0YSI6IFsKCiAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICAgICAgICAgICAidG90YWxfY291bnQiOiAwLAogICAgICAgICAgICAgICJ1cmwiOiAiL3YxL2NoYXJnZXMvY2hfM0paREhTMnNPbWY0N056OTB5RmNGWnRiL3JlZnVuZHMiCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJyZXZpZXciOiBudWxsLAogICAgICAgICAgICAic2hpcHBpbmciOiBudWxsLAogICAgICAgICAgICAic291cmNlIjogbnVsbCwKICAgICAgICAgICAgInNvdXJjZV90cmFuc2ZlciI6IG51bGwsCiAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvcl9zdWZmaXgiOiBudWxsLAogICAgICAgICAgICAic3RhdHVzIjogInN1Y2NlZWRlZCIsCiAgICAgICAgICAgICJ0cmFuc2Zlcl9kYXRhIjogbnVsbCwKICAgICAgICAgICAgInRyYW5zZmVyX2dyb3VwIjogbnVsbAogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAgICAgInRvdGFsX2NvdW50IjogMSwKICAgICAgICAidXJsIjogIi92MS9jaGFyZ2VzP3BheW1lbnRfaW50ZW50PXBpXzNKWkRIUzJzT21mNDdOejkwNUhFak00cyIKICAgICAgfSwKICAgICAgImNsaWVudF9zZWNyZXQiOiAicGlfM0paREhTMnNPbWY0N056OTA1SEVqTTRzX3NlY3JldF9QbmFuSW9FU2kzeUV5U3VsOTZWSXdKeGZkIiwKICAgICAgImNvbmZpcm1hdGlvbl9tZXRob2QiOiAiYXV0b21hdGljIiwKICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjk4LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJTdWJzY3JpcHRpb24gY3JlYXRpb24iLAogICAgICAiaW52b2ljZSI6ICJpbl8xSlpESFMyc09tZjQ3Tno5NXdhMTczNkUiLAogICAgICAibGFzdF9wYXltZW50X2Vycm9yIjogbnVsbCwKICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgfSwKICAgICAgIm5leHRfYWN0aW9uIjogbnVsbCwKICAgICAgIm9uX2JlaGFsZl9vZiI6IG51bGwsCiAgICAgICJwYXltZW50X21ldGhvZCI6ICJwbV8xSlpESFAyc09tZjQ3Tno5U1B2cHBYNEsiLAogICAgICAicGF5bWVudF9tZXRob2Rfb3B0aW9ucyI6IHsKICAgICAgICAiY2FyZCI6IHsKICAgICAgICAgICJpbnN0YWxsbWVudHMiOiBudWxsLAogICAgICAgICAgIm5ldHdvcmsiOiBudWxsLAogICAgICAgICAgInJlcXVlc3RfdGhyZWVfZF9zZWN1cmUiOiAiYXV0b21hdGljIgogICAgICAgIH0KICAgICAgfSwKICAgICAgInBheW1lbnRfbWV0aG9kX3R5cGVzIjogWwogICAgICAgICJjYXJkIgogICAgICBdLAogICAgICAicmVjZWlwdF9lbWFpbCI6IG51bGwsCiAgICAgICJyZXZpZXciOiBudWxsLAogICAgICAic2V0dXBfZnV0dXJlX3VzYWdlIjogIm9mZl9zZXNzaW9uIiwKICAgICAgInNoaXBwaW5nIjogbnVsbCwKICAgICAgInNvdXJjZSI6IG51bGwsCiAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvcl9zdWZmaXgiOiBudWxsLAogICAgICAic3RhdHVzIjogInN1Y2NlZWRlZCIsCiAgICAgICJ0cmFuc2Zlcl9kYXRhIjogbnVsbCwKICAgICAgInRyYW5zZmVyX2dyb3VwIjogbnVsbAogICAgfSwKICAgICJwYXltZW50X3NldHRpbmdzIjogewogICAgICAicGF5bWVudF9tZXRob2Rfb3B0aW9ucyI6IG51bGwsCiAgICAgICJwYXltZW50X21ldGhvZF90eXBlcyI6IG51bGwKICAgIH0sCiAgICAicGVyaW9kX2VuZCI6IDE2MzE1MzIyOTgsCiAgICAicGVyaW9kX3N0YXJ0IjogMTYzMTUzMjI5OCwKICAgICJwb3N0X3BheW1lbnRfY3JlZGl0X25vdGVzX2Ftb3VudCI6IDAsCiAgICAicHJlX3BheW1lbnRfY3JlZGl0X25vdGVzX2Ftb3VudCI6IDAsCiAgICAicXVvdGUiOiBudWxsLAogICAgInJlY2VpcHRfbnVtYmVyIjogbnVsbCwKICAgICJzdGFydGluZ19iYWxhbmNlIjogMCwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAic3RhdHVzIjogInBhaWQiLAogICAgInN0YXR1c190cmFuc2l0aW9ucyI6IHsKICAgICAgImZpbmFsaXplZF9hdCI6IDE2MzE1MzIyOTgsCiAgICAgICJtYXJrZWRfdW5jb2xsZWN0aWJsZV9hdCI6IG51bGwsCiAgICAgICJwYWlkX2F0IjogMTYzMTUzMjI5OCwKICAgICAgInZvaWRlZF9hdCI6IG51bGwKICAgIH0sCiAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9LRGVhdEtxMG5MckU1cyIsCiAgICAic3VidG90YWwiOiA5NDc0LAogICAgInRheCI6IG51bGwsCiAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgInRvdGFsIjogOTQ3NCwKICAgICJ0b3RhbF9kaXNjb3VudF9hbW91bnRzIjogWwoKICAgIF0sCiAgICAidG90YWxfdGF4X2Ftb3VudHMiOiBbCgogICAgXSwKICAgICJ0cmFuc2Zlcl9kYXRhIjogbnVsbCwKICAgICJ3ZWJob29rc19kZWxpdmVyZWRfYXQiOiAxNjMxNTMyMjk4CiAgfSwKICAibGl2ZW1vZGUiOiBmYWxzZSwKICAibWV0YWRhdGEiOiB7CiAgfSwKICAibmV4dF9wZW5kaW5nX2ludm9pY2VfaXRlbV9pbnZvaWNlIjogbnVsbCwKICAicGF1c2VfY29sbGVjdGlvbiI6IG51bGwsCiAgInBheW1lbnRfc2V0dGluZ3MiOiB7CiAgICAicGF5bWVudF9tZXRob2Rfb3B0aW9ucyI6IG51bGwsCiAgICAicGF5bWVudF9tZXRob2RfdHlwZXMiOiBudWxsCiAgfSwKICAicGVuZGluZ19pbnZvaWNlX2l0ZW1faW50ZXJ2YWwiOiBudWxsLAogICJwZW5kaW5nX3NldHVwX2ludGVudCI6IG51bGwsCiAgInBlbmRpbmdfdXBkYXRlIjogbnVsbCwKICAicGxhbiI6IHsKICAgICJpZCI6ICJwcmljZV8xSlpESFIyc09tZjQ3Tno5QldFM1pFdngiLAogICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICJhY3RpdmUiOiB0cnVlLAogICAgImFnZ3JlZ2F0ZV91c2FnZSI6IG51bGwsCiAgICAiYW1vdW50IjogOTQ2NiwKICAgICJhbW91bnRfZGVjaW1hbCI6ICI5NDY2IiwKICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAiY3JlYXRlZCI6IDE2MzE1MzIyOTcsCiAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7CiAgICB9LAogICAgIm5pY2tuYW1lIjogbnVsbCwKICAgICJwcm9kdWN0IjogInByb2RfSVpRQWhiOW5MdTRqZk4iLAogICAgInRpZXJzIjogbnVsbCwKICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICJ0cmFuc2Zvcm1fdXNhZ2UiOiBudWxsLAogICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogIH0sCiAgInF1YW50aXR5IjogMSwKICAic2NoZWR1bGUiOiBudWxsLAogICJzdGFydCI6IDE2MzE1MzIyOTgsCiAgInN0YXJ0X2RhdGUiOiAxNjMxNTMyMjk4LAogICJzdGF0dXMiOiAiYWN0aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmFuc2Zlcl9kYXRhIjogbnVsbCwKICAidHJpYWxfZW5kIjogbnVsbCwKICAidHJpYWxfc3RhcnQiOiBudWxsCn0K recorded_at: Mon, 13 Sep 2021 11:25:01 GMT - request: method: get uri: https://api.stripe.com/v1/subscriptions/sub_KDeatKq0nLrE5s 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_8wNmLSrKYQCC2n","request_duration_ms":2907}}' 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:25:01 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_ROuXk25LiprN4n 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_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 } recorded_at: Mon, 13 Sep 2021 11:25:01 GMT - request: method: get uri: https://api.stripe.com/v1/subscriptions/sub_KDeatKq0nLrE5s 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_ROuXk25LiprN4n","request_duration_ms":337}}' 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:25:02 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_74fhBmPb5JM90V 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_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 } recorded_at: Mon, 13 Sep 2021 11:25:02 GMT recorded_with: VCR 6.0.0