--- http_interactions: - request: method: post uri: https://api.stripe.com/v1/tokens body: encoding: UTF-8 string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2019&card[cvc]=314 headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate User-Agent: - Stripe/v1 RubyBindings/1.30.2 Authorization: - Bearer sk_test_testfaketestfaketestfake Content-Type: - application/x-www-form-urlencoded Stripe-Version: - '2015-10-16' X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux version 4.15.0-34-generic (buildd@lgw01-amd64-037) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 18 Sep 2018 13:33:09 GMT Content-Type: - application/json Content-Length: - '785' 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_fCCfHPuiXW5F8V Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "id": "tok_1DBjKD2sOmf47Nz9kYUyGPLi", "object": "token", "card": { "id": "card_1DBjKD2sOmf47Nz9IFTAcAj9", "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", "cvc_check": "unchecked", "dynamic_last4": null, "exp_month": 4, "exp_year": 2019, "fingerprint": "o52jybR7bnmNn6AT", "funding": "credit", "last4": "4242", "metadata": { }, "name": null, "tokenization_method": null }, "client_ip": "90.112.128.65", "created": 1537277589, "livemode": false, "type": "card", "used": false } http_version: recorded_at: Tue, 18 Sep 2018 13:33:09 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN body: encoding: US-ASCII string: '' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate User-Agent: - Stripe/v1 RubyBindings/1.30.2 Authorization: - Bearer sk_test_testfaketestfaketestfake Content-Type: - application/x-www-form-urlencoded Stripe-Version: - '2015-10-16' X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux version 4.15.0-34-generic (buildd@lgw01-amd64-037) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018","hostname":"Sleede-SylvainPC"}' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 18 Sep 2018 13:33:10 GMT Content-Type: - application/json Content-Length: - '1517' 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_OiWdV9pw47dZto Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "id": "cus_8CzNtM08NVlSGN", "object": "customer", "account_balance": 0, "created": 1459782849, "currency": "usd", "default_source": "card_1CrPin2sOmf47Nz9KWMxuxdi", "delinquent": false, "description": "Vanessa Lonchamp", "discount": null, "email": "vanessa.lonchamp@sfr.fr", "invoice_prefix": "FEAD20B", "livemode": false, "metadata": { }, "shipping": null, "sources": { "object": "list", "data": [ { "id": "card_1CrPin2sOmf47Nz9KWMxuxdi", "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_8CzNtM08NVlSGN", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 4, "exp_year": 2019, "fingerprint": "o52jybR7bnmNn6AT", "funding": "credit", "last4": "4242", "metadata": { }, "name": null, "tokenization_method": null } ], "has_more": false, "total_count": 1, "url": "/v1/customers/cus_8CzNtM08NVlSGN/sources" }, "subscriptions": { "object": "list", "data": [ ], "has_more": false, "total_count": 0, "url": "/v1/customers/cus_8CzNtM08NVlSGN/subscriptions" }, "tax_info": null, "tax_info_verification": null } http_version: recorded_at: Tue, 18 Sep 2018 13:33:10 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems body: encoding: UTF-8 string: customer=cus_8CzNtM08NVlSGN&amount=-1000¤cy=usd&description=wallet+-10.0 headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate User-Agent: - Stripe/v1 RubyBindings/1.30.2 Authorization: - Bearer sk_test_testfaketestfaketestfake Content-Type: - application/x-www-form-urlencoded Stripe-Version: - '2015-10-16' X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux version 4.15.0-34-generic (buildd@lgw01-amd64-037) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018","hostname":"Sleede-SylvainPC"}' Content-Length: - '78' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 18 Sep 2018 13:33:11 GMT Content-Type: - application/json Content-Length: - '455' 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_BDXoBVOCjfu3Rh Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "id": "ii_1DBjKE2sOmf47Nz9GFZ0Rqze", "object": "invoiceitem", "amount": -1000, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "date": 1537277590, "description": "wallet -10.0", "discountable": false, "invoice": null, "livemode": false, "metadata": { }, "period": { "start": 1537277590, "end": 1537277590 }, "plan": null, "proration": false, "quantity": 1, "subscription": null, "unit_amount": -1000 } http_version: recorded_at: Tue, 18 Sep 2018 13:33:11 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions body: encoding: UTF-8 string: plan=mensuel-tarif-reduit-student-month-20160404171827&source=tok_1DBjKD2sOmf47Nz9kYUyGPLi headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate User-Agent: - Stripe/v1 RubyBindings/1.30.2 Authorization: - Bearer sk_test_testfaketestfaketestfake Content-Type: - application/x-www-form-urlencoded Stripe-Version: - '2015-10-16' X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux version 4.15.0-34-generic (buildd@lgw01-amd64-037) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018","hostname":"Sleede-SylvainPC"}' Content-Length: - '90' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 18 Sep 2018 13:33:12 GMT Content-Type: - application/json Content-Length: - '2501' 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_Atg2WDVGJXh59s Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJzdWJfRGN6SVBpeFBLQjdJaFgiLAogICJvYmplY3QiOiAi c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi YmlsbGluZ19jeWNsZV9hbmNob3IiOiAxNTM3Mjc3NTkxLAogICJjYW5jZWxf YXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5jZWxlZF9hdCI6IG51bGws CiAgImNyZWF0ZWQiOiAxNTM3Mjc3NTkxLAogICJjdXJyZW50X3BlcmlvZF9l bmQiOiAxNTM5ODY5NTkxLAogICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE1 MzcyNzc1OTEsCiAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIs CiAgImRheXNfdW50aWxfZHVlIjogbnVsbCwKICAiZGlzY291bnQiOiBudWxs LAogICJlbmRlZF9hdCI6IG51bGwsCiAgIml0ZW1zIjogewogICAgIm9iamVj dCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlk IjogInNpX0RjeklpdThUNHRaNmxvIiwKICAgICAgICAib2JqZWN0IjogInN1 YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MzcyNzc1 OTIsCiAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgIH0sCiAgICAgICAg InBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1 aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAi b2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFjdGl2ZSI6IHRydWUsCiAg ICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJh bW91bnQiOiAyMDAwLAogICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBl cl91bml0IiwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAg ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVydmFs IjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAg ICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0 YSI6IHsKICAgICAgICAgIH0sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVs IHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNl aWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAg ICAibmlja25hbWUiOiBudWxsLAogICAgICAgICAgInByb2R1Y3QiOiAicHJv ZF9CVHlsZ3hPUVZ6MEVZNSIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2Ny aXB0b3IiOiBudWxsLAogICAgICAgICAgInRpZXJzIjogbnVsbCwKICAgICAg ICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICJ0cmFuc2Zvcm1f dXNhZ2UiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjog bnVsbCwKICAgICAgICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogICAg ICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3Vic2Ny aXB0aW9uIjogInN1Yl9EY3pJUGl4UEtCN0loWCIKICAgICAgfQogICAgXSwK ICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogMSwK ICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRp b249c3ViX0RjeklQaXhQS0I3SWhYIgogIH0sCiAgImxpdmVtb2RlIjogZmFs c2UsCiAgIm1ldGFkYXRhIjogewogIH0sCiAgInBsYW4iOiB7CiAgICAiaWQi OiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQw NDE3MTgyNyIsCiAgICAib2JqZWN0IjogInBsYW4iLAogICAgImFjdGl2ZSI6 IHRydWUsCiAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICJhbW91 bnQiOiAyMDAwLAogICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwK ICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICJjdXJyZW5jeSI6ICJ1 c2QiLAogICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICJpbnRlcnZhbF9j b3VudCI6IDEsCiAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICJtZXRhZGF0 YSI6IHsKICAgIH0sCiAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1 aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1h bmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAibmlja25hbWUiOiBudWxs LAogICAgInByb2R1Y3QiOiAicHJvZF9CVHlsZ3hPUVZ6MEVZNSIsCiAgICAi c3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgInRpZXJzIjogbnVs bCwKICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICJ0cmFuc2Zvcm1fdXNh Z2UiOiBudWxsLAogICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAg ICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogIH0sCiAgInF1YW50aXR5Ijog MSwKICAic3RhcnQiOiAxNTM3Mjc3NTkxLAogICJzdGF0dXMiOiAiYWN0aXZl IiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBudWxs LAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo= http_version: recorded_at: Tue, 18 Sep 2018 13:33:13 GMT - request: method: get uri: https://api.stripe.com/v1/invoices?customer=cus_8CzNtM08NVlSGN&limit=1 body: encoding: US-ASCII string: '' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate User-Agent: - Stripe/v1 RubyBindings/1.30.2 Authorization: - Bearer sk_test_testfaketestfaketestfake Content-Type: - application/x-www-form-urlencoded Stripe-Version: - '2015-10-16' X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux version 4.15.0-34-generic (buildd@lgw01-amd64-037) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018","hostname":"Sleede-SylvainPC"}' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 18 Sep 2018 13:33:13 GMT Content-Type: - application/json Content-Length: - '3743' 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_yE8GdriGP7dttL Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg ICJpZCI6ICJpbl8xREJqS0Yyc09tZjQ3Tno5QjVJdkJrUnIiLAogICAgICAi b2JqZWN0IjogImludm9pY2UiLAogICAgICAiYW1vdW50X2R1ZSI6IDEwMDAs CiAgICAgICJhbW91bnRfcGFpZCI6IDEwMDAsCiAgICAgICJhbW91bnRfcmVt YWluaW5nIjogMCwKICAgICAgImFwcGxpY2F0aW9uX2ZlZSI6IG51bGwsCiAg ICAgICJhdHRlbXB0X2NvdW50IjogMSwKICAgICAgImF0dGVtcHRlZCI6IHRy dWUsCiAgICAgICJhdXRvX2FkdmFuY2UiOiBmYWxzZSwKICAgICAgImJpbGxp bmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgICAiYmlsbGluZ19y ZWFzb24iOiAic3Vic2NyaXB0aW9uX3VwZGF0ZSIsCiAgICAgICJjaGFyZ2Ui OiAiY2hfMURCaktHMnNPbWY0N056OTdZYmVWUU9BIiwKICAgICAgImNsb3Nl ZCI6IHRydWUsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3Vz dG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAx NTM3Mjc3NTkxLAogICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAgICAi ZGlzY291bnQiOiBudWxsLAogICAgICAiZHVlX2RhdGUiOiBudWxsLAogICAg ICAiZW5kaW5nX2JhbGFuY2UiOiAwLAogICAgICAiZm9yZ2l2ZW4iOiBmYWxz ZSwKICAgICAgImhvc3RlZF9pbnZvaWNlX3VybCI6ICJodHRwczovL3BheS5z dHJpcGUuY29tL2ludm9pY2UvaW52c3RfWUF4cGhUZUdqWURlUnRxTTFiM1Fu bGZTQTMiLAogICAgICAiaW52b2ljZV9wZGYiOiAiaHR0cHM6Ly9wYXkuc3Ry aXBlLmNvbS9pbnZvaWNlL2ludnN0X1lBeHBoVGVHallEZVJ0cU0xYjNRbmxm U0EzL3BkZiIsCiAgICAgICJsaW5lcyI6IHsKICAgICAgICAib2JqZWN0Ijog Imxpc3QiLAogICAgICAgICJkYXRhIjogWwogICAgICAgICAgewogICAgICAg ICAgICAiaWQiOiAiaWlfMURCaktFMnNPbWY0N056OUdGWjBScXplIiwKICAg ICAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgICAi YW1vdW50IjogLTEwMDAsCiAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi LAogICAgICAgICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwK ICAgICAgICAgICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAgICAg ICAiaW52b2ljZV9pdGVtIjogImlpXzFEQmpLRTJzT21mNDdOejlHRlowUnF6 ZSIsCiAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAg ICAibWV0YWRhdGEiOiB7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJw ZXJpb2QiOiB7CiAgICAgICAgICAgICAgImVuZCI6IDE1MzcyNzc1OTAsCiAg ICAgICAgICAgICAgInN0YXJ0IjogMTUzNzI3NzU5MAogICAgICAgICAgICB9 LAogICAgICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAgICAgICJwcm9y YXRpb24iOiBmYWxzZSwKICAgICAgICAgICAgInF1YW50aXR5IjogMSwKICAg ICAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgICAgICJ0 eXBlIjogImludm9pY2VpdGVtIgogICAgICAgICAgfSwKICAgICAgICAgIHsK ICAgICAgICAgICAgImlkIjogInN1Yl9EY3pJUGl4UEtCN0loWCIsCiAgICAg ICAgICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAgICAgICAgImFt b3VudCI6IDIwMDAsCiAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAog ICAgICAgICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAgICAgICAgICAi ZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgICAgICAgImxpdmVtb2RlIjog ZmFsc2UsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAg fSwKICAgICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgICAiZW5k IjogMTUzOTg2OTU5MSwKICAgICAgICAgICAgICAic3RhcnQiOiAxNTM3Mjc3 NTkxCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJwbGFuIjogewogICAg ICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50 LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAib2JqZWN0 IjogInBsYW4iLAogICAgICAgICAgICAgICJhY3RpdmUiOiB0cnVlLAogICAg ICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAg ICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICJiaWxsaW5nX3Nj aGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAx NDU5NzgzMTA4LAogICAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAog ICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAg ICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAibGl2ZW1v ZGUiOiBmYWxzZSwKICAgICAgICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAg ICAgICAgICAgfSwKICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRh cmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWdu YW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAg ICAgIm5pY2tuYW1lIjogbnVsbCwKICAgICAgICAgICAgICAicHJvZHVjdCI6 ICJwcm9kX0JUeWxneE9RVnowRVk1IiwKICAgICAgICAgICAgICAic3RhdGVt ZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICJ0aWVycyI6 IG51bGwsCiAgICAgICAgICAgICAgInRpZXJzX21vZGUiOiBudWxsLAogICAg ICAgICAgICAgICJ0cmFuc2Zvcm1fdXNhZ2UiOiBudWxsLAogICAgICAgICAg ICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAgICAg InVzYWdlX3R5cGUiOiAibGljZW5zZWQiCiAgICAgICAgICAgIH0sCiAgICAg ICAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgICAgICAgInF1YW50 aXR5IjogMSwKICAgICAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAg ICAgICAgICAgICJzdWJzY3JpcHRpb25faXRlbSI6ICJzaV9EY3pJaXU4VDR0 WjZsbyIsCiAgICAgICAgICAgICJ0eXBlIjogInN1YnNjcmlwdGlvbiIKICAg ICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJoYXNfbW9yZSI6IGZhbHNl LAogICAgICAgICJ0b3RhbF9jb3VudCI6IDIsCiAgICAgICAgInVybCI6ICIv djEvaW52b2ljZXMvaW5fMURCaktGMnNPbWY0N056OUI1SXZCa1JyL2xpbmVz IgogICAgICB9LAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgIm1l dGFkYXRhIjogewogICAgICB9LAogICAgICAibmV4dF9wYXltZW50X2F0dGVt cHQiOiBudWxsLAogICAgICAibnVtYmVyIjogIkZFQUQyMEItMDAxNyIsCiAg ICAgICJwYWlkIjogdHJ1ZSwKICAgICAgInBlcmlvZF9lbmQiOiAxNTM3Mjc3 NTkxLAogICAgICAicGVyaW9kX3N0YXJ0IjogMTUzNzI3NzU5MSwKICAgICAg InJlY2VpcHRfbnVtYmVyIjogbnVsbCwKICAgICAgInN0YXJ0aW5nX2JhbGFu Y2UiOiAwLAogICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog ICAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9EY3pJUGl4UEtCN0loWCIsCiAg ICAgICJzdWJ0b3RhbCI6IDEwMDAsCiAgICAgICJ0YXgiOiBudWxsLAogICAg ICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAidG90YWwiOiAxMDAwLAog ICAgICAid2ViaG9va3NfZGVsaXZlcmVkX2F0IjogMTUzNzI3NzU5MgogICAg fQogIF0sCiAgImhhc19tb3JlIjogdHJ1ZSwKICAidXJsIjogIi92MS9pbnZv aWNlcyIKfQo= http_version: recorded_at: Tue, 18 Sep 2018 13:33:13 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN body: encoding: US-ASCII string: '' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate User-Agent: - Stripe/v1 RubyBindings/1.30.2 Authorization: - Bearer sk_test_testfaketestfaketestfake Content-Type: - application/x-www-form-urlencoded Stripe-Version: - '2015-10-16' X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux version 4.15.0-34-generic (buildd@lgw01-amd64-037) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018","hostname":"Sleede-SylvainPC"}' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 18 Sep 2018 13:33:14 GMT Content-Type: - application/json Content-Length: - '4557' 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_2eG9MqeHxV1zYt Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs dF9zb3VyY2UiOiAiY2FyZF8xREJqS0Qyc09tZjQ3Tno5SUZUQWNBajkiLAog ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAiaW52b2ljZV9wcmVmaXgi OiAiRkVBRDIwQiIsCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFkYXRh IjogewogIH0sCiAgInNoaXBwaW5nIjogbnVsbCwKICAic291cmNlcyI6IHsK ICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAgICAgewog ICAgICAgICJpZCI6ICJjYXJkXzFEQmpLRDJzT21mNDdOejlJRlRBY0FqOSIs CiAgICAgICAgIm9iamVjdCI6ICJjYXJkIiwKICAgICAgICAiYWRkcmVzc19j aXR5IjogbnVsbCwKICAgICAgICAiYWRkcmVzc19jb3VudHJ5IjogbnVsbCwK ICAgICAgICAiYWRkcmVzc19saW5lMSI6IG51bGwsCiAgICAgICAgImFkZHJl c3NfbGluZTFfY2hlY2siOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUy IjogbnVsbCwKICAgICAgICAiYWRkcmVzc19zdGF0ZSI6IG51bGwsCiAgICAg ICAgImFkZHJlc3NfemlwIjogbnVsbCwKICAgICAgICAiYWRkcmVzc196aXBf Y2hlY2siOiBudWxsLAogICAgICAgICJicmFuZCI6ICJWaXNhIiwKICAgICAg ICAiY291bnRyeSI6ICJVUyIsCiAgICAgICAgImN1c3RvbWVyIjogImN1c184 Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImN2Y19jaGVjayI6ICJwYXNzIiwK ICAgICAgICAiZHluYW1pY19sYXN0NCI6IG51bGwsCiAgICAgICAgImV4cF9t b250aCI6IDQsCiAgICAgICAgImV4cF95ZWFyIjogMjAxOSwKICAgICAgICAi ZmluZ2VycHJpbnQiOiAibzUyanliUjdibm1ObjZBVCIsCiAgICAgICAgImZ1 bmRpbmciOiAiY3JlZGl0IiwKICAgICAgICAibGFzdDQiOiAiNDI0MiIsCiAg ICAgICAgIm1ldGFkYXRhIjogewogICAgICAgIH0sCiAgICAgICAgIm5hbWUi OiBudWxsLAogICAgICAgICJ0b2tlbml6YXRpb25fbWV0aG9kIjogbnVsbAog ICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90 YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJzL2N1c184 Q3pOdE0wOE5WbFNHTi9zb3VyY2VzIgogIH0sCiAgInN1YnNjcmlwdGlvbnMi OiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAg IHsKICAgICAgICAiaWQiOiAic3ViX0RjeklQaXhQS0I3SWhYIiwKICAgICAg ICAib2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0 aW9uX2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJj aGFyZ2VfYXV0b21hdGljYWxseSIsCiAgICAgICAgImJpbGxpbmdfY3ljbGVf YW5jaG9yIjogMTUzNzI3NzU5MSwKICAgICAgICAiY2FuY2VsX2F0X3Blcmlv ZF9lbmQiOiBmYWxzZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiBudWxsLAog ICAgICAgICJjcmVhdGVkIjogMTUzNzI3NzU5MSwKICAgICAgICAiY3VycmVu dF9wZXJpb2RfZW5kIjogMTUzOTg2OTU5MSwKICAgICAgICAiY3VycmVudF9w ZXJpb2Rfc3RhcnQiOiAxNTM3Mjc3NTkxLAogICAgICAgICJjdXN0b21lciI6 ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkYXlzX3VudGlsX2R1 ZSI6IG51bGwsCiAgICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgICAi ZW5kZWRfYXQiOiBudWxsLAogICAgICAgICJpdGVtcyI6IHsKICAgICAgICAg ICJvYmplY3QiOiAibGlzdCIsCiAgICAgICAgICAiZGF0YSI6IFsKICAgICAg ICAgICAgewogICAgICAgICAgICAgICJpZCI6ICJzaV9EY3pJaXU4VDR0WjZs byIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb25faXRl bSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTM3Mjc3NTkyLAogICAg ICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgICB9LAogICAg ICAgICAgICAgICJwbGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1l bnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4 MjciLAogICAgICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAg ICAgICAgICAgICJhY3RpdmUiOiB0cnVlLAogICAgICAgICAgICAgICAgImFn Z3JlZ2F0ZV91c2FnZSI6IG51bGwsCiAgICAgICAgICAgICAgICAiYW1vdW50 IjogMjAwMCwKICAgICAgICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJw ZXJfdW5pdCIsCiAgICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMx MDgsCiAgICAgICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAg ICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAgICAg ICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAgICAgImxpdmVt b2RlIjogZmFsc2UsCiAgICAgICAgICAgICAgICAibWV0YWRhdGEiOiB7CiAg ICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICAgIm5hbWUiOiAiTWVu c3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywg ZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAg ICAgICAgICAgICAgIm5pY2tuYW1lIjogbnVsbCwKICAgICAgICAgICAgICAg ICJwcm9kdWN0IjogInByb2RfQlR5bGd4T1FWejBFWTUiLAogICAgICAgICAg ICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAg ICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAgICAgICAidGllcnNf bW9kZSI6IG51bGwsCiAgICAgICAgICAgICAgICAidHJhbnNmb3JtX3VzYWdl IjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6 IG51bGwsCiAgICAgICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNl ZCIKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFudGl0eSI6 IDEsCiAgICAgICAgICAgICAgInN1YnNjcmlwdGlvbiI6ICJzdWJfRGN6SVBp eFBLQjdJaFgiCiAgICAgICAgICAgIH0KICAgICAgICAgIF0sCiAgICAgICAg ICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6 IDEsCiAgICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/ c3Vic2NyaXB0aW9uPXN1Yl9EY3pJUGl4UEtCN0loWCIKICAgICAgICB9LAog ICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6 IHsKICAgICAgICB9LAogICAgICAgICJwbGFuIjogewogICAgICAgICAgImlk IjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0 MDQxNzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAg ICAgICJhY3RpdmUiOiB0cnVlLAogICAgICAgICAgImFnZ3JlZ2F0ZV91c2Fn ZSI6IG51bGwsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAg ICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAiY3Jl YXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNk IiwKICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAi aW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFs c2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgICB9LAogICAg ICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRp YW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1w bG9pIC0gbW9udGgiLAogICAgICAgICAgIm5pY2tuYW1lIjogbnVsbCwKICAg ICAgICAgICJwcm9kdWN0IjogInByb2RfQlR5bGd4T1FWejBFWTUiLAogICAg ICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAg ICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAidGllcnNfbW9kZSI6IG51bGws CiAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICAgICAg ICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAidXNhZ2Vf dHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICB9LAogICAgICAgICJxdWFudGl0 eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUzNzI3NzU5MSwKICAgICAgICAi c3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9wZXJjZW50IjogbnVs bCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAgICAgICAidHJpYWxf c3RhcnQiOiBudWxsCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUiOiBm YWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9j dXN0b21lcnMvY3VzXzhDek50TTA4TlZsU0dOL3N1YnNjcmlwdGlvbnMiCiAg fSwKICAidGF4X2luZm8iOiBudWxsLAogICJ0YXhfaW5mb192ZXJpZmljYXRp b24iOiBudWxsCn0K http_version: recorded_at: Tue, 18 Sep 2018 13:33:14 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_DczIPixPKB7IhX body: encoding: US-ASCII string: '' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate User-Agent: - Stripe/v1 RubyBindings/1.30.2 Authorization: - Bearer sk_test_testfaketestfaketestfake Content-Type: - application/x-www-form-urlencoded Stripe-Version: - '2015-10-16' X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux version 4.15.0-34-generic (buildd@lgw01-amd64-037) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018","hostname":"Sleede-SylvainPC"}' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 18 Sep 2018 13:33:15 GMT Content-Type: - application/json Content-Length: - '2501' 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_y8vrrR5UU0CC4P Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJzdWJfRGN6SVBpeFBLQjdJaFgiLAogICJvYmplY3QiOiAi c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi YmlsbGluZ19jeWNsZV9hbmNob3IiOiAxNTM3Mjc3NTkxLAogICJjYW5jZWxf YXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5jZWxlZF9hdCI6IG51bGws CiAgImNyZWF0ZWQiOiAxNTM3Mjc3NTkxLAogICJjdXJyZW50X3BlcmlvZF9l bmQiOiAxNTM5ODY5NTkxLAogICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE1 MzcyNzc1OTEsCiAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIs CiAgImRheXNfdW50aWxfZHVlIjogbnVsbCwKICAiZGlzY291bnQiOiBudWxs LAogICJlbmRlZF9hdCI6IG51bGwsCiAgIml0ZW1zIjogewogICAgIm9iamVj dCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlk IjogInNpX0RjeklpdThUNHRaNmxvIiwKICAgICAgICAib2JqZWN0IjogInN1 YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MzcyNzc1 OTIsCiAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgIH0sCiAgICAgICAg InBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1 aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAi b2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFjdGl2ZSI6IHRydWUsCiAg ICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJh bW91bnQiOiAyMDAwLAogICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBl cl91bml0IiwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAg ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVydmFs IjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAg ICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0 YSI6IHsKICAgICAgICAgIH0sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVs IHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNl aWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAg ICAibmlja25hbWUiOiBudWxsLAogICAgICAgICAgInByb2R1Y3QiOiAicHJv ZF9CVHlsZ3hPUVZ6MEVZNSIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2Ny aXB0b3IiOiBudWxsLAogICAgICAgICAgInRpZXJzIjogbnVsbCwKICAgICAg ICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICJ0cmFuc2Zvcm1f dXNhZ2UiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjog bnVsbCwKICAgICAgICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogICAg ICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3Vic2Ny aXB0aW9uIjogInN1Yl9EY3pJUGl4UEtCN0loWCIKICAgICAgfQogICAgXSwK ICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogMSwK ICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRp b249c3ViX0RjeklQaXhQS0I3SWhYIgogIH0sCiAgImxpdmVtb2RlIjogZmFs c2UsCiAgIm1ldGFkYXRhIjogewogIH0sCiAgInBsYW4iOiB7CiAgICAiaWQi OiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQw NDE3MTgyNyIsCiAgICAib2JqZWN0IjogInBsYW4iLAogICAgImFjdGl2ZSI6 IHRydWUsCiAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICJhbW91 bnQiOiAyMDAwLAogICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwK ICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICJjdXJyZW5jeSI6ICJ1 c2QiLAogICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICJpbnRlcnZhbF9j b3VudCI6IDEsCiAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICJtZXRhZGF0 YSI6IHsKICAgIH0sCiAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1 aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1h bmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAibmlja25hbWUiOiBudWxs LAogICAgInByb2R1Y3QiOiAicHJvZF9CVHlsZ3hPUVZ6MEVZNSIsCiAgICAi c3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgInRpZXJzIjogbnVs bCwKICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICJ0cmFuc2Zvcm1fdXNh Z2UiOiBudWxsLAogICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAg ICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogIH0sCiAgInF1YW50aXR5Ijog MSwKICAic3RhcnQiOiAxNTM3Mjc3NTkxLAogICJzdGF0dXMiOiAiYWN0aXZl IiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBudWxs LAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo= http_version: recorded_at: Tue, 18 Sep 2018 13:33:15 GMT - request: method: delete uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_DczIPixPKB7IhX?at_period_end=true body: encoding: US-ASCII string: '' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate User-Agent: - Stripe/v1 RubyBindings/1.30.2 Authorization: - Bearer sk_test_testfaketestfaketestfake Content-Type: - application/x-www-form-urlencoded Stripe-Version: - '2015-10-16' X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.6 p384 (2017-12-14)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux version 4.15.0-34-generic (buildd@lgw01-amd64-037) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)) #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018","hostname":"Sleede-SylvainPC"}' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 18 Sep 2018 13:33:16 GMT Content-Type: - application/json Content-Length: - '2506' 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_ahwp1qM4irDzAy Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJzdWJfRGN6SVBpeFBLQjdJaFgiLAogICJvYmplY3QiOiAi c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi YmlsbGluZ19jeWNsZV9hbmNob3IiOiAxNTM3Mjc3NTkxLAogICJjYW5jZWxf YXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgImNhbmNlbGVkX2F0IjogMTUzNzI3 NzU5NiwKICAiY3JlYXRlZCI6IDE1MzcyNzc1OTEsCiAgImN1cnJlbnRfcGVy aW9kX2VuZCI6IDE1Mzk4Njk1OTEsCiAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0 IjogMTUzNzI3NzU5MSwKICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs U0dOIiwKICAiZGF5c191bnRpbF9kdWUiOiBudWxsLAogICJkaXNjb3VudCI6 IG51bGwsCiAgImVuZGVkX2F0IjogbnVsbCwKICAiaXRlbXMiOiB7CiAgICAi b2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAgIHsKICAgICAg ICAiaWQiOiAic2lfRGN6SWl1OFQ0dFo2bG8iLAogICAgICAgICJvYmplY3Qi OiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICJjcmVhdGVkIjogMTUz NzI3NzU5MiwKICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAgfSwKICAg ICAgICAicGxhbiI6IHsKICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlm LXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAg ICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1 ZSwKICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAg ICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiYmlsbGluZ19zY2hlbWUi OiAicGVyX3VuaXQiLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4 LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50 ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50Ijog MSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1l dGFkYXRhIjogewogICAgICAgICAgfSwKICAgICAgICAgICJuYW1lIjogIk1l bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg ICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVjdCI6 ICJwcm9kX0JUeWxneE9RVnowRVk1IiwKICAgICAgICAgICJzdGF0ZW1lbnRf ZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidGllcnMiOiBudWxsLAog ICAgICAgICAgInRpZXJzX21vZGUiOiBudWxsLAogICAgICAgICAgInRyYW5z Zm9ybV91c2FnZSI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2Rh eXMiOiBudWxsLAogICAgICAgICAgInVzYWdlX3R5cGUiOiAibGljZW5zZWQi CiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxLAogICAgICAgICJz dWJzY3JpcHRpb24iOiAic3ViX0RjeklQaXhQS0I3SWhYIgogICAgICB9CiAg ICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQi OiAxLAogICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNj cmlwdGlvbj1zdWJfRGN6SVBpeFBLQjdJaFgiCiAgfSwKICAibGl2ZW1vZGUi OiBmYWxzZSwKICAibWV0YWRhdGEiOiB7CiAgfSwKICAicGxhbiI6IHsKICAg ICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIw MTYwNDA0MTcxODI3IiwKICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAiYWN0 aXZlIjogdHJ1ZSwKICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAg ImFtb3VudCI6IDIwMDAsCiAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3Vu aXQiLAogICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5 IjogInVzZCIsCiAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVy dmFsX2NvdW50IjogMSwKICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1l dGFkYXRhIjogewogICAgfSwKICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYg csOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQs IGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICJuaWNrbmFtZSI6 IG51bGwsCiAgICAicHJvZHVjdCI6ICJwcm9kX0JUeWxneE9RVnowRVk1IiwK ICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAidGllcnMi OiBudWxsLAogICAgInRpZXJzX21vZGUiOiBudWxsLAogICAgInRyYW5zZm9y bV91c2FnZSI6IG51bGwsCiAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxs LAogICAgInVzYWdlX3R5cGUiOiAibGljZW5zZWQiCiAgfSwKICAicXVhbnRp dHkiOiAxLAogICJzdGFydCI6IDE1MzcyNzc1OTEsCiAgInN0YXR1cyI6ICJh Y3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRyaWFsX2VuZCI6 IG51bGwsCiAgInRyaWFsX3N0YXJ0IjogbnVsbAp9Cg== http_version: recorded_at: Tue, 18 Sep 2018 13:33:16 GMT recorded_with: VCR 3.0.1