From 5d8a1367a69c965cbc12a74e95ab20867631e365 Mon Sep 17 00:00:00 2001 From: Du Peng Date: Mon, 13 Sep 2021 14:25:30 +0200 Subject: [PATCH] update test --- app/models/payment_schedule.rb | 2 - test/integration/reservations/create_test.rb | 77 +- .../subscriptions/create_as_admin_test.rb | 38 +- .../subscriptions/create_as_user_test.rb | 39 +- ...ion_create_for_restricted_slot_success.yml | 110 +- ...ate_for_machine_and_pay_wallet_success.yml | 114 +- ..._for_machine_with_subscription_success.yml | 110 +- ...for_machine_without_subscription_error.yml | 68 +- ...r_machine_without_subscription_success.yml | 110 +- ...tions_create_for_restricted_slot_fails.yml | 66 +- ...ons_create_for_restricted_slot_success.yml | 114 +- ...raining_and_plan_by_pay_wallet_success.yml | 110 +- ..._training_without_subscription_success.yml | 114 +- ...ng_coupon_retrieve_invoice_from_stripe.yml | 44 +- ..._machine_and_plan_using_coupon_success.yml | 110 +- ...on_with_payment_schedule_coupon_wallet.yml | 4933 ++++++++++++++--- ...ing_subscription_with_payment_schedule.yml | 2441 +++++++- ...ons_training_with_expired_coupon_error.yml | 40 +- ...ent_with_many_prices_and_payment_means.yml | 110 +- ...ent_means_retrieve_invoice_from_stripe.yml | 44 +- ...ons_admin_create_with_payment_schedule.yml | 2269 ++++++-- .../subscriptions_user_create_failed.yml | 20 +- .../subscriptions_user_create_success.yml | 114 +- ...ptions_user_create_success_with_wallet.yml | 110 +- ...ions_user_create_with_payment_schedule.yml | 2441 +++++++- .../subscriptions_user_renew_failed.yml | 68 +- .../subscriptions_user_renew_success.yml | 110 +- 27 files changed, 11492 insertions(+), 2434 deletions(-) diff --git a/app/models/payment_schedule.rb b/app/models/payment_schedule.rb index 6aab34f86..c3edf9758 100644 --- a/app/models/payment_schedule.rb +++ b/app/models/payment_schedule.rb @@ -82,8 +82,6 @@ class PaymentSchedule < PaymentDocument end def pay(gateway_method_id) - return unless payment_method == 'card' - PaymentGatewayService.new.pay_subscription(self, gateway_method_id) end diff --git a/test/integration/reservations/create_test.rb b/test/integration/reservations/create_test.rb index d09b7cf05..f49304bd3 100644 --- a/test/integration/reservations/create_test.rb +++ b/test/integration/reservations/create_test.rb @@ -705,36 +705,36 @@ class Reservations::CreateTest < ActionDispatch::IntegrationTest plan = Plan.find_by(group_id: @user_without_subscription.group.id, type: 'Plan', base_name: 'Abonnement mensualisable') VCR.use_cassette('reservations_training_subscription_with_payment_schedule') do - get "/api/stripe/setup_intent/#{@user_without_subscription.id}" + post '/api/stripe/payment_schedule', + params: { + payment_method_id: stripe_payment_method, + cart_items: { + items: [ + { + subscription: { + plan_id: plan.id + } + } + ], + payment_schedule: true, + payment_method: 'cart' + } + }.to_json, headers: default_headers # Check response format & status assert_equal 200, response.status, response.body assert_equal Mime[:json], response.content_type # Check the response - setup_intent = json_response(response.body) - assert_not_nil setup_intent[:client_secret] - assert_not_nil setup_intent[:id] - assert_match /^#{setup_intent[:id]}_secret_/, setup_intent[:client_secret] - - # Confirm the intent - stripe_res = Stripe::SetupIntent.confirm( - setup_intent[:id], - { payment_method: stripe_payment_method }, - { api_key: Setting.get('stripe_secret_key') } - ) - - # check the confirmation - assert_equal setup_intent[:id], stripe_res.id - assert_equal 'succeeded', stripe_res.status - assert_equal 'off_session', stripe_res.usage - + sub = json_response(response.body) + assert_not_nil sub[:id] post '/api/stripe/confirm_payment_schedule', params: { - setup_intent_id: setup_intent[:id], + subscription_id: sub[:id], cart_items: { payment_schedule: true, + payment_method: 'card', items: [ { reservation: { @@ -809,34 +809,33 @@ class Reservations::CreateTest < ActionDispatch::IntegrationTest plan = Plan.find_by(group_id: user.group.id, type: 'Plan', base_name: 'Abonnement mensualisable') VCR.use_cassette('reservations_machine_subscription_with_payment_schedule_coupon_wallet') do - get "/api/stripe/setup_intent/#{user.id}" + post '/api/stripe/payment_schedule', + params: { + payment_method_id: stripe_payment_method, + cart_items: { + items: [ + { + subscription: { + plan_id: plan.id + } + } + ], + payment_schedule: true, + payment_method: 'cart' + } + }.to_json, headers: default_headers # Check response format & status assert_equal 200, response.status, response.body assert_equal Mime[:json], response.content_type # Check the response - setup_intent = json_response(response.body) - assert_not_nil setup_intent[:client_secret] - assert_not_nil setup_intent[:id] - assert_match /^#{setup_intent[:id]}_secret_/, setup_intent[:client_secret] - - # Confirm the intent (normally, this is done on browser-side) - stripe_res = Stripe::SetupIntent.confirm( - setup_intent[:id], - { payment_method: stripe_payment_method }, - { api_key: Setting.get('stripe_secret_key') } - ) - - # check the confirmation - assert_equal setup_intent[:id], stripe_res.id - assert_equal 'succeeded', stripe_res.status - assert_equal 'off_session', stripe_res.usage - + res = json_response(response.body) + assert_not_nil res[:id] post '/api/stripe/confirm_payment_schedule', params: { - setup_intent_id: setup_intent[:id], + subscription_id: res[:id], cart_items: { coupon_code: 'GIME3EUR', payment_schedule: true, @@ -897,7 +896,7 @@ class Reservations::CreateTest < ActionDispatch::IntegrationTest assert_not_nil payment_schedule.reference assert_equal 'card', payment_schedule.payment_method assert_equal 2, payment_schedule.payment_gateway_objects.count - assert_not_nil payment_schedule.gateway_payment_mean + #assert_not_nil payment_schedule.gateway_payment_mean assert_not_nil payment_schedule.wallet_transaction assert_equal payment_schedule.ordered_items.first.amount, payment_schedule.wallet_amount assert_equal Coupon.find_by(code: 'GIME3EUR').id, payment_schedule.coupon_id diff --git a/test/integration/subscriptions/create_as_admin_test.rb b/test/integration/subscriptions/create_as_admin_test.rb index 2f35162fe..014bf9ab9 100644 --- a/test/integration/subscriptions/create_as_admin_test.rb +++ b/test/integration/subscriptions/create_as_admin_test.rb @@ -77,34 +77,34 @@ class Subscriptions::CreateAsAdminTest < ActionDispatch::IntegrationTest payment_schedule_items_count = PaymentScheduleItem.count VCR.use_cassette('subscriptions_admin_create_with_payment_schedule') do - get "/api/stripe/setup_intent/#{user.id}" + post '/api/stripe/payment_schedule', + params: { + payment_method_id: stripe_payment_method, + cart_items: { + customer_id: user.id, + items: [ + { + subscription: { + plan_id: plan.id + } + } + ], + payment_schedule: true, + payment_method: 'cart' + } + }.to_json, headers: default_headers # Check response format & status assert_equal 200, response.status, response.body assert_equal Mime[:json], response.content_type # Check the response - setup_intent = json_response(response.body) - assert_not_nil setup_intent[:client_secret] - assert_not_nil setup_intent[:id] - assert_match /^#{setup_intent[:id]}_secret_/, setup_intent[:client_secret] - - # Confirm the intent - stripe_res = Stripe::SetupIntent.confirm( - setup_intent[:id], - { payment_method: stripe_payment_method }, - { api_key: Setting.get('stripe_secret_key') } - ) - - # check the confirmation - assert_equal setup_intent[:id], stripe_res.id - assert_equal 'succeeded', stripe_res.status - assert_equal 'off_session', stripe_res.usage - + res = json_response(response.body) + assert_not_nil res[:id] post '/api/stripe/confirm_payment_schedule', params: { - setup_intent_id: setup_intent[:id], + subscription_id: res[:id], cart_items: { customer_id: user.id, payment_schedule: true, diff --git a/test/integration/subscriptions/create_as_user_test.rb b/test/integration/subscriptions/create_as_user_test.rb index 973a3a7a6..abb522a4b 100644 --- a/test/integration/subscriptions/create_as_user_test.rb +++ b/test/integration/subscriptions/create_as_user_test.rb @@ -195,36 +195,37 @@ class Subscriptions::CreateAsUserTest < ActionDispatch::IntegrationTest payment_schedule_items_count = PaymentScheduleItem.count VCR.use_cassette('subscriptions_user_create_with_payment_schedule') do - get "/api/stripe/setup_intent/#{@user.id}" + post '/api/stripe/payment_schedule', + params: { + payment_method_id: stripe_payment_method, + cart_items: { + items: [ + { + subscription: { + plan_id: plan.id + } + } + ], + payment_schedule: true, + payment_method: 'cart' + } + }.to_json, headers: default_headers # Check response format & status assert_equal 200, response.status, response.body assert_equal Mime[:json], response.content_type # Check the response - setup_intent = json_response(response.body) - assert_not_nil setup_intent[:client_secret] - assert_not_nil setup_intent[:id] - assert_match /^#{setup_intent[:id]}_secret_/, setup_intent[:client_secret] - - # Confirm the intent - stripe_res = Stripe::SetupIntent.confirm( - setup_intent[:id], - { payment_method: stripe_payment_method }, - { api_key: Setting.get('stripe_secret_key') } - ) - - # check the confirmation - assert_equal setup_intent[:id], stripe_res.id - assert_equal 'succeeded', stripe_res.status - assert_equal 'off_session', stripe_res.usage - + sub = json_response(response.body) + assert_not_nil sub[:id] + # create the subscription post '/api/stripe/confirm_payment_schedule', params: { - setup_intent_id: setup_intent[:id], + subscription_id: sub[:id], cart_items: { payment_schedule: true, + payment_method: 'card', items: [ { subscription: { diff --git a/test/vcr_cassettes/reservations_and_subscription_create_for_restricted_slot_success.yml b/test/vcr_cassettes/reservations_and_subscription_create_for_restricted_slot_success.yml index 14d4aa1ef..bcdd51f7f 100644 --- a/test/vcr_cassettes/reservations_and_subscription_create_for_restricted_slot_success.yml +++ b/test/vcr_cassettes/reservations_and_subscription_create_for_restricted_slot_success.yml @@ -13,14 +13,12 @@ http_interactions: - Bearer sk_test_testfaketestfaketestfake Content-Type: - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oXt918i1vLvnCA","request_duration_ms":13}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +31,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:15:07 GMT + - Mon, 13 Sep 2021 11:24:07 GMT Content-Type: - application/json Content-Length: @@ -53,18 +51,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_7vgbxefAX304bE + - req_tlTlxEJC4LyAQv Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19GQ2sOmf47Nz9Y86E5CXf", + "id": "pm_1JZDGd2sOmf47Nz9LCckU76B", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +102,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413707, + "created": 1631532247, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:15:07 GMT + recorded_at: Mon, 13 Sep 2021 11:24:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19GQ2sOmf47Nz9Y86E5CXf&amount=11500¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt + string: payment_method=pm_1JZDGd2sOmf47Nz9LCckU76B&amount=11500¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +124,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7vgbxefAX304bE","request_duration_ms":832}}' + - '{"last_request_metrics":{"request_id":"req_tlTlxEJC4LyAQv","request_duration_ms":663}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,7 +143,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:15:08 GMT + - Mon, 13 Sep 2021 11:24:09 GMT Content-Type: - application/json Content-Length: @@ -165,18 +163,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_E8cT63b7DOTkyf + - req_4hAutJ5WkAA9ps Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19GR2sOmf47Nz9D5IFGnhg", + "id": "pi_3JZDGd2sOmf47Nz91tgWkK3L", "object": "payment_intent", "amount": 11500, "amount_capturable": 0, @@ -190,7 +188,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19GR2sOmf47Nz9oCBIvZzL", + "id": "ch_3JZDGd2sOmf47Nz91HsbEa5U", "object": "charge", "amount": 11500, "amount_captured": 11500, @@ -198,7 +196,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19GS2sOmf47Nz9rHxBgciP", + "balance_transaction": "txn_3JZDGd2sOmf47Nz91MEnox3F", "billing_details": { "address": { "city": null, @@ -214,7 +212,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413707, + "created": 1631532248, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -235,13 +233,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 50, + "risk_score": 12, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19GR2sOmf47Nz9D5IFGnhg", - "payment_method": "pm_1J19GQ2sOmf47Nz9Y86E5CXf", + "payment_intent": "pi_3JZDGd2sOmf47Nz91tgWkK3L", + "payment_method": "pm_1JZDGd2sOmf47Nz9LCckU76B", "payment_method_details": { "card": { "brand": "visa", @@ -265,7 +263,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19GR2sOmf47Nz9oCBIvZzL/rcpt_JeSAQlSUzAZq4SypvsME0HD5lEcc0IS", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDGd2sOmf47Nz91HsbEa5U/rcpt_KDeZXFrj8mqhXX4v6MKFwawzylc2kPA", "refunded": false, "refunds": { "object": "list", @@ -274,7 +272,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19GR2sOmf47Nz9oCBIvZzL/refunds" + "url": "/v1/charges/ch_3JZDGd2sOmf47Nz91HsbEa5U/refunds" }, "review": null, "shipping": null, @@ -289,11 +287,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19GR2sOmf47Nz9D5IFGnhg" + "url": "/v1/charges?payment_intent=pi_3JZDGd2sOmf47Nz91tgWkK3L" }, - "client_secret": "pi_1J19GR2sOmf47Nz9D5IFGnhg_secret_StfFUPwntJfwxIPmOYW342c78", + "client_secret": "pi_3JZDGd2sOmf47Nz91tgWkK3L_secret_DooP6j5YiNN0kzaXPdTGEeKeR", "confirmation_method": "manual", - "created": 1623413707, + "created": 1631532247, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -304,7 +302,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19GQ2sOmf47Nz9Y86E5CXf", + "payment_method": "pm_1JZDGd2sOmf47Nz9LCckU76B", "payment_method_options": { "card": { "installments": null, @@ -326,13 +324,13 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:15:08 GMT + recorded_at: Mon, 13 Sep 2021 11:24:09 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_1J19GR2sOmf47Nz9D5IFGnhg + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDGd2sOmf47Nz91tgWkK3L body: encoding: UTF-8 - string: description=Invoice+reference%3A+2106001%2FVL + string: description=Invoice+reference%3A+2109001%2FVL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -341,13 +339,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_E8cT63b7DOTkyf","request_duration_ms":1467}}' + - '{"last_request_metrics":{"request_id":"req_4hAutJ5WkAA9ps","request_duration_ms":1725}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -360,7 +358,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:15:09 GMT + - Mon, 13 Sep 2021 11:24:10 GMT Content-Type: - application/json Content-Length: @@ -380,7 +378,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_OU638AhOsctwWF + - req_ysWG3JfyCp5xVD Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -391,7 +389,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19GR2sOmf47Nz9D5IFGnhg", + "id": "pi_3JZDGd2sOmf47Nz91tgWkK3L", "object": "payment_intent", "amount": 11500, "amount_capturable": 0, @@ -405,7 +403,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19GR2sOmf47Nz9oCBIvZzL", + "id": "ch_3JZDGd2sOmf47Nz91HsbEa5U", "object": "charge", "amount": 11500, "amount_captured": 11500, @@ -413,7 +411,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19GS2sOmf47Nz9rHxBgciP", + "balance_transaction": "txn_3JZDGd2sOmf47Nz91MEnox3F", "billing_details": { "address": { "city": null, @@ -429,7 +427,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413707, + "created": 1631532248, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -450,13 +448,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 50, + "risk_score": 12, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19GR2sOmf47Nz9D5IFGnhg", - "payment_method": "pm_1J19GQ2sOmf47Nz9Y86E5CXf", + "payment_intent": "pi_3JZDGd2sOmf47Nz91tgWkK3L", + "payment_method": "pm_1JZDGd2sOmf47Nz9LCckU76B", "payment_method_details": { "card": { "brand": "visa", @@ -480,7 +478,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19GR2sOmf47Nz9oCBIvZzL/rcpt_JeSAQlSUzAZq4SypvsME0HD5lEcc0IS", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDGd2sOmf47Nz91HsbEa5U/rcpt_KDeZXFrj8mqhXX4v6MKFwawzylc2kPA", "refunded": false, "refunds": { "object": "list", @@ -489,7 +487,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19GR2sOmf47Nz9oCBIvZzL/refunds" + "url": "/v1/charges/ch_3JZDGd2sOmf47Nz91HsbEa5U/refunds" }, "review": null, "shipping": null, @@ -504,14 +502,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19GR2sOmf47Nz9D5IFGnhg" + "url": "/v1/charges?payment_intent=pi_3JZDGd2sOmf47Nz91tgWkK3L" }, - "client_secret": "pi_1J19GR2sOmf47Nz9D5IFGnhg_secret_StfFUPwntJfwxIPmOYW342c78", + "client_secret": "pi_3JZDGd2sOmf47Nz91tgWkK3L_secret_DooP6j5YiNN0kzaXPdTGEeKeR", "confirmation_method": "manual", - "created": 1623413707, + "created": 1631532247, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -519,7 +517,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19GQ2sOmf47Nz9Y86E5CXf", + "payment_method": "pm_1JZDGd2sOmf47Nz9LCckU76B", "payment_method_options": { "card": { "installments": null, @@ -541,5 +539,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:15:09 GMT + recorded_at: Mon, 13 Sep 2021 11:24:10 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_create_for_machine_and_pay_wallet_success.yml b/test/vcr_cassettes/reservations_create_for_machine_and_pay_wallet_success.yml index e8401f754..589fc2f8f 100644 --- a/test/vcr_cassettes/reservations_create_for_machine_and_pay_wallet_success.yml +++ b/test/vcr_cassettes/reservations_create_for_machine_and_pay_wallet_success.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Qtzi0kqF6AGh3Q","request_duration_ms":523}}' + - '{"last_request_metrics":{"request_id":"req_5TvWs7UmY2UdpH","request_duration_ms":524}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:38 GMT + - Mon, 13 Sep 2021 11:25:25 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_LwmOXnstaUaA6l + - req_UwD4vNrm0xZorM Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19C62sOmf47Nz90ly8PIVC", + "id": "pm_1JZDHs2sOmf47Nz9cOqZ4bBg", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413438, + "created": 1631532324, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:38 GMT + recorded_at: Mon, 13 Sep 2021 11:25:25 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19C62sOmf47Nz90ly8PIVC&amount=2400¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN + string: payment_method=pm_1JZDHs2sOmf47Nz9cOqZ4bBg&amount=2400¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LwmOXnstaUaA6l","request_duration_ms":669}}' + - '{"last_request_metrics":{"request_id":"req_UwD4vNrm0xZorM","request_duration_ms":649}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,11 +145,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:40 GMT + - Mon, 13 Sep 2021 11:25:26 GMT Content-Type: - application/json Content-Length: - - '4259' + - '4258' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -165,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_2niOSD6nIWAZIB + - req_mhW9POLRyd3Dhd Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19C72sOmf47Nz9H32ZvrrU", + "id": "pi_3JZDHt2sOmf47Nz91D3ehMM4", "object": "payment_intent", "amount": 2400, "amount_capturable": 0, @@ -190,7 +190,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19C72sOmf47Nz9aFGRLYwk", + "id": "ch_3JZDHt2sOmf47Nz91hPkhYg9", "object": "charge", "amount": 2400, "amount_captured": 2400, @@ -198,7 +198,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19C72sOmf47Nz9D6XLqCkM", + "balance_transaction": "txn_3JZDHt2sOmf47Nz91S8s9s5v", "billing_details": { "address": { "city": null, @@ -214,7 +214,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413439, + "created": 1631532325, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -235,13 +235,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 36, + "risk_score": 3, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19C72sOmf47Nz9H32ZvrrU", - "payment_method": "pm_1J19C62sOmf47Nz90ly8PIVC", + "payment_intent": "pi_3JZDHt2sOmf47Nz91D3ehMM4", + "payment_method": "pm_1JZDHs2sOmf47Nz9cOqZ4bBg", "payment_method_details": { "card": { "brand": "visa", @@ -265,7 +265,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19C72sOmf47Nz9aFGRLYwk/rcpt_JeS6JAu6YVFr9TilSFUt95UFoJJqmjc", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHt2sOmf47Nz91hPkhYg9/rcpt_KDebR8jNcFj6jBQtEg5j7kmeqfkEOJu", "refunded": false, "refunds": { "object": "list", @@ -274,7 +274,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19C72sOmf47Nz9aFGRLYwk/refunds" + "url": "/v1/charges/ch_3JZDHt2sOmf47Nz91hPkhYg9/refunds" }, "review": null, "shipping": null, @@ -289,11 +289,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19C72sOmf47Nz9H32ZvrrU" + "url": "/v1/charges?payment_intent=pi_3JZDHt2sOmf47Nz91D3ehMM4" }, - "client_secret": "pi_1J19C72sOmf47Nz9H32ZvrrU_secret_0ymuM8JWPsuvxcX2H3ZhEU6s2", + "client_secret": "pi_3JZDHt2sOmf47Nz91D3ehMM4_secret_32yOQ25VnOFnmBaGcRqoAfRgw", "confirmation_method": "manual", - "created": 1623413439, + "created": 1631532325, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -304,7 +304,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19C62sOmf47Nz90ly8PIVC", + "payment_method": "pm_1JZDHs2sOmf47Nz9cOqZ4bBg", "payment_method_options": { "card": { "installments": null, @@ -326,13 +326,13 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:40 GMT + recorded_at: Mon, 13 Sep 2021 11:25:26 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_1J19C72sOmf47Nz9H32ZvrrU + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDHt2sOmf47Nz91D3ehMM4 body: encoding: UTF-8 - string: description=Invoice+reference%3A+2106001%2FVL + string: description=Invoice+reference%3A+2109001%2FVL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -341,13 +341,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2niOSD6nIWAZIB","request_duration_ms":1485}}' + - '{"last_request_metrics":{"request_id":"req_mhW9POLRyd3Dhd","request_duration_ms":1607}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -360,11 +360,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:40 GMT + - Mon, 13 Sep 2021 11:25:27 GMT Content-Type: - application/json Content-Length: - - '4286' + - '4285' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -380,7 +380,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_L7oB3NXiThfKHq + - req_TcOgzUQyxdYFzW Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -391,7 +391,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19C72sOmf47Nz9H32ZvrrU", + "id": "pi_3JZDHt2sOmf47Nz91D3ehMM4", "object": "payment_intent", "amount": 2400, "amount_capturable": 0, @@ -405,7 +405,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19C72sOmf47Nz9aFGRLYwk", + "id": "ch_3JZDHt2sOmf47Nz91hPkhYg9", "object": "charge", "amount": 2400, "amount_captured": 2400, @@ -413,7 +413,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19C72sOmf47Nz9D6XLqCkM", + "balance_transaction": "txn_3JZDHt2sOmf47Nz91S8s9s5v", "billing_details": { "address": { "city": null, @@ -429,7 +429,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413439, + "created": 1631532325, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -450,13 +450,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 36, + "risk_score": 3, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19C72sOmf47Nz9H32ZvrrU", - "payment_method": "pm_1J19C62sOmf47Nz90ly8PIVC", + "payment_intent": "pi_3JZDHt2sOmf47Nz91D3ehMM4", + "payment_method": "pm_1JZDHs2sOmf47Nz9cOqZ4bBg", "payment_method_details": { "card": { "brand": "visa", @@ -480,7 +480,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19C72sOmf47Nz9aFGRLYwk/rcpt_JeS6JAu6YVFr9TilSFUt95UFoJJqmjc", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHt2sOmf47Nz91hPkhYg9/rcpt_KDebR8jNcFj6jBQtEg5j7kmeqfkEOJu", "refunded": false, "refunds": { "object": "list", @@ -489,7 +489,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19C72sOmf47Nz9aFGRLYwk/refunds" + "url": "/v1/charges/ch_3JZDHt2sOmf47Nz91hPkhYg9/refunds" }, "review": null, "shipping": null, @@ -504,14 +504,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19C72sOmf47Nz9H32ZvrrU" + "url": "/v1/charges?payment_intent=pi_3JZDHt2sOmf47Nz91D3ehMM4" }, - "client_secret": "pi_1J19C72sOmf47Nz9H32ZvrrU_secret_0ymuM8JWPsuvxcX2H3ZhEU6s2", + "client_secret": "pi_3JZDHt2sOmf47Nz91D3ehMM4_secret_32yOQ25VnOFnmBaGcRqoAfRgw", "confirmation_method": "manual", - "created": 1623413439, + "created": 1631532325, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -519,7 +519,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19C62sOmf47Nz90ly8PIVC", + "payment_method": "pm_1JZDHs2sOmf47Nz9cOqZ4bBg", "payment_method_options": { "card": { "installments": null, @@ -541,5 +541,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:41 GMT + recorded_at: Mon, 13 Sep 2021 11:25:27 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_create_for_machine_with_subscription_success.yml b/test/vcr_cassettes/reservations_create_for_machine_with_subscription_success.yml index b0025df9c..15cc75424 100644 --- a/test/vcr_cassettes/reservations_create_for_machine_with_subscription_success.yml +++ b/test/vcr_cassettes/reservations_create_for_machine_with_subscription_success.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CTkdNA8UVkIfpV","request_duration_ms":360}}' + - '{"last_request_metrics":{"request_id":"req_74fhBmPb5JM90V","request_duration_ms":347}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:11 GMT + - Mon, 13 Sep 2021 11:25:21 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_0UbkJM8MshuJWR + - req_qA7iTXatU8qi7j Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19Be2sOmf47Nz9JSvCV9Tb", + "id": "pm_1JZDHo2sOmf47Nz9QRMxej5B", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413411, + "created": 1631532321, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:11 GMT + recorded_at: Mon, 13 Sep 2021 11:25:21 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19Be2sOmf47Nz9JSvCV9Tb&amount=1000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8CzKe50I0J1gaI + string: payment_method=pm_1JZDHo2sOmf47Nz9QRMxej5B&amount=1000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8CzKe50I0J1gaI headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0UbkJM8MshuJWR","request_duration_ms":648}}' + - '{"last_request_metrics":{"request_id":"req_qA7iTXatU8qi7j","request_duration_ms":690}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,7 +145,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:12 GMT + - Mon, 13 Sep 2021 11:25:22 GMT Content-Type: - application/json Content-Length: @@ -165,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_VTneGxjZI1u1PD + - req_yaOKxPsYbm1Wpe Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19Bf2sOmf47Nz9DiQ0cPCK", + "id": "pi_3JZDHp2sOmf47Nz90oM1JY8H", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -190,7 +190,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Bf2sOmf47Nz9TGxG8k6F", + "id": "ch_3JZDHp2sOmf47Nz90de6bS6N", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -198,7 +198,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Bg2sOmf47Nz9klgYeXZ6", + "balance_transaction": "txn_3JZDHp2sOmf47Nz90ckFwi4X", "billing_details": { "address": { "city": null, @@ -214,7 +214,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413411, + "created": 1631532321, "currency": "usd", "customer": "cus_8CzKe50I0J1gaI", "description": null, @@ -235,13 +235,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 6, + "risk_score": 7, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Bf2sOmf47Nz9DiQ0cPCK", - "payment_method": "pm_1J19Be2sOmf47Nz9JSvCV9Tb", + "payment_intent": "pi_3JZDHp2sOmf47Nz90oM1JY8H", + "payment_method": "pm_1JZDHo2sOmf47Nz9QRMxej5B", "payment_method_details": { "card": { "brand": "visa", @@ -265,7 +265,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Bf2sOmf47Nz9TGxG8k6F/rcpt_JeS5VJUmmz6o7Sg3YxpS2PoSeoXLLdg", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHp2sOmf47Nz90de6bS6N/rcpt_KDebtcSulKsJmqfWP8JVsJBxyygoYaN", "refunded": false, "refunds": { "object": "list", @@ -274,7 +274,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Bf2sOmf47Nz9TGxG8k6F/refunds" + "url": "/v1/charges/ch_3JZDHp2sOmf47Nz90de6bS6N/refunds" }, "review": null, "shipping": null, @@ -289,11 +289,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Bf2sOmf47Nz9DiQ0cPCK" + "url": "/v1/charges?payment_intent=pi_3JZDHp2sOmf47Nz90oM1JY8H" }, - "client_secret": "pi_1J19Bf2sOmf47Nz9DiQ0cPCK_secret_sO1O8SgzjiZ0sjuVhRTmIjrNd", + "client_secret": "pi_3JZDHp2sOmf47Nz90oM1JY8H_secret_anKmcF8avK0Dm3umVApKUy4TZ", "confirmation_method": "manual", - "created": 1623413411, + "created": 1631532321, "currency": "usd", "customer": "cus_8CzKe50I0J1gaI", "description": null, @@ -304,7 +304,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Be2sOmf47Nz9JSvCV9Tb", + "payment_method": "pm_1JZDHo2sOmf47Nz9QRMxej5B", "payment_method_options": { "card": { "installments": null, @@ -326,13 +326,13 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:12 GMT + recorded_at: Mon, 13 Sep 2021 11:25:22 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_1J19Bf2sOmf47Nz9DiQ0cPCK + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDHp2sOmf47Nz90oM1JY8H body: encoding: UTF-8 - string: description=Invoice+reference%3A+2106001%2FVL + string: description=Invoice+reference%3A+2109001%2FVL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -341,13 +341,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VTneGxjZI1u1PD","request_duration_ms":1667}}' + - '{"last_request_metrics":{"request_id":"req_yaOKxPsYbm1Wpe","request_duration_ms":1466}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -360,7 +360,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:13 GMT + - Mon, 13 Sep 2021 11:25:23 GMT Content-Type: - application/json Content-Length: @@ -380,7 +380,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_C5jiry9wUrfSUk + - req_5TvWs7UmY2UdpH Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -391,7 +391,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19Bf2sOmf47Nz9DiQ0cPCK", + "id": "pi_3JZDHp2sOmf47Nz90oM1JY8H", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -405,7 +405,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Bf2sOmf47Nz9TGxG8k6F", + "id": "ch_3JZDHp2sOmf47Nz90de6bS6N", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -413,7 +413,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Bg2sOmf47Nz9klgYeXZ6", + "balance_transaction": "txn_3JZDHp2sOmf47Nz90ckFwi4X", "billing_details": { "address": { "city": null, @@ -429,7 +429,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413411, + "created": 1631532321, "currency": "usd", "customer": "cus_8CzKe50I0J1gaI", "description": null, @@ -450,13 +450,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 6, + "risk_score": 7, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Bf2sOmf47Nz9DiQ0cPCK", - "payment_method": "pm_1J19Be2sOmf47Nz9JSvCV9Tb", + "payment_intent": "pi_3JZDHp2sOmf47Nz90oM1JY8H", + "payment_method": "pm_1JZDHo2sOmf47Nz9QRMxej5B", "payment_method_details": { "card": { "brand": "visa", @@ -480,7 +480,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Bf2sOmf47Nz9TGxG8k6F/rcpt_JeS5VJUmmz6o7Sg3YxpS2PoSeoXLLdg", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHp2sOmf47Nz90de6bS6N/rcpt_KDebtcSulKsJmqfWP8JVsJBxyygoYaN", "refunded": false, "refunds": { "object": "list", @@ -489,7 +489,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Bf2sOmf47Nz9TGxG8k6F/refunds" + "url": "/v1/charges/ch_3JZDHp2sOmf47Nz90de6bS6N/refunds" }, "review": null, "shipping": null, @@ -504,14 +504,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Bf2sOmf47Nz9DiQ0cPCK" + "url": "/v1/charges?payment_intent=pi_3JZDHp2sOmf47Nz90oM1JY8H" }, - "client_secret": "pi_1J19Bf2sOmf47Nz9DiQ0cPCK_secret_sO1O8SgzjiZ0sjuVhRTmIjrNd", + "client_secret": "pi_3JZDHp2sOmf47Nz90oM1JY8H_secret_anKmcF8avK0Dm3umVApKUy4TZ", "confirmation_method": "manual", - "created": 1623413411, + "created": 1631532321, "currency": "usd", "customer": "cus_8CzKe50I0J1gaI", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -519,7 +519,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Be2sOmf47Nz9JSvCV9Tb", + "payment_method": "pm_1JZDHo2sOmf47Nz9QRMxej5B", "payment_method_options": { "card": { "installments": null, @@ -541,5 +541,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:13 GMT + recorded_at: Mon, 13 Sep 2021 11:25:23 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_create_for_machine_without_subscription_error.yml b/test/vcr_cassettes/reservations_create_for_machine_without_subscription_error.yml index 86aec5065..1fb9ba901 100644 --- a/test/vcr_cassettes/reservations_create_for_machine_without_subscription_error.yml +++ b/test/vcr_cassettes/reservations_create_for_machine_without_subscription_error.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_C5jiry9wUrfSUk","request_duration_ms":465}}' + - '{"last_request_metrics":{"request_id":"req_GD1Z3hXLp0GqJ1","request_duration_ms":329}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:14 GMT + - Mon, 13 Sep 2021 11:25:55 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_6u8nwFE3OSZsT4 + - req_rJM7Tj1DPqPulJ Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19Bi2sOmf47Nz9O7ZqNddc", + "id": "pm_1JZDIN2sOmf47Nz9f0AEfh00", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413414, + "created": 1631532355, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:14 GMT + recorded_at: Mon, 13 Sep 2021 11:25:55 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19Bi2sOmf47Nz9O7ZqNddc&amount=3200¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt + string: payment_method=pm_1JZDIN2sOmf47Nz9f0AEfh00&amount=3200¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6u8nwFE3OSZsT4","request_duration_ms":597}}' + - '{"last_request_metrics":{"request_id":"req_rJM7Tj1DPqPulJ","request_duration_ms":555}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,7 +145,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:15 GMT + - Mon, 13 Sep 2021 11:25:57 GMT Content-Type: - application/json Content-Length: @@ -165,7 +165,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_mjdUP4FJgd6Dm2 + - req_IZgIUq8bIVGJqo Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -177,13 +177,13 @@ http_interactions: string: | { "error": { - "charge": "ch_1J19Bj2sOmf47Nz9n99oJJbD", + "charge": "ch_3JZDIO2sOmf47Nz91AFXiCrj", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_1J19Bi2sOmf47Nz9SGiyMLkI", + "id": "pi_3JZDIO2sOmf47Nz910bWXahH", "object": "payment_intent", "amount": 3200, "amount_capturable": 0, @@ -197,7 +197,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Bj2sOmf47Nz9n99oJJbD", + "id": "ch_3JZDIO2sOmf47Nz91AFXiCrj", "object": "charge", "amount": 3200, "amount_captured": 0, @@ -221,7 +221,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": false, - "created": 1623413415, + "created": 1631532356, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -242,13 +242,13 @@ http_interactions: "network_status": "declined_by_network", "reason": "generic_decline", "risk_level": "normal", - "risk_score": 28, + "risk_score": 34, "seller_message": "The bank did not return any further details with this decline.", "type": "issuer_declined" }, "paid": false, - "payment_intent": "pi_1J19Bi2sOmf47Nz9SGiyMLkI", - "payment_method": "pm_1J19Bi2sOmf47Nz9O7ZqNddc", + "payment_intent": "pi_3JZDIO2sOmf47Nz910bWXahH", + "payment_method": "pm_1JZDIN2sOmf47Nz9f0AEfh00", "payment_method_details": { "card": { "brand": "visa", @@ -281,7 +281,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Bj2sOmf47Nz9n99oJJbD/refunds" + "url": "/v1/charges/ch_3JZDIO2sOmf47Nz91AFXiCrj/refunds" }, "review": null, "shipping": null, @@ -296,23 +296,23 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Bi2sOmf47Nz9SGiyMLkI" + "url": "/v1/charges?payment_intent=pi_3JZDIO2sOmf47Nz910bWXahH" }, - "client_secret": "pi_1J19Bi2sOmf47Nz9SGiyMLkI_secret_uWpiwOiTPrRaljspJWKFTDblC", + "client_secret": "pi_3JZDIO2sOmf47Nz910bWXahH_secret_kPXjVYROVeT9wM3NFM2PrtDRX", "confirmation_method": "manual", - "created": 1623413414, + "created": 1631532356, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_1J19Bj2sOmf47Nz9n99oJJbD", + "charge": "ch_3JZDIO2sOmf47Nz91AFXiCrj", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1J19Bi2sOmf47Nz9O7ZqNddc", + "id": "pm_1JZDIN2sOmf47Nz9f0AEfh00", "object": "payment_method", "billing_details": { "address": { @@ -352,7 +352,7 @@ http_interactions: }, "wallet": null }, - "created": 1623413414, + "created": 1631532355, "customer": null, "livemode": false, "metadata": { @@ -389,7 +389,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1J19Bi2sOmf47Nz9O7ZqNddc", + "id": "pm_1JZDIN2sOmf47Nz9f0AEfh00", "object": "payment_method", "billing_details": { "address": { @@ -429,7 +429,7 @@ http_interactions: }, "wallet": null }, - "created": 1623413414, + "created": 1631532355, "customer": null, "livemode": false, "metadata": { @@ -439,5 +439,5 @@ http_interactions: "type": "card_error" } } - recorded_at: Fri, 11 Jun 2021 12:10:15 GMT + recorded_at: Mon, 13 Sep 2021 11:25:57 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_create_for_machine_without_subscription_success.yml b/test/vcr_cassettes/reservations_create_for_machine_without_subscription_success.yml index a47918cbf..0b06ee79f 100644 --- a/test/vcr_cassettes/reservations_create_for_machine_without_subscription_success.yml +++ b/test/vcr_cassettes/reservations_create_for_machine_without_subscription_success.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iLsFVasH8kGMo7","request_duration_ms":623}}' + - '{"last_request_metrics":{"request_id":"req_amT9NxCRaztTRy","request_duration_ms":606}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:35 GMT + - Mon, 13 Sep 2021 11:25:35 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_kYPWtw2ej2J6VG + - req_gMBM6uE4HlV90j Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19C32sOmf47Nz9HKbXgdkN", + "id": "pm_1JZDI22sOmf47Nz9OFc3vyXK", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413435, + "created": 1631532334, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:35 GMT + recorded_at: Mon, 13 Sep 2021 11:25:35 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19C32sOmf47Nz9HKbXgdkN&amount=3200¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt + string: payment_method=pm_1JZDI22sOmf47Nz9OFc3vyXK&amount=3200¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kYPWtw2ej2J6VG","request_duration_ms":589}}' + - '{"last_request_metrics":{"request_id":"req_gMBM6uE4HlV90j","request_duration_ms":698}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,7 +145,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:37 GMT + - Mon, 13 Sep 2021 11:25:36 GMT Content-Type: - application/json Content-Length: @@ -165,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_eegs9aegAiqL5L + - req_JZtoC3OckdCMFv Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19C42sOmf47Nz9IKXd4HuT", + "id": "pi_3JZDI32sOmf47Nz903ola4BM", "object": "payment_intent", "amount": 3200, "amount_capturable": 0, @@ -190,7 +190,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19C42sOmf47Nz9zZ3DgNMC", + "id": "ch_3JZDI32sOmf47Nz90eSrwzpy", "object": "charge", "amount": 3200, "amount_captured": 3200, @@ -198,7 +198,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19C42sOmf47Nz9UrlLJzDe", + "balance_transaction": "txn_3JZDI32sOmf47Nz90SFkzjRK", "billing_details": { "address": { "city": null, @@ -214,7 +214,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413436, + "created": 1631532335, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -235,13 +235,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 43, + "risk_score": 39, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19C42sOmf47Nz9IKXd4HuT", - "payment_method": "pm_1J19C32sOmf47Nz9HKbXgdkN", + "payment_intent": "pi_3JZDI32sOmf47Nz903ola4BM", + "payment_method": "pm_1JZDI22sOmf47Nz9OFc3vyXK", "payment_method_details": { "card": { "brand": "visa", @@ -265,7 +265,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19C42sOmf47Nz9zZ3DgNMC/rcpt_JeS6yZgl2xYi71QATPHJs6AriBq2gUB", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDI32sOmf47Nz90eSrwzpy/rcpt_KDebV416ITY20HqMKlEGMbrT4KRJnk4", "refunded": false, "refunds": { "object": "list", @@ -274,7 +274,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19C42sOmf47Nz9zZ3DgNMC/refunds" + "url": "/v1/charges/ch_3JZDI32sOmf47Nz90eSrwzpy/refunds" }, "review": null, "shipping": null, @@ -289,11 +289,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19C42sOmf47Nz9IKXd4HuT" + "url": "/v1/charges?payment_intent=pi_3JZDI32sOmf47Nz903ola4BM" }, - "client_secret": "pi_1J19C42sOmf47Nz9IKXd4HuT_secret_ACN3JLLS2l9eBC0mzPgVewF1F", + "client_secret": "pi_3JZDI32sOmf47Nz903ola4BM_secret_xplZZwGlWQUFX0yhQ8EXru0bU", "confirmation_method": "manual", - "created": 1623413436, + "created": 1631532335, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -304,7 +304,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19C32sOmf47Nz9HKbXgdkN", + "payment_method": "pm_1JZDI22sOmf47Nz9OFc3vyXK", "payment_method_options": { "card": { "installments": null, @@ -326,13 +326,13 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:37 GMT + recorded_at: Mon, 13 Sep 2021 11:25:36 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_1J19C42sOmf47Nz9IKXd4HuT + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDI32sOmf47Nz903ola4BM body: encoding: UTF-8 - string: description=Invoice+reference%3A+2106001%2FVL + string: description=Invoice+reference%3A+2109001%2FVL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -341,13 +341,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eegs9aegAiqL5L","request_duration_ms":1613}}' + - '{"last_request_metrics":{"request_id":"req_JZtoC3OckdCMFv","request_duration_ms":1514}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -360,7 +360,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:37 GMT + - Mon, 13 Sep 2021 11:25:37 GMT Content-Type: - application/json Content-Length: @@ -380,7 +380,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_Qtzi0kqF6AGh3Q + - req_7tiQl4FwRUcoiN Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -391,7 +391,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19C42sOmf47Nz9IKXd4HuT", + "id": "pi_3JZDI32sOmf47Nz903ola4BM", "object": "payment_intent", "amount": 3200, "amount_capturable": 0, @@ -405,7 +405,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19C42sOmf47Nz9zZ3DgNMC", + "id": "ch_3JZDI32sOmf47Nz90eSrwzpy", "object": "charge", "amount": 3200, "amount_captured": 3200, @@ -413,7 +413,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19C42sOmf47Nz9UrlLJzDe", + "balance_transaction": "txn_3JZDI32sOmf47Nz90SFkzjRK", "billing_details": { "address": { "city": null, @@ -429,7 +429,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413436, + "created": 1631532335, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -450,13 +450,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 43, + "risk_score": 39, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19C42sOmf47Nz9IKXd4HuT", - "payment_method": "pm_1J19C32sOmf47Nz9HKbXgdkN", + "payment_intent": "pi_3JZDI32sOmf47Nz903ola4BM", + "payment_method": "pm_1JZDI22sOmf47Nz9OFc3vyXK", "payment_method_details": { "card": { "brand": "visa", @@ -480,7 +480,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19C42sOmf47Nz9zZ3DgNMC/rcpt_JeS6yZgl2xYi71QATPHJs6AriBq2gUB", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDI32sOmf47Nz90eSrwzpy/rcpt_KDebV416ITY20HqMKlEGMbrT4KRJnk4", "refunded": false, "refunds": { "object": "list", @@ -489,7 +489,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19C42sOmf47Nz9zZ3DgNMC/refunds" + "url": "/v1/charges/ch_3JZDI32sOmf47Nz90eSrwzpy/refunds" }, "review": null, "shipping": null, @@ -504,14 +504,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19C42sOmf47Nz9IKXd4HuT" + "url": "/v1/charges?payment_intent=pi_3JZDI32sOmf47Nz903ola4BM" }, - "client_secret": "pi_1J19C42sOmf47Nz9IKXd4HuT_secret_ACN3JLLS2l9eBC0mzPgVewF1F", + "client_secret": "pi_3JZDI32sOmf47Nz903ola4BM_secret_xplZZwGlWQUFX0yhQ8EXru0bU", "confirmation_method": "manual", - "created": 1623413436, + "created": 1631532335, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -519,7 +519,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19C32sOmf47Nz9HKbXgdkN", + "payment_method": "pm_1JZDI22sOmf47Nz9OFc3vyXK", "payment_method_options": { "card": { "installments": null, @@ -541,5 +541,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:37 GMT + recorded_at: Mon, 13 Sep 2021 11:25:37 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_create_for_restricted_slot_fails.yml b/test/vcr_cassettes/reservations_create_for_restricted_slot_fails.yml index 0dc637cfb..98aef3105 100644 --- a/test/vcr_cassettes/reservations_create_for_restricted_slot_fails.yml +++ b/test/vcr_cassettes/reservations_create_for_restricted_slot_fails.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tdtxVNNKxaRHxE","request_duration_ms":2}}' + - '{"last_request_metrics":{"request_id":"req_ysWG3JfyCp5xVD","request_duration_ms":520}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:15:10 GMT + - Mon, 13 Sep 2021 11:24:10 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_sPeoJkITBeFrHQ + - req_7RNGSU2vySHdHz Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19GT2sOmf47Nz98lwM2AzV", + "id": "pm_1JZDGg2sOmf47Nz9pfmMaPtb", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413710, + "created": 1631532250, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:15:10 GMT + recorded_at: Mon, 13 Sep 2021 11:24:10 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19GT2sOmf47Nz98lwM2AzV&amount=4200¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt + string: payment_method=pm_1JZDGg2sOmf47Nz9pfmMaPtb&amount=4200¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_sPeoJkITBeFrHQ","request_duration_ms":672}}' + - '{"last_request_metrics":{"request_id":"req_7RNGSU2vySHdHz","request_duration_ms":628}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,11 +145,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:15:11 GMT + - Mon, 13 Sep 2021 11:24:12 GMT Content-Type: - application/json Content-Length: - - '4259' + - '4258' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -165,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_nfTsL4x7hjHtX7 + - req_NgGOJxEFd8THv8 Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19GU2sOmf47Nz9c91GTavq", + "id": "pi_3JZDGh2sOmf47Nz91FT4yZ2t", "object": "payment_intent", "amount": 4200, "amount_capturable": 0, @@ -190,7 +190,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19GV2sOmf47Nz9dBSG8c8F", + "id": "ch_3JZDGh2sOmf47Nz91FoAsBFe", "object": "charge", "amount": 4200, "amount_captured": 4200, @@ -198,7 +198,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19GV2sOmf47Nz9QdwG8Nn7", + "balance_transaction": "txn_3JZDGh2sOmf47Nz91yuRvukb", "billing_details": { "address": { "city": null, @@ -214,7 +214,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413711, + "created": 1631532251, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -235,13 +235,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 38, + "risk_score": 2, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19GU2sOmf47Nz9c91GTavq", - "payment_method": "pm_1J19GT2sOmf47Nz98lwM2AzV", + "payment_intent": "pi_3JZDGh2sOmf47Nz91FT4yZ2t", + "payment_method": "pm_1JZDGg2sOmf47Nz9pfmMaPtb", "payment_method_details": { "card": { "brand": "visa", @@ -265,7 +265,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19GV2sOmf47Nz9dBSG8c8F/rcpt_JeSAp69l6Sv5QMWGfH7Z9UgRmjgh7Kp", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDGh2sOmf47Nz91FoAsBFe/rcpt_KDeZ4pRoBzCyvhebh2wUzvr5fmdZdtD", "refunded": false, "refunds": { "object": "list", @@ -274,7 +274,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19GV2sOmf47Nz9dBSG8c8F/refunds" + "url": "/v1/charges/ch_3JZDGh2sOmf47Nz91FoAsBFe/refunds" }, "review": null, "shipping": null, @@ -289,11 +289,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19GU2sOmf47Nz9c91GTavq" + "url": "/v1/charges?payment_intent=pi_3JZDGh2sOmf47Nz91FT4yZ2t" }, - "client_secret": "pi_1J19GU2sOmf47Nz9c91GTavq_secret_v9nhUxHNKVUFRXio5geVYxKTi", + "client_secret": "pi_3JZDGh2sOmf47Nz91FT4yZ2t_secret_F3QBmBEtZjcaKblNLMUnLO6hD", "confirmation_method": "manual", - "created": 1623413710, + "created": 1631532251, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -304,7 +304,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19GT2sOmf47Nz98lwM2AzV", + "payment_method": "pm_1JZDGg2sOmf47Nz9pfmMaPtb", "payment_method_options": { "card": { "installments": null, @@ -326,5 +326,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:15:11 GMT + recorded_at: Mon, 13 Sep 2021 11:24:12 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_create_for_restricted_slot_success.yml b/test/vcr_cassettes/reservations_create_for_restricted_slot_success.yml index 6d0e74935..a4a9e06fc 100644 --- a/test/vcr_cassettes/reservations_create_for_restricted_slot_success.yml +++ b/test/vcr_cassettes/reservations_create_for_restricted_slot_success.yml @@ -13,12 +13,14 @@ http_interactions: - Bearer sk_test_testfaketestfaketestfake Content-Type: - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_NgGOJxEFd8THv8","request_duration_ms":1772}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -31,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:08:43 GMT + - Mon, 13 Sep 2021 11:24:13 GMT Content-Type: - application/json Content-Length: @@ -51,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_7h6cmDUYO6gEil + - req_px5zsAdlzgwwSe Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19AE2sOmf47Nz9gRvdc0YH", + "id": "pm_1JZDGj2sOmf47Nz9S8jhZkFt", "object": "payment_method", "billing_details": { "address": { @@ -102,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413323, + "created": 1631532253, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:08:43 GMT + recorded_at: Mon, 13 Sep 2021 11:24:13 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19AE2sOmf47Nz9gRvdc0YH&amount=1500¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8CzHcwBJtlA3IL + string: payment_method=pm_1JZDGj2sOmf47Nz9S8jhZkFt&amount=1500¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8CzHcwBJtlA3IL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -124,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7h6cmDUYO6gEil","request_duration_ms":701}}' + - '{"last_request_metrics":{"request_id":"req_px5zsAdlzgwwSe","request_duration_ms":619}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -143,11 +145,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:08:44 GMT + - Mon, 13 Sep 2021 11:24:15 GMT Content-Type: - application/json Content-Length: - - '4258' + - '4259' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -163,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_JnNw9qW6iIfVwV + - req_EMDO1Z1Uux0kJb Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19AF2sOmf47Nz9YtcTxgsy", + "id": "pi_3JZDGj2sOmf47Nz90n2aOsuM", "object": "payment_intent", "amount": 1500, "amount_capturable": 0, @@ -188,7 +190,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19AF2sOmf47Nz9ePKivBN8", + "id": "ch_3JZDGj2sOmf47Nz90qQzwGqL", "object": "charge", "amount": 1500, "amount_captured": 1500, @@ -196,7 +198,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19AG2sOmf47Nz9GR2bkWKA", + "balance_transaction": "txn_3JZDGj2sOmf47Nz90fOwfgv5", "billing_details": { "address": { "city": null, @@ -212,7 +214,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413323, + "created": 1631532254, "currency": "usd", "customer": "cus_8CzHcwBJtlA3IL", "description": null, @@ -233,13 +235,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 0, + "risk_score": 22, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19AF2sOmf47Nz9YtcTxgsy", - "payment_method": "pm_1J19AE2sOmf47Nz9gRvdc0YH", + "payment_intent": "pi_3JZDGj2sOmf47Nz90n2aOsuM", + "payment_method": "pm_1JZDGj2sOmf47Nz9S8jhZkFt", "payment_method_details": { "card": { "brand": "visa", @@ -263,7 +265,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19AF2sOmf47Nz9ePKivBN8/rcpt_JeS4TGjI8HE8PYOUjp8hx1pvZEyPRYo", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDGj2sOmf47Nz90qQzwGqL/rcpt_KDeZMofbRKdRjLxxUw4LZO1LIDJP1sR", "refunded": false, "refunds": { "object": "list", @@ -272,7 +274,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19AF2sOmf47Nz9ePKivBN8/refunds" + "url": "/v1/charges/ch_3JZDGj2sOmf47Nz90qQzwGqL/refunds" }, "review": null, "shipping": null, @@ -287,11 +289,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19AF2sOmf47Nz9YtcTxgsy" + "url": "/v1/charges?payment_intent=pi_3JZDGj2sOmf47Nz90n2aOsuM" }, - "client_secret": "pi_1J19AF2sOmf47Nz9YtcTxgsy_secret_wmBrh49rseqoeNCeTs9JI0cYl", + "client_secret": "pi_3JZDGj2sOmf47Nz90n2aOsuM_secret_WR5cdTATWgOShT8ZHInabONRL", "confirmation_method": "manual", - "created": 1623413323, + "created": 1631532253, "currency": "usd", "customer": "cus_8CzHcwBJtlA3IL", "description": null, @@ -302,7 +304,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19AE2sOmf47Nz9gRvdc0YH", + "payment_method": "pm_1JZDGj2sOmf47Nz9S8jhZkFt", "payment_method_options": { "card": { "installments": null, @@ -324,13 +326,13 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:08:44 GMT + recorded_at: Mon, 13 Sep 2021 11:24:15 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_1J19AF2sOmf47Nz9YtcTxgsy + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDGj2sOmf47Nz90n2aOsuM body: encoding: UTF-8 - string: description=Invoice+reference%3A+2106001%2FVL + string: description=Invoice+reference%3A+2109001%2FVL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -339,13 +341,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JnNw9qW6iIfVwV","request_duration_ms":1414}}' + - '{"last_request_metrics":{"request_id":"req_EMDO1Z1Uux0kJb","request_duration_ms":1528}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -358,11 +360,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:08:45 GMT + - Mon, 13 Sep 2021 11:24:15 GMT Content-Type: - application/json Content-Length: - - '4285' + - '4286' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -378,7 +380,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_tdtxVNNKxaRHxE + - req_Xmih0ndHQjzde4 Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -389,7 +391,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19AF2sOmf47Nz9YtcTxgsy", + "id": "pi_3JZDGj2sOmf47Nz90n2aOsuM", "object": "payment_intent", "amount": 1500, "amount_capturable": 0, @@ -403,7 +405,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19AF2sOmf47Nz9ePKivBN8", + "id": "ch_3JZDGj2sOmf47Nz90qQzwGqL", "object": "charge", "amount": 1500, "amount_captured": 1500, @@ -411,7 +413,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19AG2sOmf47Nz9GR2bkWKA", + "balance_transaction": "txn_3JZDGj2sOmf47Nz90fOwfgv5", "billing_details": { "address": { "city": null, @@ -427,7 +429,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413323, + "created": 1631532254, "currency": "usd", "customer": "cus_8CzHcwBJtlA3IL", "description": null, @@ -448,13 +450,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 0, + "risk_score": 22, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19AF2sOmf47Nz9YtcTxgsy", - "payment_method": "pm_1J19AE2sOmf47Nz9gRvdc0YH", + "payment_intent": "pi_3JZDGj2sOmf47Nz90n2aOsuM", + "payment_method": "pm_1JZDGj2sOmf47Nz9S8jhZkFt", "payment_method_details": { "card": { "brand": "visa", @@ -478,7 +480,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19AF2sOmf47Nz9ePKivBN8/rcpt_JeS4TGjI8HE8PYOUjp8hx1pvZEyPRYo", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDGj2sOmf47Nz90qQzwGqL/rcpt_KDeZMofbRKdRjLxxUw4LZO1LIDJP1sR", "refunded": false, "refunds": { "object": "list", @@ -487,7 +489,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19AF2sOmf47Nz9ePKivBN8/refunds" + "url": "/v1/charges/ch_3JZDGj2sOmf47Nz90qQzwGqL/refunds" }, "review": null, "shipping": null, @@ -502,14 +504,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19AF2sOmf47Nz9YtcTxgsy" + "url": "/v1/charges?payment_intent=pi_3JZDGj2sOmf47Nz90n2aOsuM" }, - "client_secret": "pi_1J19AF2sOmf47Nz9YtcTxgsy_secret_wmBrh49rseqoeNCeTs9JI0cYl", + "client_secret": "pi_3JZDGj2sOmf47Nz90n2aOsuM_secret_WR5cdTATWgOShT8ZHInabONRL", "confirmation_method": "manual", - "created": 1623413323, + "created": 1631532253, "currency": "usd", "customer": "cus_8CzHcwBJtlA3IL", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -517,7 +519,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19AE2sOmf47Nz9gRvdc0YH", + "payment_method": "pm_1JZDGj2sOmf47Nz9S8jhZkFt", "payment_method_options": { "card": { "installments": null, @@ -539,5 +541,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:08:45 GMT + recorded_at: Mon, 13 Sep 2021 11:24:15 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_create_for_training_and_plan_by_pay_wallet_success.yml b/test/vcr_cassettes/reservations_create_for_training_and_plan_by_pay_wallet_success.yml index 848e48e7f..d5fba4ec1 100644 --- a/test/vcr_cassettes/reservations_create_for_training_and_plan_by_pay_wallet_success.yml +++ b/test/vcr_cassettes/reservations_create_for_training_and_plan_by_pay_wallet_success.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XakpVhlXhUOPhF","request_duration_ms":486}}' + - '{"last_request_metrics":{"request_id":"req_7tiQl4FwRUcoiN","request_duration_ms":549}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:23 GMT + - Mon, 13 Sep 2021 11:25:38 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_1zLewxbxeOTCH1 + - req_EfPQAwZ9RxJvOI Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19Br2sOmf47Nz91LRiLxIn", + "id": "pm_1JZDI62sOmf47Nz9Df4HRjcA", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413423, + "created": 1631532338, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:23 GMT + recorded_at: Mon, 13 Sep 2021 11:25:38 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19Br2sOmf47Nz91LRiLxIn&amount=1000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN + string: payment_method=pm_1JZDI62sOmf47Nz9Df4HRjcA&amount=1000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1zLewxbxeOTCH1","request_duration_ms":696}}' + - '{"last_request_metrics":{"request_id":"req_EfPQAwZ9RxJvOI","request_duration_ms":628}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,7 +145,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:25 GMT + - Mon, 13 Sep 2021 11:25:40 GMT Content-Type: - application/json Content-Length: @@ -165,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_4B0ohox4ApLjL5 + - req_ysC1iosOiv3KS6 Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19Br2sOmf47Nz9wnqf26kJ", + "id": "pi_3JZDI62sOmf47Nz91lNS1dRI", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -190,7 +190,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Bs2sOmf47Nz9cZkztkKK", + "id": "ch_3JZDI62sOmf47Nz91SwGR8Tv", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -198,7 +198,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Bs2sOmf47Nz9dHOBJpyh", + "balance_transaction": "txn_3JZDI62sOmf47Nz91fDRdKR3", "billing_details": { "address": { "city": null, @@ -214,7 +214,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413424, + "created": 1631532339, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -235,13 +235,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 29, + "risk_score": 44, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Br2sOmf47Nz9wnqf26kJ", - "payment_method": "pm_1J19Br2sOmf47Nz91LRiLxIn", + "payment_intent": "pi_3JZDI62sOmf47Nz91lNS1dRI", + "payment_method": "pm_1JZDI62sOmf47Nz9Df4HRjcA", "payment_method_details": { "card": { "brand": "visa", @@ -265,7 +265,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Bs2sOmf47Nz9cZkztkKK/rcpt_JeS67BPPDm2r7prt6gvsuPELdNNM49t", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDI62sOmf47Nz91SwGR8Tv/rcpt_KDebrtCiuK3rigtCFPtLQ0rsbEb2Wex", "refunded": false, "refunds": { "object": "list", @@ -274,7 +274,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Bs2sOmf47Nz9cZkztkKK/refunds" + "url": "/v1/charges/ch_3JZDI62sOmf47Nz91SwGR8Tv/refunds" }, "review": null, "shipping": null, @@ -289,11 +289,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Br2sOmf47Nz9wnqf26kJ" + "url": "/v1/charges?payment_intent=pi_3JZDI62sOmf47Nz91lNS1dRI" }, - "client_secret": "pi_1J19Br2sOmf47Nz9wnqf26kJ_secret_CWZsKD4LulCITqndQFtOrG0Iu", + "client_secret": "pi_3JZDI62sOmf47Nz91lNS1dRI_secret_Q9rbILLuXE6YsRS2UL8O2a4qv", "confirmation_method": "manual", - "created": 1623413423, + "created": 1631532338, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -304,7 +304,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Br2sOmf47Nz91LRiLxIn", + "payment_method": "pm_1JZDI62sOmf47Nz9Df4HRjcA", "payment_method_options": { "card": { "installments": null, @@ -326,13 +326,13 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:25 GMT + recorded_at: Mon, 13 Sep 2021 11:25:40 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_1J19Br2sOmf47Nz9wnqf26kJ + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDI62sOmf47Nz91lNS1dRI body: encoding: UTF-8 - string: description=Invoice+reference%3A+2106001%2FVL + string: description=Invoice+reference%3A+2109001%2FVL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -341,13 +341,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4B0ohox4ApLjL5","request_duration_ms":1770}}' + - '{"last_request_metrics":{"request_id":"req_ysC1iosOiv3KS6","request_duration_ms":1745}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -360,7 +360,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:26 GMT + - Mon, 13 Sep 2021 11:25:41 GMT Content-Type: - application/json Content-Length: @@ -380,7 +380,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_I9Ty57VyxHpuf5 + - req_tlpIDMIqln9wab Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -391,7 +391,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19Br2sOmf47Nz9wnqf26kJ", + "id": "pi_3JZDI62sOmf47Nz91lNS1dRI", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -405,7 +405,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Bs2sOmf47Nz9cZkztkKK", + "id": "ch_3JZDI62sOmf47Nz91SwGR8Tv", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -413,7 +413,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Bs2sOmf47Nz9dHOBJpyh", + "balance_transaction": "txn_3JZDI62sOmf47Nz91fDRdKR3", "billing_details": { "address": { "city": null, @@ -429,7 +429,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413424, + "created": 1631532339, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -450,13 +450,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 29, + "risk_score": 44, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Br2sOmf47Nz9wnqf26kJ", - "payment_method": "pm_1J19Br2sOmf47Nz91LRiLxIn", + "payment_intent": "pi_3JZDI62sOmf47Nz91lNS1dRI", + "payment_method": "pm_1JZDI62sOmf47Nz9Df4HRjcA", "payment_method_details": { "card": { "brand": "visa", @@ -480,7 +480,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Bs2sOmf47Nz9cZkztkKK/rcpt_JeS67BPPDm2r7prt6gvsuPELdNNM49t", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDI62sOmf47Nz91SwGR8Tv/rcpt_KDebrtCiuK3rigtCFPtLQ0rsbEb2Wex", "refunded": false, "refunds": { "object": "list", @@ -489,7 +489,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Bs2sOmf47Nz9cZkztkKK/refunds" + "url": "/v1/charges/ch_3JZDI62sOmf47Nz91SwGR8Tv/refunds" }, "review": null, "shipping": null, @@ -504,14 +504,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Br2sOmf47Nz9wnqf26kJ" + "url": "/v1/charges?payment_intent=pi_3JZDI62sOmf47Nz91lNS1dRI" }, - "client_secret": "pi_1J19Br2sOmf47Nz9wnqf26kJ_secret_CWZsKD4LulCITqndQFtOrG0Iu", + "client_secret": "pi_3JZDI62sOmf47Nz91lNS1dRI_secret_Q9rbILLuXE6YsRS2UL8O2a4qv", "confirmation_method": "manual", - "created": 1623413423, + "created": 1631532338, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -519,7 +519,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Br2sOmf47Nz91LRiLxIn", + "payment_method": "pm_1JZDI62sOmf47Nz9Df4HRjcA", "payment_method_options": { "card": { "installments": null, @@ -541,5 +541,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:26 GMT + recorded_at: Mon, 13 Sep 2021 11:25:41 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_create_for_training_without_subscription_success.yml b/test/vcr_cassettes/reservations_create_for_training_without_subscription_success.yml index 310d9cffa..7627fdabd 100644 --- a/test/vcr_cassettes/reservations_create_for_training_without_subscription_success.yml +++ b/test/vcr_cassettes/reservations_create_for_training_without_subscription_success.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_opRsb0WDIwJxrZ","request_duration_ms":461}}' + - '{"last_request_metrics":{"request_id":"req_TcOgzUQyxdYFzW","request_duration_ms":573}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:20 GMT + - Mon, 13 Sep 2021 11:25:29 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_HoOhn7MKpeBtUk + - req_jkDRmPeTCWeUgo Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19Bo2sOmf47Nz9oXBxhBZR", + "id": "pm_1JZDHw2sOmf47Nz9ZDRFtdlo", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413420, + "created": 1631532328, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:20 GMT + recorded_at: Mon, 13 Sep 2021 11:25:29 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19Bo2sOmf47Nz9oXBxhBZR&amount=5100¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt + string: payment_method=pm_1JZDHw2sOmf47Nz9ZDRFtdlo&amount=5100¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HoOhn7MKpeBtUk","request_duration_ms":633}}' + - '{"last_request_metrics":{"request_id":"req_jkDRmPeTCWeUgo","request_duration_ms":717}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,11 +145,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:21 GMT + - Mon, 13 Sep 2021 11:25:30 GMT Content-Type: - application/json Content-Length: - - '4259' + - '4258' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -165,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_3FnQstJP9Rp9XR + - req_gvhFnRWBMHFVtl Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19Bo2sOmf47Nz9Jq9dKoTj", + "id": "pi_3JZDHx2sOmf47Nz90D14Mzxr", "object": "payment_intent", "amount": 5100, "amount_capturable": 0, @@ -190,7 +190,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Bp2sOmf47Nz9Ps4JF3xJ", + "id": "ch_3JZDHx2sOmf47Nz9010NdfRt", "object": "charge", "amount": 5100, "amount_captured": 5100, @@ -198,7 +198,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Bp2sOmf47Nz9PuVT48Lc", + "balance_transaction": "txn_3JZDHx2sOmf47Nz90DwzJqqB", "billing_details": { "address": { "city": null, @@ -214,7 +214,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413421, + "created": 1631532329, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -235,13 +235,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 11, + "risk_score": 4, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Bo2sOmf47Nz9Jq9dKoTj", - "payment_method": "pm_1J19Bo2sOmf47Nz9oXBxhBZR", + "payment_intent": "pi_3JZDHx2sOmf47Nz90D14Mzxr", + "payment_method": "pm_1JZDHw2sOmf47Nz9ZDRFtdlo", "payment_method_details": { "card": { "brand": "visa", @@ -265,7 +265,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Bp2sOmf47Nz9Ps4JF3xJ/rcpt_JeS6R68FYH6P28VDGne8v1k1Jx1Hj3j", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHx2sOmf47Nz9010NdfRt/rcpt_KDebvUvRBB01FEzD9m2pazfqrfF28ot", "refunded": false, "refunds": { "object": "list", @@ -274,7 +274,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Bp2sOmf47Nz9Ps4JF3xJ/refunds" + "url": "/v1/charges/ch_3JZDHx2sOmf47Nz9010NdfRt/refunds" }, "review": null, "shipping": null, @@ -289,11 +289,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Bo2sOmf47Nz9Jq9dKoTj" + "url": "/v1/charges?payment_intent=pi_3JZDHx2sOmf47Nz90D14Mzxr" }, - "client_secret": "pi_1J19Bo2sOmf47Nz9Jq9dKoTj_secret_lqAV5Z0ilLrwtlpcYp9L6yiBJ", + "client_secret": "pi_3JZDHx2sOmf47Nz90D14Mzxr_secret_yHm5wrDM1vfI05FYmWdqtgAdJ", "confirmation_method": "manual", - "created": 1623413420, + "created": 1631532329, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -304,7 +304,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Bo2sOmf47Nz9oXBxhBZR", + "payment_method": "pm_1JZDHw2sOmf47Nz9ZDRFtdlo", "payment_method_options": { "card": { "installments": null, @@ -326,13 +326,13 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:22 GMT + recorded_at: Mon, 13 Sep 2021 11:25:30 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_1J19Bo2sOmf47Nz9Jq9dKoTj + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDHx2sOmf47Nz90D14Mzxr body: encoding: UTF-8 - string: description=Invoice+reference%3A+2106001%2FVL + string: description=Invoice+reference%3A+2109001%2FVL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -341,13 +341,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3FnQstJP9Rp9XR","request_duration_ms":1530}}' + - '{"last_request_metrics":{"request_id":"req_gvhFnRWBMHFVtl","request_duration_ms":1461}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -360,11 +360,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:22 GMT + - Mon, 13 Sep 2021 11:25:31 GMT Content-Type: - application/json Content-Length: - - '4286' + - '4285' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -380,7 +380,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_XakpVhlXhUOPhF + - req_Gw7cg6OuiAXjH4 Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -391,7 +391,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19Bo2sOmf47Nz9Jq9dKoTj", + "id": "pi_3JZDHx2sOmf47Nz90D14Mzxr", "object": "payment_intent", "amount": 5100, "amount_capturable": 0, @@ -405,7 +405,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Bp2sOmf47Nz9Ps4JF3xJ", + "id": "ch_3JZDHx2sOmf47Nz9010NdfRt", "object": "charge", "amount": 5100, "amount_captured": 5100, @@ -413,7 +413,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Bp2sOmf47Nz9PuVT48Lc", + "balance_transaction": "txn_3JZDHx2sOmf47Nz90DwzJqqB", "billing_details": { "address": { "city": null, @@ -429,7 +429,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413421, + "created": 1631532329, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -450,13 +450,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 11, + "risk_score": 4, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Bo2sOmf47Nz9Jq9dKoTj", - "payment_method": "pm_1J19Bo2sOmf47Nz9oXBxhBZR", + "payment_intent": "pi_3JZDHx2sOmf47Nz90D14Mzxr", + "payment_method": "pm_1JZDHw2sOmf47Nz9ZDRFtdlo", "payment_method_details": { "card": { "brand": "visa", @@ -480,7 +480,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Bp2sOmf47Nz9Ps4JF3xJ/rcpt_JeS6R68FYH6P28VDGne8v1k1Jx1Hj3j", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHx2sOmf47Nz9010NdfRt/rcpt_KDebvUvRBB01FEzD9m2pazfqrfF28ot", "refunded": false, "refunds": { "object": "list", @@ -489,7 +489,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Bp2sOmf47Nz9Ps4JF3xJ/refunds" + "url": "/v1/charges/ch_3JZDHx2sOmf47Nz9010NdfRt/refunds" }, "review": null, "shipping": null, @@ -504,14 +504,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Bo2sOmf47Nz9Jq9dKoTj" + "url": "/v1/charges?payment_intent=pi_3JZDHx2sOmf47Nz90D14Mzxr" }, - "client_secret": "pi_1J19Bo2sOmf47Nz9Jq9dKoTj_secret_lqAV5Z0ilLrwtlpcYp9L6yiBJ", + "client_secret": "pi_3JZDHx2sOmf47Nz90D14Mzxr_secret_yHm5wrDM1vfI05FYmWdqtgAdJ", "confirmation_method": "manual", - "created": 1623413420, + "created": 1631532329, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -519,7 +519,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Bo2sOmf47Nz9oXBxhBZR", + "payment_method": "pm_1JZDHw2sOmf47Nz9ZDRFtdlo", "payment_method_options": { "card": { "installments": null, @@ -541,5 +541,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:22 GMT + recorded_at: Mon, 13 Sep 2021 11:25:31 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_retrieve_invoice_from_stripe.yml b/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_retrieve_invoice_from_stripe.yml index d5d9cac1a..9132aeea9 100644 --- a/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_retrieve_invoice_from_stripe.yml +++ b/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_retrieve_invoice_from_stripe.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_1J19Bk2sOmf47Nz9U2nrdVpa + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDIB2sOmf47Nz91NCWzYP6 body: encoding: US-ASCII string: '' @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CkEyaZtZeZiTlr","request_duration_ms":536}}' + - '{"last_request_metrics":{"request_id":"req_TAv2FNDcsNhZ0x","request_duration_ms":477}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:19 GMT + - Mon, 13 Sep 2021 11:25:46 GMT Content-Type: - application/json Content-Length: @@ -53,7 +53,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_opRsb0WDIwJxrZ + - req_kM3vfzGXrrL9Yq Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -64,7 +64,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19Bk2sOmf47Nz9U2nrdVpa", + "id": "pi_3JZDIB2sOmf47Nz91NCWzYP6", "object": "payment_intent", "amount": 3825, "amount_capturable": 0, @@ -78,7 +78,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Bl2sOmf47Nz9d9lBfGrS", + "id": "ch_3JZDIB2sOmf47Nz91buHMX2j", "object": "charge", "amount": 3825, "amount_captured": 3825, @@ -86,7 +86,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Bl2sOmf47Nz9D4BAY7cR", + "balance_transaction": "txn_3JZDIB2sOmf47Nz9120KuoH9", "billing_details": { "address": { "city": null, @@ -102,7 +102,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413417, + "created": 1631532343, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -123,13 +123,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 26, + "risk_score": 32, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Bk2sOmf47Nz9U2nrdVpa", - "payment_method": "pm_1J19Bk2sOmf47Nz9z6WoYUpM", + "payment_intent": "pi_3JZDIB2sOmf47Nz91NCWzYP6", + "payment_method": "pm_1JZDIA2sOmf47Nz9rl1nigpQ", "payment_method_details": { "card": { "brand": "visa", @@ -153,7 +153,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Bl2sOmf47Nz9d9lBfGrS/rcpt_JeS5Ro6whGQ5fxOg5qfb78oSXn36JTU", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDIB2sOmf47Nz91buHMX2j/rcpt_KDebb83SAs8TQggfARcBOMotuxQ1Vxj", "refunded": false, "refunds": { "object": "list", @@ -162,7 +162,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Bl2sOmf47Nz9d9lBfGrS/refunds" + "url": "/v1/charges/ch_3JZDIB2sOmf47Nz91buHMX2j/refunds" }, "review": null, "shipping": null, @@ -177,14 +177,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Bk2sOmf47Nz9U2nrdVpa" + "url": "/v1/charges?payment_intent=pi_3JZDIB2sOmf47Nz91NCWzYP6" }, - "client_secret": "pi_1J19Bk2sOmf47Nz9U2nrdVpa_secret_PteyL7O8ejWSUdzx4VA2OnPjS", + "client_secret": "pi_3JZDIB2sOmf47Nz91NCWzYP6_secret_oIY9Vwdf4coECaCgx0zgmkYMF", "confirmation_method": "manual", - "created": 1623413416, + "created": 1631532343, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -192,7 +192,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Bk2sOmf47Nz9z6WoYUpM", + "payment_method": "pm_1JZDIA2sOmf47Nz9rl1nigpQ", "payment_method_options": { "card": { "installments": null, @@ -214,5 +214,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:19 GMT + recorded_at: Mon, 13 Sep 2021 11:25:46 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_success.yml b/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_success.yml index d4ac5c096..f4e2eaedd 100644 --- a/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_success.yml +++ b/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_success.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6u8nwFE3OSZsT4","request_duration_ms":597}}' + - '{"last_request_metrics":{"request_id":"req_tlpIDMIqln9wab","request_duration_ms":616}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:16 GMT + - Mon, 13 Sep 2021 11:25:42 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_7R5xUaJImmVkvi + - req_nAADKjXEme5vlz Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19Bk2sOmf47Nz9z6WoYUpM", + "id": "pm_1JZDIA2sOmf47Nz9rl1nigpQ", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413416, + "created": 1631532342, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:16 GMT + recorded_at: Mon, 13 Sep 2021 11:25:42 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19Bk2sOmf47Nz9z6WoYUpM&amount=3825¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt + string: payment_method=pm_1JZDIA2sOmf47Nz9rl1nigpQ&amount=3825¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7R5xUaJImmVkvi","request_duration_ms":661}}' + - '{"last_request_metrics":{"request_id":"req_nAADKjXEme5vlz","request_duration_ms":583}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,7 +145,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:18 GMT + - Mon, 13 Sep 2021 11:25:44 GMT Content-Type: - application/json Content-Length: @@ -165,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_acflCvRWyIVOtM + - req_9IAUcJuiq87CeO Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19Bk2sOmf47Nz9U2nrdVpa", + "id": "pi_3JZDIB2sOmf47Nz91NCWzYP6", "object": "payment_intent", "amount": 3825, "amount_capturable": 0, @@ -190,7 +190,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Bl2sOmf47Nz9d9lBfGrS", + "id": "ch_3JZDIB2sOmf47Nz91buHMX2j", "object": "charge", "amount": 3825, "amount_captured": 3825, @@ -198,7 +198,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Bl2sOmf47Nz9D4BAY7cR", + "balance_transaction": "txn_3JZDIB2sOmf47Nz9120KuoH9", "billing_details": { "address": { "city": null, @@ -214,7 +214,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413417, + "created": 1631532343, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -235,13 +235,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 26, + "risk_score": 32, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Bk2sOmf47Nz9U2nrdVpa", - "payment_method": "pm_1J19Bk2sOmf47Nz9z6WoYUpM", + "payment_intent": "pi_3JZDIB2sOmf47Nz91NCWzYP6", + "payment_method": "pm_1JZDIA2sOmf47Nz9rl1nigpQ", "payment_method_details": { "card": { "brand": "visa", @@ -265,7 +265,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Bl2sOmf47Nz9d9lBfGrS/rcpt_JeS5Ro6whGQ5fxOg5qfb78oSXn36JTU", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDIB2sOmf47Nz91buHMX2j/rcpt_KDebb83SAs8TQggfARcBOMotuxQ1Vxj", "refunded": false, "refunds": { "object": "list", @@ -274,7 +274,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Bl2sOmf47Nz9d9lBfGrS/refunds" + "url": "/v1/charges/ch_3JZDIB2sOmf47Nz91buHMX2j/refunds" }, "review": null, "shipping": null, @@ -289,11 +289,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Bk2sOmf47Nz9U2nrdVpa" + "url": "/v1/charges?payment_intent=pi_3JZDIB2sOmf47Nz91NCWzYP6" }, - "client_secret": "pi_1J19Bk2sOmf47Nz9U2nrdVpa_secret_PteyL7O8ejWSUdzx4VA2OnPjS", + "client_secret": "pi_3JZDIB2sOmf47Nz91NCWzYP6_secret_oIY9Vwdf4coECaCgx0zgmkYMF", "confirmation_method": "manual", - "created": 1623413416, + "created": 1631532343, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -304,7 +304,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Bk2sOmf47Nz9z6WoYUpM", + "payment_method": "pm_1JZDIA2sOmf47Nz9rl1nigpQ", "payment_method_options": { "card": { "installments": null, @@ -326,13 +326,13 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:18 GMT + recorded_at: Mon, 13 Sep 2021 11:25:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_1J19Bk2sOmf47Nz9U2nrdVpa + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDIB2sOmf47Nz91NCWzYP6 body: encoding: UTF-8 - string: description=Invoice+reference%3A+2106001%2FVL + string: description=Invoice+reference%3A+2109001%2FVL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -341,13 +341,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_acflCvRWyIVOtM","request_duration_ms":1774}}' + - '{"last_request_metrics":{"request_id":"req_9IAUcJuiq87CeO","request_duration_ms":1477}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -360,7 +360,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:18 GMT + - Mon, 13 Sep 2021 11:25:44 GMT Content-Type: - application/json Content-Length: @@ -380,7 +380,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_CkEyaZtZeZiTlr + - req_TAv2FNDcsNhZ0x Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -391,7 +391,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19Bk2sOmf47Nz9U2nrdVpa", + "id": "pi_3JZDIB2sOmf47Nz91NCWzYP6", "object": "payment_intent", "amount": 3825, "amount_capturable": 0, @@ -405,7 +405,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Bl2sOmf47Nz9d9lBfGrS", + "id": "ch_3JZDIB2sOmf47Nz91buHMX2j", "object": "charge", "amount": 3825, "amount_captured": 3825, @@ -413,7 +413,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Bl2sOmf47Nz9D4BAY7cR", + "balance_transaction": "txn_3JZDIB2sOmf47Nz9120KuoH9", "billing_details": { "address": { "city": null, @@ -429,7 +429,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413417, + "created": 1631532343, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -450,13 +450,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 26, + "risk_score": 32, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Bk2sOmf47Nz9U2nrdVpa", - "payment_method": "pm_1J19Bk2sOmf47Nz9z6WoYUpM", + "payment_intent": "pi_3JZDIB2sOmf47Nz91NCWzYP6", + "payment_method": "pm_1JZDIA2sOmf47Nz9rl1nigpQ", "payment_method_details": { "card": { "brand": "visa", @@ -480,7 +480,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Bl2sOmf47Nz9d9lBfGrS/rcpt_JeS5Ro6whGQ5fxOg5qfb78oSXn36JTU", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDIB2sOmf47Nz91buHMX2j/rcpt_KDebb83SAs8TQggfARcBOMotuxQ1Vxj", "refunded": false, "refunds": { "object": "list", @@ -489,7 +489,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Bl2sOmf47Nz9d9lBfGrS/refunds" + "url": "/v1/charges/ch_3JZDIB2sOmf47Nz91buHMX2j/refunds" }, "review": null, "shipping": null, @@ -504,14 +504,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Bk2sOmf47Nz9U2nrdVpa" + "url": "/v1/charges?payment_intent=pi_3JZDIB2sOmf47Nz91NCWzYP6" }, - "client_secret": "pi_1J19Bk2sOmf47Nz9U2nrdVpa_secret_PteyL7O8ejWSUdzx4VA2OnPjS", + "client_secret": "pi_3JZDIB2sOmf47Nz91NCWzYP6_secret_oIY9Vwdf4coECaCgx0zgmkYMF", "confirmation_method": "manual", - "created": 1623413416, + "created": 1631532343, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -519,7 +519,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Bk2sOmf47Nz9z6WoYUpM", + "payment_method": "pm_1JZDIA2sOmf47Nz9rl1nigpQ", "payment_method_options": { "card": { "installments": null, @@ -541,5 +541,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:18 GMT + recorded_at: Mon, 13 Sep 2021 11:25:44 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_machine_subscription_with_payment_schedule_coupon_wallet.yml b/test/vcr_cassettes/reservations_machine_subscription_with_payment_schedule_coupon_wallet.yml index 48a160f4c..3affd2dad 100644 --- a/test/vcr_cassettes/reservations_machine_subscription_with_payment_schedule_coupon_wallet.yml +++ b/test/vcr_cassettes/reservations_machine_subscription_with_payment_schedule_coupon_wallet.yml @@ -1,99 +1,5 @@ --- http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/setup_intents - body: - encoding: UTF-8 - string: customer=cus_8E2ys9zDZgetWX - 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_I9Ty57VyxHpuf5","request_duration_ms":483}}' - Stripe-Version: - - '2019-08-14' - X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Fri, 11 Jun 2021 12:10:26 GMT - Content-Type: - - application/json - Content-Length: - - '727' - 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_AVWfxtFFTUBE0g - Stripe-Version: - - '2019-08-14' - X-Stripe-C-Cost: - - '0' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "id": "seti_1J19Bu2sOmf47Nz9BfLWQchb", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Bu2sOmf47Nz9BfLWQchb_secret_JeS6YolgTbPvCcjRt7PKEjGx4QnU2YR", - "created": 1623413426, - "customer": "cus_8E2ys9zDZgetWX", - "description": null, - "last_setup_error": null, - "latest_attempt": null, - "livemode": false, - "mandate": null, - "metadata": { - }, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "requires_payment_method", - "usage": "off_session" - } - recorded_at: Fri, 11 Jun 2021 12:10:26 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods @@ -108,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AVWfxtFFTUBE0g","request_duration_ms":394}}' + - '{"last_request_metrics":{"request_id":"req_kM3vfzGXrrL9Yq","request_duration_ms":423}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -127,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:27 GMT + - Mon, 13 Sep 2021 11:25:46 GMT Content-Type: - application/json Content-Length: @@ -147,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_zSnKYmxRfRN2HA + - req_1Z5aj4S5ljdDib Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19Bv2sOmf47Nz95pa9Kosw", + "id": "pm_1JZDIE2sOmf47Nz941MJycRQ", "object": "payment_method", "billing_details": { "address": { @@ -198,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413427, + "created": 1631532346, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:27 GMT + recorded_at: Mon, 13 Sep 2021 11:25:46 GMT - request: method: post - uri: https://api.stripe.com/v1/setup_intents/seti_1J19Bu2sOmf47Nz9BfLWQchb/confirm + uri: https://api.stripe.com/v1/payment_methods/pm_1JZDIE2sOmf47Nz941MJycRQ/attach body: encoding: UTF-8 - string: payment_method=pm_1J19Bv2sOmf47Nz95pa9Kosw + string: customer=cus_8E2ys9zDZgetWX headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -220,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zSnKYmxRfRN2HA","request_duration_ms":589}}' + - '{"last_request_metrics":{"request_id":"req_1Z5aj4S5ljdDib","request_duration_ms":591}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -239,11 +145,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:28 GMT + - Mon, 13 Sep 2021 11:25:47 GMT Content-Type: - application/json Content-Length: - - '767' + - '945' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -259,147 +165,71 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_hKqEhBmsO90NDt + - req_RLXYEM99UHqZW7 Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "seti_1J19Bu2sOmf47Nz9BfLWQchb", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Bu2sOmf47Nz9BfLWQchb_secret_JeS6YolgTbPvCcjRt7PKEjGx4QnU2YR", - "created": 1623413426, + "id": "pm_1JZDIE2sOmf47Nz941MJycRQ", + "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": 1631532346, "customer": "cus_8E2ys9zDZgetWX", - "description": null, - "last_setup_error": null, - "latest_attempt": "setatt_1J19Bv2sOmf47Nz9BNjAtrI4", "livemode": false, - "mandate": null, "metadata": { }, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1J19Bv2sOmf47Nz95pa9Kosw", - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "succeeded", - "usage": "off_session" + "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:28 GMT -- request: - method: get - uri: https://api.stripe.com/v1/setup_intents/seti_1J19Bu2sOmf47Nz9BfLWQchb - 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_hKqEhBmsO90NDt","request_duration_ms":1066}}' - Stripe-Version: - - '2019-08-14' - X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Fri, 11 Jun 2021 12:10:28 GMT - Content-Type: - - application/json - Content-Length: - - '767' - 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_q2VTcWUyEb6aw7 - Stripe-Version: - - '2019-08-14' - X-Stripe-C-Cost: - - '0' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "id": "seti_1J19Bu2sOmf47Nz9BfLWQchb", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Bu2sOmf47Nz9BfLWQchb_secret_JeS6YolgTbPvCcjRt7PKEjGx4QnU2YR", - "created": 1623413426, - "customer": "cus_8E2ys9zDZgetWX", - "description": null, - "last_setup_error": null, - "latest_attempt": "setatt_1J19Bv2sOmf47Nz9BNjAtrI4", - "livemode": false, - "mandate": null, - "metadata": { - }, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1J19Bv2sOmf47Nz95pa9Kosw", - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "succeeded", - "usage": "off_session" - } - recorded_at: Fri, 11 Jun 2021 12:10:28 GMT + recorded_at: Mon, 13 Sep 2021 11:25:47 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX body: encoding: UTF-8 - string: balance=-10174 + string: invoice_settings[default_payment_method]=pm_1JZDIE2sOmf47Nz941MJycRQ headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -408,13 +238,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_q2VTcWUyEb6aw7","request_duration_ms":382}}' + - '{"last_request_metrics":{"request_id":"req_RLXYEM99UHqZW7","request_duration_ms":748}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -427,11 +257,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:30 GMT + - Mon, 13 Sep 2021 11:25:48 GMT Content-Type: - application/json Content-Length: - - '47074' + - '49689' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -447,7 +277,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_2QIKcvMiGhgH9X + - req_m9MUTsJHEtPipd Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -473,14 +303,14 @@ http_interactions: "invoice_prefix": "BCC32B8", "invoice_settings": { "custom_fields": null, - "default_payment_method": null, + "default_payment_method": "pm_1JZDIE2sOmf47Nz941MJycRQ", "footer": null }, "livemode": false, "metadata": { }, "name": null, - "next_invoice_sequence": 245, + "next_invoice_sequence": 441, "phone": null, "preferred_locales": [ @@ -524,22 +354,25 @@ http_interactions: "object": "list", "data": [ { - "id": "sub_JeMwMVnUvrHh9x", + "id": "sub_KDeOOxKFukSOFq", "object": "subscription", "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, "billing": "charge_automatically", - "billing_cycle_anchor": 1623394222, + "billing_cycle_anchor": 1631531544, "billing_thresholds": null, - "cancel_at": 1652511019, + "cancel_at": 1663067542, "cancel_at_period_end": false, - "canceled_at": 1623394222, + "canceled_at": 1631531544, "collection_method": "charge_automatically", - "created": 1623394222, - "current_period_end": 1625986222, - "current_period_start": 1623394222, + "created": 1631531544, + "current_period_end": 1634123544, + "current_period_start": 1631531544, "customer": "cus_8E2ys9zDZgetWX", "days_until_due": null, - "default_payment_method": null, + "default_payment_method": "pm_1JZD5E2sOmf47Nz9spRv1Hzv", "default_source": null, "default_tax_rates": [ @@ -553,21 +386,21 @@ http_interactions: "object": "list", "data": [ { - "id": "si_JeMwV8QZ09xs28", + "id": "si_KDeO7ibOLIHrd2", "object": "subscription_item", "billing_thresholds": null, - "created": 1623394223, + "created": 1631531545, "metadata": { }, "plan": { - "id": "price_1J14C92sOmf47Nz9IITWw9Y0", + "id": "price_1JZD5H2sOmf47Nz9RE9xYVzW", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623394221, + "created": 1631531543, "currency": "usd", "interval": "month", "interval_count": 1, @@ -583,11 +416,11 @@ http_interactions: "usage_type": "licensed" }, "price": { - "id": "price_1J14C92sOmf47Nz9IITWw9Y0", + "id": "price_1JZD5H2sOmf47Nz9RE9xYVzW", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623394221, + "created": 1631531543, "currency": "usd", "livemode": false, "lookup_key": null, @@ -602,6 +435,7 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", @@ -609,7 +443,7 @@ http_interactions: "unit_amount_decimal": "9466" }, "quantity": 1, - "subscription": "sub_JeMwMVnUvrHh9x", + "subscription": "sub_KDeOOxKFukSOFq", "tax_rates": [ ] @@ -617,26 +451,30 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_JeMwMVnUvrHh9x" + "url": "/v1/subscription_items?subscription=sub_KDeOOxKFukSOFq" }, - "latest_invoice": "in_1J14CB2sOmf47Nz9rlPidRvD", + "latest_invoice": "in_1JZD5I2sOmf47Nz9JNfjxEpM", "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_1J14C92sOmf47Nz9IITWw9Y0", + "id": "price_1JZD5H2sOmf47Nz9RE9xYVzW", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623394221, + "created": 1631531543, "currency": "usd", "interval": "month", "interval_count": 1, @@ -653,8 +491,8 @@ http_interactions: }, "quantity": 1, "schedule": null, - "start": 1623394222, - "start_date": 1623394222, + "start": 1631531544, + "start_date": 1631531544, "status": "active", "tax_percent": null, "transfer_data": null, @@ -662,22 +500,25 @@ http_interactions: "trial_start": null }, { - "id": "sub_Je86gbipqnlh5j", + "id": "sub_KDeL49sskbLJn5", "object": "subscription", "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, "billing": "charge_automatically", - "billing_cycle_anchor": 1623339060, + "billing_cycle_anchor": 1631531384, "billing_thresholds": null, - "cancel_at": 1652455857, + "cancel_at": 1663067382, "cancel_at_period_end": false, - "canceled_at": 1623339060, + "canceled_at": 1631531384, "collection_method": "charge_automatically", - "created": 1623339060, - "current_period_end": 1625931060, - "current_period_start": 1623339060, + "created": 1631531384, + "current_period_end": 1634123384, + "current_period_start": 1631531384, "customer": "cus_8E2ys9zDZgetWX", "days_until_due": null, - "default_payment_method": null, + "default_payment_method": "pm_1JZD2e2sOmf47Nz9cm1GFlt9", "default_source": null, "default_tax_rates": [ @@ -691,21 +532,21 @@ http_interactions: "object": "list", "data": [ { - "id": "si_Je86FyovrSAZ03", + "id": "si_KDeLVc4MXPXjat", "object": "subscription_item", "billing_thresholds": null, - "created": 1623339061, + "created": 1631531385, "metadata": { }, "plan": { - "id": "price_1J0pqR2sOmf47Nz9grlZCF6j", + "id": "price_1JZD2i2sOmf47Nz9HgfbKryk", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623339059, + "created": 1631531384, "currency": "usd", "interval": "month", "interval_count": 1, @@ -721,11 +562,11 @@ http_interactions: "usage_type": "licensed" }, "price": { - "id": "price_1J0pqR2sOmf47Nz9grlZCF6j", + "id": "price_1JZD2i2sOmf47Nz9HgfbKryk", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623339059, + "created": 1631531384, "currency": "usd", "livemode": false, "lookup_key": null, @@ -740,6 +581,7 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", @@ -747,7 +589,7 @@ http_interactions: "unit_amount_decimal": "9466" }, "quantity": 1, - "subscription": "sub_Je86gbipqnlh5j", + "subscription": "sub_KDeL49sskbLJn5", "tax_rates": [ ] @@ -755,26 +597,30 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_Je86gbipqnlh5j" + "url": "/v1/subscription_items?subscription=sub_KDeL49sskbLJn5" }, - "latest_invoice": "in_1J0pqS2sOmf47Nz9NALEVY74", + "latest_invoice": "in_1JZD2j2sOmf47Nz9aSkXbY3K", "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_1J0pqR2sOmf47Nz9grlZCF6j", + "id": "price_1JZD2i2sOmf47Nz9HgfbKryk", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623339059, + "created": 1631531384, "currency": "usd", "interval": "month", "interval_count": 1, @@ -791,8 +637,8 @@ http_interactions: }, "quantity": 1, "schedule": null, - "start": 1623339060, - "start_date": 1623339060, + "start": 1631531384, + "start_date": 1631531384, "status": "active", "tax_percent": null, "transfer_data": null, @@ -800,22 +646,25 @@ http_interactions: "trial_start": null }, { - "id": "sub_Je83HN1Lyvo4sH", + "id": "sub_KDddMFRwup6SeD", "object": "subscription", "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, "billing": "charge_automatically", - "billing_cycle_anchor": 1623338866, + "billing_cycle_anchor": 1631528772, "billing_thresholds": null, - "cancel_at": 1652455663, + "cancel_at": 1663064770, "cancel_at_period_end": false, - "canceled_at": 1623338866, + "canceled_at": 1631528772, "collection_method": "charge_automatically", - "created": 1623338866, - "current_period_end": 1625930866, - "current_period_start": 1623338866, + "created": 1631528772, + "current_period_end": 1634120772, + "current_period_start": 1631528772, "customer": "cus_8E2ys9zDZgetWX", "days_until_due": null, - "default_payment_method": null, + "default_payment_method": "pm_1JZCMW2sOmf47Nz9Av5ineIY", "default_source": null, "default_tax_rates": [ @@ -829,21 +678,21 @@ http_interactions: "object": "list", "data": [ { - "id": "si_Je83aULDQfy2gv", + "id": "si_KDddHFLKMC8QAW", "object": "subscription_item", "billing_thresholds": null, - "created": 1623338866, + "created": 1631528773, "metadata": { }, "plan": { - "id": "price_1J0pnJ2sOmf47Nz9wr2pqXxo", + "id": "price_1JZCMa2sOmf47Nz9WZCd7fSB", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623338865, + "created": 1631528772, "currency": "usd", "interval": "month", "interval_count": 1, @@ -859,11 +708,11 @@ http_interactions: "usage_type": "licensed" }, "price": { - "id": "price_1J0pnJ2sOmf47Nz9wr2pqXxo", + "id": "price_1JZCMa2sOmf47Nz9WZCd7fSB", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623338865, + "created": 1631528772, "currency": "usd", "livemode": false, "lookup_key": null, @@ -878,6 +727,7 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", @@ -885,7 +735,7 @@ http_interactions: "unit_amount_decimal": "9466" }, "quantity": 1, - "subscription": "sub_Je83HN1Lyvo4sH", + "subscription": "sub_KDddMFRwup6SeD", "tax_rates": [ ] @@ -893,26 +743,30 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_Je83HN1Lyvo4sH" + "url": "/v1/subscription_items?subscription=sub_KDddMFRwup6SeD" }, - "latest_invoice": "in_1J0pnK2sOmf47Nz93Pt8CxJL", + "latest_invoice": "in_1JZCMb2sOmf47Nz9ui14Zzyv", "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_1J0pnJ2sOmf47Nz9wr2pqXxo", + "id": "price_1JZCMa2sOmf47Nz9WZCd7fSB", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623338865, + "created": 1631528772, "currency": "usd", "interval": "month", "interval_count": 1, @@ -929,8 +783,8 @@ http_interactions: }, "quantity": 1, "schedule": null, - "start": 1623338866, - "start_date": 1623338866, + "start": 1631528772, + "start_date": 1631528772, "status": "active", "tax_percent": null, "transfer_data": null, @@ -938,22 +792,25 @@ http_interactions: "trial_start": null }, { - "id": "sub_Je719VCAEg8rar", + "id": "sub_KDcr7oTexO2Zqj", "object": "subscription", "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, "billing": "charge_automatically", - "billing_cycle_anchor": 1623335025, + "billing_cycle_anchor": 1631525872, "billing_thresholds": null, - "cancel_at": 1652451823, + "cancel_at": 1663061870, "cancel_at_period_end": false, - "canceled_at": 1623335025, + "canceled_at": 1631525872, "collection_method": "charge_automatically", - "created": 1623335025, - "current_period_end": 1625927025, - "current_period_start": 1623335025, + "created": 1631525872, + "current_period_end": 1634117872, + "current_period_start": 1631525872, "customer": "cus_8E2ys9zDZgetWX", "days_until_due": null, - "default_payment_method": null, + "default_payment_method": "pm_1JZBbj2sOmf47Nz9tbdhvlLv", "default_source": null, "default_tax_rates": [ @@ -967,21 +824,21 @@ http_interactions: "object": "list", "data": [ { - "id": "si_Je711BHnVjaUdJ", + "id": "si_KDcrMC54ieiESF", "object": "subscription_item", "billing_thresholds": null, - "created": 1623335026, + "created": 1631525873, "metadata": { }, "plan": { - "id": "price_1J0onM2sOmf47Nz9pU5dEOiP", + "id": "price_1JZBbn2sOmf47Nz9gTKOj3St", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623335024, + "created": 1631525871, "currency": "usd", "interval": "month", "interval_count": 1, @@ -997,11 +854,11 @@ http_interactions: "usage_type": "licensed" }, "price": { - "id": "price_1J0onM2sOmf47Nz9pU5dEOiP", + "id": "price_1JZBbn2sOmf47Nz9gTKOj3St", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623335024, + "created": 1631525871, "currency": "usd", "livemode": false, "lookup_key": null, @@ -1016,6 +873,7 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", @@ -1023,7 +881,7 @@ http_interactions: "unit_amount_decimal": "9466" }, "quantity": 1, - "subscription": "sub_Je719VCAEg8rar", + "subscription": "sub_KDcr7oTexO2Zqj", "tax_rates": [ ] @@ -1031,26 +889,30 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_Je719VCAEg8rar" + "url": "/v1/subscription_items?subscription=sub_KDcr7oTexO2Zqj" }, - "latest_invoice": "in_1J0onO2sOmf47Nz9WSepb1cl", + "latest_invoice": "in_1JZBbo2sOmf47Nz9zIjFCbHt", "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_1J0onM2sOmf47Nz9pU5dEOiP", + "id": "price_1JZBbn2sOmf47Nz9gTKOj3St", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623335024, + "created": 1631525871, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1067,8 +929,8 @@ http_interactions: }, "quantity": 1, "schedule": null, - "start": 1623335025, - "start_date": 1623335025, + "start": 1631525872, + "start_date": 1631525872, "status": "active", "tax_percent": null, "transfer_data": null, @@ -1076,22 +938,25 @@ http_interactions: "trial_start": null }, { - "id": "sub_Je5z35IURtkPCd", + "id": "sub_KDcnjixXJ0mBtk", "object": "subscription", "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, "billing": "charge_automatically", - "billing_cycle_anchor": 1623331204, + "billing_cycle_anchor": 1631525630, "billing_thresholds": null, - "cancel_at": 1652448002, + "cancel_at": 1663061628, "cancel_at_period_end": false, - "canceled_at": 1623331204, + "canceled_at": 1631525630, "collection_method": "charge_automatically", - "created": 1623331204, - "current_period_end": 1625923204, - "current_period_start": 1623331204, + "created": 1631525630, + "current_period_end": 1634117630, + "current_period_start": 1631525630, "customer": "cus_8E2ys9zDZgetWX", "days_until_due": null, - "default_payment_method": null, + "default_payment_method": "pm_1JZBXq2sOmf47Nz9L2oVybfx", "default_source": null, "default_tax_rates": [ @@ -1105,21 +970,21 @@ http_interactions: "object": "list", "data": [ { - "id": "si_Je5zxIGFpX2JQy", + "id": "si_KDcn3F2qHgjfmO", "object": "subscription_item", "billing_thresholds": null, - "created": 1623331205, + "created": 1631525631, "metadata": { }, "plan": { - "id": "price_1J0nnj2sOmf47Nz91KqEI8mo", + "id": "price_1JZBXt2sOmf47Nz9QOhiSYYK", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623331203, + "created": 1631525629, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1135,11 +1000,11 @@ http_interactions: "usage_type": "licensed" }, "price": { - "id": "price_1J0nnj2sOmf47Nz91KqEI8mo", + "id": "price_1JZBXt2sOmf47Nz9QOhiSYYK", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623331203, + "created": 1631525629, "currency": "usd", "livemode": false, "lookup_key": null, @@ -1154,6 +1019,7 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", @@ -1161,7 +1027,7 @@ http_interactions: "unit_amount_decimal": "9466" }, "quantity": 1, - "subscription": "sub_Je5z35IURtkPCd", + "subscription": "sub_KDcnjixXJ0mBtk", "tax_rates": [ ] @@ -1169,26 +1035,30 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_Je5z35IURtkPCd" + "url": "/v1/subscription_items?subscription=sub_KDcnjixXJ0mBtk" }, - "latest_invoice": "in_1J0nnk2sOmf47Nz9xy1V7Sxu", + "latest_invoice": "in_1JZBXu2sOmf47Nz9P19l9fy5", "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_1J0nnj2sOmf47Nz91KqEI8mo", + "id": "price_1JZBXt2sOmf47Nz9QOhiSYYK", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623331203, + "created": 1631525629, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1205,8 +1075,8 @@ http_interactions: }, "quantity": 1, "schedule": null, - "start": 1623331204, - "start_date": 1623331204, + "start": 1631525630, + "start_date": 1631525630, "status": "active", "tax_percent": null, "transfer_data": null, @@ -1214,22 +1084,25 @@ http_interactions: "trial_start": null }, { - "id": "sub_Je1sV6kgVwUrvk", + "id": "sub_KDcYiLLbeDKj9g", "object": "subscription", "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, "billing": "charge_automatically", - "billing_cycle_anchor": 1623315893, + "billing_cycle_anchor": 1631524733, "billing_thresholds": null, - "cancel_at": 1652432690, + "cancel_at": 1663060731, "cancel_at_period_end": false, - "canceled_at": 1623315893, + "canceled_at": 1631524733, "collection_method": "charge_automatically", - "created": 1623315893, - "current_period_end": 1625907893, - "current_period_start": 1623315893, + "created": 1631524733, + "current_period_end": 1634116733, + "current_period_start": 1631524733, "customer": "cus_8E2ys9zDZgetWX", "days_until_due": null, - "default_payment_method": null, + "default_payment_method": "pm_1JZBJN2sOmf47Nz9xyv4Ze7i", "default_source": null, "default_tax_rates": [ @@ -1243,21 +1116,21 @@ http_interactions: "object": "list", "data": [ { - "id": "si_Je1srnODiAjFFB", + "id": "si_KDcY9IkGJngPha", "object": "subscription_item", "billing_thresholds": null, - "created": 1623315893, + "created": 1631524734, "metadata": { }, "plan": { - "id": "price_1J0jom2sOmf47Nz9vOd89w4d", + "id": "price_1JZBJQ2sOmf47Nz9qqBlVAy2", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623315892, + "created": 1631524732, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1273,11 +1146,11 @@ http_interactions: "usage_type": "licensed" }, "price": { - "id": "price_1J0jom2sOmf47Nz9vOd89w4d", + "id": "price_1JZBJQ2sOmf47Nz9qqBlVAy2", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623315892, + "created": 1631524732, "currency": "usd", "livemode": false, "lookup_key": null, @@ -1292,6 +1165,7 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", @@ -1299,7 +1173,7 @@ http_interactions: "unit_amount_decimal": "9466" }, "quantity": 1, - "subscription": "sub_Je1sV6kgVwUrvk", + "subscription": "sub_KDcYiLLbeDKj9g", "tax_rates": [ ] @@ -1307,26 +1181,30 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_Je1sV6kgVwUrvk" + "url": "/v1/subscription_items?subscription=sub_KDcYiLLbeDKj9g" }, - "latest_invoice": "in_1J0jon2sOmf47Nz9bYTcnRDE", + "latest_invoice": "in_1JZBJS2sOmf47Nz92oK28Bh9", "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_1J0jom2sOmf47Nz9vOd89w4d", + "id": "price_1JZBJQ2sOmf47Nz9qqBlVAy2", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623315892, + "created": 1631524732, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1343,8 +1221,8 @@ http_interactions: }, "quantity": 1, "schedule": null, - "start": 1623315893, - "start_date": 1623315893, + "start": 1631524733, + "start_date": 1631524733, "status": "active", "tax_percent": null, "transfer_data": null, @@ -1352,22 +1230,25 @@ http_interactions: "trial_start": null }, { - "id": "sub_Jdmkqa8igz2TCX", + "id": "sub_KDcRXDcJ0ix3MN", "object": "subscription", "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, "billing": "charge_automatically", - "billing_cycle_anchor": 1623259583, + "billing_cycle_anchor": 1631524314, "billing_thresholds": null, - "cancel_at": 1652376381, + "cancel_at": 1663060311, "cancel_at_period_end": false, - "canceled_at": 1623259583, + "canceled_at": 1631524314, "collection_method": "charge_automatically", - "created": 1623259583, - "current_period_end": 1625851583, - "current_period_start": 1623259583, + "created": 1631524314, + "current_period_end": 1634116314, + "current_period_start": 1631524314, "customer": "cus_8E2ys9zDZgetWX", "days_until_due": null, - "default_payment_method": null, + "default_payment_method": "pm_1JZBCb2sOmf47Nz9TM4fz9pW", "default_source": null, "default_tax_rates": [ @@ -1381,21 +1262,21 @@ http_interactions: "object": "list", "data": [ { - "id": "si_Jdmkjklfs7PnAW", + "id": "si_KDcROMyFV4MBYX", "object": "subscription_item", "billing_thresholds": null, - "created": 1623259584, + "created": 1631524315, "metadata": { }, "plan": { - "id": "price_1J0VAY2sOmf47Nz9j4YQVst6", + "id": "price_1JZBCf2sOmf47Nz9DXn3q8cW", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623259582, + "created": 1631524313, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1411,11 +1292,11 @@ http_interactions: "usage_type": "licensed" }, "price": { - "id": "price_1J0VAY2sOmf47Nz9j4YQVst6", + "id": "price_1JZBCf2sOmf47Nz9DXn3q8cW", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623259582, + "created": 1631524313, "currency": "usd", "livemode": false, "lookup_key": null, @@ -1430,6 +1311,7 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", @@ -1437,7 +1319,7 @@ http_interactions: "unit_amount_decimal": "9466" }, "quantity": 1, - "subscription": "sub_Jdmkqa8igz2TCX", + "subscription": "sub_KDcRXDcJ0ix3MN", "tax_rates": [ ] @@ -1445,26 +1327,30 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_Jdmkqa8igz2TCX" + "url": "/v1/subscription_items?subscription=sub_KDcRXDcJ0ix3MN" }, - "latest_invoice": "in_1J0VAa2sOmf47Nz91OlagP56", + "latest_invoice": "in_1JZBCg2sOmf47Nz9aE9Fiwqy", "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_1J0VAY2sOmf47Nz9j4YQVst6", + "id": "price_1JZBCf2sOmf47Nz9DXn3q8cW", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623259582, + "created": 1631524313, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1481,8 +1367,8 @@ http_interactions: }, "quantity": 1, "schedule": null, - "start": 1623259583, - "start_date": 1623259583, + "start": 1631524314, + "start_date": 1631524314, "status": "active", "tax_percent": null, "transfer_data": null, @@ -1490,22 +1376,25 @@ http_interactions: "trial_start": null }, { - "id": "sub_Jdlr0opdwWOKe3", + "id": "sub_KDcNdHpPzwgIaW", "object": "subscription", "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, "billing": "charge_automatically", - "billing_cycle_anchor": 1623256314, + "billing_cycle_anchor": 1631524071, "billing_thresholds": null, - "cancel_at": 1652373112, + "cancel_at": 1663060069, "cancel_at_period_end": false, - "canceled_at": 1623256314, + "canceled_at": 1631524071, "collection_method": "charge_automatically", - "created": 1623256314, - "current_period_end": 1625848314, - "current_period_start": 1623256314, + "created": 1631524071, + "current_period_end": 1634116071, + "current_period_start": 1631524071, "customer": "cus_8E2ys9zDZgetWX", "days_until_due": null, - "default_payment_method": null, + "default_payment_method": "pm_1JZB8g2sOmf47Nz9m3OUFPiE", "default_source": null, "default_tax_rates": [ @@ -1519,21 +1408,21 @@ http_interactions: "object": "list", "data": [ { - "id": "si_JdlrPvF329bOo4", + "id": "si_KDcNEhMYWfjQft", "object": "subscription_item", "billing_thresholds": null, - "created": 1623256315, + "created": 1631524072, "metadata": { }, "plan": { - "id": "price_1J0UJp2sOmf47Nz9L3lV9Vpj", + "id": "price_1JZB8k2sOmf47Nz9ptgST04U", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623256313, + "created": 1631524070, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1549,11 +1438,11 @@ http_interactions: "usage_type": "licensed" }, "price": { - "id": "price_1J0UJp2sOmf47Nz9L3lV9Vpj", + "id": "price_1JZB8k2sOmf47Nz9ptgST04U", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623256313, + "created": 1631524070, "currency": "usd", "livemode": false, "lookup_key": null, @@ -1568,6 +1457,7 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", @@ -1575,7 +1465,7 @@ http_interactions: "unit_amount_decimal": "9466" }, "quantity": 1, - "subscription": "sub_Jdlr0opdwWOKe3", + "subscription": "sub_KDcNdHpPzwgIaW", "tax_rates": [ ] @@ -1583,26 +1473,30 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_Jdlr0opdwWOKe3" + "url": "/v1/subscription_items?subscription=sub_KDcNdHpPzwgIaW" }, - "latest_invoice": "in_1J0UJr2sOmf47Nz9JwYQxL7T", + "latest_invoice": "in_1JZB8l2sOmf47Nz9EtKwTvUm", "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_1J0UJp2sOmf47Nz9L3lV9Vpj", + "id": "price_1JZB8k2sOmf47Nz9ptgST04U", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623256313, + "created": 1631524070, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1619,8 +1513,8 @@ http_interactions: }, "quantity": 1, "schedule": null, - "start": 1623256314, - "start_date": 1623256314, + "start": 1631524071, + "start_date": 1631524071, "status": "active", "tax_percent": null, "transfer_data": null, @@ -1628,22 +1522,25 @@ http_interactions: "trial_start": null }, { - "id": "sub_JdlYOIWmLbUDTg", + "id": "sub_KDcKVM2g2bzgZ9", "object": "subscription", "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, "billing": "charge_automatically", - "billing_cycle_anchor": 1623255182, + "billing_cycle_anchor": 1631523883, "billing_thresholds": null, - "cancel_at": 1652371979, + "cancel_at": 1663059881, "cancel_at_period_end": false, - "canceled_at": 1623255182, + "canceled_at": 1631523883, "collection_method": "charge_automatically", - "created": 1623255182, - "current_period_end": 1625847182, - "current_period_start": 1623255182, + "created": 1631523883, + "current_period_end": 1634115883, + "current_period_start": 1631523883, "customer": "cus_8E2ys9zDZgetWX", "days_until_due": null, - "default_payment_method": null, + "default_payment_method": "pm_1JZB5f2sOmf47Nz9g9tEapIV", "default_source": null, "default_tax_rates": [ @@ -1657,21 +1554,21 @@ http_interactions: "object": "list", "data": [ { - "id": "si_JdlY8CvNxkO4RE", + "id": "si_KDcKUZlGLYXeCS", "object": "subscription_item", "billing_thresholds": null, - "created": 1623255183, + "created": 1631523884, "metadata": { }, "plan": { - "id": "price_1J0U1Z2sOmf47Nz9ZaPLOQ9J", + "id": "price_1JZB5i2sOmf47Nz9YsIzac1c", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623255181, + "created": 1631523882, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1687,11 +1584,11 @@ http_interactions: "usage_type": "licensed" }, "price": { - "id": "price_1J0U1Z2sOmf47Nz9ZaPLOQ9J", + "id": "price_1JZB5i2sOmf47Nz9YsIzac1c", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623255181, + "created": 1631523882, "currency": "usd", "livemode": false, "lookup_key": null, @@ -1706,6 +1603,7 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", @@ -1713,7 +1611,7 @@ http_interactions: "unit_amount_decimal": "9466" }, "quantity": 1, - "subscription": "sub_JdlYOIWmLbUDTg", + "subscription": "sub_KDcKVM2g2bzgZ9", "tax_rates": [ ] @@ -1721,26 +1619,30 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_JdlYOIWmLbUDTg" + "url": "/v1/subscription_items?subscription=sub_KDcKVM2g2bzgZ9" }, - "latest_invoice": "in_1J0U1a2sOmf47Nz9FDdAARrf", + "latest_invoice": "in_1JZB5j2sOmf47Nz9mBKngZRT", "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_1J0U1Z2sOmf47Nz9ZaPLOQ9J", + "id": "price_1JZB5i2sOmf47Nz9YsIzac1c", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623255181, + "created": 1631523882, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1757,8 +1659,8 @@ http_interactions: }, "quantity": 1, "schedule": null, - "start": 1623255182, - "start_date": 1623255182, + "start": 1631523883, + "start_date": 1631523883, "status": "active", "tax_percent": null, "transfer_data": null, @@ -1766,22 +1668,25 @@ http_interactions: "trial_start": null }, { - "id": "sub_JdkdoCnvBpd4Ak", + "id": "sub_JeS63F3gpNRyDK", "object": "subscription", "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, "billing": "charge_automatically", - "billing_cycle_anchor": 1623251750, + "billing_cycle_anchor": 1623413431, "billing_thresholds": null, - "cancel_at": 1652368547, + "cancel_at": 1652530228, "cancel_at_period_end": false, - "canceled_at": 1623251750, + "canceled_at": 1623413431, "collection_method": "charge_automatically", - "created": 1623251750, - "current_period_end": 1625843750, - "current_period_start": 1623251750, + "created": 1623413431, + "current_period_end": 1633954231, + "current_period_start": 1631362231, "customer": "cus_8E2ys9zDZgetWX", "days_until_due": null, - "default_payment_method": null, + "default_payment_method": "pm_1J19Bv2sOmf47Nz95pa9Kosw", "default_source": null, "default_tax_rates": [ @@ -1795,21 +1700,21 @@ http_interactions: "object": "list", "data": [ { - "id": "si_Jdkd69PWGuIvEb", + "id": "si_JeS6YPrUZsMh08", "object": "subscription_item", "billing_thresholds": null, - "created": 1623251750, + "created": 1623413432, "metadata": { }, "plan": { - "id": "price_1J0T8D2sOmf47Nz96Ohhxb3c", + "id": "price_1J19By2sOmf47Nz9KVhsAQuQ", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623251749, + "created": 1623413430, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1825,11 +1730,11 @@ http_interactions: "usage_type": "licensed" }, "price": { - "id": "price_1J0T8D2sOmf47Nz96Ohhxb3c", + "id": "price_1J19By2sOmf47Nz9KVhsAQuQ", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623251749, + "created": 1623413430, "currency": "usd", "livemode": false, "lookup_key": null, @@ -1844,6 +1749,7 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", @@ -1851,7 +1757,7 @@ http_interactions: "unit_amount_decimal": "9466" }, "quantity": 1, - "subscription": "sub_JdkdoCnvBpd4Ak", + "subscription": "sub_JeS63F3gpNRyDK", "tax_rates": [ ] @@ -1859,26 +1765,30 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_JdkdoCnvBpd4Ak" + "url": "/v1/subscription_items?subscription=sub_JeS63F3gpNRyDK" }, - "latest_invoice": "in_1J0T8E2sOmf47Nz9tuVIRxj6", + "latest_invoice": "in_1JYV2t2sOmf47Nz9Yv2Px1F3", "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_1J0T8D2sOmf47Nz96Ohhxb3c", + "id": "price_1J19By2sOmf47Nz9KVhsAQuQ", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623251749, + "created": 1623413430, "currency": "usd", "interval": "month", "interval_count": 1, @@ -1895,8 +1805,8 @@ http_interactions: }, "quantity": 1, "schedule": null, - "start": 1623251750, - "start_date": 1623251750, + "start": 1623413431, + "start_date": 1623413431, "status": "active", "tax_percent": null, "transfer_data": null, @@ -1905,7 +1815,7 @@ http_interactions: } ], "has_more": true, - "total_count": 77, + "total_count": 63, "url": "/v1/customers/cus_8E2ys9zDZgetWX/subscriptions" }, "tax_exempt": "none", @@ -1921,107 +1831,13 @@ http_interactions: "tax_info": null, "tax_info_verification": null } - recorded_at: Fri, 11 Jun 2021 12:10:30 GMT -- request: - method: get - uri: https://api.stripe.com/v1/setup_intents/seti_1J19Bu2sOmf47Nz9BfLWQchb - 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_2QIKcvMiGhgH9X","request_duration_ms":1042}}' - Stripe-Version: - - '2019-08-14' - X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Fri, 11 Jun 2021 12:10:30 GMT - Content-Type: - - application/json - Content-Length: - - '767' - 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_KUlaNTa9jhgxnL - Stripe-Version: - - '2019-08-14' - X-Stripe-C-Cost: - - '0' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "id": "seti_1J19Bu2sOmf47Nz9BfLWQchb", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Bu2sOmf47Nz9BfLWQchb_secret_JeS6YolgTbPvCcjRt7PKEjGx4QnU2YR", - "created": 1623413426, - "customer": "cus_8E2ys9zDZgetWX", - "description": null, - "last_setup_error": null, - "latest_attempt": "setatt_1J19Bv2sOmf47Nz9BNjAtrI4", - "livemode": false, - "mandate": null, - "metadata": { - }, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1J19Bv2sOmf47Nz95pa9Kosw", - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "succeeded", - "usage": "off_session" - } - recorded_at: Fri, 11 Jun 2021 12:10:30 GMT + recorded_at: Mon, 13 Sep 2021 11:25:48 GMT - request: method: post - uri: https://api.stripe.com/v1/prices + uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX body: encoding: UTF-8 - string: unit_amount=9466¤cy=usd&product=prod_IZQAhb9nLu4jfN&recurring[interval]=month&recurring[interval_count]=1 + string: balance=-9474 headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -2030,13 +1846,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KUlaNTa9jhgxnL","request_duration_ms":387}}' + - '{"last_request_metrics":{"request_id":"req_m9MUTsJHEtPipd","request_duration_ms":995}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -2049,11 +1865,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:30 GMT + - Mon, 13 Sep 2021 11:25:49 GMT Content-Type: - application/json Content-Length: - - '574' + - '49687' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -2069,7 +1885,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_D0fQxTCk4FelfE + - req_CWrxgY2wwPpdC6 Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -2080,299 +1896,1498 @@ http_interactions: encoding: UTF-8 string: | { - "id": "price_1J19By2sOmf47Nz9KVhsAQuQ", - "object": "price", - "active": true, - "billing_scheme": "per_unit", - "created": 1623413430, + "id": "cus_8E2ys9zDZgetWX", + "object": "customer", + "account_balance": -9474, + "address": null, + "balance": -9474, + "created": 1460026822, "currency": "usd", + "default_source": "card_1Euc902sOmf47Nz9eZvNNyyQ", + "delinquent": false, + "description": "Lucile Seguin", + "discount": null, + "email": "lucile.seguin@live.fr", + "invoice_prefix": "BCC32B8", + "invoice_settings": { + "custom_fields": null, + "default_payment_method": "pm_1JZDIE2sOmf47Nz941MJycRQ", + "footer": null + }, "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" - }, - "tiers_mode": null, - "transform_quantity": null, - "type": "recurring", - "unit_amount": 9466, - "unit_amount_decimal": "9466" - } - recorded_at: Fri, 11 Jun 2021 12:10:30 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+5 - 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_D0fQxTCk4FelfE","request_duration_ms":405}}' - Stripe-Version: - - '2019-08-14' - X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Fri, 11 Jun 2021 12:10:31 GMT - Content-Type: - - application/json - Content-Length: - - '464' - 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_zKIsh8lrMFOIBv - 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_1J19Bz2sOmf47Nz9tj2Y133y", - "object": "price", - "active": true, - "billing_scheme": "per_unit", - "created": 1623413431, - "currency": "usd", - "livemode": false, - "lookup_key": null, - "metadata": { - }, - "nickname": "Price adjustment for payment schedule 5", - "product": "prod_IZQAhb9nLu4jfN", - "recurring": null, - "tiers_mode": null, - "transform_quantity": null, - "type": "one_time", - "unit_amount": 8, - "unit_amount_decimal": "8" - } - recorded_at: Fri, 11 Jun 2021 12:10:31 GMT -- request: - method: post - uri: https://api.stripe.com/v1/prices - body: - encoding: UTF-8 - string: unit_amount=1000¤cy=usd&product=prod_IZPyHpMCl38iQl&nickname=Reservations+for+payment+schedule+5 - 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_zKIsh8lrMFOIBv","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.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Fri, 11 Jun 2021 12:10:31 GMT - Content-Type: - - application/json - Content-Length: - - '466' - 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_CgvKpyLNeMIrZx - 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_1J19Bz2sOmf47Nz9dLBSXfqB", - "object": "price", - "active": true, - "billing_scheme": "per_unit", - "created": 1623413431, - "currency": "usd", - "livemode": false, - "lookup_key": null, - "metadata": { - }, - "nickname": "Reservations for payment schedule 5", - "product": "prod_IZPyHpMCl38iQl", - "recurring": null, - "tiers_mode": null, - "transform_quantity": null, - "type": "one_time", - "unit_amount": 1000, - "unit_amount_decimal": "1000" - } - recorded_at: Fri, 11 Jun 2021 12:10:31 GMT -- request: - method: post - uri: https://api.stripe.com/v1/subscriptions - body: - encoding: UTF-8 - string: customer=cus_8E2ys9zDZgetWX&cancel_at=1652530228&add_invoice_items[0][price]=price_1J19Bz2sOmf47Nz9tj2Y133y&add_invoice_items[1][price]=price_1J19Bz2sOmf47Nz9dLBSXfqB&coupon=GIME3EUR&items[0][price]=price_1J19By2sOmf47Nz9KVhsAQuQ&default_payment_method=pm_1J19Bv2sOmf47Nz95pa9Kosw - 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_CgvKpyLNeMIrZx","request_duration_ms":379}}' - Stripe-Version: - - '2019-08-14' - X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Fri, 11 Jun 2021 12:10:33 GMT - Content-Type: - - application/json - Content-Length: - - '3720' - 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_gqkPH6CSd618Au - Stripe-Version: - - '2019-08-14' - X-Stripe-C-Cost: - - '2' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "id": "sub_JeS63F3gpNRyDK", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "billing_cycle_anchor": 1623413431, - "billing_thresholds": null, - "cancel_at": 1652530228, - "cancel_at_period_end": false, - "canceled_at": 1623413431, - "collection_method": "charge_automatically", - "created": 1623413431, - "current_period_end": 1626005431, - "current_period_start": 1623413431, - "customer": "cus_8E2ys9zDZgetWX", - "days_until_due": null, - "default_payment_method": "pm_1J19Bv2sOmf47Nz95pa9Kosw", - "default_source": null, - "default_tax_rates": [ + "name": null, + "next_invoice_sequence": 441, + "phone": null, + "preferred_locales": [ ], - "discount": null, - "ended_at": null, - "invoice_customer_balance_settings": { - "consume_applied_balance_on_void": true - }, - "items": { + "shipping": null, + "sources": { "object": "list", "data": [ { - "id": "si_JeS6YPrUZsMh08", - "object": "subscription_item", - "billing_thresholds": null, - "created": 1623413432, + "id": "card_1Euc902sOmf47Nz9eZvNNyyQ", + "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_8E2ys9zDZgetWX", + "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_8E2ys9zDZgetWX/sources" + }, + "subscriptions": { + "object": "list", + "data": [ + { + "id": "sub_KDeOOxKFukSOFq", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631531544, + "billing_thresholds": null, + "cancel_at": 1663067542, + "cancel_at_period_end": false, + "canceled_at": 1631531544, + "collection_method": "charge_automatically", + "created": 1631531544, + "current_period_end": 1634123544, + "current_period_start": 1631531544, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZD5E2sOmf47Nz9spRv1Hzv", + "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_KDeO7ibOLIHrd2", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631531545, + "metadata": { + }, + "plan": { + "id": "price_1JZD5H2sOmf47Nz9RE9xYVzW", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631531543, + "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_1JZD5H2sOmf47Nz9RE9xYVzW", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631531543, + "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_KDeOOxKFukSOFq", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDeOOxKFukSOFq" + }, + "latest_invoice": "in_1JZD5I2sOmf47Nz9JNfjxEpM", + "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_1JZD5H2sOmf47Nz9RE9xYVzW", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631531543, + "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": 1631531544, + "start_date": 1631531544, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDeL49sskbLJn5", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631531384, + "billing_thresholds": null, + "cancel_at": 1663067382, + "cancel_at_period_end": false, + "canceled_at": 1631531384, + "collection_method": "charge_automatically", + "created": 1631531384, + "current_period_end": 1634123384, + "current_period_start": 1631531384, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZD2e2sOmf47Nz9cm1GFlt9", + "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_KDeLVc4MXPXjat", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631531385, + "metadata": { + }, + "plan": { + "id": "price_1JZD2i2sOmf47Nz9HgfbKryk", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631531384, + "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_1JZD2i2sOmf47Nz9HgfbKryk", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631531384, + "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_KDeL49sskbLJn5", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDeL49sskbLJn5" + }, + "latest_invoice": "in_1JZD2j2sOmf47Nz9aSkXbY3K", + "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_1JZD2i2sOmf47Nz9HgfbKryk", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631531384, + "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": 1631531384, + "start_date": 1631531384, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDddMFRwup6SeD", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631528772, + "billing_thresholds": null, + "cancel_at": 1663064770, + "cancel_at_period_end": false, + "canceled_at": 1631528772, + "collection_method": "charge_automatically", + "created": 1631528772, + "current_period_end": 1634120772, + "current_period_start": 1631528772, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZCMW2sOmf47Nz9Av5ineIY", + "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_KDddHFLKMC8QAW", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631528773, + "metadata": { + }, + "plan": { + "id": "price_1JZCMa2sOmf47Nz9WZCd7fSB", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631528772, + "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_1JZCMa2sOmf47Nz9WZCd7fSB", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631528772, + "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_KDddMFRwup6SeD", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDddMFRwup6SeD" + }, + "latest_invoice": "in_1JZCMb2sOmf47Nz9ui14Zzyv", + "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_1JZCMa2sOmf47Nz9WZCd7fSB", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631528772, + "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": 1631528772, + "start_date": 1631528772, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcr7oTexO2Zqj", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631525872, + "billing_thresholds": null, + "cancel_at": 1663061870, + "cancel_at_period_end": false, + "canceled_at": 1631525872, + "collection_method": "charge_automatically", + "created": 1631525872, + "current_period_end": 1634117872, + "current_period_start": 1631525872, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZBbj2sOmf47Nz9tbdhvlLv", + "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_KDcrMC54ieiESF", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631525873, + "metadata": { + }, + "plan": { + "id": "price_1JZBbn2sOmf47Nz9gTKOj3St", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631525871, + "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_1JZBbn2sOmf47Nz9gTKOj3St", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631525871, + "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_KDcr7oTexO2Zqj", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcr7oTexO2Zqj" + }, + "latest_invoice": "in_1JZBbo2sOmf47Nz9zIjFCbHt", + "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_1JZBbn2sOmf47Nz9gTKOj3St", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631525871, + "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": 1631525872, + "start_date": 1631525872, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcnjixXJ0mBtk", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631525630, + "billing_thresholds": null, + "cancel_at": 1663061628, + "cancel_at_period_end": false, + "canceled_at": 1631525630, + "collection_method": "charge_automatically", + "created": 1631525630, + "current_period_end": 1634117630, + "current_period_start": 1631525630, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZBXq2sOmf47Nz9L2oVybfx", + "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_KDcn3F2qHgjfmO", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631525631, + "metadata": { + }, + "plan": { + "id": "price_1JZBXt2sOmf47Nz9QOhiSYYK", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631525629, + "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_1JZBXt2sOmf47Nz9QOhiSYYK", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631525629, + "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_KDcnjixXJ0mBtk", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcnjixXJ0mBtk" + }, + "latest_invoice": "in_1JZBXu2sOmf47Nz9P19l9fy5", + "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_1JZBXt2sOmf47Nz9QOhiSYYK", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631525629, + "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": 1631525630, + "start_date": 1631525630, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcYiLLbeDKj9g", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631524733, + "billing_thresholds": null, + "cancel_at": 1663060731, + "cancel_at_period_end": false, + "canceled_at": 1631524733, + "collection_method": "charge_automatically", + "created": 1631524733, + "current_period_end": 1634116733, + "current_period_start": 1631524733, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZBJN2sOmf47Nz9xyv4Ze7i", + "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_KDcY9IkGJngPha", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631524734, + "metadata": { + }, + "plan": { + "id": "price_1JZBJQ2sOmf47Nz9qqBlVAy2", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524732, + "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_1JZBJQ2sOmf47Nz9qqBlVAy2", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631524732, + "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_KDcYiLLbeDKj9g", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcYiLLbeDKj9g" + }, + "latest_invoice": "in_1JZBJS2sOmf47Nz92oK28Bh9", + "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_1JZBJQ2sOmf47Nz9qqBlVAy2", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524732, + "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": 1631524733, + "start_date": 1631524733, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcRXDcJ0ix3MN", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631524314, + "billing_thresholds": null, + "cancel_at": 1663060311, + "cancel_at_period_end": false, + "canceled_at": 1631524314, + "collection_method": "charge_automatically", + "created": 1631524314, + "current_period_end": 1634116314, + "current_period_start": 1631524314, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZBCb2sOmf47Nz9TM4fz9pW", + "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_KDcROMyFV4MBYX", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631524315, + "metadata": { + }, + "plan": { + "id": "price_1JZBCf2sOmf47Nz9DXn3q8cW", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524313, + "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_1JZBCf2sOmf47Nz9DXn3q8cW", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631524313, + "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_KDcRXDcJ0ix3MN", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcRXDcJ0ix3MN" + }, + "latest_invoice": "in_1JZBCg2sOmf47Nz9aE9Fiwqy", + "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_1JZBCf2sOmf47Nz9DXn3q8cW", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524313, + "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": 1631524314, + "start_date": 1631524314, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcNdHpPzwgIaW", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631524071, + "billing_thresholds": null, + "cancel_at": 1663060069, + "cancel_at_period_end": false, + "canceled_at": 1631524071, + "collection_method": "charge_automatically", + "created": 1631524071, + "current_period_end": 1634116071, + "current_period_start": 1631524071, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZB8g2sOmf47Nz9m3OUFPiE", + "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_KDcNEhMYWfjQft", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631524072, + "metadata": { + }, + "plan": { + "id": "price_1JZB8k2sOmf47Nz9ptgST04U", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524070, + "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_1JZB8k2sOmf47Nz9ptgST04U", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631524070, + "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_KDcNdHpPzwgIaW", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcNdHpPzwgIaW" + }, + "latest_invoice": "in_1JZB8l2sOmf47Nz9EtKwTvUm", + "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_1JZB8k2sOmf47Nz9ptgST04U", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524070, + "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": 1631524071, + "start_date": 1631524071, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcKVM2g2bzgZ9", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631523883, + "billing_thresholds": null, + "cancel_at": 1663059881, + "cancel_at_period_end": false, + "canceled_at": 1631523883, + "collection_method": "charge_automatically", + "created": 1631523883, + "current_period_end": 1634115883, + "current_period_start": 1631523883, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZB5f2sOmf47Nz9g9tEapIV", + "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_KDcKUZlGLYXeCS", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631523884, + "metadata": { + }, + "plan": { + "id": "price_1JZB5i2sOmf47Nz9YsIzac1c", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631523882, + "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_1JZB5i2sOmf47Nz9YsIzac1c", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631523882, + "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_KDcKVM2g2bzgZ9", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcKVM2g2bzgZ9" + }, + "latest_invoice": "in_1JZB5j2sOmf47Nz9mBKngZRT", + "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_1JZB5i2sOmf47Nz9YsIzac1c", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631523882, + "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": 1631523883, + "start_date": 1631523883, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_JeS63F3gpNRyDK", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1623413431, + "billing_thresholds": null, + "cancel_at": 1652530228, + "cancel_at_period_end": false, + "canceled_at": 1623413431, + "collection_method": "charge_automatically", + "created": 1623413431, + "current_period_end": 1633954231, + "current_period_start": 1631362231, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1J19Bv2sOmf47Nz95pa9Kosw", + "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_JeS6YPrUZsMh08", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1623413432, + "metadata": { + }, + "plan": { + "id": "price_1J19By2sOmf47Nz9KVhsAQuQ", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1623413430, + "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_1J19By2sOmf47Nz9KVhsAQuQ", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1623413430, + "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_JeS63F3gpNRyDK", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_JeS63F3gpNRyDK" + }, + "latest_invoice": "in_1JYV2t2sOmf47Nz9Yv2Px1F3", + "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_1J19By2sOmf47Nz9KVhsAQuQ", "object": "plan", @@ -2396,12 +3411,407 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "quantity": 1, + "schedule": null, + "start": 1623413431, + "start_date": 1623413431, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + } + ], + "has_more": true, + "total_count": 63, + "url": "/v1/customers/cus_8E2ys9zDZgetWX/subscriptions" + }, + "tax_exempt": "none", + "tax_ids": { + "object": "list", + "data": [ + + ], + "has_more": false, + "total_count": 0, + "url": "/v1/customers/cus_8E2ys9zDZgetWX/tax_ids" + }, + "tax_info": null, + "tax_info_verification": null + } + recorded_at: Mon, 13 Sep 2021 11:25:49 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_CWrxgY2wwPpdC6","request_duration_ms":1234}}' + 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:50 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_IKV73h3VmsaTEY + 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_1JZDII2sOmf47Nz9Wb0IfchE", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631532350, + "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:25:50 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_IKV73h3VmsaTEY","request_duration_ms":348}}' + 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:50 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_n9l5IKR24jQB8L + 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_1JZDII2sOmf47Nz9mrvLMUVX", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631532350, + "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:25:50 GMT +- request: + method: post + uri: https://api.stripe.com/v1/subscriptions + body: + encoding: UTF-8 + string: customer=cus_8E2ys9zDZgetWX&cancel_at=1663068348&add_invoice_items[0][price]=price_1JZDII2sOmf47Nz9mrvLMUVX&items[0][price]=price_1JZDII2sOmf47Nz9Wb0IfchE&default_payment_method=pm_1JZDIE2sOmf47Nz941MJycRQ&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_n9l5IKR24jQB8L","request_duration_ms":392}}' + 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:52 GMT + Content-Type: + - application/json + Content-Length: + - '10560' + 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_bI89UuRqOTfwpY + Stripe-Version: + - '2019-08-14' + X-Stripe-C-Cost: + - '4' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: ASCII-8BIT + string: !binary |- + ewogICJpZCI6ICJzdWJfS0RlYmFYU1J0WVU5UHciLAogICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICJhdXRvbWF0aWNfdGF4IjogewogICAgImVuYWJsZWQiOiBmYWxzZQogIH0sCiAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJiaWxsaW5nX2N5Y2xlX2FuY2hvciI6IDE2MzE1MzIzNTAsCiAgImJpbGxpbmdfdGhyZXNob2xkcyI6IG51bGwsCiAgImNhbmNlbF9hdCI6IDE2NjMwNjgzNDgsCiAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogZmFsc2UsCiAgImNhbmNlbGVkX2F0IjogMTYzMTUzMjM1MCwKICAiY29sbGVjdGlvbl9tZXRob2QiOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJjcmVhdGVkIjogMTYzMTUzMjM1MCwKICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTYzNDEyNDM1MCwKICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNjMxNTMyMzUwLAogICJjdXN0b21lciI6ICJjdXNfOEUyeXM5ekRaZ2V0V1giLAogICJkYXlzX3VudGlsX2R1ZSI6IG51bGwsCiAgImRlZmF1bHRfcGF5bWVudF9tZXRob2QiOiAicG1fMUpaRElFMnNPbWY0N056OTQxTUp5Y1JRIiwKICAiZGVmYXVsdF9zb3VyY2UiOiBudWxsLAogICJkZWZhdWx0X3RheF9yYXRlcyI6IFsKCiAgXSwKICAiZGlzY291bnQiOiBudWxsLAogICJlbmRlZF9hdCI6IG51bGwsCiAgImludm9pY2VfY3VzdG9tZXJfYmFsYW5jZV9zZXR0aW5ncyI6IHsKICAgICJjb25zdW1lX2FwcGxpZWRfYmFsYW5jZV9vbl92b2lkIjogdHJ1ZQogIH0sCiAgIml0ZW1zIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogInNpX0tEZWJscGRLYWFIMjAxIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiYmlsbGluZ190aHJlc2hvbGRzIjogbnVsbCwKICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIzNTEsCiAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgIH0sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAicHJpY2VfMUpaRElJMnNPbWY0N056OVdiMElmY2hFIiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgImFtb3VudCI6IDk0NjYsCiAgICAgICAgICAiYW1vdW50X2RlY2ltYWwiOiAiOTQ2NiIsCiAgICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMzUwLAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICB9LAogICAgICAgICJwcmljZSI6IHsKICAgICAgICAgICJpZCI6ICJwcmljZV8xSlpESUkyc09tZjQ3Tno5V2IwSWZjaEUiLAogICAgICAgICAgIm9iamVjdCI6ICJwcmljZSIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIzNTAsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgImxvb2t1cF9rZXkiOiBudWxsLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJyZWN1cnJpbmciOiB7CiAgICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICAgIH0sCiAgICAgICAgICAidGF4X2JlaGF2aW9yIjogInVuc3BlY2lmaWVkIiwKICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICJ0cmFuc2Zvcm1fcXVhbnRpdHkiOiBudWxsLAogICAgICAgICAgInR5cGUiOiAicmVjdXJyaW5nIiwKICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDk0NjYsCiAgICAgICAgICAidW5pdF9hbW91bnRfZGVjaW1hbCI6ICI5NDY2IgogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9LRGViYVhTUnRZVTlQdyIsCiAgICAgICAgInRheF9yYXRlcyI6IFsKCiAgICAgICAgXQogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfS0RlYmFYU1J0WVU5UHciCiAgfSwKICAibGF0ZXN0X2ludm9pY2UiOiB7CiAgICAiaWQiOiAiaW5fMUpaRElKMnNPbWY0N056OUhqZk1rVUFiIiwKICAgICJvYmplY3QiOiAiaW52b2ljZSIsCiAgICAiYWNjb3VudF9jb3VudHJ5IjogIkZSIiwKICAgICJhY2NvdW50X25hbWUiOiAiU2xlZWRlIiwKICAgICJhY2NvdW50X3RheF9pZHMiOiBudWxsLAogICAgImFtb3VudF9kdWUiOiAwLAogICAgImFtb3VudF9wYWlkIjogMCwKICAgICJhbW91bnRfcmVtYWluaW5nIjogMCwKICAgICJhcHBsaWNhdGlvbl9mZWVfYW1vdW50IjogbnVsbCwKICAgICJhdHRlbXB0X2NvdW50IjogMCwKICAgICJhdHRlbXB0ZWQiOiB0cnVlLAogICAgImF1dG9fYWR2YW5jZSI6IGZhbHNlLAogICAgImF1dG9tYXRpY190YXgiOiB7CiAgICAgICJlbmFibGVkIjogZmFsc2UsCiAgICAgICJzdGF0dXMiOiBudWxsCiAgICB9LAogICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgImJpbGxpbmdfcmVhc29uIjogInN1YnNjcmlwdGlvbl9jcmVhdGUiLAogICAgImNoYXJnZSI6IG51bGwsCiAgICAiY29sbGVjdGlvbl9tZXRob2QiOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgImNyZWF0ZWQiOiAxNjMxNTMyMzUxLAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAiY3VzdG9tX2ZpZWxkcyI6IG51bGwsCiAgICAiY3VzdG9tZXIiOiAiY3VzXzhFMnlzOXpEWmdldFdYIiwKICAgICJjdXN0b21lcl9hZGRyZXNzIjogbnVsbCwKICAgICJjdXN0b21lcl9lbWFpbCI6ICJsdWNpbGUuc2VndWluQGxpdmUuZnIiLAogICAgImN1c3RvbWVyX25hbWUiOiBudWxsLAogICAgImN1c3RvbWVyX3Bob25lIjogbnVsbCwKICAgICJjdXN0b21lcl9zaGlwcGluZyI6IG51bGwsCiAgICAiY3VzdG9tZXJfdGF4X2V4ZW1wdCI6ICJub25lIiwKICAgICJjdXN0b21lcl90YXhfaWRzIjogWwoKICAgIF0sCiAgICAiZGVmYXVsdF9wYXltZW50X21ldGhvZCI6IG51bGwsCiAgICAiZGVmYXVsdF9zb3VyY2UiOiBudWxsLAogICAgImRlZmF1bHRfdGF4X3JhdGVzIjogWwoKICAgIF0sCiAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAgImRpc2NvdW50IjogbnVsbCwKICAgICJkaXNjb3VudHMiOiBbCgogICAgXSwKICAgICJkdWVfZGF0ZSI6IG51bGwsCiAgICAiZW5kaW5nX2JhbGFuY2UiOiAwLAogICAgImZvb3RlciI6IG51bGwsCiAgICAiaG9zdGVkX2ludm9pY2VfdXJsIjogImh0dHBzOi8vaW52b2ljZS5zdHJpcGUuY29tL2kvYWNjdF8xMDNyRTYyc09tZjQ3Tno5L2ludnN0X0tEZWJacmZ0a2YxS1N0cVVqcWRJUmY5Q0hqMEI4ejQiLAogICAgImludm9pY2VfcGRmIjogImh0dHBzOi8vcGF5LnN0cmlwZS5jb20vaW52b2ljZS9hY2N0XzEwM3JFNjJzT21mNDdOejkvaW52c3RfS0RlYlpyZnRrZjFLU3RxVWpxZElSZjlDSGowQjh6NC9wZGYiLAogICAgImxhc3RfZmluYWxpemF0aW9uX2Vycm9yIjogbnVsbCwKICAgICJsaW5lcyI6IHsKICAgICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICAgImRhdGEiOiBbCiAgICAgICAgewogICAgICAgICAgImlkIjogImlpXzFKWkRJSjJzT21mNDdOejliVDJqYW9hcSIsCiAgICAgICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgICAiYW1vdW50IjogOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImRlc2NyaXB0aW9uIjogIkFib25uZW1lbnQgbWVuc3VhbGlzYWJsZSAtIHN0YW5kYXJkLCBhc3NvY2lhdGlvbiwgeWVhciIsCiAgICAgICAgICAiZGlzY291bnRfYW1vdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgImRpc2NvdW50YWJsZSI6IHRydWUsCiAgICAgICAgICAiZGlzY291bnRzIjogWwoKICAgICAgICAgIF0sCiAgICAgICAgICAiaW52b2ljZV9pdGVtIjogImlpXzFKWkRJSjJzT21mNDdOejliVDJqYW9hcSIsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgIH0sCiAgICAgICAgICAicGVyaW9kIjogewogICAgICAgICAgICAiZW5kIjogMTYzNDEyNDM1MCwKICAgICAgICAgICAgInN0YXJ0IjogMTYzMTUzMjM1MAogICAgICAgICAgfSwKICAgICAgICAgICJwbGFuIjogbnVsbCwKICAgICAgICAgICJwcmljZSI6IHsKICAgICAgICAgICAgImlkIjogInByaWNlXzFKWkRJSTJzT21mNDdOejltcnZMTVVWWCIsCiAgICAgICAgICAgICJvYmplY3QiOiAicHJpY2UiLAogICAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMzUwLAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICJsb29rdXBfa2V5IjogbnVsbCwKICAgICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAibmlja25hbWUiOiAiUHJpY2UgYWRqdXN0bWVudCBmb3IgcGF5bWVudCBzY2hlZHVsZSIsCiAgICAgICAgICAgICJwcm9kdWN0IjogInByb2RfSVpRQWhiOW5MdTRqZk4iLAogICAgICAgICAgICAicmVjdXJyaW5nIjogbnVsbCwKICAgICAgICAgICAgInRheF9iZWhhdmlvciI6ICJ1bnNwZWNpZmllZCIsCiAgICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICAgInRyYW5zZm9ybV9xdWFudGl0eSI6IG51bGwsCiAgICAgICAgICAgICJ0eXBlIjogIm9uZV90aW1lIiwKICAgICAgICAgICAgInVuaXRfYW1vdW50IjogOCwKICAgICAgICAgICAgInVuaXRfYW1vdW50X2RlY2ltYWwiOiAiOCIKICAgICAgICAgIH0sCiAgICAgICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICAgICAicXVhbnRpdHkiOiAxLAogICAgICAgICAgInN1YnNjcmlwdGlvbiI6ICJzdWJfS0RlYmFYU1J0WVU5UHciLAogICAgICAgICAgInRheF9hbW91bnRzIjogWwoKICAgICAgICAgIF0sCiAgICAgICAgICAidGF4X3JhdGVzIjogWwoKICAgICAgICAgIF0sCiAgICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICAgICAidW5pcXVlX2lkIjogImlsXzFKWkRJSjJzT21mNDdOejljOHp4VVVDRiIKICAgICAgICB9LAogICAgICAgIHsKICAgICAgICAgICJpZCI6ICJzbGlfMTc2NDU2MnNPbWY0N056OTZkMjYyOWQ2IiwKICAgICAgICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAgICAgICJhbW91bnQiOiA5NDY2LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiZGVzY3JpcHRpb24iOiAiMSDDlyBBYm9ubmVtZW50IG1lbnN1YWxpc2FibGUgLSBzdGFuZGFyZCwgYXNzb2NpYXRpb24sIHllYXIgKGF0ICQ5NC42NiAvIG1vbnRoKSIsCiAgICAgICAgICAiZGlzY291bnRfYW1vdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgImRpc2NvdW50YWJsZSI6IHRydWUsCiAgICAgICAgICAiZGlzY291bnRzIjogWwoKICAgICAgICAgIF0sCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgIH0sCiAgICAgICAgICAicGVyaW9kIjogewogICAgICAgICAgICAiZW5kIjogMTYzNDEyNDM1MCwKICAgICAgICAgICAgInN0YXJ0IjogMTYzMTUzMjM1MAogICAgICAgICAgfSwKICAgICAgICAgICJwbGFuIjogewogICAgICAgICAgICAiaWQiOiAicHJpY2VfMUpaRElJMnNPbWY0N056OVdiMElmY2hFIiwKICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgImFjdGl2ZSI6IHRydWUsCiAgICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgICAiYW1vdW50IjogOTQ2NiwKICAgICAgICAgICAgImFtb3VudF9kZWNpbWFsIjogIjk0NjYiLAogICAgICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIzNTAsCiAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAibmlja25hbWUiOiBudWxsLAogICAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICAgInRpZXJzIjogbnVsbCwKICAgICAgICAgICAgInRpZXJzX21vZGUiOiBudWxsLAogICAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAgICAgICAgICAgInVzYWdlX3R5cGUiOiAibGljZW5zZWQiCiAgICAgICAgICB9LAogICAgICAgICAgInByaWNlIjogewogICAgICAgICAgICAiaWQiOiAicHJpY2VfMUpaRElJMnNPbWY0N056OVdiMElmY2hFIiwKICAgICAgICAgICAgIm9iamVjdCI6ICJwcmljZSIsCiAgICAgICAgICAgICJhY3RpdmUiOiB0cnVlLAogICAgICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIzNTAsCiAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgImxvb2t1cF9rZXkiOiBudWxsLAogICAgICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAgICJwcm9kdWN0IjogInByb2RfSVpRQWhiOW5MdTRqZk4iLAogICAgICAgICAgICAicmVjdXJyaW5nIjogewogICAgICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgICAgICAgICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogICAgICAgICAgICB9LAogICAgICAgICAgICAidGF4X2JlaGF2aW9yIjogInVuc3BlY2lmaWVkIiwKICAgICAgICAgICAgInRpZXJzX21vZGUiOiBudWxsLAogICAgICAgICAgICAidHJhbnNmb3JtX3F1YW50aXR5IjogbnVsbCwKICAgICAgICAgICAgInR5cGUiOiAicmVjdXJyaW5nIiwKICAgICAgICAgICAgInVuaXRfYW1vdW50IjogOTQ2NiwKICAgICAgICAgICAgInVuaXRfYW1vdW50X2RlY2ltYWwiOiAiOTQ2NiIKICAgICAgICAgIH0sCiAgICAgICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICAgICAicXVhbnRpdHkiOiAxLAogICAgICAgICAgInN1YnNjcmlwdGlvbiI6ICJzdWJfS0RlYmFYU1J0WVU5UHciLAogICAgICAgICAgInN1YnNjcmlwdGlvbl9pdGVtIjogInNpX0tEZWJscGRLYWFIMjAxIiwKICAgICAgICAgICJ0YXhfYW1vdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgInRheF9yYXRlcyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgInR5cGUiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAgICJ1bmlxdWVfaWQiOiAiaWxfMUpaRElKMnNPbWY0N056OUJPSXJRNFR1IgogICAgICAgIH0KICAgICAgXSwKICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAgICJ0b3RhbF9jb3VudCI6IDIsCiAgICAgICJ1cmwiOiAiL3YxL2ludm9pY2VzL2luXzFKWkRJSjJzT21mNDdOejlIamZNa1VBYi9saW5lcyIKICAgIH0sCiAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICJtZXRhZGF0YSI6IHsKICAgIH0sCiAgICAibmV4dF9wYXltZW50X2F0dGVtcHQiOiBudWxsLAogICAgIm51bWJlciI6ICJCQ0MzMkI4LTA0NDEiLAogICAgIm9uX2JlaGFsZl9vZiI6IG51bGwsCiAgICAicGFpZCI6IHRydWUsCiAgICAicGF5bWVudF9pbnRlbnQiOiBudWxsLAogICAgInBheW1lbnRfc2V0dGluZ3MiOiB7CiAgICAgICJwYXltZW50X21ldGhvZF9vcHRpb25zIjogbnVsbCwKICAgICAgInBheW1lbnRfbWV0aG9kX3R5cGVzIjogbnVsbAogICAgfSwKICAgICJwZXJpb2RfZW5kIjogMTYzMTUzMjM1MCwKICAgICJwZXJpb2Rfc3RhcnQiOiAxNjMxNTMyMzUwLAogICAgInBvc3RfcGF5bWVudF9jcmVkaXRfbm90ZXNfYW1vdW50IjogMCwKICAgICJwcmVfcGF5bWVudF9jcmVkaXRfbm90ZXNfYW1vdW50IjogMCwKICAgICJxdW90ZSI6IG51bGwsCiAgICAicmVjZWlwdF9udW1iZXIiOiBudWxsLAogICAgInN0YXJ0aW5nX2JhbGFuY2UiOiAtOTQ3NCwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAic3RhdHVzIjogInBhaWQiLAogICAgInN0YXR1c190cmFuc2l0aW9ucyI6IHsKICAgICAgImZpbmFsaXplZF9hdCI6IDE2MzE1MzIzNTAsCiAgICAgICJtYXJrZWRfdW5jb2xsZWN0aWJsZV9hdCI6IG51bGwsCiAgICAgICJwYWlkX2F0IjogMTYzMTUzMjM1MCwKICAgICAgInZvaWRlZF9hdCI6IG51bGwKICAgIH0sCiAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9LRGViYVhTUnRZVTlQdyIsCiAgICAic3VidG90YWwiOiA5NDc0LAogICAgInRheCI6IG51bGwsCiAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgInRvdGFsIjogOTQ3NCwKICAgICJ0b3RhbF9kaXNjb3VudF9hbW91bnRzIjogWwoKICAgIF0sCiAgICAidG90YWxfdGF4X2Ftb3VudHMiOiBbCgogICAgXSwKICAgICJ0cmFuc2Zlcl9kYXRhIjogbnVsbCwKICAgICJ3ZWJob29rc19kZWxpdmVyZWRfYXQiOiAxNjMxNTMyMzUxCiAgfSwKICAibGl2ZW1vZGUiOiBmYWxzZSwKICAibWV0YWRhdGEiOiB7CiAgfSwKICAibmV4dF9wZW5kaW5nX2ludm9pY2VfaXRlbV9pbnZvaWNlIjogbnVsbCwKICAicGF1c2VfY29sbGVjdGlvbiI6IG51bGwsCiAgInBheW1lbnRfc2V0dGluZ3MiOiB7CiAgICAicGF5bWVudF9tZXRob2Rfb3B0aW9ucyI6IG51bGwsCiAgICAicGF5bWVudF9tZXRob2RfdHlwZXMiOiBudWxsCiAgfSwKICAicGVuZGluZ19pbnZvaWNlX2l0ZW1faW50ZXJ2YWwiOiBudWxsLAogICJwZW5kaW5nX3NldHVwX2ludGVudCI6IG51bGwsCiAgInBlbmRpbmdfdXBkYXRlIjogbnVsbCwKICAicGxhbiI6IHsKICAgICJpZCI6ICJwcmljZV8xSlpESUkyc09tZjQ3Tno5V2IwSWZjaEUiLAogICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICJhY3RpdmUiOiB0cnVlLAogICAgImFnZ3JlZ2F0ZV91c2FnZSI6IG51bGwsCiAgICAiYW1vdW50IjogOTQ2NiwKICAgICJhbW91bnRfZGVjaW1hbCI6ICI5NDY2IiwKICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAiY3JlYXRlZCI6IDE2MzE1MzIzNTAsCiAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7CiAgICB9LAogICAgIm5pY2tuYW1lIjogbnVsbCwKICAgICJwcm9kdWN0IjogInByb2RfSVpRQWhiOW5MdTRqZk4iLAogICAgInRpZXJzIjogbnVsbCwKICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICJ0cmFuc2Zvcm1fdXNhZ2UiOiBudWxsLAogICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogIH0sCiAgInF1YW50aXR5IjogMSwKICAic2NoZWR1bGUiOiBudWxsLAogICJzdGFydCI6IDE2MzE1MzIzNTAsCiAgInN0YXJ0X2RhdGUiOiAxNjMxNTMyMzUwLAogICJzdGF0dXMiOiAiYWN0aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmFuc2Zlcl9kYXRhIjogbnVsbCwKICAidHJpYWxfZW5kIjogbnVsbCwKICAidHJpYWxfc3RhcnQiOiBudWxsCn0K + recorded_at: Mon, 13 Sep 2021 11:25:52 GMT +- request: + method: get + uri: https://api.stripe.com/v1/subscriptions/sub_KDebaXSRtYU9Pw + 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_bI89UuRqOTfwpY","request_duration_ms":2020}}' + 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:52 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_mOkm3H3LDq2Xjs + 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_KDebaXSRtYU9Pw", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631532350, + "billing_thresholds": null, + "cancel_at": 1663068348, + "cancel_at_period_end": false, + "canceled_at": 1631532350, + "collection_method": "charge_automatically", + "created": 1631532350, + "current_period_end": 1634124350, + "current_period_start": 1631532350, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZDIE2sOmf47Nz941MJycRQ", + "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_KDeblpdKaaH201", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631532351, + "metadata": { + }, + "plan": { + "id": "price_1JZDII2sOmf47Nz9Wb0IfchE", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631532350, + "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_1J19By2sOmf47Nz9KVhsAQuQ", + "id": "price_1JZDII2sOmf47Nz9Wb0IfchE", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623413430, + "created": 1631532350, "currency": "usd", "livemode": false, "lookup_key": null, @@ -2416,6 +3826,7 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", @@ -2423,7 +3834,7 @@ http_interactions: "unit_amount_decimal": "9466" }, "quantity": 1, - "subscription": "sub_JeS63F3gpNRyDK", + "subscription": "sub_KDebaXSRtYU9Pw", "tax_rates": [ ] @@ -2431,26 +3842,30 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_JeS63F3gpNRyDK" + "url": "/v1/subscription_items?subscription=sub_KDebaXSRtYU9Pw" }, - "latest_invoice": "in_1J19C02sOmf47Nz9FTsNKlC1", + "latest_invoice": "in_1JZDIJ2sOmf47Nz9HjfMkUAb", "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_1J19By2sOmf47Nz9KVhsAQuQ", + "id": "price_1JZDII2sOmf47Nz9Wb0IfchE", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623413430, + "created": 1631532350, "currency": "usd", "interval": "month", "interval_count": 1, @@ -2467,13 +3882,1831 @@ http_interactions: }, "quantity": 1, "schedule": null, - "start": 1623413431, - "start_date": 1623413431, + "start": 1631532350, + "start_date": 1631532350, "status": "active", "tax_percent": null, "transfer_data": null, "trial_end": null, "trial_start": null } - recorded_at: Fri, 11 Jun 2021 12:10:33 GMT + recorded_at: Mon, 13 Sep 2021 11:25:52 GMT +- request: + method: post + uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX + body: + encoding: UTF-8 + string: balance=-10174 + 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_mOkm3H3LDq2Xjs","request_duration_ms":313}}' + 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:54 GMT + Content-Type: + - application/json + Content-Length: + - '49689' + 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_EFIvFF9F46IIRj + 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_8E2ys9zDZgetWX", + "object": "customer", + "account_balance": -10174, + "address": null, + "balance": -10174, + "created": 1460026822, + "currency": "usd", + "default_source": "card_1Euc902sOmf47Nz9eZvNNyyQ", + "delinquent": false, + "description": "Lucile Seguin", + "discount": null, + "email": "lucile.seguin@live.fr", + "invoice_prefix": "BCC32B8", + "invoice_settings": { + "custom_fields": null, + "default_payment_method": "pm_1JZDIE2sOmf47Nz941MJycRQ", + "footer": null + }, + "livemode": false, + "metadata": { + }, + "name": null, + "next_invoice_sequence": 442, + "phone": null, + "preferred_locales": [ + + ], + "shipping": null, + "sources": { + "object": "list", + "data": [ + { + "id": "card_1Euc902sOmf47Nz9eZvNNyyQ", + "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_8E2ys9zDZgetWX", + "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_8E2ys9zDZgetWX/sources" + }, + "subscriptions": { + "object": "list", + "data": [ + { + "id": "sub_KDebaXSRtYU9Pw", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631532350, + "billing_thresholds": null, + "cancel_at": 1663068348, + "cancel_at_period_end": false, + "canceled_at": 1631532350, + "collection_method": "charge_automatically", + "created": 1631532350, + "current_period_end": 1634124350, + "current_period_start": 1631532350, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZDIE2sOmf47Nz941MJycRQ", + "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_KDeblpdKaaH201", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631532351, + "metadata": { + }, + "plan": { + "id": "price_1JZDII2sOmf47Nz9Wb0IfchE", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631532350, + "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_1JZDII2sOmf47Nz9Wb0IfchE", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631532350, + "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_KDebaXSRtYU9Pw", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDebaXSRtYU9Pw" + }, + "latest_invoice": "in_1JZDIJ2sOmf47Nz9HjfMkUAb", + "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_1JZDII2sOmf47Nz9Wb0IfchE", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631532350, + "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": 1631532350, + "start_date": 1631532350, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDeOOxKFukSOFq", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631531544, + "billing_thresholds": null, + "cancel_at": 1663067542, + "cancel_at_period_end": false, + "canceled_at": 1631531544, + "collection_method": "charge_automatically", + "created": 1631531544, + "current_period_end": 1634123544, + "current_period_start": 1631531544, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZD5E2sOmf47Nz9spRv1Hzv", + "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_KDeO7ibOLIHrd2", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631531545, + "metadata": { + }, + "plan": { + "id": "price_1JZD5H2sOmf47Nz9RE9xYVzW", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631531543, + "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_1JZD5H2sOmf47Nz9RE9xYVzW", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631531543, + "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_KDeOOxKFukSOFq", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDeOOxKFukSOFq" + }, + "latest_invoice": "in_1JZD5I2sOmf47Nz9JNfjxEpM", + "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_1JZD5H2sOmf47Nz9RE9xYVzW", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631531543, + "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": 1631531544, + "start_date": 1631531544, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDeL49sskbLJn5", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631531384, + "billing_thresholds": null, + "cancel_at": 1663067382, + "cancel_at_period_end": false, + "canceled_at": 1631531384, + "collection_method": "charge_automatically", + "created": 1631531384, + "current_period_end": 1634123384, + "current_period_start": 1631531384, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZD2e2sOmf47Nz9cm1GFlt9", + "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_KDeLVc4MXPXjat", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631531385, + "metadata": { + }, + "plan": { + "id": "price_1JZD2i2sOmf47Nz9HgfbKryk", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631531384, + "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_1JZD2i2sOmf47Nz9HgfbKryk", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631531384, + "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_KDeL49sskbLJn5", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDeL49sskbLJn5" + }, + "latest_invoice": "in_1JZD2j2sOmf47Nz9aSkXbY3K", + "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_1JZD2i2sOmf47Nz9HgfbKryk", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631531384, + "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": 1631531384, + "start_date": 1631531384, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDddMFRwup6SeD", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631528772, + "billing_thresholds": null, + "cancel_at": 1663064770, + "cancel_at_period_end": false, + "canceled_at": 1631528772, + "collection_method": "charge_automatically", + "created": 1631528772, + "current_period_end": 1634120772, + "current_period_start": 1631528772, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZCMW2sOmf47Nz9Av5ineIY", + "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_KDddHFLKMC8QAW", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631528773, + "metadata": { + }, + "plan": { + "id": "price_1JZCMa2sOmf47Nz9WZCd7fSB", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631528772, + "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_1JZCMa2sOmf47Nz9WZCd7fSB", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631528772, + "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_KDddMFRwup6SeD", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDddMFRwup6SeD" + }, + "latest_invoice": "in_1JZCMb2sOmf47Nz9ui14Zzyv", + "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_1JZCMa2sOmf47Nz9WZCd7fSB", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631528772, + "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": 1631528772, + "start_date": 1631528772, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcr7oTexO2Zqj", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631525872, + "billing_thresholds": null, + "cancel_at": 1663061870, + "cancel_at_period_end": false, + "canceled_at": 1631525872, + "collection_method": "charge_automatically", + "created": 1631525872, + "current_period_end": 1634117872, + "current_period_start": 1631525872, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZBbj2sOmf47Nz9tbdhvlLv", + "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_KDcrMC54ieiESF", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631525873, + "metadata": { + }, + "plan": { + "id": "price_1JZBbn2sOmf47Nz9gTKOj3St", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631525871, + "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_1JZBbn2sOmf47Nz9gTKOj3St", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631525871, + "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_KDcr7oTexO2Zqj", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcr7oTexO2Zqj" + }, + "latest_invoice": "in_1JZBbo2sOmf47Nz9zIjFCbHt", + "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_1JZBbn2sOmf47Nz9gTKOj3St", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631525871, + "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": 1631525872, + "start_date": 1631525872, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcnjixXJ0mBtk", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631525630, + "billing_thresholds": null, + "cancel_at": 1663061628, + "cancel_at_period_end": false, + "canceled_at": 1631525630, + "collection_method": "charge_automatically", + "created": 1631525630, + "current_period_end": 1634117630, + "current_period_start": 1631525630, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZBXq2sOmf47Nz9L2oVybfx", + "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_KDcn3F2qHgjfmO", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631525631, + "metadata": { + }, + "plan": { + "id": "price_1JZBXt2sOmf47Nz9QOhiSYYK", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631525629, + "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_1JZBXt2sOmf47Nz9QOhiSYYK", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631525629, + "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_KDcnjixXJ0mBtk", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcnjixXJ0mBtk" + }, + "latest_invoice": "in_1JZBXu2sOmf47Nz9P19l9fy5", + "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_1JZBXt2sOmf47Nz9QOhiSYYK", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631525629, + "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": 1631525630, + "start_date": 1631525630, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcYiLLbeDKj9g", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631524733, + "billing_thresholds": null, + "cancel_at": 1663060731, + "cancel_at_period_end": false, + "canceled_at": 1631524733, + "collection_method": "charge_automatically", + "created": 1631524733, + "current_period_end": 1634116733, + "current_period_start": 1631524733, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZBJN2sOmf47Nz9xyv4Ze7i", + "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_KDcY9IkGJngPha", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631524734, + "metadata": { + }, + "plan": { + "id": "price_1JZBJQ2sOmf47Nz9qqBlVAy2", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524732, + "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_1JZBJQ2sOmf47Nz9qqBlVAy2", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631524732, + "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_KDcYiLLbeDKj9g", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcYiLLbeDKj9g" + }, + "latest_invoice": "in_1JZBJS2sOmf47Nz92oK28Bh9", + "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_1JZBJQ2sOmf47Nz9qqBlVAy2", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524732, + "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": 1631524733, + "start_date": 1631524733, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcRXDcJ0ix3MN", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631524314, + "billing_thresholds": null, + "cancel_at": 1663060311, + "cancel_at_period_end": false, + "canceled_at": 1631524314, + "collection_method": "charge_automatically", + "created": 1631524314, + "current_period_end": 1634116314, + "current_period_start": 1631524314, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZBCb2sOmf47Nz9TM4fz9pW", + "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_KDcROMyFV4MBYX", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631524315, + "metadata": { + }, + "plan": { + "id": "price_1JZBCf2sOmf47Nz9DXn3q8cW", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524313, + "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_1JZBCf2sOmf47Nz9DXn3q8cW", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631524313, + "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_KDcRXDcJ0ix3MN", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcRXDcJ0ix3MN" + }, + "latest_invoice": "in_1JZBCg2sOmf47Nz9aE9Fiwqy", + "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_1JZBCf2sOmf47Nz9DXn3q8cW", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524313, + "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": 1631524314, + "start_date": 1631524314, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcNdHpPzwgIaW", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631524071, + "billing_thresholds": null, + "cancel_at": 1663060069, + "cancel_at_period_end": false, + "canceled_at": 1631524071, + "collection_method": "charge_automatically", + "created": 1631524071, + "current_period_end": 1634116071, + "current_period_start": 1631524071, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZB8g2sOmf47Nz9m3OUFPiE", + "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_KDcNEhMYWfjQft", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631524072, + "metadata": { + }, + "plan": { + "id": "price_1JZB8k2sOmf47Nz9ptgST04U", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524070, + "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_1JZB8k2sOmf47Nz9ptgST04U", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631524070, + "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_KDcNdHpPzwgIaW", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcNdHpPzwgIaW" + }, + "latest_invoice": "in_1JZB8l2sOmf47Nz9EtKwTvUm", + "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_1JZB8k2sOmf47Nz9ptgST04U", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524070, + "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": 1631524071, + "start_date": 1631524071, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcKVM2g2bzgZ9", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631523883, + "billing_thresholds": null, + "cancel_at": 1663059881, + "cancel_at_period_end": false, + "canceled_at": 1631523883, + "collection_method": "charge_automatically", + "created": 1631523883, + "current_period_end": 1634115883, + "current_period_start": 1631523883, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZB5f2sOmf47Nz9g9tEapIV", + "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_KDcKUZlGLYXeCS", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631523884, + "metadata": { + }, + "plan": { + "id": "price_1JZB5i2sOmf47Nz9YsIzac1c", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631523882, + "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_1JZB5i2sOmf47Nz9YsIzac1c", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631523882, + "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_KDcKVM2g2bzgZ9", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcKVM2g2bzgZ9" + }, + "latest_invoice": "in_1JZB5j2sOmf47Nz9mBKngZRT", + "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_1JZB5i2sOmf47Nz9YsIzac1c", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631523882, + "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": 1631523883, + "start_date": 1631523883, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + } + ], + "has_more": true, + "total_count": 64, + "url": "/v1/customers/cus_8E2ys9zDZgetWX/subscriptions" + }, + "tax_exempt": "none", + "tax_ids": { + "object": "list", + "data": [ + + ], + "has_more": false, + "total_count": 0, + "url": "/v1/customers/cus_8E2ys9zDZgetWX/tax_ids" + }, + "tax_info": null, + "tax_info_verification": null + } + recorded_at: Mon, 13 Sep 2021 11:25:54 GMT +- request: + method: get + uri: https://api.stripe.com/v1/subscriptions/sub_KDebaXSRtYU9Pw + 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_EFIvFF9F46IIRj","request_duration_ms":1112}}' + 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:54 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_GD1Z3hXLp0GqJ1 + 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_KDebaXSRtYU9Pw", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631532350, + "billing_thresholds": null, + "cancel_at": 1663068348, + "cancel_at_period_end": false, + "canceled_at": 1631532350, + "collection_method": "charge_automatically", + "created": 1631532350, + "current_period_end": 1634124350, + "current_period_start": 1631532350, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "default_payment_method": "pm_1JZDIE2sOmf47Nz941MJycRQ", + "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_KDeblpdKaaH201", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631532351, + "metadata": { + }, + "plan": { + "id": "price_1JZDII2sOmf47Nz9Wb0IfchE", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631532350, + "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_1JZDII2sOmf47Nz9Wb0IfchE", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631532350, + "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_KDebaXSRtYU9Pw", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDebaXSRtYU9Pw" + }, + "latest_invoice": "in_1JZDIJ2sOmf47Nz9HjfMkUAb", + "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_1JZDII2sOmf47Nz9Wb0IfchE", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631532350, + "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": 1631532350, + "start_date": 1631532350, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + } + recorded_at: Mon, 13 Sep 2021 11:25:54 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_training_subscription_with_payment_schedule.yml b/test/vcr_cassettes/reservations_training_subscription_with_payment_schedule.yml index b712fcf84..2501735ce 100644 --- a/test/vcr_cassettes/reservations_training_subscription_with_payment_schedule.yml +++ b/test/vcr_cassettes/reservations_training_subscription_with_payment_schedule.yml @@ -1,99 +1,5 @@ --- http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/setup_intents - 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_594w2n9sMJ04sb","request_duration_ms":2412}}' - Stripe-Version: - - '2019-08-14' - X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Fri, 11 Jun 2021 12:10:07 GMT - Content-Type: - - application/json - Content-Length: - - '727' - 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_VmaVgUNab5kWyE - Stripe-Version: - - '2019-08-14' - X-Stripe-C-Cost: - - '0' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "id": "seti_1J19Bb2sOmf47Nz9e5fWkyQr", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Bb2sOmf47Nz9e5fWkyQr_secret_JeS5s1YAE1RSK0U0YE649p5Q1odHNji", - "created": 1623413407, - "customer": "cus_8Di1wjdVktv5kt", - "description": null, - "last_setup_error": null, - "latest_attempt": null, - "livemode": false, - "mandate": null, - "metadata": { - }, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "requires_payment_method", - "usage": "off_session" - } - recorded_at: Fri, 11 Jun 2021 12:10:07 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods @@ -108,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VmaVgUNab5kWyE","request_duration_ms":512}}' + - '{"last_request_metrics":{"request_id":"req_rJM7Tj1DPqPulJ","request_duration_ms":555}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -127,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:08 GMT + - Mon, 13 Sep 2021 11:25:58 GMT Content-Type: - application/json Content-Length: @@ -147,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_VVwdaGEN6s7X13 + - req_5QA3Vs0mjOZJaE Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19Bb2sOmf47Nz9QJOVaEG2", + "id": "pm_1JZDIP2sOmf47Nz9RVtJc1dz", "object": "payment_method", "billing_details": { "address": { @@ -198,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413408, + "created": 1631532357, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:08 GMT + recorded_at: Mon, 13 Sep 2021 11:25:58 GMT - request: method: post - uri: https://api.stripe.com/v1/setup_intents/seti_1J19Bb2sOmf47Nz9e5fWkyQr/confirm + uri: https://api.stripe.com/v1/payment_methods/pm_1JZDIP2sOmf47Nz9RVtJc1dz/attach body: encoding: UTF-8 - string: payment_method=pm_1J19Bb2sOmf47Nz9QJOVaEG2 + string: customer=cus_8Di1wjdVktv5kt headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -220,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VVwdaGEN6s7X13","request_duration_ms":770}}' + - '{"last_request_metrics":{"request_id":"req_5QA3Vs0mjOZJaE","request_duration_ms":775}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -239,11 +145,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:09 GMT + - Mon, 13 Sep 2021 11:25:59 GMT Content-Type: - application/json Content-Length: - - '767' + - '945' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -259,50 +165,1917 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_XfPKIodlhEruhr + - req_gtZABiHBPbKflR Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "seti_1J19Bb2sOmf47Nz9e5fWkyQr", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Bb2sOmf47Nz9e5fWkyQr_secret_JeS5s1YAE1RSK0U0YE649p5Q1odHNji", - "created": 1623413407, + "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": "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": 1631532357, "customer": "cus_8Di1wjdVktv5kt", - "description": null, - "last_setup_error": null, - "latest_attempt": "setatt_1J19Bc2sOmf47Nz9AHdFck7H", "livemode": false, - "mandate": null, "metadata": { }, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1J19Bb2sOmf47Nz9QJOVaEG2", - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "succeeded", - "usage": "off_session" + "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:09 GMT + recorded_at: Mon, 13 Sep 2021 11:25:59 GMT +- request: + method: post + uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt + body: + encoding: UTF-8 + string: invoice_settings[default_payment_method]=pm_1JZDIP2sOmf47Nz9RVtJc1dz + 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_gtZABiHBPbKflR","request_duration_ms":798}}' + 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:59 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_KtSIM4xEmlSjVF + 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_1JZDIP2sOmf47Nz9RVtJc1dz", + "footer": null + }, + "livemode": false, + "metadata": { + }, + "name": null, + "next_invoice_sequence": 1256, + "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_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" + } + 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 |- + ewogICJpZCI6ICJzdWJfS0RlYlJjWXJlWFZVbkgiLAogICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICJhdXRvbWF0aWNfdGF4IjogewogICAgImVuYWJsZWQiOiBmYWxzZQogIH0sCiAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJiaWxsaW5nX2N5Y2xlX2FuY2hvciI6IDE2MzE1MzIzNjEsCiAgImJpbGxpbmdfdGhyZXNob2xkcyI6IG51bGwsCiAgImNhbmNlbF9hdCI6IDE2NjMwNjgzNjAsCiAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogZmFsc2UsCiAgImNhbmNlbGVkX2F0IjogMTYzMTUzMjM2MSwKICAiY29sbGVjdGlvbl9tZXRob2QiOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJjcmVhdGVkIjogMTYzMTUzMjM2MSwKICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTYzNDEyNDM2MSwKICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNjMxNTMyMzYxLAogICJjdXN0b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICJkYXlzX3VudGlsX2R1ZSI6IG51bGwsCiAgImRlZmF1bHRfcGF5bWVudF9tZXRob2QiOiAicG1fMUpaRElQMnNPbWY0N056OVJWdEpjMWR6IiwKICAiZGVmYXVsdF9zb3VyY2UiOiBudWxsLAogICJkZWZhdWx0X3RheF9yYXRlcyI6IFsKCiAgXSwKICAiZGlzY291bnQiOiBudWxsLAogICJlbmRlZF9hdCI6IG51bGwsCiAgImludm9pY2VfY3VzdG9tZXJfYmFsYW5jZV9zZXR0aW5ncyI6IHsKICAgICJjb25zdW1lX2FwcGxpZWRfYmFsYW5jZV9vbl92b2lkIjogdHJ1ZQogIH0sCiAgIml0ZW1zIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogInNpX0tEZWJVUjFLS0RVZlY2IiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiYmlsbGluZ190aHJlc2hvbGRzIjogbnVsbCwKICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIzNjEsCiAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgIH0sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAicHJpY2VfMUpaRElTMnNPbWY0N056OWpLNmZYakFOIiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgImFtb3VudCI6IDk0NjYsCiAgICAgICAgICAiYW1vdW50X2RlY2ltYWwiOiAiOTQ2NiIsCiAgICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMzYwLAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICB9LAogICAgICAgICJwcmljZSI6IHsKICAgICAgICAgICJpZCI6ICJwcmljZV8xSlpESVMyc09tZjQ3Tno5aks2ZlhqQU4iLAogICAgICAgICAgIm9iamVjdCI6ICJwcmljZSIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIzNjAsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgImxvb2t1cF9rZXkiOiBudWxsLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJyZWN1cnJpbmciOiB7CiAgICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICAgIH0sCiAgICAgICAgICAidGF4X2JlaGF2aW9yIjogInVuc3BlY2lmaWVkIiwKICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICJ0cmFuc2Zvcm1fcXVhbnRpdHkiOiBudWxsLAogICAgICAgICAgInR5cGUiOiAicmVjdXJyaW5nIiwKICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDk0NjYsCiAgICAgICAgICAidW5pdF9hbW91bnRfZGVjaW1hbCI6ICI5NDY2IgogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9LRGViUmNZcmVYVlVuSCIsCiAgICAgICAgInRheF9yYXRlcyI6IFsKCiAgICAgICAgXQogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfS0RlYlJjWXJlWFZVbkgiCiAgfSwKICAibGF0ZXN0X2ludm9pY2UiOiB7CiAgICAiaWQiOiAiaW5fMUpaRElUMnNPbWY0N056OWdWRGYwMk1UIiwKICAgICJvYmplY3QiOiAiaW52b2ljZSIsCiAgICAiYWNjb3VudF9jb3VudHJ5IjogIkZSIiwKICAgICJhY2NvdW50X25hbWUiOiAiU2xlZWRlIiwKICAgICJhY2NvdW50X3RheF9pZHMiOiBudWxsLAogICAgImFtb3VudF9kdWUiOiA5NDc0LAogICAgImFtb3VudF9wYWlkIjogOTQ3NCwKICAgICJhbW91bnRfcmVtYWluaW5nIjogMCwKICAgICJhcHBsaWNhdGlvbl9mZWVfYW1vdW50IjogbnVsbCwKICAgICJhdHRlbXB0X2NvdW50IjogMSwKICAgICJhdHRlbXB0ZWQiOiB0cnVlLAogICAgImF1dG9fYWR2YW5jZSI6IGZhbHNlLAogICAgImF1dG9tYXRpY190YXgiOiB7CiAgICAgICJlbmFibGVkIjogZmFsc2UsCiAgICAgICJzdGF0dXMiOiBudWxsCiAgICB9LAogICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgImJpbGxpbmdfcmVhc29uIjogInN1YnNjcmlwdGlvbl9jcmVhdGUiLAogICAgImNoYXJnZSI6ICJjaF8zSlpESVQyc09tZjQ3Tno5MVB4MHpSdk0iLAogICAgImNvbGxlY3Rpb25fbWV0aG9kIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICJjcmVhdGVkIjogMTYzMTUzMjM2MSwKICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgImN1c3RvbV9maWVsZHMiOiBudWxsLAogICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAiY3VzdG9tZXJfYWRkcmVzcyI6IG51bGwsCiAgICAiY3VzdG9tZXJfZW1haWwiOiAiamVhbi5kdXBvbmRAZ21haWwuY29tIiwKICAgICJjdXN0b21lcl9uYW1lIjogbnVsbCwKICAgICJjdXN0b21lcl9waG9uZSI6IG51bGwsCiAgICAiY3VzdG9tZXJfc2hpcHBpbmciOiBudWxsLAogICAgImN1c3RvbWVyX3RheF9leGVtcHQiOiAibm9uZSIsCiAgICAiY3VzdG9tZXJfdGF4X2lkcyI6IFsKCiAgICBdLAogICAgImRlZmF1bHRfcGF5bWVudF9tZXRob2QiOiBudWxsLAogICAgImRlZmF1bHRfc291cmNlIjogbnVsbCwKICAgICJkZWZhdWx0X3RheF9yYXRlcyI6IFsKCiAgICBdLAogICAgImRlc2NyaXB0aW9uIjogbnVsbCwKICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAiZGlzY291bnRzIjogWwoKICAgIF0sCiAgICAiZHVlX2RhdGUiOiBudWxsLAogICAgImVuZGluZ19iYWxhbmNlIjogMCwKICAgICJmb290ZXIiOiBudWxsLAogICAgImhvc3RlZF9pbnZvaWNlX3VybCI6ICJodHRwczovL2ludm9pY2Uuc3RyaXBlLmNvbS9pL2FjY3RfMTAzckU2MnNPbWY0N056OS9pbnZzdF9LRGViNzNqVEE0TzRidUdqUGRsbjBONG5qY2FYYW93IiwKICAgICJpbnZvaWNlX3BkZiI6ICJodHRwczovL3BheS5zdHJpcGUuY29tL2ludm9pY2UvYWNjdF8xMDNyRTYyc09tZjQ3Tno5L2ludnN0X0tEZWI3M2pUQTRPNGJ1R2pQZGxuME40bmpjYVhhb3cvcGRmIiwKICAgICJsYXN0X2ZpbmFsaXphdGlvbl9lcnJvciI6IG51bGwsCiAgICAibGluZXMiOiB7CiAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAgICJkYXRhIjogWwogICAgICAgIHsKICAgICAgICAgICJpZCI6ICJpaV8xSlpESVQyc09tZjQ3Tno5U1RXTGR1MUQiLAogICAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgImFtb3VudCI6IDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJBYm9ubmVtZW50IG1lbnN1YWxpc2FibGUgLSBzdGFuZGFyZCwgYXNzb2NpYXRpb24sIHllYXIiLAogICAgICAgICAgImRpc2NvdW50X2Ftb3VudHMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICAgImRpc2NvdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgImludm9pY2VfaXRlbSI6ICJpaV8xSlpESVQyc09tZjQ3Tno5U1RXTGR1MUQiLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgICB9LAogICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgImVuZCI6IDE2MzQxMjQzNjEsCiAgICAgICAgICAgICJzdGFydCI6IDE2MzE1MzIzNjEKICAgICAgICAgIH0sCiAgICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAgICAicHJpY2UiOiB7CiAgICAgICAgICAgICJpZCI6ICJwcmljZV8xSlpESVMyc09tZjQ3Tno5NzBibjRpcUUiLAogICAgICAgICAgICAib2JqZWN0IjogInByaWNlIiwKICAgICAgICAgICAgImFjdGl2ZSI6IHRydWUsCiAgICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAgICJjcmVhdGVkIjogMTYzMTUzMjM2MCwKICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAibG9va3VwX2tleSI6IG51bGwsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIm5pY2tuYW1lIjogIlByaWNlIGFkanVzdG1lbnQgZm9yIHBheW1lbnQgc2NoZWR1bGUiLAogICAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICAgInJlY3VycmluZyI6IG51bGwsCiAgICAgICAgICAgICJ0YXhfYmVoYXZpb3IiOiAidW5zcGVjaWZpZWQiLAogICAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAgICJ0cmFuc2Zvcm1fcXVhbnRpdHkiOiBudWxsLAogICAgICAgICAgICAidHlwZSI6ICJvbmVfdGltZSIsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDgsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudF9kZWNpbWFsIjogIjgiCiAgICAgICAgICB9LAogICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0tEZWJSY1lyZVhWVW5IIiwKICAgICAgICAgICJ0YXhfYW1vdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgInRheF9yYXRlcyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgInR5cGUiOiAiaW52b2ljZWl0ZW0iLAogICAgICAgICAgInVuaXF1ZV9pZCI6ICJpbF8xSlpESVQyc09tZjQ3Tno5NTZkcGhmcloiCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAiaWQiOiAic2xpXzFlZDU3MzJzT21mNDdOejljZDE2NDQ1MSIsCiAgICAgICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgICAiYW1vdW50IjogOTQ2NiwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImRlc2NyaXB0aW9uIjogIjEgw5cgQWJvbm5lbWVudCBtZW5zdWFsaXNhYmxlIC0gc3RhbmRhcmQsIGFzc29jaWF0aW9uLCB5ZWFyIChhdCAkOTQuNjYgLyBtb250aCkiLAogICAgICAgICAgImRpc2NvdW50X2Ftb3VudHMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICAgImRpc2NvdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgICB9LAogICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgImVuZCI6IDE2MzQxMjQzNjEsCiAgICAgICAgICAgICJzdGFydCI6IDE2MzE1MzIzNjEKICAgICAgICAgIH0sCiAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICAgImlkIjogInByaWNlXzFKWkRJUzJzT21mNDdOejlqSzZmWGpBTiIsCiAgICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAgICJhY3RpdmUiOiB0cnVlLAogICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICAgImFtb3VudCI6IDk0NjYsCiAgICAgICAgICAgICJhbW91bnRfZGVjaW1hbCI6ICI5NDY2IiwKICAgICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMzYwLAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIm5pY2tuYW1lIjogbnVsbCwKICAgICAgICAgICAgInByb2R1Y3QiOiAicHJvZF9JWlFBaGI5bkx1NGpmTiIsCiAgICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogICAgICAgICAgfSwKICAgICAgICAgICJwcmljZSI6IHsKICAgICAgICAgICAgImlkIjogInByaWNlXzFKWkRJUzJzT21mNDdOejlqSzZmWGpBTiIsCiAgICAgICAgICAgICJvYmplY3QiOiAicHJpY2UiLAogICAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMzYwLAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICJsb29rdXBfa2V5IjogbnVsbCwKICAgICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAibmlja25hbWUiOiBudWxsLAogICAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICAgInJlY3VycmluZyI6IHsKICAgICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAgICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInRheF9iZWhhdmlvciI6ICJ1bnNwZWNpZmllZCIsCiAgICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICAgInRyYW5zZm9ybV9xdWFudGl0eSI6IG51bGwsCiAgICAgICAgICAgICJ0eXBlIjogInJlY3VycmluZyIsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDk0NjYsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudF9kZWNpbWFsIjogIjk0NjYiCiAgICAgICAgICB9LAogICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0tEZWJSY1lyZVhWVW5IIiwKICAgICAgICAgICJzdWJzY3JpcHRpb25faXRlbSI6ICJzaV9LRGViVVIxS0tEVWZWNiIsCiAgICAgICAgICAidGF4X2Ftb3VudHMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJ0YXhfcmF0ZXMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJ0eXBlIjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgICAidW5pcXVlX2lkIjogImlsXzFKWkRJVDJzT21mNDdOejlaSm56RXZrbSIKICAgICAgICB9CiAgICAgIF0sCiAgICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAidG90YWxfY291bnQiOiAyLAogICAgICAidXJsIjogIi92MS9pbnZvaWNlcy9pbl8xSlpESVQyc09tZjQ3Tno5Z1ZEZjAyTVQvbGluZXMiCiAgICB9LAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7CiAgICB9LAogICAgIm5leHRfcGF5bWVudF9hdHRlbXB0IjogbnVsbCwKICAgICJudW1iZXIiOiAiQzBFNjYxQy0xMjU2IiwKICAgICJvbl9iZWhhbGZfb2YiOiBudWxsLAogICAgInBhaWQiOiB0cnVlLAogICAgInBheW1lbnRfaW50ZW50IjogewogICAgICAiaWQiOiAicGlfM0paRElUMnNPbWY0N056OTFTUDJmQlFtIiwKICAgICAgIm9iamVjdCI6ICJwYXltZW50X2ludGVudCIsCiAgICAgICJhbW91bnQiOiA5NDc0LAogICAgICAiYW1vdW50X2NhcHR1cmFibGUiOiAwLAogICAgICAiYW1vdW50X3JlY2VpdmVkIjogOTQ3NCwKICAgICAgImFwcGxpY2F0aW9uIjogbnVsbCwKICAgICAgImFwcGxpY2F0aW9uX2ZlZV9hbW91bnQiOiBudWxsLAogICAgICAiY2FuY2VsZWRfYXQiOiBudWxsLAogICAgICAiY2FuY2VsbGF0aW9uX3JlYXNvbiI6IG51bGwsCiAgICAgICJjYXB0dXJlX21ldGhvZCI6ICJhdXRvbWF0aWMiLAogICAgICAiY2hhcmdlcyI6IHsKICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICJkYXRhIjogWwogICAgICAgICAgewogICAgICAgICAgICAiaWQiOiAiY2hfM0paRElUMnNPbWY0N056OTFQeDB6UnZNIiwKICAgICAgICAgICAgIm9iamVjdCI6ICJjaGFyZ2UiLAogICAgICAgICAgICAiYW1vdW50IjogOTQ3NCwKICAgICAgICAgICAgImFtb3VudF9jYXB0dXJlZCI6IDk0NzQsCiAgICAgICAgICAgICJhbW91bnRfcmVmdW5kZWQiOiAwLAogICAgICAgICAgICAiYXBwbGljYXRpb24iOiBudWxsLAogICAgICAgICAgICAiYXBwbGljYXRpb25fZmVlIjogbnVsbCwKICAgICAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9hbW91bnQiOiBudWxsLAogICAgICAgICAgICAiYmFsYW5jZV90cmFuc2FjdGlvbiI6ICJ0eG5fM0paRElUMnNPbWY0N056OTExZDNsT0NJIiwKICAgICAgICAgICAgImJpbGxpbmdfZGV0YWlscyI6IHsKICAgICAgICAgICAgICAiYWRkcmVzcyI6IHsKICAgICAgICAgICAgICAgICJjaXR5IjogbnVsbCwKICAgICAgICAgICAgICAgICJjb3VudHJ5IjogbnVsbCwKICAgICAgICAgICAgICAgICJsaW5lMSI6IG51bGwsCiAgICAgICAgICAgICAgICAibGluZTIiOiBudWxsLAogICAgICAgICAgICAgICAgInBvc3RhbF9jb2RlIjogbnVsbCwKICAgICAgICAgICAgICAgICJzdGF0ZSI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJlbWFpbCI6IG51bGwsCiAgICAgICAgICAgICAgIm5hbWUiOiBudWxsLAogICAgICAgICAgICAgICJwaG9uZSI6IG51bGwKICAgICAgICAgICAgfSwKICAgICAgICAgICAgImNhbGN1bGF0ZWRfc3RhdGVtZW50X2Rlc2NyaXB0b3IiOiAiU3RyaXBlIiwKICAgICAgICAgICAgImNhcHR1cmVkIjogdHJ1ZSwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMzYyLAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJTdWJzY3JpcHRpb24gY3JlYXRpb24iLAogICAgICAgICAgICAiZGVzdGluYXRpb24iOiBudWxsLAogICAgICAgICAgICAiZGlzcHV0ZSI6IG51bGwsCiAgICAgICAgICAgICJkaXNwdXRlZCI6IGZhbHNlLAogICAgICAgICAgICAiZmFpbHVyZV9jb2RlIjogbnVsbCwKICAgICAgICAgICAgImZhaWx1cmVfbWVzc2FnZSI6IG51bGwsCiAgICAgICAgICAgICJmcmF1ZF9kZXRhaWxzIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAiaW52b2ljZSI6ICJpbl8xSlpESVQyc09tZjQ3Tno5Z1ZEZjAyTVQiLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAib25fYmVoYWxmX29mIjogbnVsbCwKICAgICAgICAgICAgIm9yZGVyIjogbnVsbCwKICAgICAgICAgICAgIm91dGNvbWUiOiB7CiAgICAgICAgICAgICAgIm5ldHdvcmtfc3RhdHVzIjogImFwcHJvdmVkX2J5X25ldHdvcmsiLAogICAgICAgICAgICAgICJyZWFzb24iOiBudWxsLAogICAgICAgICAgICAgICJyaXNrX2xldmVsIjogIm5vcm1hbCIsCiAgICAgICAgICAgICAgInJpc2tfc2NvcmUiOiAxNywKICAgICAgICAgICAgICAic2VsbGVyX21lc3NhZ2UiOiAiUGF5bWVudCBjb21wbGV0ZS4iLAogICAgICAgICAgICAgICJ0eXBlIjogImF1dGhvcml6ZWQiCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJwYWlkIjogdHJ1ZSwKICAgICAgICAgICAgInBheW1lbnRfaW50ZW50IjogInBpXzNKWkRJVDJzT21mNDdOejkxU1AyZkJRbSIsCiAgICAgICAgICAgICJwYXltZW50X21ldGhvZCI6ICJwbV8xSlpESVAyc09tZjQ3Tno5UlZ0SmMxZHoiLAogICAgICAgICAgICAicGF5bWVudF9tZXRob2RfZGV0YWlscyI6IHsKICAgICAgICAgICAgICAiY2FyZCI6IHsKICAgICAgICAgICAgICAgICJicmFuZCI6ICJ2aXNhIiwKICAgICAgICAgICAgICAgICJjaGVja3MiOiB7CiAgICAgICAgICAgICAgICAgICJhZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAgICAgICAgICAgICAgICAgImFkZHJlc3NfcG9zdGFsX2NvZGVfY2hlY2siOiBudWxsLAogICAgICAgICAgICAgICAgICAiY3ZjX2NoZWNrIjogInBhc3MiCiAgICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAgICAgICAgICAgImV4cF9tb250aCI6IDQsCiAgICAgICAgICAgICAgICAiZXhwX3llYXIiOiAyMDIyLAogICAgICAgICAgICAgICAgImZpbmdlcnByaW50IjogIm81Mmp5YlI3Ym5tTm42QVQiLAogICAgICAgICAgICAgICAgImZ1bmRpbmciOiAiY3JlZGl0IiwKICAgICAgICAgICAgICAgICJpbnN0YWxsbWVudHMiOiBudWxsLAogICAgICAgICAgICAgICAgImxhc3Q0IjogIjQyNDIiLAogICAgICAgICAgICAgICAgIm5ldHdvcmsiOiAidmlzYSIsCiAgICAgICAgICAgICAgICAidGhyZWVfZF9zZWN1cmUiOiBudWxsLAogICAgICAgICAgICAgICAgIndhbGxldCI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJ0eXBlIjogImNhcmQiCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJyZWNlaXB0X2VtYWlsIjogbnVsbCwKICAgICAgICAgICAgInJlY2VpcHRfbnVtYmVyIjogbnVsbCwKICAgICAgICAgICAgInJlY2VpcHRfdXJsIjogImh0dHBzOi8vcGF5LnN0cmlwZS5jb20vcmVjZWlwdHMvYWNjdF8xMDNyRTYyc09tZjQ3Tno5L2NoXzNKWkRJVDJzT21mNDdOejkxUHgwelJ2TS9yY3B0X0tEZWIwT3p2QTZaQzBSUFNmWE5JUDA5cXJZdWpKZzUiLAogICAgICAgICAgICAicmVmdW5kZWQiOiBmYWxzZSwKICAgICAgICAgICAgInJlZnVuZHMiOiB7CiAgICAgICAgICAgICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICAgICAgICAgICAiZGF0YSI6IFsKCiAgICAgICAgICAgICAgXSwKICAgICAgICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICAgICAgICAgICAidG90YWxfY291bnQiOiAwLAogICAgICAgICAgICAgICJ1cmwiOiAiL3YxL2NoYXJnZXMvY2hfM0paRElUMnNPbWY0N056OTFQeDB6UnZNL3JlZnVuZHMiCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJyZXZpZXciOiBudWxsLAogICAgICAgICAgICAic2hpcHBpbmciOiBudWxsLAogICAgICAgICAgICAic291cmNlIjogbnVsbCwKICAgICAgICAgICAgInNvdXJjZV90cmFuc2ZlciI6IG51bGwsCiAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvcl9zdWZmaXgiOiBudWxsLAogICAgICAgICAgICAic3RhdHVzIjogInN1Y2NlZWRlZCIsCiAgICAgICAgICAgICJ0cmFuc2Zlcl9kYXRhIjogbnVsbCwKICAgICAgICAgICAgInRyYW5zZmVyX2dyb3VwIjogbnVsbAogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAgICAgInRvdGFsX2NvdW50IjogMSwKICAgICAgICAidXJsIjogIi92MS9jaGFyZ2VzP3BheW1lbnRfaW50ZW50PXBpXzNKWkRJVDJzT21mNDdOejkxU1AyZkJRbSIKICAgICAgfSwKICAgICAgImNsaWVudF9zZWNyZXQiOiAicGlfM0paRElUMnNPbWY0N056OTFTUDJmQlFtX3NlY3JldF83QTV5TXB6eFN6cExsMEFBSW5RVVd3MjRUIiwKICAgICAgImNvbmZpcm1hdGlvbl9tZXRob2QiOiAiYXV0b21hdGljIiwKICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMzYxLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJTdWJzY3JpcHRpb24gY3JlYXRpb24iLAogICAgICAiaW52b2ljZSI6ICJpbl8xSlpESVQyc09tZjQ3Tno5Z1ZEZjAyTVQiLAogICAgICAibGFzdF9wYXltZW50X2Vycm9yIjogbnVsbCwKICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgfSwKICAgICAgIm5leHRfYWN0aW9uIjogbnVsbCwKICAgICAgIm9uX2JlaGFsZl9vZiI6IG51bGwsCiAgICAgICJwYXltZW50X21ldGhvZCI6ICJwbV8xSlpESVAyc09tZjQ3Tno5UlZ0SmMxZHoiLAogICAgICAicGF5bWVudF9tZXRob2Rfb3B0aW9ucyI6IHsKICAgICAgICAiY2FyZCI6IHsKICAgICAgICAgICJpbnN0YWxsbWVudHMiOiBudWxsLAogICAgICAgICAgIm5ldHdvcmsiOiBudWxsLAogICAgICAgICAgInJlcXVlc3RfdGhyZWVfZF9zZWN1cmUiOiAiYXV0b21hdGljIgogICAgICAgIH0KICAgICAgfSwKICAgICAgInBheW1lbnRfbWV0aG9kX3R5cGVzIjogWwogICAgICAgICJjYXJkIgogICAgICBdLAogICAgICAicmVjZWlwdF9lbWFpbCI6IG51bGwsCiAgICAgICJyZXZpZXciOiBudWxsLAogICAgICAic2V0dXBfZnV0dXJlX3VzYWdlIjogIm9mZl9zZXNzaW9uIiwKICAgICAgInNoaXBwaW5nIjogbnVsbCwKICAgICAgInNvdXJjZSI6IG51bGwsCiAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvcl9zdWZmaXgiOiBudWxsLAogICAgICAic3RhdHVzIjogInN1Y2NlZWRlZCIsCiAgICAgICJ0cmFuc2Zlcl9kYXRhIjogbnVsbCwKICAgICAgInRyYW5zZmVyX2dyb3VwIjogbnVsbAogICAgfSwKICAgICJwYXltZW50X3NldHRpbmdzIjogewogICAgICAicGF5bWVudF9tZXRob2Rfb3B0aW9ucyI6IG51bGwsCiAgICAgICJwYXltZW50X21ldGhvZF90eXBlcyI6IG51bGwKICAgIH0sCiAgICAicGVyaW9kX2VuZCI6IDE2MzE1MzIzNjEsCiAgICAicGVyaW9kX3N0YXJ0IjogMTYzMTUzMjM2MSwKICAgICJwb3N0X3BheW1lbnRfY3JlZGl0X25vdGVzX2Ftb3VudCI6IDAsCiAgICAicHJlX3BheW1lbnRfY3JlZGl0X25vdGVzX2Ftb3VudCI6IDAsCiAgICAicXVvdGUiOiBudWxsLAogICAgInJlY2VpcHRfbnVtYmVyIjogbnVsbCwKICAgICJzdGFydGluZ19iYWxhbmNlIjogMCwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAic3RhdHVzIjogInBhaWQiLAogICAgInN0YXR1c190cmFuc2l0aW9ucyI6IHsKICAgICAgImZpbmFsaXplZF9hdCI6IDE2MzE1MzIzNjEsCiAgICAgICJtYXJrZWRfdW5jb2xsZWN0aWJsZV9hdCI6IG51bGwsCiAgICAgICJwYWlkX2F0IjogMTYzMTUzMjM2MSwKICAgICAgInZvaWRlZF9hdCI6IG51bGwKICAgIH0sCiAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9LRGViUmNZcmVYVlVuSCIsCiAgICAic3VidG90YWwiOiA5NDc0LAogICAgInRheCI6IG51bGwsCiAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgInRvdGFsIjogOTQ3NCwKICAgICJ0b3RhbF9kaXNjb3VudF9hbW91bnRzIjogWwoKICAgIF0sCiAgICAidG90YWxfdGF4X2Ftb3VudHMiOiBbCgogICAgXSwKICAgICJ0cmFuc2Zlcl9kYXRhIjogbnVsbCwKICAgICJ3ZWJob29rc19kZWxpdmVyZWRfYXQiOiAxNjMxNTMyMzYxCiAgfSwKICAibGl2ZW1vZGUiOiBmYWxzZSwKICAibWV0YWRhdGEiOiB7CiAgfSwKICAibmV4dF9wZW5kaW5nX2ludm9pY2VfaXRlbV9pbnZvaWNlIjogbnVsbCwKICAicGF1c2VfY29sbGVjdGlvbiI6IG51bGwsCiAgInBheW1lbnRfc2V0dGluZ3MiOiB7CiAgICAicGF5bWVudF9tZXRob2Rfb3B0aW9ucyI6IG51bGwsCiAgICAicGF5bWVudF9tZXRob2RfdHlwZXMiOiBudWxsCiAgfSwKICAicGVuZGluZ19pbnZvaWNlX2l0ZW1faW50ZXJ2YWwiOiBudWxsLAogICJwZW5kaW5nX3NldHVwX2ludGVudCI6IG51bGwsCiAgInBlbmRpbmdfdXBkYXRlIjogbnVsbCwKICAicGxhbiI6IHsKICAgICJpZCI6ICJwcmljZV8xSlpESVMyc09tZjQ3Tno5aks2ZlhqQU4iLAogICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICJhY3RpdmUiOiB0cnVlLAogICAgImFnZ3JlZ2F0ZV91c2FnZSI6IG51bGwsCiAgICAiYW1vdW50IjogOTQ2NiwKICAgICJhbW91bnRfZGVjaW1hbCI6ICI5NDY2IiwKICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAiY3JlYXRlZCI6IDE2MzE1MzIzNjAsCiAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7CiAgICB9LAogICAgIm5pY2tuYW1lIjogbnVsbCwKICAgICJwcm9kdWN0IjogInByb2RfSVpRQWhiOW5MdTRqZk4iLAogICAgInRpZXJzIjogbnVsbCwKICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICJ0cmFuc2Zvcm1fdXNhZ2UiOiBudWxsLAogICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogIH0sCiAgInF1YW50aXR5IjogMSwKICAic2NoZWR1bGUiOiBudWxsLAogICJzdGFydCI6IDE2MzE1MzIzNjEsCiAgInN0YXJ0X2RhdGUiOiAxNjMxNTMyMzYxLAogICJzdGF0dXMiOiAiYWN0aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmFuc2Zlcl9kYXRhIjogbnVsbCwKICAidHJpYWxfZW5kIjogbnVsbCwKICAidHJpYWxfc3RhcnQiOiBudWxsCn0K + recorded_at: Mon, 13 Sep 2021 11:26:03 GMT - request: method: get - uri: https://api.stripe.com/v1/setup_intents/seti_1J19Bb2sOmf47Nz9e5fWkyQr + uri: https://api.stripe.com/v1/subscriptions/sub_KDebRcYreXVUnH body: encoding: US-ASCII string: '' @@ -314,13 +2087,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XfPKIodlhEruhr","request_duration_ms":1460}}' + - '{"last_request_metrics":{"request_id":"req_a7Mf1FkHvSZmwg","request_duration_ms":2971}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -333,11 +2106,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:10 GMT + - Mon, 13 Sep 2021 11:26:04 GMT Content-Type: - application/json Content-Length: - - '767' + - '3906' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -353,7 +2126,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_CTkdNA8UVkIfpV + - req_dglssRgWgVS3VT Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -364,34 +2137,360 @@ http_interactions: encoding: UTF-8 string: | { - "id": "seti_1J19Bb2sOmf47Nz9e5fWkyQr", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Bb2sOmf47Nz9e5fWkyQr_secret_JeS5s1YAE1RSK0U0YE649p5Q1odHNji", - "created": 1623413407, + "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, "customer": "cus_8Di1wjdVktv5kt", - "description": null, - "last_setup_error": null, - "latest_attempt": "setatt_1J19Bc2sOmf47Nz9AHdFck7H", + "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", "livemode": false, - "mandate": null, "metadata": { }, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1J19Bb2sOmf47Nz9QJOVaEG2", - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "succeeded", - "usage": "off_session" + "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: Fri, 11 Jun 2021 12:10:10 GMT + 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 + }, + "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": [ + + ], + "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 + } + recorded_at: Mon, 13 Sep 2021 11:26:04 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reservations_training_with_expired_coupon_error.yml b/test/vcr_cassettes/reservations_training_with_expired_coupon_error.yml index 7714730ce..a380866f7 100644 --- a/test/vcr_cassettes/reservations_training_with_expired_coupon_error.yml +++ b/test/vcr_cassettes/reservations_training_with_expired_coupon_error.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gqkPH6CSd618Au","request_duration_ms":1478}}' + - '{"last_request_metrics":{"request_id":"req_Gw7cg6OuiAXjH4","request_duration_ms":571}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:34 GMT + - Mon, 13 Sep 2021 11:25:32 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_FcgDWIq3kqS48H + - req_OexXpoPr6h8ZiV Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19C12sOmf47Nz99tmSZZBw", + "id": "pm_1JZDI02sOmf47Nz9a7NtZua2", "object": "payment_method", "billing_details": { "address": { @@ -104,14 +104,14 @@ http_interactions: }, "wallet": null }, - "created": 1623413434, + "created": 1631532332, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:34 GMT + recorded_at: Mon, 13 Sep 2021 11:25:32 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FcgDWIq3kqS48H","request_duration_ms":729}}' + - '{"last_request_metrics":{"request_id":"req_OexXpoPr6h8ZiV","request_duration_ms":652}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,7 +145,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:35 GMT + - Mon, 13 Sep 2021 11:25:33 GMT Content-Type: - application/json Content-Length: @@ -165,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_iLsFVasH8kGMo7 + - req_amT9NxCRaztTRy Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19C22sOmf47Nz9mziFAxkf", + "id": "pm_1JZDI02sOmf47Nz9NXwYnE70", "object": "payment_method", "billing_details": { "address": { @@ -216,12 +216,12 @@ http_interactions: }, "wallet": null }, - "created": 1623413434, + "created": 1631532333, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:35 GMT + recorded_at: Mon, 13 Sep 2021 11:25:33 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means.yml b/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means.yml index 2c9280cee..900a85c3e 100644 --- a/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means.yml +++ b/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_L7oB3NXiThfKHq","request_duration_ms":495}}' + - '{"last_request_metrics":{"request_id":"req_ff4C1pdGb6nknP","request_duration_ms":319}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:43 GMT + - Mon, 13 Sep 2021 11:24:43 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_fSlilY4QmcRBrG + - req_zkF6VNi3JZKVcz Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19CA2sOmf47Nz9QAcGcmzm", + "id": "pm_1JZDHD2sOmf47Nz9gkV8x8n4", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413443, + "created": 1631532283, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:10:43 GMT + recorded_at: Mon, 13 Sep 2021 11:24:43 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19CA2sOmf47Nz9QAcGcmzm&amount=42350¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN + string: payment_method=pm_1JZDHD2sOmf47Nz9gkV8x8n4&amount=42350¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fSlilY4QmcRBrG","request_duration_ms":667}}' + - '{"last_request_metrics":{"request_id":"req_zkF6VNi3JZKVcz","request_duration_ms":634}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,7 +145,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:44 GMT + - Mon, 13 Sep 2021 11:24:44 GMT Content-Type: - application/json Content-Length: @@ -165,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_qczTpZHX696x1C + - req_bVppWmvepCz8gz Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19CB2sOmf47Nz95Pnue8GO", + "id": "pi_3JZDHD2sOmf47Nz91JXycB07", "object": "payment_intent", "amount": 42350, "amount_capturable": 0, @@ -190,7 +190,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19CC2sOmf47Nz9zKzuGzaE", + "id": "ch_3JZDHD2sOmf47Nz91XBq9JsI", "object": "charge", "amount": 42350, "amount_captured": 42350, @@ -198,7 +198,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19CC2sOmf47Nz9Ho6vuXlz", + "balance_transaction": "txn_3JZDHD2sOmf47Nz91huJwldE", "billing_details": { "address": { "city": null, @@ -214,7 +214,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413444, + "created": 1631532284, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -235,13 +235,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 25, + "risk_score": 50, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19CB2sOmf47Nz95Pnue8GO", - "payment_method": "pm_1J19CA2sOmf47Nz9QAcGcmzm", + "payment_intent": "pi_3JZDHD2sOmf47Nz91JXycB07", + "payment_method": "pm_1JZDHD2sOmf47Nz9gkV8x8n4", "payment_method_details": { "card": { "brand": "visa", @@ -265,7 +265,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19CC2sOmf47Nz9zKzuGzaE/rcpt_JeS6wGn2PItr5O1sd4ygQPfg69amR09", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHD2sOmf47Nz91XBq9JsI/rcpt_KDeaNSPiSQQ4UERuDdFE7z2YTr8L0ko", "refunded": false, "refunds": { "object": "list", @@ -274,7 +274,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19CC2sOmf47Nz9zKzuGzaE/refunds" + "url": "/v1/charges/ch_3JZDHD2sOmf47Nz91XBq9JsI/refunds" }, "review": null, "shipping": null, @@ -289,11 +289,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19CB2sOmf47Nz95Pnue8GO" + "url": "/v1/charges?payment_intent=pi_3JZDHD2sOmf47Nz91JXycB07" }, - "client_secret": "pi_1J19CB2sOmf47Nz95Pnue8GO_secret_3BnhHPZLeU5k60tmFnNxF7rHD", + "client_secret": "pi_3JZDHD2sOmf47Nz91JXycB07_secret_OnlohZCUv9xzfGxr4pI9OhXkz", "confirmation_method": "manual", - "created": 1623413443, + "created": 1631532283, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -304,7 +304,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19CA2sOmf47Nz9QAcGcmzm", + "payment_method": "pm_1JZDHD2sOmf47Nz9gkV8x8n4", "payment_method_options": { "card": { "installments": null, @@ -326,13 +326,13 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:45 GMT + recorded_at: Mon, 13 Sep 2021 11:24:44 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_1J19CB2sOmf47Nz95Pnue8GO + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDHD2sOmf47Nz91JXycB07 body: encoding: UTF-8 - string: description=Invoice+reference%3A+2106001%2FVL + string: description=Invoice+reference%3A+2109001%2FVL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -341,13 +341,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qczTpZHX696x1C","request_duration_ms":1604}}' + - '{"last_request_metrics":{"request_id":"req_bVppWmvepCz8gz","request_duration_ms":1476}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -360,7 +360,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:45 GMT + - Mon, 13 Sep 2021 11:24:45 GMT Content-Type: - application/json Content-Length: @@ -380,7 +380,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_LGyzZDOSFlxowU + - req_I5CpmWBpZ1WAf8 Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -391,7 +391,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19CB2sOmf47Nz95Pnue8GO", + "id": "pi_3JZDHD2sOmf47Nz91JXycB07", "object": "payment_intent", "amount": 42350, "amount_capturable": 0, @@ -405,7 +405,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19CC2sOmf47Nz9zKzuGzaE", + "id": "ch_3JZDHD2sOmf47Nz91XBq9JsI", "object": "charge", "amount": 42350, "amount_captured": 42350, @@ -413,7 +413,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19CC2sOmf47Nz9Ho6vuXlz", + "balance_transaction": "txn_3JZDHD2sOmf47Nz91huJwldE", "billing_details": { "address": { "city": null, @@ -429,7 +429,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413444, + "created": 1631532284, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -450,13 +450,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 25, + "risk_score": 50, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19CB2sOmf47Nz95Pnue8GO", - "payment_method": "pm_1J19CA2sOmf47Nz9QAcGcmzm", + "payment_intent": "pi_3JZDHD2sOmf47Nz91JXycB07", + "payment_method": "pm_1JZDHD2sOmf47Nz9gkV8x8n4", "payment_method_details": { "card": { "brand": "visa", @@ -480,7 +480,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19CC2sOmf47Nz9zKzuGzaE/rcpt_JeS6wGn2PItr5O1sd4ygQPfg69amR09", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHD2sOmf47Nz91XBq9JsI/rcpt_KDeaNSPiSQQ4UERuDdFE7z2YTr8L0ko", "refunded": false, "refunds": { "object": "list", @@ -489,7 +489,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19CC2sOmf47Nz9zKzuGzaE/refunds" + "url": "/v1/charges/ch_3JZDHD2sOmf47Nz91XBq9JsI/refunds" }, "review": null, "shipping": null, @@ -504,14 +504,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19CB2sOmf47Nz95Pnue8GO" + "url": "/v1/charges?payment_intent=pi_3JZDHD2sOmf47Nz91JXycB07" }, - "client_secret": "pi_1J19CB2sOmf47Nz95Pnue8GO_secret_3BnhHPZLeU5k60tmFnNxF7rHD", + "client_secret": "pi_3JZDHD2sOmf47Nz91JXycB07_secret_OnlohZCUv9xzfGxr4pI9OhXkz", "confirmation_method": "manual", - "created": 1623413443, + "created": 1631532283, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -519,7 +519,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19CA2sOmf47Nz9QAcGcmzm", + "payment_method": "pm_1JZDHD2sOmf47Nz9gkV8x8n4", "payment_method_options": { "card": { "installments": null, @@ -541,5 +541,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:45 GMT + recorded_at: Mon, 13 Sep 2021 11:24:45 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means_retrieve_invoice_from_stripe.yml b/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means_retrieve_invoice_from_stripe.yml index f8ae08482..3a3ac18c5 100644 --- a/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means_retrieve_invoice_from_stripe.yml +++ b/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means_retrieve_invoice_from_stripe.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_1J19CB2sOmf47Nz95Pnue8GO + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDHD2sOmf47Nz91JXycB07 body: encoding: US-ASCII string: '' @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LGyzZDOSFlxowU","request_duration_ms":464}}' + - '{"last_request_metrics":{"request_id":"req_I5CpmWBpZ1WAf8","request_duration_ms":472}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:10:46 GMT + - Mon, 13 Sep 2021 11:24:46 GMT Content-Type: - application/json Content-Length: @@ -53,7 +53,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_oXt918i1vLvnCA + - req_TMXYBFdX8Zu0bv Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -64,7 +64,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19CB2sOmf47Nz95Pnue8GO", + "id": "pi_3JZDHD2sOmf47Nz91JXycB07", "object": "payment_intent", "amount": 42350, "amount_capturable": 0, @@ -78,7 +78,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19CC2sOmf47Nz9zKzuGzaE", + "id": "ch_3JZDHD2sOmf47Nz91XBq9JsI", "object": "charge", "amount": 42350, "amount_captured": 42350, @@ -86,7 +86,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19CC2sOmf47Nz9Ho6vuXlz", + "balance_transaction": "txn_3JZDHD2sOmf47Nz91huJwldE", "billing_details": { "address": { "city": null, @@ -102,7 +102,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413444, + "created": 1631532284, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -123,13 +123,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 25, + "risk_score": 50, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19CB2sOmf47Nz95Pnue8GO", - "payment_method": "pm_1J19CA2sOmf47Nz9QAcGcmzm", + "payment_intent": "pi_3JZDHD2sOmf47Nz91JXycB07", + "payment_method": "pm_1JZDHD2sOmf47Nz9gkV8x8n4", "payment_method_details": { "card": { "brand": "visa", @@ -153,7 +153,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19CC2sOmf47Nz9zKzuGzaE/rcpt_JeS6wGn2PItr5O1sd4ygQPfg69amR09", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHD2sOmf47Nz91XBq9JsI/rcpt_KDeaNSPiSQQ4UERuDdFE7z2YTr8L0ko", "refunded": false, "refunds": { "object": "list", @@ -162,7 +162,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19CC2sOmf47Nz9zKzuGzaE/refunds" + "url": "/v1/charges/ch_3JZDHD2sOmf47Nz91XBq9JsI/refunds" }, "review": null, "shipping": null, @@ -177,14 +177,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19CB2sOmf47Nz95Pnue8GO" + "url": "/v1/charges?payment_intent=pi_3JZDHD2sOmf47Nz91JXycB07" }, - "client_secret": "pi_1J19CB2sOmf47Nz95Pnue8GO_secret_3BnhHPZLeU5k60tmFnNxF7rHD", + "client_secret": "pi_3JZDHD2sOmf47Nz91JXycB07_secret_OnlohZCUv9xzfGxr4pI9OhXkz", "confirmation_method": "manual", - "created": 1623413443, + "created": 1631532283, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -192,7 +192,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19CA2sOmf47Nz9QAcGcmzm", + "payment_method": "pm_1JZDHD2sOmf47Nz9gkV8x8n4", "payment_method_options": { "card": { "installments": null, @@ -214,5 +214,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:10:46 GMT + recorded_at: Mon, 13 Sep 2021 11:24:46 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/subscriptions_admin_create_with_payment_schedule.yml b/test/vcr_cassettes/subscriptions_admin_create_with_payment_schedule.yml index 000e84b99..bc83116d4 100644 --- a/test/vcr_cassettes/subscriptions_admin_create_with_payment_schedule.yml +++ b/test/vcr_cassettes/subscriptions_admin_create_with_payment_schedule.yml @@ -1,99 +1,5 @@ --- http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/setup_intents - 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_inpFMpgIbPrF6S","request_duration_ms":494}}' - Stripe-Version: - - '2019-08-14' - X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Fri, 11 Jun 2021 12:09:15 GMT - Content-Type: - - application/json - Content-Length: - - '727' - 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_6M7lDp965gpF82 - Stripe-Version: - - '2019-08-14' - X-Stripe-C-Cost: - - '0' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "id": "seti_1J19Al2sOmf47Nz9beDznSBK", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Al2sOmf47Nz9beDznSBK_secret_JeS4dfGgFMQD3H6WynlWJei1Itpi0Na", - "created": 1623413355, - "customer": "cus_8Di1wjdVktv5kt", - "description": null, - "last_setup_error": null, - "latest_attempt": null, - "livemode": false, - "mandate": null, - "metadata": { - }, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "requires_payment_method", - "usage": "off_session" - } - recorded_at: Fri, 11 Jun 2021 12:09:15 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods @@ -108,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6M7lDp965gpF82","request_duration_ms":409}}' + - '{"last_request_metrics":{"request_id":"req_UNSBmHJmCC5Mk4","request_duration_ms":665}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -127,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:16 GMT + - Mon, 13 Sep 2021 11:24:25 GMT Content-Type: - application/json Content-Length: @@ -147,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_fZzQCNV669EXoP + - req_S1TuYcKn9g6p3Q Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19Am2sOmf47Nz9JfmnAIrS", + "id": "pm_1JZDGv2sOmf47Nz9SM0WLRa7", "object": "payment_method", "billing_details": { "address": { @@ -198,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413356, + "created": 1631532265, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:09:16 GMT + recorded_at: Mon, 13 Sep 2021 11:24:25 GMT - request: method: post - uri: https://api.stripe.com/v1/setup_intents/seti_1J19Al2sOmf47Nz9beDznSBK/confirm + uri: https://api.stripe.com/v1/payment_methods/pm_1JZDGv2sOmf47Nz9SM0WLRa7/attach body: encoding: UTF-8 - string: payment_method=pm_1J19Am2sOmf47Nz9JfmnAIrS + string: customer=cus_8Di1wjdVktv5kt headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -220,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fZzQCNV669EXoP","request_duration_ms":615}}' + - '{"last_request_metrics":{"request_id":"req_S1TuYcKn9g6p3Q","request_duration_ms":648}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -239,11 +145,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:17 GMT + - Mon, 13 Sep 2021 11:24:26 GMT Content-Type: - application/json Content-Length: - - '767' + - '945' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -259,53 +165,71 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_WemVZGuhC43fCy + - req_TlXd8Njb8JNAL2 Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "seti_1J19Al2sOmf47Nz9beDznSBK", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Al2sOmf47Nz9beDznSBK_secret_JeS4dfGgFMQD3H6WynlWJei1Itpi0Na", - "created": 1623413355, + "id": "pm_1JZDGv2sOmf47Nz9SM0WLRa7", + "object": "payment_method", + "billing_details": { + "address": { + "city": null, + "country": null, + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": null, + "name": null, + "phone": null + }, + "card": { + "brand": "visa", + "checks": { + "address_line1_check": null, + "address_postal_code_check": null, + "cvc_check": "pass" + }, + "country": "US", + "exp_month": 4, + "exp_year": 2022, + "fingerprint": "o52jybR7bnmNn6AT", + "funding": "credit", + "generated_from": null, + "last4": "4242", + "networks": { + "available": [ + "visa" + ], + "preferred": null + }, + "three_d_secure_usage": { + "supported": true + }, + "wallet": null + }, + "created": 1631532265, "customer": "cus_8Di1wjdVktv5kt", - "description": null, - "last_setup_error": null, - "latest_attempt": "setatt_1J19Am2sOmf47Nz9sgVG2rWN", "livemode": false, - "mandate": null, "metadata": { }, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1J19Am2sOmf47Nz9JfmnAIrS", - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "succeeded", - "usage": "off_session" + "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:09:17 GMT + recorded_at: Mon, 13 Sep 2021 11:24:26 GMT - request: - method: get - uri: https://api.stripe.com/v1/setup_intents/seti_1J19Al2sOmf47Nz9beDznSBK + method: post + uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt body: - encoding: US-ASCII - string: '' + encoding: UTF-8 + string: invoice_settings[default_payment_method]=pm_1JZDGv2sOmf47Nz9SM0WLRa7 headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -314,13 +238,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WemVZGuhC43fCy","request_duration_ms":1147}}' + - '{"last_request_metrics":{"request_id":"req_TlXd8Njb8JNAL2","request_duration_ms":848}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -333,11 +257,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:18 GMT + - Mon, 13 Sep 2021 11:24:27 GMT Content-Type: - application/json Content-Length: - - '767' + - '49679' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -353,7 +277,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_w6JI1oJhcSXQ8X + - req_7d7f1XoQjkrWWk Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -364,130 +288,1550 @@ http_interactions: encoding: UTF-8 string: | { - "id": "seti_1J19Al2sOmf47Nz9beDznSBK", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Al2sOmf47Nz9beDznSBK_secret_JeS4dfGgFMQD3H6WynlWJei1Itpi0Na", - "created": 1623413355, - "customer": "cus_8Di1wjdVktv5kt", - "description": null, - "last_setup_error": null, - "latest_attempt": "setatt_1J19Am2sOmf47Nz9sgVG2rWN", + "id": "cus_8Di1wjdVktv5kt", + "object": "customer", + "account_balance": 0, + "address": null, + "balance": 0, + "created": 1459948888, + "currency": "usd", + "default_source": "card_1Euc972sOmf47Nz9kex4UjRG", + "delinquent": false, + "description": "Jean Dupond", + "discount": null, + "email": "jean.dupond@gmail.com", + "invoice_prefix": "C0E661C", + "invoice_settings": { + "custom_fields": null, + "default_payment_method": "pm_1JZDGv2sOmf47Nz9SM0WLRa7", + "footer": null + }, "livemode": false, - "mandate": null, "metadata": { }, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1J19Am2sOmf47Nz9JfmnAIrS", - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" + "name": null, + "next_invoice_sequence": 1254, + "phone": null, + "preferred_locales": [ + ], - "single_use_mandate": null, - "status": "succeeded", - "usage": "off_session" - } - recorded_at: Fri, 11 Jun 2021 12:09:18 GMT -- request: - method: get - uri: https://api.stripe.com/v1/setup_intents/seti_1J19Al2sOmf47Nz9beDznSBK - 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_w6JI1oJhcSXQ8X","request_duration_ms":406}}' - Stripe-Version: - - '2019-08-14' - X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Fri, 11 Jun 2021 12:09:18 GMT - Content-Type: - - application/json - Content-Length: - - '767' - 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_jkI9KMhzvN1qkB - Stripe-Version: - - '2019-08-14' - X-Stripe-C-Cost: - - '0' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "id": "seti_1J19Al2sOmf47Nz9beDznSBK", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Al2sOmf47Nz9beDznSBK_secret_JeS4dfGgFMQD3H6WynlWJei1Itpi0Na", - "created": 1623413355, - "customer": "cus_8Di1wjdVktv5kt", - "description": null, - "last_setup_error": null, - "latest_attempt": "setatt_1J19Am2sOmf47Nz9sgVG2rWN", - "livemode": false, - "mandate": null, - "metadata": { + "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" }, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1J19Am2sOmf47Nz9JfmnAIrS", - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } + "subscriptions": { + "object": "list", + "data": [ + { + "id": "sub_KDeToJCqy8AUki", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631531879, + "billing_thresholds": null, + "cancel_at": 1663067878, + "cancel_at_period_end": false, + "canceled_at": 1631531879, + "collection_method": "charge_automatically", + "created": 1631531879, + "current_period_end": 1634123879, + "current_period_start": 1631531879, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "default_payment_method": "pm_1JZDAe2sOmf47Nz9bsm9wPFI", + "default_source": null, + "default_tax_rates": [ + + ], + "discount": null, + "ended_at": null, + "invoice_customer_balance_settings": { + "consume_applied_balance_on_void": true + }, + "items": { + "object": "list", + "data": [ + { + "id": "si_KDeT8jHdC6UAxx", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631531880, + "metadata": { + }, + "plan": { + "id": "price_1JZDAh2sOmf47Nz9yYZ1jglu", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631531879, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1JZDAh2sOmf47Nz9yYZ1jglu", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631531879, + "currency": "usd", + "livemode": false, + "lookup_key": null, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 9466, + "unit_amount_decimal": "9466" + }, + "quantity": 1, + "subscription": "sub_KDeToJCqy8AUki", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDeToJCqy8AUki" + }, + "latest_invoice": "in_1JZDAi2sOmf47Nz9OTez1qxa", + "livemode": false, + "metadata": { + }, + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null + }, + "pending_invoice_item_interval": null, + "pending_setup_intent": null, + "pending_update": null, + "plan": { + "id": "price_1JZDAh2sOmf47Nz9yYZ1jglu", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631531879, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "quantity": 1, + "schedule": null, + "start": 1631531879, + "start_date": 1631531879, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDePb9wwv9HEXL", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631531618, + "billing_thresholds": null, + "cancel_at": 1663067617, + "cancel_at_period_end": false, + "canceled_at": 1631531618, + "collection_method": "charge_automatically", + "created": 1631531618, + "current_period_end": 1634123618, + "current_period_start": 1631531618, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "default_payment_method": "pm_1JZD6R2sOmf47Nz9CVbi40LS", + "default_source": null, + "default_tax_rates": [ + + ], + "discount": null, + "ended_at": null, + "invoice_customer_balance_settings": { + "consume_applied_balance_on_void": true + }, + "items": { + "object": "list", + "data": [ + { + "id": "si_KDePymBNRiUzu7", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631531619, + "metadata": { + }, + "plan": { + "id": "price_1JZD6T2sOmf47Nz9eBszbfr3", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631531617, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1JZD6T2sOmf47Nz9eBszbfr3", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631531617, + "currency": "usd", + "livemode": false, + "lookup_key": null, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 9466, + "unit_amount_decimal": "9466" + }, + "quantity": 1, + "subscription": "sub_KDePb9wwv9HEXL", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDePb9wwv9HEXL" + }, + "latest_invoice": "in_1JZD6U2sOmf47Nz96ByzJABC", + "livemode": false, + "metadata": { + }, + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null + }, + "pending_invoice_item_interval": null, + "pending_setup_intent": null, + "pending_update": null, + "plan": { + "id": "price_1JZD6T2sOmf47Nz9eBszbfr3", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631531617, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "quantity": 1, + "schedule": null, + "start": 1631531618, + "start_date": 1631531618, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcntUY1yaA3Fc", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631525640, + "billing_thresholds": null, + "cancel_at": 1663061639, + "cancel_at_period_end": false, + "canceled_at": 1631525640, + "collection_method": "charge_automatically", + "created": 1631525640, + "current_period_end": 1634117640, + "current_period_start": 1631525640, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "default_payment_method": "pm_1JZBY02sOmf47Nz9cujVPxe4", + "default_source": null, + "default_tax_rates": [ + + ], + "discount": null, + "ended_at": null, + "invoice_customer_balance_settings": { + "consume_applied_balance_on_void": true + }, + "items": { + "object": "list", + "data": [ + { + "id": "si_KDcn9Ud8rYiNXU", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631525641, + "metadata": { + }, + "plan": { + "id": "price_1JZBY32sOmf47Nz9ifmaJSjX", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631525639, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1JZBY32sOmf47Nz9ifmaJSjX", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631525639, + "currency": "usd", + "livemode": false, + "lookup_key": null, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 9466, + "unit_amount_decimal": "9466" + }, + "quantity": 1, + "subscription": "sub_KDcntUY1yaA3Fc", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcntUY1yaA3Fc" + }, + "latest_invoice": "in_1JZBY42sOmf47Nz9DSvyJRef", + "livemode": false, + "metadata": { + }, + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null + }, + "pending_invoice_item_interval": null, + "pending_setup_intent": null, + "pending_update": null, + "plan": { + "id": "price_1JZBY32sOmf47Nz9ifmaJSjX", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631525639, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "quantity": 1, + "schedule": null, + "start": 1631525640, + "start_date": 1631525640, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcYcFzvKIAfxe", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631524709, + "billing_thresholds": null, + "cancel_at": 1663060707, + "cancel_at_period_end": false, + "canceled_at": 1631524709, + "collection_method": "charge_automatically", + "created": 1631524709, + "current_period_end": 1634116709, + "current_period_start": 1631524709, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "default_payment_method": "pm_1JZBIz2sOmf47Nz9if8isgCk", + "default_source": null, + "default_tax_rates": [ + + ], + "discount": null, + "ended_at": null, + "invoice_customer_balance_settings": { + "consume_applied_balance_on_void": true + }, + "items": { + "object": "list", + "data": [ + { + "id": "si_KDcY0GXEJ58GSV", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631524709, + "metadata": { + }, + "plan": { + "id": "price_1JZBJ22sOmf47Nz9G6GfGajO", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524708, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1JZBJ22sOmf47Nz9G6GfGajO", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631524708, + "currency": "usd", + "livemode": false, + "lookup_key": null, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 9466, + "unit_amount_decimal": "9466" + }, + "quantity": 1, + "subscription": "sub_KDcYcFzvKIAfxe", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcYcFzvKIAfxe" + }, + "latest_invoice": "in_1JZBJ32sOmf47Nz9cVh8GVlb", + "livemode": false, + "metadata": { + }, + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null + }, + "pending_invoice_item_interval": null, + "pending_setup_intent": null, + "pending_update": null, + "plan": { + "id": "price_1JZBJ22sOmf47Nz9G6GfGajO", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524708, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "quantity": 1, + "schedule": null, + "start": 1631524709, + "start_date": 1631524709, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcREVjTNPz3Ew", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631524329, + "billing_thresholds": null, + "cancel_at": 1663060328, + "cancel_at_period_end": false, + "canceled_at": 1631524329, + "collection_method": "charge_automatically", + "created": 1631524329, + "current_period_end": 1634116329, + "current_period_start": 1631524329, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "default_payment_method": "pm_1JZBCs2sOmf47Nz9xLQzqIu9", + "default_source": null, + "default_tax_rates": [ + + ], + "discount": null, + "ended_at": null, + "invoice_customer_balance_settings": { + "consume_applied_balance_on_void": true + }, + "items": { + "object": "list", + "data": [ + { + "id": "si_KDcRvQzhZyE5ZE", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631524330, + "metadata": { + }, + "plan": { + "id": "price_1JZBCu2sOmf47Nz9EE2mabAJ", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524328, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1JZBCu2sOmf47Nz9EE2mabAJ", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631524328, + "currency": "usd", + "livemode": false, + "lookup_key": null, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 9466, + "unit_amount_decimal": "9466" + }, + "quantity": 1, + "subscription": "sub_KDcREVjTNPz3Ew", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcREVjTNPz3Ew" + }, + "latest_invoice": "in_1JZBCv2sOmf47Nz91bRTmzcU", + "livemode": false, + "metadata": { + }, + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null + }, + "pending_invoice_item_interval": null, + "pending_setup_intent": null, + "pending_update": null, + "plan": { + "id": "price_1JZBCu2sOmf47Nz9EE2mabAJ", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524328, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "quantity": 1, + "schedule": null, + "start": 1631524329, + "start_date": 1631524329, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcNi59k7NkmxZ", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631524094, + "billing_thresholds": null, + "cancel_at": 1663060092, + "cancel_at_period_end": false, + "canceled_at": 1631524094, + "collection_method": "charge_automatically", + "created": 1631524094, + "current_period_end": 1634116094, + "current_period_start": 1631524094, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "default_payment_method": "pm_1JZB942sOmf47Nz9uaPVuoqr", + "default_source": null, + "default_tax_rates": [ + + ], + "discount": null, + "ended_at": null, + "invoice_customer_balance_settings": { + "consume_applied_balance_on_void": true + }, + "items": { + "object": "list", + "data": [ + { + "id": "si_KDcNxc5epuq6Ro", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631524094, + "metadata": { + }, + "plan": { + "id": "price_1JZB962sOmf47Nz9nKwhbU5R", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524092, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1JZB962sOmf47Nz9nKwhbU5R", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631524092, + "currency": "usd", + "livemode": false, + "lookup_key": null, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 9466, + "unit_amount_decimal": "9466" + }, + "quantity": 1, + "subscription": "sub_KDcNi59k7NkmxZ", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcNi59k7NkmxZ" + }, + "latest_invoice": "in_1JZB982sOmf47Nz9IFFpw8eB", + "livemode": false, + "metadata": { + }, + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null + }, + "pending_invoice_item_interval": null, + "pending_setup_intent": null, + "pending_update": null, + "plan": { + "id": "price_1JZB962sOmf47Nz9nKwhbU5R", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631524092, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "quantity": 1, + "schedule": null, + "start": 1631524094, + "start_date": 1631524094, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDcKvn4YhcxOlf", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631523862, + "billing_thresholds": null, + "cancel_at": 1663059861, + "cancel_at_period_end": false, + "canceled_at": 1631523862, + "collection_method": "charge_automatically", + "created": 1631523862, + "current_period_end": 1634115862, + "current_period_start": 1631523862, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "default_payment_method": "pm_1JZB5K2sOmf47Nz9SmbgKZJw", + "default_source": null, + "default_tax_rates": [ + + ], + "discount": null, + "ended_at": null, + "invoice_customer_balance_settings": { + "consume_applied_balance_on_void": true + }, + "items": { + "object": "list", + "data": [ + { + "id": "si_KDcKCEkpRf7dS3", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631523863, + "metadata": { + }, + "plan": { + "id": "price_1JZB5N2sOmf47Nz9jQ012sQE", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631523861, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1JZB5N2sOmf47Nz9jQ012sQE", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631523861, + "currency": "usd", + "livemode": false, + "lookup_key": null, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 9466, + "unit_amount_decimal": "9466" + }, + "quantity": 1, + "subscription": "sub_KDcKvn4YhcxOlf", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDcKvn4YhcxOlf" + }, + "latest_invoice": "in_1JZB5O2sOmf47Nz9aP9VIGH7", + "livemode": false, + "metadata": { + }, + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null + }, + "pending_invoice_item_interval": null, + "pending_setup_intent": null, + "pending_update": null, + "plan": { + "id": "price_1JZB5N2sOmf47Nz9jQ012sQE", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631523861, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "quantity": 1, + "schedule": null, + "start": 1631523862, + "start_date": 1631523862, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDc9Jl3OiO42tD", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631523255, + "billing_thresholds": null, + "cancel_at": 1663059253, + "cancel_at_period_end": false, + "canceled_at": 1631523255, + "collection_method": "charge_automatically", + "created": 1631523255, + "current_period_end": 1634115255, + "current_period_start": 1631523255, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "default_payment_method": "pm_1JZAvX2sOmf47Nz9Ogf35p36", + "default_source": null, + "default_tax_rates": [ + + ], + "discount": null, + "ended_at": null, + "invoice_customer_balance_settings": { + "consume_applied_balance_on_void": true + }, + "items": { + "object": "list", + "data": [ + { + "id": "si_KDc9AHcWgXWCOh", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631523256, + "metadata": { + }, + "plan": { + "id": "price_1JZAva2sOmf47Nz9Eu5l8VIe", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631523254, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1JZAva2sOmf47Nz9Eu5l8VIe", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631523254, + "currency": "usd", + "livemode": false, + "lookup_key": null, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 9466, + "unit_amount_decimal": "9466" + }, + "quantity": 1, + "subscription": "sub_KDc9Jl3OiO42tD", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDc9Jl3OiO42tD" + }, + "latest_invoice": "in_1JZAvb2sOmf47Nz9eTVrJkJA", + "livemode": false, + "metadata": { + }, + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null + }, + "pending_invoice_item_interval": null, + "pending_setup_intent": null, + "pending_update": null, + "plan": { + "id": "price_1JZAva2sOmf47Nz9Eu5l8VIe", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631523254, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "quantity": 1, + "schedule": null, + "start": 1631523255, + "start_date": 1631523255, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDc72MBwZL7Mcx", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631523098, + "billing_thresholds": null, + "cancel_at": 1663059097, + "cancel_at_period_end": false, + "canceled_at": 1631523098, + "collection_method": "charge_automatically", + "created": 1631523098, + "current_period_end": 1634115098, + "current_period_start": 1631523098, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "default_payment_method": "pm_1JZAt02sOmf47Nz9QOEkCfu2", + "default_source": null, + "default_tax_rates": [ + + ], + "discount": null, + "ended_at": null, + "invoice_customer_balance_settings": { + "consume_applied_balance_on_void": true + }, + "items": { + "object": "list", + "data": [ + { + "id": "si_KDc7A3NMyKHOjq", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631523099, + "metadata": { + }, + "plan": { + "id": "price_1JZAt32sOmf47Nz9gjiMYpfc", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631523097, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1JZAt32sOmf47Nz9gjiMYpfc", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631523097, + "currency": "usd", + "livemode": false, + "lookup_key": null, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 9466, + "unit_amount_decimal": "9466" + }, + "quantity": 1, + "subscription": "sub_KDc72MBwZL7Mcx", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDc72MBwZL7Mcx" + }, + "latest_invoice": "in_1JZAt42sOmf47Nz9oLcWgzcU", + "livemode": false, + "metadata": { + }, + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null + }, + "pending_invoice_item_interval": null, + "pending_setup_intent": null, + "pending_update": null, + "plan": { + "id": "price_1JZAt32sOmf47Nz9gjiMYpfc", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631523097, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "quantity": 1, + "schedule": null, + "start": 1631523098, + "start_date": 1631523098, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_KDc5yXt8R7vVm1", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631522990, + "billing_thresholds": null, + "cancel_at": 1663058989, + "cancel_at_period_end": false, + "canceled_at": 1631522990, + "collection_method": "charge_automatically", + "created": 1631522990, + "current_period_end": 1634114990, + "current_period_start": 1631522990, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "default_payment_method": "pm_1JZArH2sOmf47Nz96RwlW5Mo", + "default_source": null, + "default_tax_rates": [ + + ], + "discount": null, + "ended_at": null, + "invoice_customer_balance_settings": { + "consume_applied_balance_on_void": true + }, + "items": { + "object": "list", + "data": [ + { + "id": "si_KDc5U6dt18zY6H", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631522991, + "metadata": { + }, + "plan": { + "id": "price_1JZArJ2sOmf47Nz9lE4jYUzZ", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631522989, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1JZArJ2sOmf47Nz9lE4jYUzZ", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631522989, + "currency": "usd", + "livemode": false, + "lookup_key": null, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 9466, + "unit_amount_decimal": "9466" + }, + "quantity": 1, + "subscription": "sub_KDc5yXt8R7vVm1", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDc5yXt8R7vVm1" + }, + "latest_invoice": "in_1JZArK2sOmf47Nz9Bi27AXaw", + "livemode": false, + "metadata": { + }, + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null + }, + "pending_invoice_item_interval": null, + "pending_setup_intent": null, + "pending_update": null, + "plan": { + "id": "price_1JZArJ2sOmf47Nz9lE4jYUzZ", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631522989, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "quantity": 1, + "schedule": null, + "start": 1631522990, + "start_date": 1631522990, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + } + ], + "has_more": true, + "total_count": 192, + "url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions" }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "succeeded", - "usage": "off_session" + "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: Fri, 11 Jun 2021 12:09:18 GMT + recorded_at: Mon, 13 Sep 2021 11:24:27 GMT - request: method: post uri: https://api.stripe.com/v1/prices @@ -502,13 +1846,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jkI9KMhzvN1qkB","request_duration_ms":366}}' + - '{"last_request_metrics":{"request_id":"req_7d7f1XoQjkrWWk","request_duration_ms":872}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -521,11 +1865,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:19 GMT + - Mon, 13 Sep 2021 11:24:28 GMT Content-Type: - application/json Content-Length: - - '574' + - '607' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -541,7 +1885,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_wEV0utkuydCzBS + - req_Lp30w3Uspkg793 Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -552,11 +1896,11 @@ http_interactions: encoding: UTF-8 string: | { - "id": "price_1J19Ao2sOmf47Nz9CKS2E04T", + "id": "price_1JZDGx2sOmf47Nz9nUWex1u2", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623413358, + "created": 1631532267, "currency": "usd", "livemode": false, "lookup_key": null, @@ -571,19 +1915,20 @@ http_interactions: "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: Fri, 11 Jun 2021 12:09:19 GMT + recorded_at: Mon, 13 Sep 2021 11:24:28 GMT - request: method: post uri: https://api.stripe.com/v1/prices body: encoding: UTF-8 - string: unit_amount=8¤cy=usd&product=prod_IZQAhb9nLu4jfN&nickname=Price+adjustment+for+payment+schedule+3 + string: unit_amount=8¤cy=usd&product=prod_IZQAhb9nLu4jfN&nickname=Price+adjustment+for+payment+schedule+ headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -592,13 +1937,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wEV0utkuydCzBS","request_duration_ms":427}}' + - '{"last_request_metrics":{"request_id":"req_Lp30w3Uspkg793","request_duration_ms":411}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -611,11 +1956,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:19 GMT + - Mon, 13 Sep 2021 11:24:28 GMT Content-Type: - application/json Content-Length: - - '464' + - '495' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -631,7 +1976,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_jFKCIQI2qbN32x + - req_QoAEGxzt4tLOu8 Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -642,32 +1987,33 @@ http_interactions: encoding: UTF-8 string: | { - "id": "price_1J19Ap2sOmf47Nz9XPnavXfk", + "id": "price_1JZDGy2sOmf47Nz9CZX0fiJ7", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623413359, + "created": 1631532268, "currency": "usd", "livemode": false, "lookup_key": null, "metadata": { }, - "nickname": "Price adjustment for payment schedule 3", + "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: Fri, 11 Jun 2021 12:09:19 GMT + recorded_at: Mon, 13 Sep 2021 11:24:28 GMT - request: method: post uri: https://api.stripe.com/v1/subscriptions body: encoding: UTF-8 - string: customer=cus_8Di1wjdVktv5kt&cancel_at=1652530158&add_invoice_items[0][price]=price_1J19Ap2sOmf47Nz9XPnavXfk&items[0][price]=price_1J19Ao2sOmf47Nz9CKS2E04T&default_payment_method=pm_1J19Am2sOmf47Nz9JfmnAIrS + string: customer=cus_8Di1wjdVktv5kt&cancel_at=1663068267&add_invoice_items[0][price]=price_1JZDGy2sOmf47Nz9CZX0fiJ7&items[0][price]=price_1JZDGx2sOmf47Nz9nUWex1u2&default_payment_method=pm_1JZDGv2sOmf47Nz9SM0WLRa7&expand[0]=latest_invoice.payment_intent headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -676,13 +2022,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jFKCIQI2qbN32x","request_duration_ms":373}}' + - '{"last_request_metrics":{"request_id":"req_QoAEGxzt4tLOu8","request_duration_ms":360}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -695,11 +2041,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:21 GMT + - Mon, 13 Sep 2021 11:24:31 GMT Content-Type: - application/json Content-Length: - - '3720' + - '15536' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -715,33 +2061,101 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_594w2n9sMJ04sb + - req_eaFvvEpIyvK3kw Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '9' + - '10' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: ASCII-8BIT + string: !binary |- + ewogICJpZCI6ICJzdWJfS0RlYVZqN3lZbDB0YVEiLAogICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICJhdXRvbWF0aWNfdGF4IjogewogICAgImVuYWJsZWQiOiBmYWxzZQogIH0sCiAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJiaWxsaW5nX2N5Y2xlX2FuY2hvciI6IDE2MzE1MzIyNjgsCiAgImJpbGxpbmdfdGhyZXNob2xkcyI6IG51bGwsCiAgImNhbmNlbF9hdCI6IDE2NjMwNjgyNjcsCiAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogZmFsc2UsCiAgImNhbmNlbGVkX2F0IjogMTYzMTUzMjI2OCwKICAiY29sbGVjdGlvbl9tZXRob2QiOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICJjcmVhdGVkIjogMTYzMTUzMjI2OCwKICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTYzNDEyNDI2OCwKICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNjMxNTMyMjY4LAogICJjdXN0b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICJkYXlzX3VudGlsX2R1ZSI6IG51bGwsCiAgImRlZmF1bHRfcGF5bWVudF9tZXRob2QiOiAicG1fMUpaREd2MnNPbWY0N056OVNNMFdMUmE3IiwKICAiZGVmYXVsdF9zb3VyY2UiOiBudWxsLAogICJkZWZhdWx0X3RheF9yYXRlcyI6IFsKCiAgXSwKICAiZGlzY291bnQiOiBudWxsLAogICJlbmRlZF9hdCI6IG51bGwsCiAgImludm9pY2VfY3VzdG9tZXJfYmFsYW5jZV9zZXR0aW5ncyI6IHsKICAgICJjb25zdW1lX2FwcGxpZWRfYmFsYW5jZV9vbl92b2lkIjogdHJ1ZQogIH0sCiAgIml0ZW1zIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogInNpX0tEZWFreDNKcDc1cm9ZIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiYmlsbGluZ190aHJlc2hvbGRzIjogbnVsbCwKICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIyNjksCiAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgIH0sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAicHJpY2VfMUpaREd4MnNPbWY0N056OW5VV2V4MXUyIiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgImFtb3VudCI6IDk0NjYsCiAgICAgICAgICAiYW1vdW50X2RlY2ltYWwiOiAiOTQ2NiIsCiAgICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjY3LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICB9LAogICAgICAgICJwcmljZSI6IHsKICAgICAgICAgICJpZCI6ICJwcmljZV8xSlpER3gyc09tZjQ3Tno5blVXZXgxdTIiLAogICAgICAgICAgIm9iamVjdCI6ICJwcmljZSIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAiY3JlYXRlZCI6IDE2MzE1MzIyNjcsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgImxvb2t1cF9rZXkiOiBudWxsLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICJyZWN1cnJpbmciOiB7CiAgICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICAgIH0sCiAgICAgICAgICAidGF4X2JlaGF2aW9yIjogInVuc3BlY2lmaWVkIiwKICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICJ0cmFuc2Zvcm1fcXVhbnRpdHkiOiBudWxsLAogICAgICAgICAgInR5cGUiOiAicmVjdXJyaW5nIiwKICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDk0NjYsCiAgICAgICAgICAidW5pdF9hbW91bnRfZGVjaW1hbCI6ICI5NDY2IgogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9LRGVhVmo3eVlsMHRhUSIsCiAgICAgICAgInRheF9yYXRlcyI6IFsKCiAgICAgICAgXQogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfS0RlYVZqN3lZbDB0YVEiCiAgfSwKICAibGF0ZXN0X2ludm9pY2UiOiB7CiAgICAiaWQiOiAiaW5fMUpaREd5MnNPbWY0N056OTFwWTFtV2VtIiwKICAgICJvYmplY3QiOiAiaW52b2ljZSIsCiAgICAiYWNjb3VudF9jb3VudHJ5IjogIkZSIiwKICAgICJhY2NvdW50X25hbWUiOiAiU2xlZWRlIiwKICAgICJhY2NvdW50X3RheF9pZHMiOiBudWxsLAogICAgImFtb3VudF9kdWUiOiA5NDc0LAogICAgImFtb3VudF9wYWlkIjogOTQ3NCwKICAgICJhbW91bnRfcmVtYWluaW5nIjogMCwKICAgICJhcHBsaWNhdGlvbl9mZWVfYW1vdW50IjogbnVsbCwKICAgICJhdHRlbXB0X2NvdW50IjogMSwKICAgICJhdHRlbXB0ZWQiOiB0cnVlLAogICAgImF1dG9fYWR2YW5jZSI6IGZhbHNlLAogICAgImF1dG9tYXRpY190YXgiOiB7CiAgICAgICJlbmFibGVkIjogZmFsc2UsCiAgICAgICJzdGF0dXMiOiBudWxsCiAgICB9LAogICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgImJpbGxpbmdfcmVhc29uIjogInN1YnNjcmlwdGlvbl9jcmVhdGUiLAogICAgImNoYXJnZSI6ICJjaF8zSlpER3oyc09tZjQ3Tno5MTl4djVrUWMiLAogICAgImNvbGxlY3Rpb25fbWV0aG9kIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICJjcmVhdGVkIjogMTYzMTUzMjI2OCwKICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgImN1c3RvbV9maWVsZHMiOiBudWxsLAogICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAiY3VzdG9tZXJfYWRkcmVzcyI6IG51bGwsCiAgICAiY3VzdG9tZXJfZW1haWwiOiAiamVhbi5kdXBvbmRAZ21haWwuY29tIiwKICAgICJjdXN0b21lcl9uYW1lIjogbnVsbCwKICAgICJjdXN0b21lcl9waG9uZSI6IG51bGwsCiAgICAiY3VzdG9tZXJfc2hpcHBpbmciOiBudWxsLAogICAgImN1c3RvbWVyX3RheF9leGVtcHQiOiAibm9uZSIsCiAgICAiY3VzdG9tZXJfdGF4X2lkcyI6IFsKCiAgICBdLAogICAgImRlZmF1bHRfcGF5bWVudF9tZXRob2QiOiBudWxsLAogICAgImRlZmF1bHRfc291cmNlIjogbnVsbCwKICAgICJkZWZhdWx0X3RheF9yYXRlcyI6IFsKCiAgICBdLAogICAgImRlc2NyaXB0aW9uIjogbnVsbCwKICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAiZGlzY291bnRzIjogWwoKICAgIF0sCiAgICAiZHVlX2RhdGUiOiBudWxsLAogICAgImVuZGluZ19iYWxhbmNlIjogMCwKICAgICJmb290ZXIiOiBudWxsLAogICAgImhvc3RlZF9pbnZvaWNlX3VybCI6ICJodHRwczovL2ludm9pY2Uuc3RyaXBlLmNvbS9pL2FjY3RfMTAzckU2MnNPbWY0N056OS9pbnZzdF9LRGVhWnZyZEdHcFBpeHlEektySllIa0FuS1JMZ0d1IiwKICAgICJpbnZvaWNlX3BkZiI6ICJodHRwczovL3BheS5zdHJpcGUuY29tL2ludm9pY2UvYWNjdF8xMDNyRTYyc09tZjQ3Tno5L2ludnN0X0tEZWFadnJkR0dwUGl4eUR6S3JKWUhrQW5LUkxnR3UvcGRmIiwKICAgICJsYXN0X2ZpbmFsaXphdGlvbl9lcnJvciI6IG51bGwsCiAgICAibGluZXMiOiB7CiAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAgICJkYXRhIjogWwogICAgICAgIHsKICAgICAgICAgICJpZCI6ICJpaV8xSlpER3kyc09tZjQ3Tno5dDBuZDdwVHQiLAogICAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgImFtb3VudCI6IDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJBYm9ubmVtZW50IG1lbnN1YWxpc2FibGUgLSBzdGFuZGFyZCwgYXNzb2NpYXRpb24sIHllYXIiLAogICAgICAgICAgImRpc2NvdW50X2Ftb3VudHMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICAgImRpc2NvdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgImludm9pY2VfaXRlbSI6ICJpaV8xSlpER3kyc09tZjQ3Tno5dDBuZDdwVHQiLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgICB9LAogICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgImVuZCI6IDE2MzQxMjQyNjgsCiAgICAgICAgICAgICJzdGFydCI6IDE2MzE1MzIyNjgKICAgICAgICAgIH0sCiAgICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAgICAicHJpY2UiOiB7CiAgICAgICAgICAgICJpZCI6ICJwcmljZV8xSlpER3kyc09tZjQ3Tno5Q1pYMGZpSjciLAogICAgICAgICAgICAib2JqZWN0IjogInByaWNlIiwKICAgICAgICAgICAgImFjdGl2ZSI6IHRydWUsCiAgICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAgICJjcmVhdGVkIjogMTYzMTUzMjI2OCwKICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAibG9va3VwX2tleSI6IG51bGwsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIm5pY2tuYW1lIjogIlByaWNlIGFkanVzdG1lbnQgZm9yIHBheW1lbnQgc2NoZWR1bGUiLAogICAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICAgInJlY3VycmluZyI6IG51bGwsCiAgICAgICAgICAgICJ0YXhfYmVoYXZpb3IiOiAidW5zcGVjaWZpZWQiLAogICAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAgICJ0cmFuc2Zvcm1fcXVhbnRpdHkiOiBudWxsLAogICAgICAgICAgICAidHlwZSI6ICJvbmVfdGltZSIsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDgsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudF9kZWNpbWFsIjogIjgiCiAgICAgICAgICB9LAogICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0tEZWFWajd5WWwwdGFRIiwKICAgICAgICAgICJ0YXhfYW1vdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgInRheF9yYXRlcyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgInR5cGUiOiAiaW52b2ljZWl0ZW0iLAogICAgICAgICAgInVuaXF1ZV9pZCI6ICJpbF8xSlpER3kyc09tZjQ3Tno5cDdtYnl0TEwiCiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAiaWQiOiAic2xpXzE5YzNlYTJzT21mNDdOejk0M2E4YzkzZCIsCiAgICAgICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgICAiYW1vdW50IjogOTQ2NiwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImRlc2NyaXB0aW9uIjogIjEgw5cgQWJvbm5lbWVudCBtZW5zdWFsaXNhYmxlIC0gc3RhbmRhcmQsIGFzc29jaWF0aW9uLCB5ZWFyIChhdCAkOTQuNjYgLyBtb250aCkiLAogICAgICAgICAgImRpc2NvdW50X2Ftb3VudHMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICAgImRpc2NvdW50cyI6IFsKCiAgICAgICAgICBdLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgICB9LAogICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgImVuZCI6IDE2MzQxMjQyNjgsCiAgICAgICAgICAgICJzdGFydCI6IDE2MzE1MzIyNjgKICAgICAgICAgIH0sCiAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICAgImlkIjogInByaWNlXzFKWkRHeDJzT21mNDdOejluVVdleDF1MiIsCiAgICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAgICJhY3RpdmUiOiB0cnVlLAogICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICAgImFtb3VudCI6IDk0NjYsCiAgICAgICAgICAgICJhbW91bnRfZGVjaW1hbCI6ICI5NDY2IiwKICAgICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjY3LAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIm5pY2tuYW1lIjogbnVsbCwKICAgICAgICAgICAgInByb2R1Y3QiOiAicHJvZF9JWlFBaGI5bkx1NGpmTiIsCiAgICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogICAgICAgICAgfSwKICAgICAgICAgICJwcmljZSI6IHsKICAgICAgICAgICAgImlkIjogInByaWNlXzFKWkRHeDJzT21mNDdOejluVVdleDF1MiIsCiAgICAgICAgICAgICJvYmplY3QiOiAicHJpY2UiLAogICAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjY3LAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICJsb29rdXBfa2V5IjogbnVsbCwKICAgICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAibmlja25hbWUiOiBudWxsLAogICAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0laUUFoYjluTHU0amZOIiwKICAgICAgICAgICAgInJlY3VycmluZyI6IHsKICAgICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAgICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInRheF9iZWhhdmlvciI6ICJ1bnNwZWNpZmllZCIsCiAgICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICAgInRyYW5zZm9ybV9xdWFudGl0eSI6IG51bGwsCiAgICAgICAgICAgICJ0eXBlIjogInJlY3VycmluZyIsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudCI6IDk0NjYsCiAgICAgICAgICAgICJ1bml0X2Ftb3VudF9kZWNpbWFsIjogIjk0NjYiCiAgICAgICAgICB9LAogICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0tEZWFWajd5WWwwdGFRIiwKICAgICAgICAgICJzdWJzY3JpcHRpb25faXRlbSI6ICJzaV9LRGVha3gzSnA3NXJvWSIsCiAgICAgICAgICAidGF4X2Ftb3VudHMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJ0YXhfcmF0ZXMiOiBbCgogICAgICAgICAgXSwKICAgICAgICAgICJ0eXBlIjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgICAidW5pcXVlX2lkIjogImlsXzFKWkRHeTJzT21mNDdOejljNnpmN0tmTCIKICAgICAgICB9CiAgICAgIF0sCiAgICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAidG90YWxfY291bnQiOiAyLAogICAgICAidXJsIjogIi92MS9pbnZvaWNlcy9pbl8xSlpER3kyc09tZjQ3Tno5MXBZMW1XZW0vbGluZXMiCiAgICB9LAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7CiAgICB9LAogICAgIm5leHRfcGF5bWVudF9hdHRlbXB0IjogbnVsbCwKICAgICJudW1iZXIiOiAiQzBFNjYxQy0xMjU0IiwKICAgICJvbl9iZWhhbGZfb2YiOiBudWxsLAogICAgInBhaWQiOiB0cnVlLAogICAgInBheW1lbnRfaW50ZW50IjogewogICAgICAiaWQiOiAicGlfM0paREd6MnNPbWY0N056OTF3b2lPMThjIiwKICAgICAgIm9iamVjdCI6ICJwYXltZW50X2ludGVudCIsCiAgICAgICJhbW91bnQiOiA5NDc0LAogICAgICAiYW1vdW50X2NhcHR1cmFibGUiOiAwLAogICAgICAiYW1vdW50X3JlY2VpdmVkIjogOTQ3NCwKICAgICAgImFwcGxpY2F0aW9uIjogbnVsbCwKICAgICAgImFwcGxpY2F0aW9uX2ZlZV9hbW91bnQiOiBudWxsLAogICAgICAiY2FuY2VsZWRfYXQiOiBudWxsLAogICAgICAiY2FuY2VsbGF0aW9uX3JlYXNvbiI6IG51bGwsCiAgICAgICJjYXB0dXJlX21ldGhvZCI6ICJhdXRvbWF0aWMiLAogICAgICAiY2hhcmdlcyI6IHsKICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICJkYXRhIjogWwogICAgICAgICAgewogICAgICAgICAgICAiaWQiOiAiY2hfM0paREd6MnNPbWY0N056OTE5eHY1a1FjIiwKICAgICAgICAgICAgIm9iamVjdCI6ICJjaGFyZ2UiLAogICAgICAgICAgICAiYW1vdW50IjogOTQ3NCwKICAgICAgICAgICAgImFtb3VudF9jYXB0dXJlZCI6IDk0NzQsCiAgICAgICAgICAgICJhbW91bnRfcmVmdW5kZWQiOiAwLAogICAgICAgICAgICAiYXBwbGljYXRpb24iOiBudWxsLAogICAgICAgICAgICAiYXBwbGljYXRpb25fZmVlIjogbnVsbCwKICAgICAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9hbW91bnQiOiBudWxsLAogICAgICAgICAgICAiYmFsYW5jZV90cmFuc2FjdGlvbiI6ICJ0eG5fM0paREd6MnNPbWY0N056OTFsMkltMTVQIiwKICAgICAgICAgICAgImJpbGxpbmdfZGV0YWlscyI6IHsKICAgICAgICAgICAgICAiYWRkcmVzcyI6IHsKICAgICAgICAgICAgICAgICJjaXR5IjogbnVsbCwKICAgICAgICAgICAgICAgICJjb3VudHJ5IjogbnVsbCwKICAgICAgICAgICAgICAgICJsaW5lMSI6IG51bGwsCiAgICAgICAgICAgICAgICAibGluZTIiOiBudWxsLAogICAgICAgICAgICAgICAgInBvc3RhbF9jb2RlIjogbnVsbCwKICAgICAgICAgICAgICAgICJzdGF0ZSI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJlbWFpbCI6IG51bGwsCiAgICAgICAgICAgICAgIm5hbWUiOiBudWxsLAogICAgICAgICAgICAgICJwaG9uZSI6IG51bGwKICAgICAgICAgICAgfSwKICAgICAgICAgICAgImNhbGN1bGF0ZWRfc3RhdGVtZW50X2Rlc2NyaXB0b3IiOiAiU3RyaXBlIiwKICAgICAgICAgICAgImNhcHR1cmVkIjogdHJ1ZSwKICAgICAgICAgICAgImNyZWF0ZWQiOiAxNjMxNTMyMjY5LAogICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJTdWJzY3JpcHRpb24gY3JlYXRpb24iLAogICAgICAgICAgICAiZGVzdGluYXRpb24iOiBudWxsLAogICAgICAgICAgICAiZGlzcHV0ZSI6IG51bGwsCiAgICAgICAgICAgICJkaXNwdXRlZCI6IGZhbHNlLAogICAgICAgICAgICAiZmFpbHVyZV9jb2RlIjogbnVsbCwKICAgICAgICAgICAgImZhaWx1cmVfbWVzc2FnZSI6IG51bGwsCiAgICAgICAgICAgICJmcmF1ZF9kZXRhaWxzIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAiaW52b2ljZSI6ICJpbl8xSlpER3kyc09tZjQ3Tno5MXBZMW1XZW0iLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgICB9LAogICAgICAgICAgICAib25fYmVoYWxmX29mIjogbnVsbCwKICAgICAgICAgICAgIm9yZGVyIjogbnVsbCwKICAgICAgICAgICAgIm91dGNvbWUiOiB7CiAgICAgICAgICAgICAgIm5ldHdvcmtfc3RhdHVzIjogImFwcHJvdmVkX2J5X25ldHdvcmsiLAogICAgICAgICAgICAgICJyZWFzb24iOiBudWxsLAogICAgICAgICAgICAgICJyaXNrX2xldmVsIjogIm5vcm1hbCIsCiAgICAgICAgICAgICAgInJpc2tfc2NvcmUiOiA5LAogICAgICAgICAgICAgICJzZWxsZXJfbWVzc2FnZSI6ICJQYXltZW50IGNvbXBsZXRlLiIsCiAgICAgICAgICAgICAgInR5cGUiOiAiYXV0aG9yaXplZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInBhaWQiOiB0cnVlLAogICAgICAgICAgICAicGF5bWVudF9pbnRlbnQiOiAicGlfM0paREd6MnNPbWY0N056OTF3b2lPMThjIiwKICAgICAgICAgICAgInBheW1lbnRfbWV0aG9kIjogInBtXzFKWkRHdjJzT21mNDdOejlTTTBXTFJhNyIsCiAgICAgICAgICAgICJwYXltZW50X21ldGhvZF9kZXRhaWxzIjogewogICAgICAgICAgICAgICJjYXJkIjogewogICAgICAgICAgICAgICAgImJyYW5kIjogInZpc2EiLAogICAgICAgICAgICAgICAgImNoZWNrcyI6IHsKICAgICAgICAgICAgICAgICAgImFkZHJlc3NfbGluZTFfY2hlY2siOiBudWxsLAogICAgICAgICAgICAgICAgICAiYWRkcmVzc19wb3N0YWxfY29kZV9jaGVjayI6IG51bGwsCiAgICAgICAgICAgICAgICAgICJjdmNfY2hlY2siOiAicGFzcyIKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgICAiY291bnRyeSI6ICJVUyIsCiAgICAgICAgICAgICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAgICAgICAgICJleHBfeWVhciI6IDIwMjIsCiAgICAgICAgICAgICAgICAiZmluZ2VycHJpbnQiOiAibzUyanliUjdibm1ObjZBVCIsCiAgICAgICAgICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICAgICAgICAgImluc3RhbGxtZW50cyI6IG51bGwsCiAgICAgICAgICAgICAgICAibGFzdDQiOiAiNDI0MiIsCiAgICAgICAgICAgICAgICAibmV0d29yayI6ICJ2aXNhIiwKICAgICAgICAgICAgICAgICJ0aHJlZV9kX3NlY3VyZSI6IG51bGwsCiAgICAgICAgICAgICAgICAid2FsbGV0IjogbnVsbAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgInR5cGUiOiAiY2FyZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInJlY2VpcHRfZW1haWwiOiBudWxsLAogICAgICAgICAgICAicmVjZWlwdF9udW1iZXIiOiBudWxsLAogICAgICAgICAgICAicmVjZWlwdF91cmwiOiAiaHR0cHM6Ly9wYXkuc3RyaXBlLmNvbS9yZWNlaXB0cy9hY2N0XzEwM3JFNjJzT21mNDdOejkvY2hfM0paREd6MnNPbWY0N056OTE5eHY1a1FjL3JjcHRfS0RlYUt3RmxWOGhCVDFsSm1JY3pkYklxYXBDQkV0QSIsCiAgICAgICAgICAgICJyZWZ1bmRlZCI6IGZhbHNlLAogICAgICAgICAgICAicmVmdW5kcyI6IHsKICAgICAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAgICAgICJkYXRhIjogWwoKICAgICAgICAgICAgICBdLAogICAgICAgICAgICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDAsCiAgICAgICAgICAgICAgInVybCI6ICIvdjEvY2hhcmdlcy9jaF8zSlpER3oyc09tZjQ3Tno5MTl4djVrUWMvcmVmdW5kcyIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInJldmlldyI6IG51bGwsCiAgICAgICAgICAgICJzaGlwcGluZyI6IG51bGwsCiAgICAgICAgICAgICJzb3VyY2UiOiBudWxsLAogICAgICAgICAgICAic291cmNlX3RyYW5zZmVyIjogbnVsbCwKICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yX3N1ZmZpeCI6IG51bGwsCiAgICAgICAgICAgICJzdGF0dXMiOiAic3VjY2VlZGVkIiwKICAgICAgICAgICAgInRyYW5zZmVyX2RhdGEiOiBudWxsLAogICAgICAgICAgICAidHJhbnNmZXJfZ3JvdXAiOiBudWxsCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICJ1cmwiOiAiL3YxL2NoYXJnZXM/cGF5bWVudF9pbnRlbnQ9cGlfM0paREd6MnNPbWY0N056OTF3b2lPMThjIgogICAgICB9LAogICAgICAiY2xpZW50X3NlY3JldCI6ICJwaV8zSlpER3oyc09tZjQ3Tno5MXdvaU8xOGNfc2VjcmV0XzBYWXFrU0d6R3g5M1kwRVNPVmN0bG1obXEiLAogICAgICAiY29uZmlybWF0aW9uX21ldGhvZCI6ICJhdXRvbWF0aWMiLAogICAgICAiY3JlYXRlZCI6IDE2MzE1MzIyNjksCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhEaTF3amRWa3R2NWt0IiwKICAgICAgImRlc2NyaXB0aW9uIjogIlN1YnNjcmlwdGlvbiBjcmVhdGlvbiIsCiAgICAgICJpbnZvaWNlIjogImluXzFKWkRHeTJzT21mNDdOejkxcFkxbVdlbSIsCiAgICAgICJsYXN0X3BheW1lbnRfZXJyb3IiOiBudWxsLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjogewogICAgICB9LAogICAgICAibmV4dF9hY3Rpb24iOiBudWxsLAogICAgICAib25fYmVoYWxmX29mIjogbnVsbCwKICAgICAgInBheW1lbnRfbWV0aG9kIjogInBtXzFKWkRHdjJzT21mNDdOejlTTTBXTFJhNyIsCiAgICAgICJwYXltZW50X21ldGhvZF9vcHRpb25zIjogewogICAgICAgICJjYXJkIjogewogICAgICAgICAgImluc3RhbGxtZW50cyI6IG51bGwsCiAgICAgICAgICAibmV0d29yayI6IG51bGwsCiAgICAgICAgICAicmVxdWVzdF90aHJlZV9kX3NlY3VyZSI6ICJhdXRvbWF0aWMiCiAgICAgICAgfQogICAgICB9LAogICAgICAicGF5bWVudF9tZXRob2RfdHlwZXMiOiBbCiAgICAgICAgImNhcmQiCiAgICAgIF0sCiAgICAgICJyZWNlaXB0X2VtYWlsIjogbnVsbCwKICAgICAgInJldmlldyI6IG51bGwsCiAgICAgICJzZXR1cF9mdXR1cmVfdXNhZ2UiOiAib2ZmX3Nlc3Npb24iLAogICAgICAic2hpcHBpbmciOiBudWxsLAogICAgICAic291cmNlIjogbnVsbCwKICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yX3N1ZmZpeCI6IG51bGwsCiAgICAgICJzdGF0dXMiOiAic3VjY2VlZGVkIiwKICAgICAgInRyYW5zZmVyX2RhdGEiOiBudWxsLAogICAgICAidHJhbnNmZXJfZ3JvdXAiOiBudWxsCiAgICB9LAogICAgInBheW1lbnRfc2V0dGluZ3MiOiB7CiAgICAgICJwYXltZW50X21ldGhvZF9vcHRpb25zIjogbnVsbCwKICAgICAgInBheW1lbnRfbWV0aG9kX3R5cGVzIjogbnVsbAogICAgfSwKICAgICJwZXJpb2RfZW5kIjogMTYzMTUzMjI2OCwKICAgICJwZXJpb2Rfc3RhcnQiOiAxNjMxNTMyMjY4LAogICAgInBvc3RfcGF5bWVudF9jcmVkaXRfbm90ZXNfYW1vdW50IjogMCwKICAgICJwcmVfcGF5bWVudF9jcmVkaXRfbm90ZXNfYW1vdW50IjogMCwKICAgICJxdW90ZSI6IG51bGwsCiAgICAicmVjZWlwdF9udW1iZXIiOiBudWxsLAogICAgInN0YXJ0aW5nX2JhbGFuY2UiOiAwLAogICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICJzdGF0dXMiOiAicGFpZCIsCiAgICAic3RhdHVzX3RyYW5zaXRpb25zIjogewogICAgICAiZmluYWxpemVkX2F0IjogMTYzMTUzMjI2OCwKICAgICAgIm1hcmtlZF91bmNvbGxlY3RpYmxlX2F0IjogbnVsbCwKICAgICAgInBhaWRfYXQiOiAxNjMxNTMyMjY4LAogICAgICAidm9pZGVkX2F0IjogbnVsbAogICAgfSwKICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0tEZWFWajd5WWwwdGFRIiwKICAgICJzdWJ0b3RhbCI6IDk0NzQsCiAgICAidGF4IjogbnVsbCwKICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAidG90YWwiOiA5NDc0LAogICAgInRvdGFsX2Rpc2NvdW50X2Ftb3VudHMiOiBbCgogICAgXSwKICAgICJ0b3RhbF90YXhfYW1vdW50cyI6IFsKCiAgICBdLAogICAgInRyYW5zZmVyX2RhdGEiOiBudWxsLAogICAgIndlYmhvb2tzX2RlbGl2ZXJlZF9hdCI6IDE2MzE1MzIyNjgKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0YSI6IHsKICB9LAogICJuZXh0X3BlbmRpbmdfaW52b2ljZV9pdGVtX2ludm9pY2UiOiBudWxsLAogICJwYXVzZV9jb2xsZWN0aW9uIjogbnVsbCwKICAicGF5bWVudF9zZXR0aW5ncyI6IHsKICAgICJwYXltZW50X21ldGhvZF9vcHRpb25zIjogbnVsbCwKICAgICJwYXltZW50X21ldGhvZF90eXBlcyI6IG51bGwKICB9LAogICJwZW5kaW5nX2ludm9pY2VfaXRlbV9pbnRlcnZhbCI6IG51bGwsCiAgInBlbmRpbmdfc2V0dXBfaW50ZW50IjogbnVsbCwKICAicGVuZGluZ191cGRhdGUiOiBudWxsLAogICJwbGFuIjogewogICAgImlkIjogInByaWNlXzFKWkRHeDJzT21mNDdOejluVVdleDF1MiIsCiAgICAib2JqZWN0IjogInBsYW4iLAogICAgImFjdGl2ZSI6IHRydWUsCiAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICJhbW91bnQiOiA5NDY2LAogICAgImFtb3VudF9kZWNpbWFsIjogIjk0NjYiLAogICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICJjcmVhdGVkIjogMTYzMTUzMjI2NywKICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICJtZXRhZGF0YSI6IHsKICAgIH0sCiAgICAibmlja25hbWUiOiBudWxsLAogICAgInByb2R1Y3QiOiAicHJvZF9JWlFBaGI5bkx1NGpmTiIsCiAgICAidGllcnMiOiBudWxsLAogICAgInRpZXJzX21vZGUiOiBudWxsLAogICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgInVzYWdlX3R5cGUiOiAibGljZW5zZWQiCiAgfSwKICAicXVhbnRpdHkiOiAxLAogICJzY2hlZHVsZSI6IG51bGwsCiAgInN0YXJ0IjogMTYzMTUzMjI2OCwKICAic3RhcnRfZGF0ZSI6IDE2MzE1MzIyNjgsCiAgInN0YXR1cyI6ICJhY3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRyYW5zZmVyX2RhdGEiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBudWxsLAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo= + recorded_at: Mon, 13 Sep 2021 11:24:31 GMT +- request: + method: get + uri: https://api.stripe.com/v1/subscriptions/sub_KDeaVj7yYl0taQ + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/5.29.0 + Authorization: + - Bearer sk_test_testfaketestfaketestfake + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_eaFvvEpIyvK3kw","request_duration_ms":2855}}' + Stripe-Version: + - '2019-08-14' + X-Stripe-Client-User-Agent: + - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.3 p62 (2019-04-16)","platform":"x86_64-darwin18","engine":"ruby","publisher":"stripe","uname":"Darwin + MacBook-Pro-Sleede-Peng 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 + PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64","hostname":"MacBook-Pro-Sleede-Peng"}' + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 13 Sep 2021 11:24:31 GMT + Content-Type: + - application/json + Content-Length: + - '3906' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET, POST, HEAD, OPTIONS, DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Request-Id: + - req_Sia4d0lvmHnOFD + Stripe-Version: + - '2019-08-14' + X-Stripe-C-Cost: + - '0' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "sub_JeS4yyUKfhPlFm", + "id": "sub_KDeaVj7yYl0taQ", "object": "subscription", "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, "billing": "charge_automatically", - "billing_cycle_anchor": 1623413359, + "billing_cycle_anchor": 1631532268, "billing_thresholds": null, - "cancel_at": 1652530158, + "cancel_at": 1663068267, "cancel_at_period_end": false, - "canceled_at": 1623413359, + "canceled_at": 1631532268, "collection_method": "charge_automatically", - "created": 1623413359, - "current_period_end": 1626005359, - "current_period_start": 1623413359, + "created": 1631532268, + "current_period_end": 1634124268, + "current_period_start": 1631532268, "customer": "cus_8Di1wjdVktv5kt", "days_until_due": null, - "default_payment_method": "pm_1J19Am2sOmf47Nz9JfmnAIrS", + "default_payment_method": "pm_1JZDGv2sOmf47Nz9SM0WLRa7", "default_source": null, "default_tax_rates": [ @@ -755,21 +2169,21 @@ http_interactions: "object": "list", "data": [ { - "id": "si_JeS44tuhbqzlrx", + "id": "si_KDeakx3Jp75roY", "object": "subscription_item", "billing_thresholds": null, - "created": 1623413360, + "created": 1631532269, "metadata": { }, "plan": { - "id": "price_1J19Ao2sOmf47Nz9CKS2E04T", + "id": "price_1JZDGx2sOmf47Nz9nUWex1u2", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623413358, + "created": 1631532267, "currency": "usd", "interval": "month", "interval_count": 1, @@ -785,11 +2199,11 @@ http_interactions: "usage_type": "licensed" }, "price": { - "id": "price_1J19Ao2sOmf47Nz9CKS2E04T", + "id": "price_1JZDGx2sOmf47Nz9nUWex1u2", "object": "price", "active": true, "billing_scheme": "per_unit", - "created": 1623413358, + "created": 1631532267, "currency": "usd", "livemode": false, "lookup_key": null, @@ -804,6 +2218,7 @@ http_interactions: "trial_period_days": null, "usage_type": "licensed" }, + "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", @@ -811,7 +2226,7 @@ http_interactions: "unit_amount_decimal": "9466" }, "quantity": 1, - "subscription": "sub_JeS4yyUKfhPlFm", + "subscription": "sub_KDeaVj7yYl0taQ", "tax_rates": [ ] @@ -819,26 +2234,30 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_JeS4yyUKfhPlFm" + "url": "/v1/subscription_items?subscription=sub_KDeaVj7yYl0taQ" }, - "latest_invoice": "in_1J19Ap2sOmf47Nz9ys8nxdYf", + "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_1J19Ao2sOmf47Nz9CKS2E04T", + "id": "price_1JZDGx2sOmf47Nz9nUWex1u2", "object": "plan", "active": true, "aggregate_usage": null, "amount": 9466, "amount_decimal": "9466", "billing_scheme": "per_unit", - "created": 1623413358, + "created": 1631532267, "currency": "usd", "interval": "month", "interval_count": 1, @@ -855,13 +2274,223 @@ http_interactions: }, "quantity": 1, "schedule": null, - "start": 1623413359, - "start_date": 1623413359, + "start": 1631532268, + "start_date": 1631532268, "status": "active", "tax_percent": null, "transfer_data": null, "trial_end": null, "trial_start": null } - recorded_at: Fri, 11 Jun 2021 12:09:21 GMT + recorded_at: Mon, 13 Sep 2021 11:24:31 GMT +- request: + method: get + uri: https://api.stripe.com/v1/subscriptions/sub_KDeaVj7yYl0taQ + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Stripe/v1 RubyBindings/5.29.0 + Authorization: + - Bearer sk_test_testfaketestfaketestfake + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_Sia4d0lvmHnOFD","request_duration_ms":329}}' + Stripe-Version: + - '2019-08-14' + X-Stripe-Client-User-Agent: + - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.3 p62 (2019-04-16)","platform":"x86_64-darwin18","engine":"ruby","publisher":"stripe","uname":"Darwin + MacBook-Pro-Sleede-Peng 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 + PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64","hostname":"MacBook-Pro-Sleede-Peng"}' + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Mon, 13 Sep 2021 11:24:32 GMT + Content-Type: + - application/json + Content-Length: + - '3906' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET, POST, HEAD, OPTIONS, DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Request-Id: + - req_ff4C1pdGb6nknP + Stripe-Version: + - '2019-08-14' + X-Stripe-C-Cost: + - '0' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: UTF-8 + string: | + { + "id": "sub_KDeaVj7yYl0taQ", + "object": "subscription", + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing": "charge_automatically", + "billing_cycle_anchor": 1631532268, + "billing_thresholds": null, + "cancel_at": 1663068267, + "cancel_at_period_end": false, + "canceled_at": 1631532268, + "collection_method": "charge_automatically", + "created": 1631532268, + "current_period_end": 1634124268, + "current_period_start": 1631532268, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "default_payment_method": "pm_1JZDGv2sOmf47Nz9SM0WLRa7", + "default_source": null, + "default_tax_rates": [ + + ], + "discount": null, + "ended_at": null, + "invoice_customer_balance_settings": { + "consume_applied_balance_on_void": true + }, + "items": { + "object": "list", + "data": [ + { + "id": "si_KDeakx3Jp75roY", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1631532269, + "metadata": { + }, + "plan": { + "id": "price_1JZDGx2sOmf47Nz9nUWex1u2", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631532267, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1JZDGx2sOmf47Nz9nUWex1u2", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1631532267, + "currency": "usd", + "livemode": false, + "lookup_key": null, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 9466, + "unit_amount_decimal": "9466" + }, + "quantity": 1, + "subscription": "sub_KDeaVj7yYl0taQ", + "tax_rates": [ + + ] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_KDeaVj7yYl0taQ" + }, + "latest_invoice": "in_1JZDGy2sOmf47Nz91pY1mWem", + "livemode": false, + "metadata": { + }, + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null + }, + "pending_invoice_item_interval": null, + "pending_setup_intent": null, + "pending_update": null, + "plan": { + "id": "price_1JZDGx2sOmf47Nz9nUWex1u2", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 9466, + "amount_decimal": "9466", + "billing_scheme": "per_unit", + "created": 1631532267, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": { + }, + "nickname": null, + "product": "prod_IZQAhb9nLu4jfN", + "tiers": null, + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "quantity": 1, + "schedule": null, + "start": 1631532268, + "start_date": 1631532268, + "status": "active", + "tax_percent": null, + "transfer_data": null, + "trial_end": null, + "trial_start": null + } + recorded_at: Mon, 13 Sep 2021 11:24:32 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/subscriptions_user_create_failed.yml b/test/vcr_cassettes/subscriptions_user_create_failed.yml index 068d31cfc..0cc924ca3 100644 --- a/test/vcr_cassettes/subscriptions_user_create_failed.yml +++ b/test/vcr_cassettes/subscriptions_user_create_failed.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qIUfIdUDRc3Mw0","request_duration_ms":692}}' + - '{"last_request_metrics":{"request_id":"req_oWh8ntmpIyeISE","request_duration_ms":472}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:04 GMT + - Mon, 13 Sep 2021 11:24:50 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_HBrUqwklJKtARM + - req_Uc4oYRMNv3ePZh Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19Aa2sOmf47Nz9YYSWwQVx", + "id": "pm_1JZDHK2sOmf47Nz9Oxuvov6T", "object": "payment_method", "billing_details": { "address": { @@ -104,12 +104,12 @@ http_interactions: }, "wallet": null }, - "created": 1623413344, + "created": 1631532290, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:09:04 GMT + recorded_at: Mon, 13 Sep 2021 11:24:50 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/subscriptions_user_create_success.yml b/test/vcr_cassettes/subscriptions_user_create_success.yml index ef5a70fff..85b95e394 100644 --- a/test/vcr_cassettes/subscriptions_user_create_success.yml +++ b/test/vcr_cassettes/subscriptions_user_create_success.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0V6xYAVUmDrPet","request_duration_ms":625}}' + - '{"last_request_metrics":{"request_id":"req_Uc4oYRMNv3ePZh","request_duration_ms":595}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:12 GMT + - Mon, 13 Sep 2021 11:24:51 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_tYL1AMKfStlO8R + - req_32RpamNuXVtnNn Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19Ai2sOmf47Nz9uWHuxZ8k", + "id": "pm_1JZDHL2sOmf47Nz9jdtMuIiJ", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413352, + "created": 1631532291, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:09:12 GMT + recorded_at: Mon, 13 Sep 2021 11:24:51 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19Ai2sOmf47Nz9uWHuxZ8k&amount=3000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt + string: payment_method=pm_1JZDHL2sOmf47Nz9jdtMuIiJ&amount=3000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8Di1wjdVktv5kt headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tYL1AMKfStlO8R","request_duration_ms":625}}' + - '{"last_request_metrics":{"request_id":"req_32RpamNuXVtnNn","request_duration_ms":666}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,11 +145,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:14 GMT + - Mon, 13 Sep 2021 11:24:53 GMT Content-Type: - application/json Content-Length: - - '4259' + - '4258' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -165,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_Ul7gAWa5VKha6H + - req_2p6eoejyy3jLcd Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19Ai2sOmf47Nz9pZqIwkFg", + "id": "pi_3JZDHL2sOmf47Nz91K6wzFDZ", "object": "payment_intent", "amount": 3000, "amount_capturable": 0, @@ -190,7 +190,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Aj2sOmf47Nz91o4BAj1T", + "id": "ch_3JZDHL2sOmf47Nz918ZLH0Cy", "object": "charge", "amount": 3000, "amount_captured": 3000, @@ -198,7 +198,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Aj2sOmf47Nz9b4Lksm36", + "balance_transaction": "txn_3JZDHL2sOmf47Nz91knBWLoV", "billing_details": { "address": { "city": null, @@ -214,7 +214,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413353, + "created": 1631532292, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -235,13 +235,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 39, + "risk_score": 6, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Ai2sOmf47Nz9pZqIwkFg", - "payment_method": "pm_1J19Ai2sOmf47Nz9uWHuxZ8k", + "payment_intent": "pi_3JZDHL2sOmf47Nz91K6wzFDZ", + "payment_method": "pm_1JZDHL2sOmf47Nz9jdtMuIiJ", "payment_method_details": { "card": { "brand": "visa", @@ -265,7 +265,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Aj2sOmf47Nz91o4BAj1T/rcpt_JeS4hKozkNLtAZ8PW5b64g5PWK56hFY", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHL2sOmf47Nz918ZLH0Cy/rcpt_KDeaaX4V9iZl6X7UF9lyQpufQLzHmGu", "refunded": false, "refunds": { "object": "list", @@ -274,7 +274,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Aj2sOmf47Nz91o4BAj1T/refunds" + "url": "/v1/charges/ch_3JZDHL2sOmf47Nz918ZLH0Cy/refunds" }, "review": null, "shipping": null, @@ -289,11 +289,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Ai2sOmf47Nz9pZqIwkFg" + "url": "/v1/charges?payment_intent=pi_3JZDHL2sOmf47Nz91K6wzFDZ" }, - "client_secret": "pi_1J19Ai2sOmf47Nz9pZqIwkFg_secret_hFTrCs4qBeKreBGaNBJYLoCAv", + "client_secret": "pi_3JZDHL2sOmf47Nz91K6wzFDZ_secret_G5n5P7aZTcUYo9OZD3XYgZyUX", "confirmation_method": "manual", - "created": 1623413352, + "created": 1631532291, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -304,7 +304,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Ai2sOmf47Nz9uWHuxZ8k", + "payment_method": "pm_1JZDHL2sOmf47Nz9jdtMuIiJ", "payment_method_options": { "card": { "installments": null, @@ -326,13 +326,13 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:09:14 GMT + recorded_at: Mon, 13 Sep 2021 11:24:53 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_1J19Ai2sOmf47Nz9pZqIwkFg + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDHL2sOmf47Nz91K6wzFDZ body: encoding: UTF-8 - string: description=Invoice+reference%3A+2106001%2FVL + string: description=Invoice+reference%3A+2109001%2FVL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -341,13 +341,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ul7gAWa5VKha6H","request_duration_ms":1542}}' + - '{"last_request_metrics":{"request_id":"req_2p6eoejyy3jLcd","request_duration_ms":2130}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -360,11 +360,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:14 GMT + - Mon, 13 Sep 2021 11:24:54 GMT Content-Type: - application/json Content-Length: - - '4286' + - '4285' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -380,7 +380,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_inpFMpgIbPrF6S + - req_cgnARwO4Ev5LiK Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -391,7 +391,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19Ai2sOmf47Nz9pZqIwkFg", + "id": "pi_3JZDHL2sOmf47Nz91K6wzFDZ", "object": "payment_intent", "amount": 3000, "amount_capturable": 0, @@ -405,7 +405,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Aj2sOmf47Nz91o4BAj1T", + "id": "ch_3JZDHL2sOmf47Nz918ZLH0Cy", "object": "charge", "amount": 3000, "amount_captured": 3000, @@ -413,7 +413,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Aj2sOmf47Nz9b4Lksm36", + "balance_transaction": "txn_3JZDHL2sOmf47Nz91knBWLoV", "billing_details": { "address": { "city": null, @@ -429,7 +429,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413353, + "created": 1631532292, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", "description": null, @@ -450,13 +450,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 39, + "risk_score": 6, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Ai2sOmf47Nz9pZqIwkFg", - "payment_method": "pm_1J19Ai2sOmf47Nz9uWHuxZ8k", + "payment_intent": "pi_3JZDHL2sOmf47Nz91K6wzFDZ", + "payment_method": "pm_1JZDHL2sOmf47Nz9jdtMuIiJ", "payment_method_details": { "card": { "brand": "visa", @@ -480,7 +480,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Aj2sOmf47Nz91o4BAj1T/rcpt_JeS4hKozkNLtAZ8PW5b64g5PWK56hFY", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHL2sOmf47Nz918ZLH0Cy/rcpt_KDeaaX4V9iZl6X7UF9lyQpufQLzHmGu", "refunded": false, "refunds": { "object": "list", @@ -489,7 +489,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Aj2sOmf47Nz91o4BAj1T/refunds" + "url": "/v1/charges/ch_3JZDHL2sOmf47Nz918ZLH0Cy/refunds" }, "review": null, "shipping": null, @@ -504,14 +504,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Ai2sOmf47Nz9pZqIwkFg" + "url": "/v1/charges?payment_intent=pi_3JZDHL2sOmf47Nz91K6wzFDZ" }, - "client_secret": "pi_1J19Ai2sOmf47Nz9pZqIwkFg_secret_hFTrCs4qBeKreBGaNBJYLoCAv", + "client_secret": "pi_3JZDHL2sOmf47Nz91K6wzFDZ_secret_G5n5P7aZTcUYo9OZD3XYgZyUX", "confirmation_method": "manual", - "created": 1623413352, + "created": 1631532291, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -519,7 +519,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Ai2sOmf47Nz9uWHuxZ8k", + "payment_method": "pm_1JZDHL2sOmf47Nz9jdtMuIiJ", "payment_method_options": { "card": { "installments": null, @@ -541,5 +541,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:09:14 GMT + recorded_at: Mon, 13 Sep 2021 11:24:54 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/subscriptions_user_create_success_with_wallet.yml b/test/vcr_cassettes/subscriptions_user_create_success_with_wallet.yml index 1c74f368c..116e6e871 100644 --- a/test/vcr_cassettes/subscriptions_user_create_success_with_wallet.yml +++ b/test/vcr_cassettes/subscriptions_user_create_success_with_wallet.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_G0tnm0VQO3r3dU","request_duration_ms":373}}' + - '{"last_request_metrics":{"request_id":"req_TMXYBFdX8Zu0bv","request_duration_ms":458}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:08 GMT + - Mon, 13 Sep 2021 11:24:47 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_X40OMk9FvKQB5A + - req_yrsZPbab18G65b Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19Ae2sOmf47Nz9yua627ey", + "id": "pm_1JZDHH2sOmf47Nz90eZzgydw", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413348, + "created": 1631532287, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:09:08 GMT + recorded_at: Mon, 13 Sep 2021 11:24:47 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19Ae2sOmf47Nz9yua627ey&amount=1000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN + string: payment_method=pm_1JZDHH2sOmf47Nz90eZzgydw&amount=1000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_8CzNtM08NVlSGN headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_X40OMk9FvKQB5A","request_duration_ms":773}}' + - '{"last_request_metrics":{"request_id":"req_yrsZPbab18G65b","request_duration_ms":682}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,7 +145,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:10 GMT + - Mon, 13 Sep 2021 11:24:49 GMT Content-Type: - application/json Content-Length: @@ -165,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_wLEuitfaayuEHb + - req_ryRZkh19UFPIWG Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19Af2sOmf47Nz9VOsV5HkN", + "id": "pi_3JZDHH2sOmf47Nz901lMyxhq", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -190,7 +190,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Af2sOmf47Nz9MYMkV7UD", + "id": "ch_3JZDHH2sOmf47Nz902gVdcgC", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -198,7 +198,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Ag2sOmf47Nz9fTiNaIh8", + "balance_transaction": "txn_3JZDHH2sOmf47Nz90krQzxat", "billing_details": { "address": { "city": null, @@ -214,7 +214,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413349, + "created": 1631532288, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -235,13 +235,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 45, + "risk_score": 48, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Af2sOmf47Nz9VOsV5HkN", - "payment_method": "pm_1J19Ae2sOmf47Nz9yua627ey", + "payment_intent": "pi_3JZDHH2sOmf47Nz901lMyxhq", + "payment_method": "pm_1JZDHH2sOmf47Nz90eZzgydw", "payment_method_details": { "card": { "brand": "visa", @@ -265,7 +265,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Af2sOmf47Nz9MYMkV7UD/rcpt_JeS4Sb4relsWCBTazwYV1SQ77PqL9NY", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHH2sOmf47Nz902gVdcgC/rcpt_KDeaQ0F73BHvJQ39FLjsqeB6851wgav", "refunded": false, "refunds": { "object": "list", @@ -274,7 +274,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Af2sOmf47Nz9MYMkV7UD/refunds" + "url": "/v1/charges/ch_3JZDHH2sOmf47Nz902gVdcgC/refunds" }, "review": null, "shipping": null, @@ -289,11 +289,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Af2sOmf47Nz9VOsV5HkN" + "url": "/v1/charges?payment_intent=pi_3JZDHH2sOmf47Nz901lMyxhq" }, - "client_secret": "pi_1J19Af2sOmf47Nz9VOsV5HkN_secret_UjJa9Jo5YhvxAF9e0Q7by6VoI", + "client_secret": "pi_3JZDHH2sOmf47Nz901lMyxhq_secret_KQIKgB0tMOeM5mIIcVqfINKKz", "confirmation_method": "manual", - "created": 1623413349, + "created": 1631532287, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -304,7 +304,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Ae2sOmf47Nz9yua627ey", + "payment_method": "pm_1JZDHH2sOmf47Nz90eZzgydw", "payment_method_options": { "card": { "installments": null, @@ -326,13 +326,13 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:09:10 GMT + recorded_at: Mon, 13 Sep 2021 11:24:49 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_1J19Af2sOmf47Nz9VOsV5HkN + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDHH2sOmf47Nz901lMyxhq body: encoding: UTF-8 - string: description=Invoice+reference%3A+2106001%2FVL + string: description=Invoice+reference%3A+2109001%2FVL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -341,13 +341,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wLEuitfaayuEHb","request_duration_ms":2080}}' + - '{"last_request_metrics":{"request_id":"req_ryRZkh19UFPIWG","request_duration_ms":1490}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -360,7 +360,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:11 GMT + - Mon, 13 Sep 2021 11:24:49 GMT Content-Type: - application/json Content-Length: @@ -380,7 +380,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_0V6xYAVUmDrPet + - req_oWh8ntmpIyeISE Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -391,7 +391,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19Af2sOmf47Nz9VOsV5HkN", + "id": "pi_3JZDHH2sOmf47Nz901lMyxhq", "object": "payment_intent", "amount": 1000, "amount_capturable": 0, @@ -405,7 +405,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19Af2sOmf47Nz9MYMkV7UD", + "id": "ch_3JZDHH2sOmf47Nz902gVdcgC", "object": "charge", "amount": 1000, "amount_captured": 1000, @@ -413,7 +413,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19Ag2sOmf47Nz9fTiNaIh8", + "balance_transaction": "txn_3JZDHH2sOmf47Nz90krQzxat", "billing_details": { "address": { "city": null, @@ -429,7 +429,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413349, + "created": 1631532288, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "description": null, @@ -450,13 +450,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 45, + "risk_score": 48, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19Af2sOmf47Nz9VOsV5HkN", - "payment_method": "pm_1J19Ae2sOmf47Nz9yua627ey", + "payment_intent": "pi_3JZDHH2sOmf47Nz901lMyxhq", + "payment_method": "pm_1JZDHH2sOmf47Nz90eZzgydw", "payment_method_details": { "card": { "brand": "visa", @@ -480,7 +480,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19Af2sOmf47Nz9MYMkV7UD/rcpt_JeS4Sb4relsWCBTazwYV1SQ77PqL9NY", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDHH2sOmf47Nz902gVdcgC/rcpt_KDeaQ0F73BHvJQ39FLjsqeB6851wgav", "refunded": false, "refunds": { "object": "list", @@ -489,7 +489,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19Af2sOmf47Nz9MYMkV7UD/refunds" + "url": "/v1/charges/ch_3JZDHH2sOmf47Nz902gVdcgC/refunds" }, "review": null, "shipping": null, @@ -504,14 +504,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19Af2sOmf47Nz9VOsV5HkN" + "url": "/v1/charges?payment_intent=pi_3JZDHH2sOmf47Nz901lMyxhq" }, - "client_secret": "pi_1J19Af2sOmf47Nz9VOsV5HkN_secret_UjJa9Jo5YhvxAF9e0Q7by6VoI", + "client_secret": "pi_3JZDHH2sOmf47Nz901lMyxhq_secret_KQIKgB0tMOeM5mIIcVqfINKKz", "confirmation_method": "manual", - "created": 1623413349, + "created": 1631532287, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -519,7 +519,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19Ae2sOmf47Nz9yua627ey", + "payment_method": "pm_1JZDHH2sOmf47Nz90eZzgydw", "payment_method_options": { "card": { "installments": null, @@ -541,5 +541,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:09:11 GMT + recorded_at: Mon, 13 Sep 2021 11:24:49 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/subscriptions_user_create_with_payment_schedule.yml b/test/vcr_cassettes/subscriptions_user_create_with_payment_schedule.yml index b3704139d..b9c6e8af8 100644 --- a/test/vcr_cassettes/subscriptions_user_create_with_payment_schedule.yml +++ b/test/vcr_cassettes/subscriptions_user_create_with_payment_schedule.yml @@ -1,99 +1,5 @@ --- http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/setup_intents - 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_HBrUqwklJKtARM","request_duration_ms":767}}' - Stripe-Version: - - '2019-08-14' - X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Fri, 11 Jun 2021 12:09:05 GMT - Content-Type: - - application/json - Content-Length: - - '727' - 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_p6Apfsnlx1CpbR - Stripe-Version: - - '2019-08-14' - X-Stripe-C-Cost: - - '0' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "id": "seti_1J19Ab2sOmf47Nz9h2tL8C07", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Ab2sOmf47Nz9h2tL8C07_secret_JeS401DqKAd2VXxeMxzsxTpnaO6MeEt", - "created": 1623413345, - "customer": "cus_8Di1wjdVktv5kt", - "description": null, - "last_setup_error": null, - "latest_attempt": null, - "livemode": false, - "mandate": null, - "metadata": { - }, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "requires_payment_method", - "usage": "off_session" - } - recorded_at: Fri, 11 Jun 2021 12:09:05 GMT - request: method: post uri: https://api.stripe.com/v1/payment_methods @@ -108,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_p6Apfsnlx1CpbR","request_duration_ms":379}}' + - '{"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.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -127,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:05 GMT + - Mon, 13 Sep 2021 11:24:55 GMT Content-Type: - application/json Content-Length: @@ -147,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_kAlVB5R4y03z5o + - req_BmLy1x4bEq0d9C Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19Ab2sOmf47Nz9nz3zz3IE", + "id": "pm_1JZDHP2sOmf47Nz9SPvppX4K", "object": "payment_method", "billing_details": { "address": { @@ -198,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413345, + "created": 1631532295, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:09:06 GMT + recorded_at: Mon, 13 Sep 2021 11:24:55 GMT - request: method: post - uri: https://api.stripe.com/v1/setup_intents/seti_1J19Ab2sOmf47Nz9h2tL8C07/confirm + uri: https://api.stripe.com/v1/payment_methods/pm_1JZDHP2sOmf47Nz9SPvppX4K/attach body: encoding: UTF-8 - string: payment_method=pm_1J19Ab2sOmf47Nz9nz3zz3IE + string: customer=cus_8Di1wjdVktv5kt headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -220,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kAlVB5R4y03z5o","request_duration_ms":663}}' + - '{"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.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -239,11 +145,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:07 GMT + - Mon, 13 Sep 2021 11:24:56 GMT Content-Type: - application/json Content-Length: - - '767' + - '945' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -259,50 +165,1917 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_XvzkN1j4rxaOYm + - req_TapdvkF3Irgpu7 Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "seti_1J19Ab2sOmf47Nz9h2tL8C07", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Ab2sOmf47Nz9h2tL8C07_secret_JeS401DqKAd2VXxeMxzsxTpnaO6MeEt", - "created": 1623413345, + "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", - "description": null, - "last_setup_error": null, - "latest_attempt": "setatt_1J19Ac2sOmf47Nz9TIyXetTy", "livemode": false, - "mandate": null, "metadata": { }, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1J19Ab2sOmf47Nz9nz3zz3IE", - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "succeeded", - "usage": "off_session" + "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:09:07 GMT + 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/setup_intents/seti_1J19Ab2sOmf47Nz9h2tL8C07 + uri: https://api.stripe.com/v1/subscriptions/sub_KDeatKq0nLrE5s body: encoding: US-ASCII string: '' @@ -314,13 +2087,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_XvzkN1j4rxaOYm","request_duration_ms":1279}}' + - '{"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.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -333,11 +2106,11 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:09:07 GMT + - Mon, 13 Sep 2021 11:25:01 GMT Content-Type: - application/json Content-Length: - - '767' + - '3906' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -353,7 +2126,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_G0tnm0VQO3r3dU + - req_ROuXk25LiprN4n Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -364,34 +2137,360 @@ http_interactions: encoding: UTF-8 string: | { - "id": "seti_1J19Ab2sOmf47Nz9h2tL8C07", - "object": "setup_intent", - "application": null, - "cancellation_reason": null, - "client_secret": "seti_1J19Ab2sOmf47Nz9h2tL8C07_secret_JeS401DqKAd2VXxeMxzsxTpnaO6MeEt", - "created": 1623413345, + "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", - "description": null, - "last_setup_error": null, - "latest_attempt": "setatt_1J19Ac2sOmf47Nz9TIyXetTy", + "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, - "mandate": null, "metadata": { }, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1J19Ab2sOmf47Nz9nz3zz3IE", - "payment_method_options": { - "card": { - "request_three_d_secure": "automatic" - } + "next_pending_invoice_item_invoice": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null }, - "payment_method_types": [ - "card" - ], - "single_use_mandate": null, - "status": "succeeded", - "usage": "off_session" + "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: Fri, 11 Jun 2021 12:09:07 GMT + 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 diff --git a/test/vcr_cassettes/subscriptions_user_renew_failed.yml b/test/vcr_cassettes/subscriptions_user_renew_failed.yml index ded98b81c..a37151d70 100644 --- a/test/vcr_cassettes/subscriptions_user_renew_failed.yml +++ b/test/vcr_cassettes/subscriptions_user_renew_failed.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GFlLvxvRfOubCx","request_duration_ms":550}}' + - '{"last_request_metrics":{"request_id":"req_Xmih0ndHQjzde4","request_duration_ms":562}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:08:52 GMT + - Mon, 13 Sep 2021 11:24:18 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_qIUfIdUDRc3Mw0 + - req_N1g65uclGQAjib Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19AN2sOmf47Nz9q4BTJ3Xx", + "id": "pm_1JZDGn2sOmf47Nz9HXdzATLZ", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413331, + "created": 1631532258, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:08:52 GMT + recorded_at: Mon, 13 Sep 2021 11:24:18 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19AN2sOmf47Nz9q4BTJ3Xx&amount=3000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_IhIynmoJbzLpwX + string: payment_method=pm_1JZDGn2sOmf47Nz9HXdzATLZ&amount=3000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_IhIynmoJbzLpwX headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qIUfIdUDRc3Mw0","request_duration_ms":692}}' + - '{"last_request_metrics":{"request_id":"req_N1g65uclGQAjib","request_duration_ms":584}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,7 +145,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:08:53 GMT + - Mon, 13 Sep 2021 11:24:19 GMT Content-Type: - application/json Content-Length: @@ -165,7 +165,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_CpPzkd37QFGb1n + - req_fvB5biOXUu3Ogv Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -177,13 +177,13 @@ http_interactions: string: | { "error": { - "charge": "ch_1J19AO2sOmf47Nz9Ko0nAR2K", + "charge": "ch_3JZDGo2sOmf47Nz91anusa7B", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_intent": { - "id": "pi_1J19AO2sOmf47Nz9owzfK8w8", + "id": "pi_3JZDGo2sOmf47Nz912ny1od2", "object": "payment_intent", "amount": 3000, "amount_capturable": 0, @@ -197,7 +197,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19AO2sOmf47Nz9Ko0nAR2K", + "id": "ch_3JZDGo2sOmf47Nz91anusa7B", "object": "charge", "amount": 3000, "amount_captured": 0, @@ -221,7 +221,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": false, - "created": 1623413332, + "created": 1631532258, "currency": "usd", "customer": "cus_IhIynmoJbzLpwX", "description": null, @@ -242,13 +242,13 @@ http_interactions: "network_status": "declined_by_network", "reason": "generic_decline", "risk_level": "normal", - "risk_score": 62, + "risk_score": 60, "seller_message": "The bank did not return any further details with this decline.", "type": "issuer_declined" }, "paid": false, - "payment_intent": "pi_1J19AO2sOmf47Nz9owzfK8w8", - "payment_method": "pm_1J19AN2sOmf47Nz9q4BTJ3Xx", + "payment_intent": "pi_3JZDGo2sOmf47Nz912ny1od2", + "payment_method": "pm_1JZDGn2sOmf47Nz9HXdzATLZ", "payment_method_details": { "card": { "brand": "visa", @@ -281,7 +281,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19AO2sOmf47Nz9Ko0nAR2K/refunds" + "url": "/v1/charges/ch_3JZDGo2sOmf47Nz91anusa7B/refunds" }, "review": null, "shipping": null, @@ -296,23 +296,23 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19AO2sOmf47Nz9owzfK8w8" + "url": "/v1/charges?payment_intent=pi_3JZDGo2sOmf47Nz912ny1od2" }, - "client_secret": "pi_1J19AO2sOmf47Nz9owzfK8w8_secret_wm0gJAp5vBQX2rMzNFzBSGbhh", + "client_secret": "pi_3JZDGo2sOmf47Nz912ny1od2_secret_luIvv5fLASFIdYbO0iekZttpZ", "confirmation_method": "manual", - "created": 1623413332, + "created": 1631532258, "currency": "usd", "customer": "cus_IhIynmoJbzLpwX", "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_1J19AO2sOmf47Nz9Ko0nAR2K", + "charge": "ch_3JZDGo2sOmf47Nz91anusa7B", "code": "card_declined", "decline_code": "generic_decline", "doc_url": "https://stripe.com/docs/error-codes/card-declined", "message": "Your card was declined.", "payment_method": { - "id": "pm_1J19AN2sOmf47Nz9q4BTJ3Xx", + "id": "pm_1JZDGn2sOmf47Nz9HXdzATLZ", "object": "payment_method", "billing_details": { "address": { @@ -352,7 +352,7 @@ http_interactions: }, "wallet": null }, - "created": 1623413331, + "created": 1631532258, "customer": null, "livemode": false, "metadata": { @@ -389,7 +389,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1J19AN2sOmf47Nz9q4BTJ3Xx", + "id": "pm_1JZDGn2sOmf47Nz9HXdzATLZ", "object": "payment_method", "billing_details": { "address": { @@ -429,7 +429,7 @@ http_interactions: }, "wallet": null }, - "created": 1623413331, + "created": 1631532258, "customer": null, "livemode": false, "metadata": { @@ -439,5 +439,5 @@ http_interactions: "type": "card_error" } } - recorded_at: Fri, 11 Jun 2021 12:08:53 GMT + recorded_at: Mon, 13 Sep 2021 11:24:19 GMT recorded_with: VCR 6.0.0 diff --git a/test/vcr_cassettes/subscriptions_user_renew_success.yml b/test/vcr_cassettes/subscriptions_user_renew_success.yml index 7c268d5b3..0cc07a77c 100644 --- a/test/vcr_cassettes/subscriptions_user_renew_success.yml +++ b/test/vcr_cassettes/subscriptions_user_renew_success.yml @@ -14,13 +14,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MaUUH4M7ExplWM","request_duration_ms":1}}' + - '{"last_request_metrics":{"request_id":"req_N1g65uclGQAjib","request_duration_ms":584}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -33,7 +33,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:08:48 GMT + - Mon, 13 Sep 2021 11:24:20 GMT Content-Type: - application/json Content-Length: @@ -53,18 +53,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_4vUJStZEVaRu25 + - req_LiJowIdBMxP83n Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '4' + - '6' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pm_1J19AK2sOmf47Nz99SmIMRsZ", + "id": "pm_1JZDGq2sOmf47Nz9gFNx35wt", "object": "payment_method", "billing_details": { "address": { @@ -104,20 +104,20 @@ http_interactions: }, "wallet": null }, - "created": 1623413328, + "created": 1631532260, "customer": null, "livemode": false, "metadata": { }, "type": "card" } - recorded_at: Fri, 11 Jun 2021 12:08:48 GMT + recorded_at: Mon, 13 Sep 2021 11:24:20 GMT - request: method: post uri: https://api.stripe.com/v1/payment_intents body: encoding: UTF-8 - string: payment_method=pm_1J19AK2sOmf47Nz99SmIMRsZ&amount=3000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_IhIynmoJbzLpwX + string: payment_method=pm_1JZDGq2sOmf47Nz9gFNx35wt&amount=3000¤cy=usd&confirmation_method=manual&confirm=true&customer=cus_IhIynmoJbzLpwX headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -126,13 +126,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_4vUJStZEVaRu25","request_duration_ms":721}}' + - '{"last_request_metrics":{"request_id":"req_LiJowIdBMxP83n","request_duration_ms":595}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -145,7 +145,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:08:50 GMT + - Mon, 13 Sep 2021 11:24:21 GMT Content-Type: - application/json Content-Length: @@ -165,18 +165,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_pAhJGqI87wbmeo + - req_zPc2xJq9KRxOGG Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: - - '8' + - '10' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "pi_1J19AL2sOmf47Nz9Ni5vAjHE", + "id": "pi_3JZDGq2sOmf47Nz90tRhZuFY", "object": "payment_intent", "amount": 3000, "amount_capturable": 0, @@ -190,7 +190,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19AL2sOmf47Nz9dl7fx35v", + "id": "ch_3JZDGq2sOmf47Nz90TZPr1Z7", "object": "charge", "amount": 3000, "amount_captured": 3000, @@ -198,7 +198,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19AL2sOmf47Nz9GmyGY5vi", + "balance_transaction": "txn_3JZDGq2sOmf47Nz90lg8yedR", "billing_details": { "address": { "city": null, @@ -214,7 +214,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413329, + "created": 1631532261, "currency": "usd", "customer": "cus_IhIynmoJbzLpwX", "description": null, @@ -235,13 +235,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 47, + "risk_score": 32, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19AL2sOmf47Nz9Ni5vAjHE", - "payment_method": "pm_1J19AK2sOmf47Nz99SmIMRsZ", + "payment_intent": "pi_3JZDGq2sOmf47Nz90tRhZuFY", + "payment_method": "pm_1JZDGq2sOmf47Nz9gFNx35wt", "payment_method_details": { "card": { "brand": "visa", @@ -265,7 +265,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19AL2sOmf47Nz9dl7fx35v/rcpt_JeS4Q6iG2LjP7BNQdlMwvy12ZrLbCDV", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDGq2sOmf47Nz90TZPr1Z7/rcpt_KDeaIe0xwj6K7x6xCFsGb9f4YgaufJb", "refunded": false, "refunds": { "object": "list", @@ -274,7 +274,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19AL2sOmf47Nz9dl7fx35v/refunds" + "url": "/v1/charges/ch_3JZDGq2sOmf47Nz90TZPr1Z7/refunds" }, "review": null, "shipping": null, @@ -289,11 +289,11 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19AL2sOmf47Nz9Ni5vAjHE" + "url": "/v1/charges?payment_intent=pi_3JZDGq2sOmf47Nz90tRhZuFY" }, - "client_secret": "pi_1J19AL2sOmf47Nz9Ni5vAjHE_secret_7cKwvm1EkX9mb1mqnf5V3CibJ", + "client_secret": "pi_3JZDGq2sOmf47Nz90tRhZuFY_secret_BguCxjdHJCdtVhIw9ATiLBIXY", "confirmation_method": "manual", - "created": 1623413329, + "created": 1631532260, "currency": "usd", "customer": "cus_IhIynmoJbzLpwX", "description": null, @@ -304,7 +304,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19AK2sOmf47Nz99SmIMRsZ", + "payment_method": "pm_1JZDGq2sOmf47Nz9gFNx35wt", "payment_method_options": { "card": { "installments": null, @@ -326,13 +326,13 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:08:50 GMT + recorded_at: Mon, 13 Sep 2021 11:24:21 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_1J19AL2sOmf47Nz9Ni5vAjHE + uri: https://api.stripe.com/v1/payment_intents/pi_3JZDGq2sOmf47Nz90tRhZuFY body: encoding: UTF-8 - string: description=Invoice+reference%3A+2106001%2FVL + string: description=Invoice+reference%3A+2109001%2FVL headers: User-Agent: - Stripe/v1 RubyBindings/5.29.0 @@ -341,13 +341,13 @@ http_interactions: Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pAhJGqI87wbmeo","request_duration_ms":1524}}' + - '{"last_request_metrics":{"request_id":"req_zPc2xJq9KRxOGG","request_duration_ms":1385}}' Stripe-Version: - '2019-08-14' X-Stripe-Client-User-Agent: - - '{"bindings_version":"5.29.0","lang":"ruby","lang_version":"2.6.7 p197 (2021-04-05)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 5.12.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) - 2.36.1) #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000","hostname":"Sylvain-desktop"}' + - '{"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: @@ -360,7 +360,7 @@ http_interactions: Server: - nginx Date: - - Fri, 11 Jun 2021 12:08:50 GMT + - Mon, 13 Sep 2021 11:24:22 GMT Content-Type: - application/json Content-Length: @@ -380,7 +380,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_GFlLvxvRfOubCx + - req_UNSBmHJmCC5Mk4 Stripe-Version: - '2019-08-14' X-Stripe-C-Cost: @@ -391,7 +391,7 @@ http_interactions: encoding: UTF-8 string: | { - "id": "pi_1J19AL2sOmf47Nz9Ni5vAjHE", + "id": "pi_3JZDGq2sOmf47Nz90tRhZuFY", "object": "payment_intent", "amount": 3000, "amount_capturable": 0, @@ -405,7 +405,7 @@ http_interactions: "object": "list", "data": [ { - "id": "ch_1J19AL2sOmf47Nz9dl7fx35v", + "id": "ch_3JZDGq2sOmf47Nz90TZPr1Z7", "object": "charge", "amount": 3000, "amount_captured": 3000, @@ -413,7 +413,7 @@ http_interactions: "application": null, "application_fee": null, "application_fee_amount": null, - "balance_transaction": "txn_1J19AL2sOmf47Nz9GmyGY5vi", + "balance_transaction": "txn_3JZDGq2sOmf47Nz90lg8yedR", "billing_details": { "address": { "city": null, @@ -429,7 +429,7 @@ http_interactions: }, "calculated_statement_descriptor": "Stripe", "captured": true, - "created": 1623413329, + "created": 1631532261, "currency": "usd", "customer": "cus_IhIynmoJbzLpwX", "description": null, @@ -450,13 +450,13 @@ http_interactions: "network_status": "approved_by_network", "reason": null, "risk_level": "normal", - "risk_score": 47, + "risk_score": 32, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, - "payment_intent": "pi_1J19AL2sOmf47Nz9Ni5vAjHE", - "payment_method": "pm_1J19AK2sOmf47Nz99SmIMRsZ", + "payment_intent": "pi_3JZDGq2sOmf47Nz90tRhZuFY", + "payment_method": "pm_1JZDGq2sOmf47Nz9gFNx35wt", "payment_method_details": { "card": { "brand": "visa", @@ -480,7 +480,7 @@ http_interactions: }, "receipt_email": null, "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_1J19AL2sOmf47Nz9dl7fx35v/rcpt_JeS4Q6iG2LjP7BNQdlMwvy12ZrLbCDV", + "receipt_url": "https://pay.stripe.com/receipts/acct_103rE62sOmf47Nz9/ch_3JZDGq2sOmf47Nz90TZPr1Z7/rcpt_KDeaIe0xwj6K7x6xCFsGb9f4YgaufJb", "refunded": false, "refunds": { "object": "list", @@ -489,7 +489,7 @@ http_interactions: ], "has_more": false, "total_count": 0, - "url": "/v1/charges/ch_1J19AL2sOmf47Nz9dl7fx35v/refunds" + "url": "/v1/charges/ch_3JZDGq2sOmf47Nz90TZPr1Z7/refunds" }, "review": null, "shipping": null, @@ -504,14 +504,14 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/charges?payment_intent=pi_1J19AL2sOmf47Nz9Ni5vAjHE" + "url": "/v1/charges?payment_intent=pi_3JZDGq2sOmf47Nz90tRhZuFY" }, - "client_secret": "pi_1J19AL2sOmf47Nz9Ni5vAjHE_secret_7cKwvm1EkX9mb1mqnf5V3CibJ", + "client_secret": "pi_3JZDGq2sOmf47Nz90tRhZuFY_secret_BguCxjdHJCdtVhIw9ATiLBIXY", "confirmation_method": "manual", - "created": 1623413329, + "created": 1631532260, "currency": "usd", "customer": "cus_IhIynmoJbzLpwX", - "description": "Invoice reference: 2106001/VL", + "description": "Invoice reference: 2109001/VL", "invoice": null, "last_payment_error": null, "livemode": false, @@ -519,7 +519,7 @@ http_interactions: }, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1J19AK2sOmf47Nz99SmIMRsZ", + "payment_method": "pm_1JZDGq2sOmf47Nz9gFNx35wt", "payment_method_options": { "card": { "installments": null, @@ -541,5 +541,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Fri, 11 Jun 2021 12:08:50 GMT + recorded_at: Mon, 13 Sep 2021 11:24:22 GMT recorded_with: VCR 6.0.0