--- 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-39-generic (buildd@lgw01-amd64-054) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 27 Nov 2018 09:04:54 GMT Content-Type: - application/json Content-Length: - '784' 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_2xrQGECzTmINY1 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "id": "tok_1Db2V02sOmf47Nz9vdgjx7yZ", "object": "token", "card": { "id": "card_1Db2V02sOmf47Nz9jbLXrYlt", "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.76.28", "created": 1543309494, "livemode": false, "type": "card", "used": false } http_version: recorded_at: Tue, 27 Nov 2018 09:04:55 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-39-generic (buildd@lgw01-amd64-054) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018","hostname":"Sleede-SylvainPC"}' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 27 Nov 2018 09:04:55 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_Xo4KPC9hzDj1Qz 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_1DBjKo2sOmf47Nz99M6IBQ8Q", "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_1DBjKo2sOmf47Nz99M6IBQ8Q", "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, 27 Nov 2018 09:04:56 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-39-generic (buildd@lgw01-amd64-054) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018","hostname":"Sleede-SylvainPC"}' Content-Length: - '78' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 27 Nov 2018 09:04:56 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_jFfq8N2GrbxO8K Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "id": "ii_1Db2V22sOmf47Nz9Wgq7BOuZ", "object": "invoiceitem", "amount": -1000, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", "date": 1543309496, "description": "wallet -10.0", "discountable": false, "invoice": null, "livemode": false, "metadata": { }, "period": { "start": 1543309496, "end": 1543309496 }, "plan": null, "proration": false, "quantity": 1, "subscription": null, "unit_amount": -1000 } http_version: recorded_at: Tue, 27 Nov 2018 09:04:56 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_1Db2V02sOmf47Nz9vdgjx7yZ 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-39-generic (buildd@lgw01-amd64-054) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018","hostname":"Sleede-SylvainPC"}' Content-Length: - '90' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 27 Nov 2018 09:04:58 GMT Content-Type: - application/json Content-Length: - '2527' 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_7091hXpLSo9tKf Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJzdWJfRTM4bUtKaGJqMDVGVnkiLAogICJvYmplY3QiOiAi c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi YmlsbGluZ19jeWNsZV9hbmNob3IiOiAxNTQzMzA5NDk3LAogICJjYW5jZWxf YXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5jZWxlZF9hdCI6IG51bGws CiAgImNyZWF0ZWQiOiAxNTQzMzA5NDk3LAogICJjdXJyZW50X3BlcmlvZF9l bmQiOiAxNTQ1OTAxNDk3LAogICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE1 NDMzMDk0OTcsCiAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIs CiAgImRheXNfdW50aWxfZHVlIjogbnVsbCwKICAiZGVmYXVsdF9zb3VyY2Ui OiBudWxsLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGVkX2F0IjogbnVs bCwKICAiaXRlbXMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRh dGEiOiBbCiAgICAgIHsKICAgICAgICAiaWQiOiAic2lfRTM4bTVQNVdTeVZo Y0QiLAogICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAog ICAgICAgICJjcmVhdGVkIjogMTU0MzMwOTQ5OCwKICAgICAgICAibWV0YWRh dGEiOiB7CiAgICAgICAgfSwKICAgICAgICAicGxhbiI6IHsKICAgICAgICAg ICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIw MTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAg ICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJhZ2dyZWdhdGVf dXNhZ2UiOiBudWxsLAogICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAg ICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAg ImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5Ijog InVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg ICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6 IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwK ICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOp dHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBk J2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGws CiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0JUeWxneE9RVnowRVk1IiwK ICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAg ICAgICAidGllcnMiOiBudWxsLAogICAgICAgICAgInRpZXJzX21vZGUiOiBu dWxsLAogICAgICAgICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAg ICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgICAgICAgInVz YWdlX3R5cGUiOiAibGljZW5zZWQiCiAgICAgICAgfSwKICAgICAgICAicXVh bnRpdHkiOiAxLAogICAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0UzOG1L SmhiajA1RlZ5IgogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFs c2UsCiAgICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvc3Vi c2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfRTM4bUtKaGJqMDVG VnkiCiAgfSwKICAibGl2ZW1vZGUiOiBmYWxzZSwKICAibWV0YWRhdGEiOiB7 CiAgfSwKICAicGxhbiI6IHsKICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJl ZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICJvYmpl Y3QiOiAicGxhbiIsCiAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICJhZ2dyZWdh dGVfdXNhZ2UiOiBudWxsLAogICAgImFtb3VudCI6IDIwMDAsCiAgICAiYmls bGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgImNyZWF0ZWQiOiAxNDU5 NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAiaW50ZXJ2YWwi OiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwKICAgICJsaXZl bW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjogewogICAgfSwKICAgICJu YW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBk ZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1v bnRoIiwKICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAicHJvZHVjdCI6ICJw cm9kX0JUeWxneE9RVnowRVk1IiwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRv ciI6IG51bGwsCiAgICAidGllcnMiOiBudWxsLAogICAgInRpZXJzX21vZGUi OiBudWxsLAogICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAidHJp YWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgInVzYWdlX3R5cGUiOiAibGlj ZW5zZWQiCiAgfSwKICAicXVhbnRpdHkiOiAxLAogICJzdGFydCI6IDE1NDMz MDk0OTcsCiAgInN0YXR1cyI6ICJhY3RpdmUiLAogICJ0YXhfcGVyY2VudCI6 IG51bGwsCiAgInRyaWFsX2VuZCI6IG51bGwsCiAgInRyaWFsX3N0YXJ0Ijog bnVsbAp9Cg== http_version: recorded_at: Tue, 27 Nov 2018 09:04:58 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-39-generic (buildd@lgw01-amd64-054) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018","hostname":"Sleede-SylvainPC"}' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 27 Nov 2018 09:04:59 GMT Content-Type: - application/json Content-Length: - '3858' 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_b5n1CN999JRPhD Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg ICJpZCI6ICJpbl8xRGIyVjMyc09tZjQ3Tno5NUwxaHNVc2kiLAogICAgICAi b2JqZWN0IjogImludm9pY2UiLAogICAgICAiYW1vdW50X2R1ZSI6IDEwMDAs CiAgICAgICJhbW91bnRfcGFpZCI6IDEwMDAsCiAgICAgICJhbW91bnRfcmVt YWluaW5nIjogMCwKICAgICAgImFwcGxpY2F0aW9uX2ZlZSI6IG51bGwsCiAg ICAgICJhdHRlbXB0X2NvdW50IjogMSwKICAgICAgImF0dGVtcHRlZCI6IHRy dWUsCiAgICAgICJhdXRvX2FkdmFuY2UiOiBmYWxzZSwKICAgICAgImJpbGxp bmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgICAiYmlsbGluZ19y ZWFzb24iOiAic3Vic2NyaXB0aW9uX3VwZGF0ZSIsCiAgICAgICJjaGFyZ2Ui OiAiY2hfMURiMlYzMnNPbWY0N056OUZxTUVaUTY5IiwKICAgICAgImNsb3Nl ZCI6IHRydWUsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3Vz dG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAx NTQzMzA5NDk3LAogICAgICAiZGVmYXVsdF9zb3VyY2UiOiBudWxsLAogICAg ICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAgICAiZGlzY291bnQiOiBudWxs LAogICAgICAiZHVlX2RhdGUiOiBudWxsLAogICAgICAiZW5kaW5nX2JhbGFu Y2UiOiAwLAogICAgICAiZmluYWxpemVkX2F0IjogMTU0MzMwOTQ5NywKICAg ICAgImZvcmdpdmVuIjogZmFsc2UsCiAgICAgICJob3N0ZWRfaW52b2ljZV91 cmwiOiAiaHR0cHM6Ly9wYXkuc3RyaXBlLmNvbS9pbnZvaWNlL2ludnN0XzVK bkNKZVVtOUwzRVNqNlNuZGczS0FxWWZvIiwKICAgICAgImludm9pY2VfcGRm IjogImh0dHBzOi8vcGF5LnN0cmlwZS5jb20vaW52b2ljZS9pbnZzdF81Sm5D SmVVbTlMM0VTajZTbmRnM0tBcVlmby9wZGYiLAogICAgICAibGluZXMiOiB7 CiAgICAgICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICAgICAiZGF0YSI6IFsK ICAgICAgICAgIHsKICAgICAgICAgICAgImlkIjogImlpXzFEYjJWMjJzT21m NDdOejlXZ3E3Qk91WiIsCiAgICAgICAgICAgICJvYmplY3QiOiAibGluZV9p dGVtIiwKICAgICAgICAgICAgImFtb3VudCI6IC0xMDAwLAogICAgICAgICAg ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImRlc2NyaXB0aW9u IjogIndhbGxldCAtMTAuMCIsCiAgICAgICAgICAgICJkaXNjb3VudGFibGUi OiBmYWxzZSwKICAgICAgICAgICAgImludm9pY2VfaXRlbSI6ICJpaV8xRGIy VjIyc09tZjQ3Tno5V2dxN0JPdVoiLAogICAgICAgICAgICAibGl2ZW1vZGUi OiBmYWxzZSwKICAgICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAg ICB9LAogICAgICAgICAgICAicGVyaW9kIjogewogICAgICAgICAgICAgICJl bmQiOiAxNTQzMzA5NDk2LAogICAgICAgICAgICAgICJzdGFydCI6IDE1NDMz MDk0OTYKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInBsYW4iOiBudWxs LAogICAgICAgICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICAgICAg ICJxdWFudGl0eSI6IDEsCiAgICAgICAgICAgICJzdWJzY3JpcHRpb24iOiBu dWxsLAogICAgICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIKICAgICAg ICAgIH0sCiAgICAgICAgICB7CiAgICAgICAgICAgICJpZCI6ICJzdWJfRTM4 bUtKaGJqMDVGVnkiLAogICAgICAgICAgICAib2JqZWN0IjogImxpbmVfaXRl bSIsCiAgICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAi Y3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgImRlc2NyaXB0aW9uIjog bnVsbCwKICAgICAgICAgICAgImRpc2NvdW50YWJsZSI6IHRydWUsCiAgICAg ICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAibWV0YWRh dGEiOiB7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJwZXJpb2QiOiB7 CiAgICAgICAgICAgICAgImVuZCI6IDE1NDU5MDE0OTcsCiAgICAgICAgICAg ICAgInN0YXJ0IjogMTU0MzMwOTQ5NwogICAgICAgICAgICB9LAogICAgICAg ICAgICAicGxhbiI6IHsKICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10 YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAi YWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdl IjogbnVsbCwKICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAg ICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAg ICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICAgICAi Y3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAi bW9udGgiLAogICAgICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAg ICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICAg Im1ldGFkYXRhIjogewogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAg Im5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAt IGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0g bW9udGgiLAogICAgICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAg ICAgICAgICAgInByb2R1Y3QiOiAicHJvZF9CVHlsZ3hPUVZ6MEVZNSIsCiAg ICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg ICAgICAgICAgICAidGllcnMiOiBudWxsLAogICAgICAgICAgICAgICJ0aWVy c19tb2RlIjogbnVsbCwKICAgICAgICAgICAgICAidHJhbnNmb3JtX3VzYWdl IjogbnVsbCwKICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBu dWxsLAogICAgICAgICAgICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgog ICAgICAgICAgICB9LAogICAgICAgICAgICAicHJvcmF0aW9uIjogZmFsc2Us CiAgICAgICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgICAgICJzdWJz Y3JpcHRpb24iOiBudWxsLAogICAgICAgICAgICAic3Vic2NyaXB0aW9uX2l0 ZW0iOiAic2lfRTM4bTVQNVdTeVZoY0QiLAogICAgICAgICAgICAidHlwZSI6 ICJzdWJzY3JpcHRpb24iCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAg ICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICAgICAidG90YWxfY291bnQiOiAy LAogICAgICAgICJ1cmwiOiAiL3YxL2ludm9pY2VzL2luXzFEYjJWMzJzT21m NDdOejk1TDFoc1VzaS9saW5lcyIKICAgICAgfSwKICAgICAgImxpdmVtb2Rl IjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgfSwKICAgICAg Im5leHRfcGF5bWVudF9hdHRlbXB0IjogbnVsbCwKICAgICAgIm51bWJlciI6 ICJGRUFEMjBCLTAwMjEiLAogICAgICAicGFpZCI6IHRydWUsCiAgICAgICJw YXltZW50X2ludGVudCI6IG51bGwsCiAgICAgICJwZXJpb2RfZW5kIjogMTU0 MzMwOTQ5NywKICAgICAgInBlcmlvZF9zdGFydCI6IDE1NDMzMDk0OTcsCiAg ICAgICJyZWNlaXB0X251bWJlciI6IG51bGwsCiAgICAgICJzdGFydGluZ19i YWxhbmNlIjogMCwKICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVs bCwKICAgICAgInN0YXR1cyI6ICJwYWlkIiwKICAgICAgInN1YnNjcmlwdGlv biI6ICJzdWJfRTM4bUtKaGJqMDVGVnkiLAogICAgICAic3VidG90YWwiOiAx MDAwLAogICAgICAidGF4IjogMCwKICAgICAgInRheF9wZXJjZW50IjogbnVs bCwKICAgICAgInRvdGFsIjogMTAwMCwKICAgICAgIndlYmhvb2tzX2RlbGl2 ZXJlZF9hdCI6IDE1NDMzMDk0OTgKICAgIH0KICBdLAogICJoYXNfbW9yZSI6 IHRydWUsCiAgInVybCI6ICIvdjEvaW52b2ljZXMiCn0K http_version: recorded_at: Tue, 27 Nov 2018 09:04:59 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-39-generic (buildd@lgw01-amd64-054) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018","hostname":"Sleede-SylvainPC"}' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 27 Nov 2018 09:05:00 GMT Content-Type: - application/json Content-Length: - '4589' 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_frcB9jJ5ULQJmw Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs dF9zb3VyY2UiOiAiY2FyZF8xRGIyVjAyc09tZjQ3Tno5amJMWHJZbHQiLAog ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAiaW52b2ljZV9wcmVmaXgi OiAiRkVBRDIwQiIsCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFkYXRh IjogewogIH0sCiAgInNoaXBwaW5nIjogbnVsbCwKICAic291cmNlcyI6IHsK ICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAgICAgewog ICAgICAgICJpZCI6ICJjYXJkXzFEYjJWMDJzT21mNDdOejlqYkxYcllsdCIs CiAgICAgICAgIm9iamVjdCI6ICJjYXJkIiwKICAgICAgICAiYWRkcmVzc19j aXR5IjogbnVsbCwKICAgICAgICAiYWRkcmVzc19jb3VudHJ5IjogbnVsbCwK ICAgICAgICAiYWRkcmVzc19saW5lMSI6IG51bGwsCiAgICAgICAgImFkZHJl c3NfbGluZTFfY2hlY2siOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUy IjogbnVsbCwKICAgICAgICAiYWRkcmVzc19zdGF0ZSI6IG51bGwsCiAgICAg ICAgImFkZHJlc3NfemlwIjogbnVsbCwKICAgICAgICAiYWRkcmVzc196aXBf Y2hlY2siOiBudWxsLAogICAgICAgICJicmFuZCI6ICJWaXNhIiwKICAgICAg ICAiY291bnRyeSI6ICJVUyIsCiAgICAgICAgImN1c3RvbWVyIjogImN1c184 Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImN2Y19jaGVjayI6ICJwYXNzIiwK ICAgICAgICAiZHluYW1pY19sYXN0NCI6IG51bGwsCiAgICAgICAgImV4cF9t b250aCI6IDQsCiAgICAgICAgImV4cF95ZWFyIjogMjAxOSwKICAgICAgICAi ZmluZ2VycHJpbnQiOiAibzUyanliUjdibm1ObjZBVCIsCiAgICAgICAgImZ1 bmRpbmciOiAiY3JlZGl0IiwKICAgICAgICAibGFzdDQiOiAiNDI0MiIsCiAg ICAgICAgIm1ldGFkYXRhIjogewogICAgICAgIH0sCiAgICAgICAgIm5hbWUi OiBudWxsLAogICAgICAgICJ0b2tlbml6YXRpb25fbWV0aG9kIjogbnVsbAog ICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90 YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJzL2N1c184 Q3pOdE0wOE5WbFNHTi9zb3VyY2VzIgogIH0sCiAgInN1YnNjcmlwdGlvbnMi OiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAg IHsKICAgICAgICAiaWQiOiAic3ViX0UzOG1LSmhiajA1RlZ5IiwKICAgICAg ICAib2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0 aW9uX2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJj aGFyZ2VfYXV0b21hdGljYWxseSIsCiAgICAgICAgImJpbGxpbmdfY3ljbGVf YW5jaG9yIjogMTU0MzMwOTQ5NywKICAgICAgICAiY2FuY2VsX2F0X3Blcmlv ZF9lbmQiOiBmYWxzZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiBudWxsLAog ICAgICAgICJjcmVhdGVkIjogMTU0MzMwOTQ5NywKICAgICAgICAiY3VycmVu dF9wZXJpb2RfZW5kIjogMTU0NTkwMTQ5NywKICAgICAgICAiY3VycmVudF9w ZXJpb2Rfc3RhcnQiOiAxNTQzMzA5NDk3LAogICAgICAgICJjdXN0b21lciI6 ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkYXlzX3VudGlsX2R1 ZSI6IG51bGwsCiAgICAgICAgImRlZmF1bHRfc291cmNlIjogbnVsbCwKICAg ICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51 bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9iamVjdCI6ICJs aXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAgICB7CiAgICAg ICAgICAgICAgImlkIjogInNpX0UzOG01UDVXU3lWaGNEIiwKICAgICAgICAg ICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAg ICAgICAiY3JlYXRlZCI6IDE1NDMzMDk0OTgsCiAgICAgICAgICAgICAgIm1l dGFkYXRhIjogewogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgInBs YW4iOiB7CiAgICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1y ZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAg ICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgICAgICAgImFj dGl2ZSI6IHRydWUsCiAgICAgICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdl IjogbnVsbCwKICAgICAgICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAg ICAgICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAg ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHsKICAgICAgICAgICAgICAg IH0sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLD qWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBk ZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAgICAi bmlja25hbWUiOiBudWxsLAogICAgICAgICAgICAgICAgInByb2R1Y3QiOiAi cHJvZF9CVHlsZ3hPUVZ6MEVZNSIsCiAgICAgICAgICAgICAgICAic3RhdGVt ZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICAgInRpZXJz IjogbnVsbCwKICAgICAgICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwK ICAgICAgICAgICAgICAgICJ0cmFuc2Zvcm1fdXNhZ2UiOiBudWxsLAogICAg ICAgICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAgICAg ICAgICAgICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogICAgICAgICAg ICAgIH0sCiAgICAgICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAg ICAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9FMzhtS0poYmowNUZWeSIKICAg ICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAgICJoYXNfbW9yZSI6 IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50IjogMSwKICAgICAgICAg ICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249 c3ViX0UzOG1LSmhiajA1RlZ5IgogICAgICAgIH0sCiAgICAgICAgImxpdmVt b2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgIH0s CiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10 YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg ICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFjdGl2ZSI6 IHRydWUsCiAgICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAg ICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgImJpbGxpbmdfc2No ZW1lIjogInBlcl91bml0IiwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4 MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAg ImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3Vu dCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAg ICJtZXRhZGF0YSI6IHsKICAgICAgICAgIH0sCiAgICAgICAgICAibmFtZSI6 ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUg YW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIs CiAgICAgICAgICAibmlja25hbWUiOiBudWxsLAogICAgICAgICAgInByb2R1 Y3QiOiAicHJvZF9CVHlsZ3hPUVZ6MEVZNSIsCiAgICAgICAgICAic3RhdGVt ZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRpZXJzIjogbnVs bCwKICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICJ0 cmFuc2Zvcm1fdXNhZ2UiOiBudWxsLAogICAgICAgICAgInRyaWFsX3Blcmlv ZF9kYXlzIjogbnVsbCwKICAgICAgICAgICJ1c2FnZV90eXBlIjogImxpY2Vu c2VkIgogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAg ICAic3RhcnQiOiAxNTQzMzA5NDk3LAogICAgICAgICJzdGF0dXMiOiAiYWN0 aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0 cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwK ICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRv dGFsX2NvdW50IjogMSwKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNf OEN6TnRNMDhOVmxTR04vc3Vic2NyaXB0aW9ucyIKICB9LAogICJ0YXhfaW5m byI6IG51bGwsCiAgInRheF9pbmZvX3ZlcmlmaWNhdGlvbiI6IG51bGwKfQo= http_version: recorded_at: Tue, 27 Nov 2018 09:05:00 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_E38mKJhbj05FVy 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-39-generic (buildd@lgw01-amd64-054) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018","hostname":"Sleede-SylvainPC"}' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 27 Nov 2018 09:05:01 GMT Content-Type: - application/json Content-Length: - '2527' 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_MSpRyKVagJ8DFo Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJzdWJfRTM4bUtKaGJqMDVGVnkiLAogICJvYmplY3QiOiAi c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi YmlsbGluZ19jeWNsZV9hbmNob3IiOiAxNTQzMzA5NDk3LAogICJjYW5jZWxf YXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5jZWxlZF9hdCI6IG51bGws CiAgImNyZWF0ZWQiOiAxNTQzMzA5NDk3LAogICJjdXJyZW50X3BlcmlvZF9l bmQiOiAxNTQ1OTAxNDk3LAogICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE1 NDMzMDk0OTcsCiAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIs CiAgImRheXNfdW50aWxfZHVlIjogbnVsbCwKICAiZGVmYXVsdF9zb3VyY2Ui OiBudWxsLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGVkX2F0IjogbnVs bCwKICAiaXRlbXMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRh dGEiOiBbCiAgICAgIHsKICAgICAgICAiaWQiOiAic2lfRTM4bTVQNVdTeVZo Y0QiLAogICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAog ICAgICAgICJjcmVhdGVkIjogMTU0MzMwOTQ5OCwKICAgICAgICAibWV0YWRh dGEiOiB7CiAgICAgICAgfSwKICAgICAgICAicGxhbiI6IHsKICAgICAgICAg ICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIw MTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAg ICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICJhZ2dyZWdhdGVf dXNhZ2UiOiBudWxsLAogICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAg ICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAg ImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5Ijog InVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg ICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6 IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjogewogICAgICAgICAgfSwK ICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOp dHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBk J2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJuaWNrbmFtZSI6IG51bGws CiAgICAgICAgICAicHJvZHVjdCI6ICJwcm9kX0JUeWxneE9RVnowRVk1IiwK ICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAg ICAgICAidGllcnMiOiBudWxsLAogICAgICAgICAgInRpZXJzX21vZGUiOiBu dWxsLAogICAgICAgICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAg ICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgICAgICAgInVz YWdlX3R5cGUiOiAibGljZW5zZWQiCiAgICAgICAgfSwKICAgICAgICAicXVh bnRpdHkiOiAxLAogICAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0UzOG1L SmhiajA1RlZ5IgogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFs c2UsCiAgICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvc3Vi c2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfRTM4bUtKaGJqMDVG VnkiCiAgfSwKICAibGl2ZW1vZGUiOiBmYWxzZSwKICAibWV0YWRhdGEiOiB7 CiAgfSwKICAicGxhbiI6IHsKICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJl ZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICJvYmpl Y3QiOiAicGxhbiIsCiAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICJhZ2dyZWdh dGVfdXNhZ2UiOiBudWxsLAogICAgImFtb3VudCI6IDIwMDAsCiAgICAiYmls bGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgImNyZWF0ZWQiOiAxNDU5 NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAiaW50ZXJ2YWwi OiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwKICAgICJsaXZl bW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjogewogICAgfSwKICAgICJu YW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBk ZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1v bnRoIiwKICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAicHJvZHVjdCI6ICJw cm9kX0JUeWxneE9RVnowRVk1IiwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRv ciI6IG51bGwsCiAgICAidGllcnMiOiBudWxsLAogICAgInRpZXJzX21vZGUi OiBudWxsLAogICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAidHJp YWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgInVzYWdlX3R5cGUiOiAibGlj ZW5zZWQiCiAgfSwKICAicXVhbnRpdHkiOiAxLAogICJzdGFydCI6IDE1NDMz MDk0OTcsCiAgInN0YXR1cyI6ICJhY3RpdmUiLAogICJ0YXhfcGVyY2VudCI6 IG51bGwsCiAgInRyaWFsX2VuZCI6IG51bGwsCiAgInRyaWFsX3N0YXJ0Ijog bnVsbAp9Cg== http_version: recorded_at: Tue, 27 Nov 2018 09:05:01 GMT - request: method: delete uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_E38mKJhbj05FVy?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-39-generic (buildd@lgw01-amd64-054) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018","hostname":"Sleede-SylvainPC"}' response: status: code: 200 message: OK headers: Server: - nginx Date: - Tue, 27 Nov 2018 09:05:02 GMT Content-Type: - application/json Content-Length: - '2532' 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_Q93KAIQxkn10NQ Stripe-Version: - '2015-10-16' Strict-Transport-Security: - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJzdWJfRTM4bUtKaGJqMDVGVnkiLAogICJvYmplY3QiOiAi c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi YmlsbGluZ19jeWNsZV9hbmNob3IiOiAxNTQzMzA5NDk3LAogICJjYW5jZWxf YXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgImNhbmNlbGVkX2F0IjogMTU0MzMw OTUwMiwKICAiY3JlYXRlZCI6IDE1NDMzMDk0OTcsCiAgImN1cnJlbnRfcGVy aW9kX2VuZCI6IDE1NDU5MDE0OTcsCiAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0 IjogMTU0MzMwOTQ5NywKICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs U0dOIiwKICAiZGF5c191bnRpbF9kdWUiOiBudWxsLAogICJkZWZhdWx0X3Nv dXJjZSI6IG51bGwsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRfYXQi OiBudWxsLAogICJpdGVtcyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAg ICAiZGF0YSI6IFsKICAgICAgewogICAgICAgICJpZCI6ICJzaV9FMzhtNVA1 V1N5VmhjRCIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb25faXRl bSIsCiAgICAgICAgImNyZWF0ZWQiOiAxNTQzMzA5NDk4LAogICAgICAgICJt ZXRhZGF0YSI6IHsKICAgICAgICB9LAogICAgICAgICJwbGFuIjogewogICAg ICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9u dGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJwbGFu IiwKICAgICAgICAgICJhY3RpdmUiOiB0cnVlLAogICAgICAgICAgImFnZ3Jl Z2F0ZV91c2FnZSI6IG51bGwsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwK ICAgICAgICAgICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAg ICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVu Y3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAg ICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVt b2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7CiAgICAgICAg ICB9LAogICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0 IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5k ZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAgIm5pY2tuYW1lIjog bnVsbCwKICAgICAgICAgICJwcm9kdWN0IjogInByb2RfQlR5bGd4T1FWejBF WTUiLAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwK ICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAidGllcnNfbW9k ZSI6IG51bGwsCiAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwK ICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAg ICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICB9LAogICAgICAg ICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN1YnNjcmlwdGlvbiI6ICJzdWJf RTM4bUtKaGJqMDVGVnkiCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92 MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9FMzhtS0po YmowNUZWeSIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0 YSI6IHsKICB9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFy aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg Im9iamVjdCI6ICJwbGFuIiwKICAgICJhY3RpdmUiOiB0cnVlLAogICAgImFn Z3JlZ2F0ZV91c2FnZSI6IG51bGwsCiAgICAiYW1vdW50IjogMjAwMCwKICAg ICJiaWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAiY3JlYXRlZCI6 IDE0NTk3ODMxMDgsCiAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICJpbnRl cnZhbCI6ICJtb250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAg ImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7CiAgICB9LAog ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50 LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p IC0gbW9udGgiLAogICAgIm5pY2tuYW1lIjogbnVsbCwKICAgICJwcm9kdWN0 IjogInByb2RfQlR5bGd4T1FWejBFWTUiLAogICAgInN0YXRlbWVudF9kZXNj cmlwdG9yIjogbnVsbCwKICAgICJ0aWVycyI6IG51bGwsCiAgICAidGllcnNf bW9kZSI6IG51bGwsCiAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAg ICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAidXNhZ2VfdHlwZSI6 ICJsaWNlbnNlZCIKICB9LAogICJxdWFudGl0eSI6IDEsCiAgInN0YXJ0Ijog MTU0MzMwOTQ5NywKICAic3RhdHVzIjogImFjdGl2ZSIsCiAgInRheF9wZXJj ZW50IjogbnVsbCwKICAidHJpYWxfZW5kIjogbnVsbCwKICAidHJpYWxfc3Rh cnQiOiBudWxsCn0K http_version: recorded_at: Tue, 27 Nov 2018 09:05:02 GMT recorded_with: VCR 3.0.1