1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-11 00:52:29 +01:00
fab-manager/test/vcr_cassettes/subscriptions_user_create_success_with_wallet.yml

1075 lines
51 KiB
YAML
Raw Normal View History

---
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-29-generic (buildd@lcy01-amd64-024) (gcc version 5.4.0 20160609
(Ubuntu 5.4.0-6ubuntu1~16.04.10)) #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04
UTC 2018","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Tue, 24 Jul 2018 12:34:34 GMT
Content-Type:
- application/json
Content-Length:
- '780'
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_RqFdEcey5JCRiL
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
"id": "tok_1CrPio2sOmf47Nz9omC0nr1W",
"object": "token",
"card": {
"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",
"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": 1532435674,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Tue, 24 Jul 2018 12:34:34 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-29-generic (buildd@lcy01-amd64-024) (gcc version 5.4.0 20160609
(Ubuntu 5.4.0-6ubuntu1~16.04.10)) #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04
UTC 2018","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Tue, 24 Jul 2018 12:34:35 GMT
Content-Type:
- application/json
Content-Length:
- '4445'
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_dKDul7Ju5Vh0Zt
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xQ3JQZ3oyc09tZjQ3Tno5U0tBeWxWVjkiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAiaW52b2ljZV9wcmVmaXgi
OiAiRkVBRDIwQiIsCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFkYXRh
Ijoge30sCiAgInNoaXBwaW5nIjogbnVsbCwKICAic291cmNlcyI6IHsKICAg
ICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAgICAgewogICAg
ICAgICJpZCI6ICJjYXJkXzFDclBnejJzT21mNDdOejlTS0F5bFZWOSIsCiAg
ICAgICAgIm9iamVjdCI6ICJjYXJkIiwKICAgICAgICAiYWRkcmVzc19jaXR5
IjogbnVsbCwKICAgICAgICAiYWRkcmVzc19jb3VudHJ5IjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMSI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nf
bGluZTFfY2hlY2siOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUyIjog
bnVsbCwKICAgICAgICAiYWRkcmVzc19zdGF0ZSI6IG51bGwsCiAgICAgICAg
ImFkZHJlc3NfemlwIjogbnVsbCwKICAgICAgICAiYWRkcmVzc196aXBfY2hl
Y2siOiBudWxsLAogICAgICAgICJicmFuZCI6ICJWaXNhIiwKICAgICAgICAi
Y291bnRyeSI6ICJVUyIsCiAgICAgICAgImN1c3RvbWVyIjogImN1c184Q3pO
dE0wOE5WbFNHTiIsCiAgICAgICAgImN2Y19jaGVjayI6ICJwYXNzIiwKICAg
ICAgICAiZHluYW1pY19sYXN0NCI6IG51bGwsCiAgICAgICAgImV4cF9tb250
aCI6IDQsCiAgICAgICAgImV4cF95ZWFyIjogMjAxOSwKICAgICAgICAiZmlu
Z2VycHJpbnQiOiAibzUyanliUjdibm1ObjZBVCIsCiAgICAgICAgImZ1bmRp
bmciOiAiY3JlZGl0IiwKICAgICAgICAibGFzdDQiOiAiNDI0MiIsCiAgICAg
ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgIm5hbWUiOiBudWxsLAogICAg
ICAgICJ0b2tlbml6YXRpb25fbWV0aG9kIjogbnVsbAogICAgICB9CiAgICBd
LAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAx
LAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJzL2N1c184Q3pOdE0wOE5WbFNH
Ti9zb3VyY2VzIgogIH0sCiAgInN1YnNjcmlwdGlvbnMiOiB7CiAgICAib2Jq
ZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAgIHsKICAgICAgICAi
aWQiOiAic3ViX0RIemdJaTN6NnhyYTlJIiwKICAgICAgICAib2JqZWN0Ijog
InN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9wZXJj
ZW50IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJjaGFyZ2VfYXV0b21h
dGljYWxseSIsCiAgICAgICAgImJpbGxpbmdfY3ljbGVfYW5jaG9yIjogMTUz
MjQzNTU2NywKICAgICAgICAiY2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVl
LAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MzI0MzU1NzIsCiAgICAgICAg
ImNyZWF0ZWQiOiAxNTMyNDM1NTY3LAogICAgICAgICJjdXJyZW50X3Blcmlv
ZF9lbmQiOiAxNTM1MTEzOTY3LAogICAgICAgICJjdXJyZW50X3BlcmlvZF9z
dGFydCI6IDE1MzI0MzU1NjcsCiAgICAgICAgImN1c3RvbWVyIjogImN1c184
Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRheXNfdW50aWxfZHVlIjogbnVs
bCwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9h
dCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9iamVj
dCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAgICB7
CiAgICAgICAgICAgICAgImlkIjogInNpX0RIemcwY2d6Nnd0cnF2IiwKICAg
ICAgICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAg
ICAgICAgICAgICAiY3JlYXRlZCI6IDE1MzI0MzU1NjcsCiAgICAgICAgICAg
ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICAgInBsYW4iOiB7CiAg
ICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1
ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgICAi
b2JqZWN0IjogInBsYW4iLAogICAgICAgICAgICAgICAgImFjdGl2ZSI6IHRy
dWUsCiAgICAgICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwK
ICAgICAgICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAg
ICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICAgICAgICAg
ICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICAgICAgICJj
dXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImludGVydmFsIjog
Im1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEs
CiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAg
ICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICAgIm5hbWUi
OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1
IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi
LAogICAgICAgICAgICAgICAgIm5pY2tuYW1lIjogbnVsbCwKICAgICAgICAg
ICAgICAgICJwcm9kdWN0IjogInByb2RfQlR5bGd4T1FWejBFWTUiLAogICAg
ICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg
ICAgICAgICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAgICAgICAi
dGllcnNfbW9kZSI6IG51bGwsCiAgICAgICAgICAgICAgICAidHJhbnNmb3Jt
X3VzYWdlIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2Rf
ZGF5cyI6IG51bGwsCiAgICAgICAgICAgICAgICAidXNhZ2VfdHlwZSI6ICJs
aWNlbnNlZCIKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu
dGl0eSI6IDEsCiAgICAgICAgICAgICAgInN1YnNjcmlwdGlvbiI6ICJzdWJf
REh6Z0lpM3o2eHJhOUkiCiAgICAgICAgICAgIH0KICAgICAgICAgIF0sCiAg
ICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3RhbF9j
b3VudCI6IDEsCiAgICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25f
aXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9ESHpnSWkzejZ4cmE5SSIKICAgICAg
ICB9LAogICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRh
ZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjog
Im1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQx
NzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAg
ICJhY3RpdmUiOiB0cnVlLAogICAgICAgICAgImFnZ3JlZ2F0ZV91c2FnZSI6
IG51bGwsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJi
aWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAiY3JlYXRl
ZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwK
ICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50
ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2Us
CiAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjog
Ik1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBh
bnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwK
ICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAicHJvZHVj
dCI6ICJwcm9kX0JUeWxneE9RVnowRVk1IiwKICAgICAgICAgICJzdGF0ZW1l
bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidGllcnMiOiBudWxs
LAogICAgICAgICAgInRpZXJzX21vZGUiOiBudWxsLAogICAgICAgICAgInRy
YW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k
X2RheXMiOiBudWxsLAogICAgICAgICAgInVzYWdlX3R5cGUiOiAibGljZW5z
ZWQiCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxLAogICAgICAg
ICJzdGFydCI6IDE1MzI0MzU1NjcsCiAgICAgICAgInN0YXR1cyI6ICJhY3Rp
dmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAgICAgInRy
aWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0IjogbnVsbAog
ICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90
YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJzL2N1c184
Q3pOdE0wOE5WbFNHTi9zdWJzY3JpcHRpb25zIgogIH0KfQo=
http_version:
recorded_at: Tue, 24 Jul 2018 12:34:35 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8CzNtM08NVlSGN&amount=-1000&currency=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-29-generic (buildd@lcy01-amd64-024) (gcc version 5.4.0 20160609
(Ubuntu 5.4.0-6ubuntu1~16.04.10)) #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04
UTC 2018","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '78'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Tue, 24 Jul 2018 12:34:36 GMT
Content-Type:
- application/json
Content-Length:
- '452'
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_FWSEIkvf1zAAyf
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: UTF-8
string: |
{
"id": "ii_1CrPiq2sOmf47Nz9GfNmOLxl",
"object": "invoiceitem",
"amount": -1000,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1532435676,
"description": "wallet -10.0",
"discountable": false,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1532435676,
"end": 1532435676
},
"plan": null,
"proration": false,
"quantity": 1,
"subscription": null,
"unit_amount": -1000
}
http_version:
recorded_at: Tue, 24 Jul 2018 12:34:36 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_1CrPio2sOmf47Nz9omC0nr1W
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-29-generic (buildd@lcy01-amd64-024) (gcc version 5.4.0 20160609
(Ubuntu 5.4.0-6ubuntu1~16.04.10)) #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04
UTC 2018","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '90'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Tue, 24 Jul 2018 12:34:38 GMT
Content-Type:
- application/json
Content-Length:
- '2473'
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_CAofCELwSDUQAL
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJzdWJfREh6aUY1bVp5aDBqbXUiLAogICJvYmplY3QiOiAi
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi
YmlsbGluZ19jeWNsZV9hbmNob3IiOiAxNTMyNDM1Njc3LAogICJjYW5jZWxf
YXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5jZWxlZF9hdCI6IG51bGws
CiAgImNyZWF0ZWQiOiAxNTMyNDM1Njc3LAogICJjdXJyZW50X3BlcmlvZF9l
bmQiOiAxNTM1MTE0MDc3LAogICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE1
MzI0MzU2NzcsCiAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIs
CiAgImRheXNfdW50aWxfZHVlIjogbnVsbCwKICAiZGlzY291bnQiOiBudWxs
LAogICJlbmRlZF9hdCI6IG51bGwsCiAgIml0ZW1zIjogewogICAgIm9iamVj
dCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlk
IjogInNpX0RIemlFRDNjTGFTUkZiIiwKICAgICAgICAib2JqZWN0IjogInN1
YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MzI0MzU2
NzgsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7
CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVu
dC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0Ijog
InBsYW4iLAogICAgICAgICAgImFjdGl2ZSI6IHRydWUsCiAgICAgICAgICAi
YWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJhbW91bnQiOiAy
MDAwLAogICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwK
ICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJj
dXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVydmFsIjogIm1vbnRo
IiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAi
bGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAog
ICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0
dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQn
ZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAgIm5pY2tuYW1lIjogbnVsbCwK
ICAgICAgICAgICJwcm9kdWN0IjogInByb2RfQlR5bGd4T1FWejBFWTUiLAog
ICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAg
ICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAidGllcnNfbW9kZSI6IG51
bGwsCiAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICAg
ICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAidXNh
Z2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICB9LAogICAgICAgICJxdWFu
dGl0eSI6IDEsCiAgICAgICAgInN1YnNjcmlwdGlvbiI6ICJzdWJfREh6aUY1
bVp5aDBqbXUiCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUiOiBmYWxz
ZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9zdWJz
Y3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9ESHppRjVtWnloMGpt
dSIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0YSI6IHt9
LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0
LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9iamVjdCI6
ICJwbGFuIiwKICAgICJhY3RpdmUiOiB0cnVlLAogICAgImFnZ3JlZ2F0ZV91
c2FnZSI6IG51bGwsCiAgICAiYW1vdW50IjogMjAwMCwKICAgICJiaWxsaW5n
X3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAiY3JlYXRlZCI6IDE0NTk3ODMx
MDgsCiAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICJpbnRlcnZhbCI6ICJt
b250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgImxpdmVtb2Rl
IjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7fSwKICAgICJuYW1lIjogIk1l
bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs
IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg
ICJuaWNrbmFtZSI6IG51bGwsCiAgICAicHJvZHVjdCI6ICJwcm9kX0JUeWxn
eE9RVnowRVk1IiwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGws
CiAgICAidGllcnMiOiBudWxsLAogICAgInRpZXJzX21vZGUiOiBudWxsLAog
ICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAidHJpYWxfcGVyaW9k
X2RheXMiOiBudWxsLAogICAgInVzYWdlX3R5cGUiOiAibGljZW5zZWQiCiAg
fSwKICAicXVhbnRpdHkiOiAxLAogICJzdGFydCI6IDE1MzI0MzU2NzcsCiAg
InN0YXR1cyI6ICJhY3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg
InRyaWFsX2VuZCI6IG51bGwsCiAgInRyaWFsX3N0YXJ0IjogbnVsbAp9Cg==
http_version:
recorded_at: Tue, 24 Jul 2018 12:34:39 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-29-generic (buildd@lcy01-amd64-024) (gcc version 5.4.0 20160609
(Ubuntu 5.4.0-6ubuntu1~16.04.10)) #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04
UTC 2018","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Tue, 24 Jul 2018 12:34:40 GMT
Content-Type:
- application/json
Content-Length:
- '3695'
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_Ia19t7LBVrxvXL
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg
ICJpZCI6ICJpbl8xQ3JQaXIyc09tZjQ3Tno5aVNVaTMwRW4iLAogICAgICAi
b2JqZWN0IjogImludm9pY2UiLAogICAgICAiYW1vdW50X2R1ZSI6IDEwMDAs
CiAgICAgICJhbW91bnRfcGFpZCI6IDEwMDAsCiAgICAgICJhbW91bnRfcmVt
YWluaW5nIjogMCwKICAgICAgImFwcGxpY2F0aW9uX2ZlZSI6IG51bGwsCiAg
ICAgICJhdHRlbXB0X2NvdW50IjogMSwKICAgICAgImF0dGVtcHRlZCI6IHRy
dWUsCiAgICAgICJhdXRvX2FkdmFuY2UiOiBmYWxzZSwKICAgICAgImJpbGxp
bmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgICAiYmlsbGluZ19y
ZWFzb24iOiAic3Vic2NyaXB0aW9uX3VwZGF0ZSIsCiAgICAgICJjaGFyZ2Ui
OiAiY2hfMUNyUGlyMnNPbWY0N056OUZodmp4WHFEIiwKICAgICAgImNsb3Nl
ZCI6IHRydWUsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3Vz
dG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAx
NTMyNDM1Njc3LAogICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAgICAi
ZGlzY291bnQiOiBudWxsLAogICAgICAiZHVlX2RhdGUiOiBudWxsLAogICAg
ICAiZW5kaW5nX2JhbGFuY2UiOiAwLAogICAgICAiZm9yZ2l2ZW4iOiBmYWxz
ZSwKICAgICAgImhvc3RlZF9pbnZvaWNlX3VybCI6ICJodHRwczovL3BheS5z
dHJpcGUuY29tL2ludm9pY2UvaW52c3RfbEYyTzFGSUpISlJrYlVkODY1Yjhn
U1RMZHciLAogICAgICAiaW52b2ljZV9wZGYiOiAiaHR0cHM6Ly9wYXkuc3Ry
aXBlLmNvbS9pbnZvaWNlL2ludnN0X2xGMk8xRklKSEpSa2JVZDg2NWI4Z1NU
TGR3L3BkZiIsCiAgICAgICJsaW5lcyI6IHsKICAgICAgICAib2JqZWN0Ijog
Imxpc3QiLAogICAgICAgICJkYXRhIjogWwogICAgICAgICAgewogICAgICAg
ICAgICAiaWQiOiAiaWlfMUNyUGlxMnNPbWY0N056OUdmTm1PTHhsIiwKICAg
ICAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgICAi
YW1vdW50IjogLTEwMDAsCiAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi
LAogICAgICAgICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwK
ICAgICAgICAgICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAgICAg
ICAiaW52b2ljZV9pdGVtIjogImlpXzFDclBpcTJzT21mNDdOejlHZk5tT0x4
bCIsCiAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAg
ICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgInBlcmlvZCI6IHsKICAg
ICAgICAgICAgICAiZW5kIjogMTUzMjQzNTY3NiwKICAgICAgICAgICAgICAi
c3RhcnQiOiAxNTMyNDM1Njc2CiAgICAgICAgICAgIH0sCiAgICAgICAgICAg
ICJwbGFuIjogbnVsbCwKICAgICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNl
LAogICAgICAgICAgICAicXVhbnRpdHkiOiAxLAogICAgICAgICAgICAic3Vi
c2NyaXB0aW9uIjogbnVsbCwKICAgICAgICAgICAgInR5cGUiOiAiaW52b2lj
ZWl0ZW0iCiAgICAgICAgICB9LAogICAgICAgICAgewogICAgICAgICAgICAi
aWQiOiAic3ViX0RIemlGNW1aeWgwam11IiwKICAgICAgICAgICAgIm9iamVj
dCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgICAiYW1vdW50IjogMjAwMCwK
ICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJk
ZXNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgICAgICJkaXNjb3VudGFibGUi
OiB0cnVlLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAg
ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICJwZXJpb2QiOiB7
CiAgICAgICAgICAgICAgImVuZCI6IDE1MzUxMTQwNzcsCiAgICAgICAgICAg
ICAgInN0YXJ0IjogMTUzMjQzNTY3NwogICAgICAgICAgICB9LAogICAgICAg
ICAgICAicGxhbiI6IHsKICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10
YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg
ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAi
YWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICAgICAiYWdncmVnYXRlX3VzYWdl
IjogbnVsbCwKICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAg
ICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAg
ICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICAgICAi
Y3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAi
bW9udGgiLAogICAgICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAg
ICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICAg
Im1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICAgIm5hbWUiOiAiTWVuc3Vl
bCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5z
ZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgICAg
ICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAgICAgInByb2R1
Y3QiOiAicHJvZF9CVHlsZ3hPUVZ6MEVZNSIsCiAgICAgICAgICAgICAgInN0
YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICAgICAidGll
cnMiOiBudWxsLAogICAgICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwK
ICAgICAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICAg
ICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsLAogICAgICAgICAg
ICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogICAgICAgICAgICB9LAog
ICAgICAgICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICAgICAgICJx
dWFudGl0eSI6IDEsCiAgICAgICAgICAgICJzdWJzY3JpcHRpb24iOiBudWxs
LAogICAgICAgICAgICAic3Vic2NyaXB0aW9uX2l0ZW0iOiAic2lfREh6aUVE
M2NMYVNSRmIiLAogICAgICAgICAgICAidHlwZSI6ICJzdWJzY3JpcHRpb24i
CiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiaGFzX21vcmUiOiBm
YWxzZSwKICAgICAgICAidG90YWxfY291bnQiOiAyLAogICAgICAgICJ1cmwi
OiAiL3YxL2ludm9pY2VzL2luXzFDclBpcjJzT21mNDdOejlpU1VpMzBFbi9s
aW5lcyIKICAgICAgfSwKICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg
ICJtZXRhZGF0YSI6IHt9LAogICAgICAibmV4dF9wYXltZW50X2F0dGVtcHQi
OiBudWxsLAogICAgICAibnVtYmVyIjogIkZFQUQyMEItMDAxNiIsCiAgICAg
ICJwYWlkIjogdHJ1ZSwKICAgICAgInBlcmlvZF9lbmQiOiAxNTMyNDM1Njc3
LAogICAgICAicGVyaW9kX3N0YXJ0IjogMTUzMjQzNTY3NywKICAgICAgInJl
Y2VpcHRfbnVtYmVyIjogbnVsbCwKICAgICAgInN0YXJ0aW5nX2JhbGFuY2Ui
OiAwLAogICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAg
ICAic3Vic2NyaXB0aW9uIjogInN1Yl9ESHppRjVtWnloMGptdSIsCiAgICAg
ICJzdWJ0b3RhbCI6IDEwMDAsCiAgICAgICJ0YXgiOiBudWxsLAogICAgICAi
dGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAidG90YWwiOiAxMDAwLAogICAg
ICAid2ViaG9va3NfZGVsaXZlcmVkX2F0IjogMTUzMjQzNTY3OAogICAgfQog
IF0sCiAgImhhc19tb3JlIjogdHJ1ZSwKICAidXJsIjogIi92MS9pbnZvaWNl
cyIKfQo=
http_version:
recorded_at: Tue, 24 Jul 2018 12:34:40 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-29-generic (buildd@lcy01-amd64-024) (gcc version 5.4.0 20160609
(Ubuntu 5.4.0-6ubuntu1~16.04.10)) #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04
UTC 2018","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Tue, 24 Jul 2018 12:34:41 GMT
Content-Type:
- application/json
Content-Length:
- '7435'
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_4JEkFcOT6Z75oc
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xQ3JQaW4yc09tZjQ3Tno5S1dNeHV4ZGkiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAiaW52b2ljZV9wcmVmaXgi
OiAiRkVBRDIwQiIsCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFkYXRh
Ijoge30sCiAgInNoaXBwaW5nIjogbnVsbCwKICAic291cmNlcyI6IHsKICAg
ICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAgICAgewogICAg
ICAgICJpZCI6ICJjYXJkXzFDclBpbjJzT21mNDdOejlLV014dXhkaSIsCiAg
ICAgICAgIm9iamVjdCI6ICJjYXJkIiwKICAgICAgICAiYWRkcmVzc19jaXR5
IjogbnVsbCwKICAgICAgICAiYWRkcmVzc19jb3VudHJ5IjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMSI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nf
bGluZTFfY2hlY2siOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUyIjog
bnVsbCwKICAgICAgICAiYWRkcmVzc19zdGF0ZSI6IG51bGwsCiAgICAgICAg
ImFkZHJlc3NfemlwIjogbnVsbCwKICAgICAgICAiYWRkcmVzc196aXBfY2hl
Y2siOiBudWxsLAogICAgICAgICJicmFuZCI6ICJWaXNhIiwKICAgICAgICAi
Y291bnRyeSI6ICJVUyIsCiAgICAgICAgImN1c3RvbWVyIjogImN1c184Q3pO
dE0wOE5WbFNHTiIsCiAgICAgICAgImN2Y19jaGVjayI6ICJwYXNzIiwKICAg
ICAgICAiZHluYW1pY19sYXN0NCI6IG51bGwsCiAgICAgICAgImV4cF9tb250
aCI6IDQsCiAgICAgICAgImV4cF95ZWFyIjogMjAxOSwKICAgICAgICAiZmlu
Z2VycHJpbnQiOiAibzUyanliUjdibm1ObjZBVCIsCiAgICAgICAgImZ1bmRp
bmciOiAiY3JlZGl0IiwKICAgICAgICAibGFzdDQiOiAiNDI0MiIsCiAgICAg
ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgIm5hbWUiOiBudWxsLAogICAg
ICAgICJ0b2tlbml6YXRpb25fbWV0aG9kIjogbnVsbAogICAgICB9CiAgICBd
LAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAx
LAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJzL2N1c184Q3pOdE0wOE5WbFNH
Ti9zb3VyY2VzIgogIH0sCiAgInN1YnNjcmlwdGlvbnMiOiB7CiAgICAib2Jq
ZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAgIHsKICAgICAgICAi
aWQiOiAic3ViX0RIemlGNW1aeWgwam11IiwKICAgICAgICAib2JqZWN0Ijog
InN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9wZXJj
ZW50IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJjaGFyZ2VfYXV0b21h
dGljYWxseSIsCiAgICAgICAgImJpbGxpbmdfY3ljbGVfYW5jaG9yIjogMTUz
MjQzNTY3NywKICAgICAgICAiY2FuY2VsX2F0X3BlcmlvZF9lbmQiOiBmYWxz
ZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiBudWxsLAogICAgICAgICJjcmVh
dGVkIjogMTUzMjQzNTY3NywKICAgICAgICAiY3VycmVudF9wZXJpb2RfZW5k
IjogMTUzNTExNDA3NywKICAgICAgICAiY3VycmVudF9wZXJpb2Rfc3RhcnQi
OiAxNTMyNDM1Njc3LAogICAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6TnRN
MDhOVmxTR04iLAogICAgICAgICJkYXlzX3VudGlsX2R1ZSI6IG51bGwsCiAg
ICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBu
dWxsLAogICAgICAgICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAi
bGlzdCIsCiAgICAgICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAg
ICAgICAgICAgICJpZCI6ICJzaV9ESHppRUQzY0xhU1JGYiIsCiAgICAgICAg
ICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAgICAgICAg
ICAgICAgImNyZWF0ZWQiOiAxNTMyNDM1Njc4LAogICAgICAgICAgICAgICJt
ZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICJwbGFuIjogewogICAgICAg
ICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQt
bW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgICAgICAgIm9iamVj
dCI6ICJwbGFuIiwKICAgICAgICAgICAgICAgICJhY3RpdmUiOiB0cnVlLAog
ICAgICAgICAgICAgICAgImFnZ3JlZ2F0ZV91c2FnZSI6IG51bGwsCiAgICAg
ICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICAgICAgICJi
aWxsaW5nX3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAgICAgICAgICAgICAi
Y3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgICAiY3VycmVu
Y3kiOiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250
aCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAg
ICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICAg
ICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJuYW1lIjogIk1l
bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs
IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg
ICAgICAgICAgICAgICJuaWNrbmFtZSI6IG51bGwsCiAgICAgICAgICAgICAg
ICAicHJvZHVjdCI6ICJwcm9kX0JUeWxneE9RVnowRVk1IiwKICAgICAgICAg
ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg
ICAgICAgICAidGllcnMiOiBudWxsLAogICAgICAgICAgICAgICAgInRpZXJz
X21vZGUiOiBudWxsLAogICAgICAgICAgICAgICAgInRyYW5zZm9ybV91c2Fn
ZSI6IG51bGwsCiAgICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMi
OiBudWxsLAogICAgICAgICAgICAgICAgInVzYWdlX3R5cGUiOiAibGljZW5z
ZWQiCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHki
OiAxLAogICAgICAgICAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViX0RIemlG
NW1aeWgwam11IgogICAgICAgICAgICB9CiAgICAgICAgICBdLAogICAgICAg
ICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAgICAgICAidG90YWxfY291bnQi
OiAxLAogICAgICAgICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1z
P3N1YnNjcmlwdGlvbj1zdWJfREh6aUY1bVp5aDBqbXUiCiAgICAgICAgfSwK
ICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAibWV0YWRhdGEi
OiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICJpZCI6ICJtZW5z
dWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3
IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYWN0
aXZlIjogdHJ1ZSwKICAgICAgICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxs
LAogICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiYmlsbGlu
Z19zY2hlbWUiOiAicGVyX3VuaXQiLAogICAgICAgICAgImNyZWF0ZWQiOiAx
NDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAg
ICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFs
X2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAg
ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFtZSI6ICJNZW5z
dWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBl
bnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAg
ICAgICAibmlja25hbWUiOiBudWxsLAogICAgICAgICAgInByb2R1Y3QiOiAi
cHJvZF9CVHlsZ3hPUVZ6MEVZNSIsCiAgICAgICAgICAic3RhdGVtZW50X2Rl
c2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRpZXJzIjogbnVsbCwKICAg
ICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAgICAgICJ0cmFuc2Zv
cm1fdXNhZ2UiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlz
IjogbnVsbCwKICAgICAgICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgog
ICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3Rh
cnQiOiAxNTMyNDM1Njc3LAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwK
ICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9l
bmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAg
fSwKICAgICAgewogICAgICAgICJpZCI6ICJzdWJfREh6Z0lpM3o2eHJhOUki
LAogICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAi
YXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxs
aW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiYmlsbGlu
Z19jeWNsZV9hbmNob3IiOiAxNTMyNDM1NTY3LAogICAgICAgICJjYW5jZWxf
YXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0Ijog
MTUzMjQzNTU3MiwKICAgICAgICAiY3JlYXRlZCI6IDE1MzI0MzU1NjcsCiAg
ICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1MzUxMTM5NjcsCiAgICAg
ICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUzMjQzNTU2NywKICAgICAg
ICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAi
ZGF5c191bnRpbF9kdWUiOiBudWxsLAogICAgICAgICJkaXNjb3VudCI6IG51
bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRlbXMi
OiB7CiAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAgImRh
dGEiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAic2lf
REh6ZzBjZ3o2d3RycXYiLAogICAgICAgICAgICAgICJvYmplY3QiOiAic3Vi
c2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAgICAgICJjcmVhdGVkIjogMTUz
MjQzNTU2NywKICAgICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAg
ICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICAgICAgICJpZCI6ICJtZW5z
dWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3
IiwKICAgICAgICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAg
ICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAgICAgICAgICAgICJhZ2dy
ZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgICAgICAgImFtb3VudCI6
IDIwMDAsCiAgICAgICAgICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVy
X3VuaXQiLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4
LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAg
ICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAgICAg
ImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAgICJsaXZlbW9k
ZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAg
ICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQg
LSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRl
dXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAgICAibmlja25h
bWUiOiBudWxsLAogICAgICAgICAgICAgICAgInByb2R1Y3QiOiAicHJvZF9C
VHlsZ3hPUVZ6MEVZNSIsCiAgICAgICAgICAgICAgICAic3RhdGVtZW50X2Rl
c2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICAgInRpZXJzIjogbnVs
bCwKICAgICAgICAgICAgICAgICJ0aWVyc19tb2RlIjogbnVsbCwKICAgICAg
ICAgICAgICAgICJ0cmFuc2Zvcm1fdXNhZ2UiOiBudWxsLAogICAgICAgICAg
ICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAgICAgICAgICAg
ICAgICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogICAgICAgICAgICAgIH0s
CiAgICAgICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAgICAgICAi
c3Vic2NyaXB0aW9uIjogInN1Yl9ESHpnSWkzejZ4cmE5SSIKICAgICAgICAg
ICAgfQogICAgICAgICAgXSwKICAgICAgICAgICJoYXNfbW9yZSI6IGZhbHNl
LAogICAgICAgICAgInRvdGFsX2NvdW50IjogMSwKICAgICAgICAgICJ1cmwi
OiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3ViX0RI
emdJaTN6NnhyYTlJIgogICAgICAgIH0sCiAgICAgICAgImxpdmVtb2RlIjog
ZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4i
OiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1
ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0
IjogInBsYW4iLAogICAgICAgICAgImFjdGl2ZSI6IHRydWUsCiAgICAgICAg
ICAiYWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJhbW91bnQi
OiAyMDAwLAogICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0
IiwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg
ICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVydmFsIjogIm1v
bnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAg
ICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9
LAogICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0g
w6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVy
IGQnZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAgIm5pY2tuYW1lIjogbnVs
bCwKICAgICAgICAgICJwcm9kdWN0IjogInByb2RfQlR5bGd4T1FWejBFWTUi
LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg
ICAgICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAidGllcnNfbW9kZSI6
IG51bGwsCiAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAg
ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAi
dXNhZ2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICB9LAogICAgICAgICJx
dWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUzMjQzNTU2NywKICAg
ICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9wZXJjZW50
IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAgICAgICAi
dHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21v
cmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDIsCiAgICAidXJsIjog
Ii92MS9jdXN0b21lcnMvY3VzXzhDek50TTA4TlZsU0dOL3N1YnNjcmlwdGlv
bnMiCiAgfQp9Cg==
http_version:
recorded_at: Tue, 24 Jul 2018 12:34:41 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_DHziF5mZyh0jmu
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-29-generic (buildd@lcy01-amd64-024) (gcc version 5.4.0 20160609
(Ubuntu 5.4.0-6ubuntu1~16.04.10)) #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04
UTC 2018","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Tue, 24 Jul 2018 12:34:42 GMT
Content-Type:
- application/json
Content-Length:
- '2473'
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_Nw1YHbhIoak0jc
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJzdWJfREh6aUY1bVp5aDBqbXUiLAogICJvYmplY3QiOiAi
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi
YmlsbGluZ19jeWNsZV9hbmNob3IiOiAxNTMyNDM1Njc3LAogICJjYW5jZWxf
YXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5jZWxlZF9hdCI6IG51bGws
CiAgImNyZWF0ZWQiOiAxNTMyNDM1Njc3LAogICJjdXJyZW50X3BlcmlvZF9l
bmQiOiAxNTM1MTE0MDc3LAogICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE1
MzI0MzU2NzcsCiAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIs
CiAgImRheXNfdW50aWxfZHVlIjogbnVsbCwKICAiZGlzY291bnQiOiBudWxs
LAogICJlbmRlZF9hdCI6IG51bGwsCiAgIml0ZW1zIjogewogICAgIm9iamVj
dCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlk
IjogInNpX0RIemlFRDNjTGFTUkZiIiwKICAgICAgICAib2JqZWN0IjogInN1
YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MzI0MzU2
NzgsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7
CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVu
dC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0Ijog
InBsYW4iLAogICAgICAgICAgImFjdGl2ZSI6IHRydWUsCiAgICAgICAgICAi
YWdncmVnYXRlX3VzYWdlIjogbnVsbCwKICAgICAgICAgICJhbW91bnQiOiAy
MDAwLAogICAgICAgICAgImJpbGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwK
ICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJj
dXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVydmFsIjogIm1vbnRo
IiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAi
bGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAog
ICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0
dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQn
ZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAgIm5pY2tuYW1lIjogbnVsbCwK
ICAgICAgICAgICJwcm9kdWN0IjogInByb2RfQlR5bGd4T1FWejBFWTUiLAog
ICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAg
ICAgICJ0aWVycyI6IG51bGwsCiAgICAgICAgICAidGllcnNfbW9kZSI6IG51
bGwsCiAgICAgICAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICAg
ICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwsCiAgICAgICAgICAidXNh
Z2VfdHlwZSI6ICJsaWNlbnNlZCIKICAgICAgICB9LAogICAgICAgICJxdWFu
dGl0eSI6IDEsCiAgICAgICAgInN1YnNjcmlwdGlvbiI6ICJzdWJfREh6aUY1
bVp5aDBqbXUiCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUiOiBmYWxz
ZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9zdWJz
Y3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9ESHppRjVtWnloMGpt
dSIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0YSI6IHt9
LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0
LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9iamVjdCI6
ICJwbGFuIiwKICAgICJhY3RpdmUiOiB0cnVlLAogICAgImFnZ3JlZ2F0ZV91
c2FnZSI6IG51bGwsCiAgICAiYW1vdW50IjogMjAwMCwKICAgICJiaWxsaW5n
X3NjaGVtZSI6ICJwZXJfdW5pdCIsCiAgICAiY3JlYXRlZCI6IDE0NTk3ODMx
MDgsCiAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICJpbnRlcnZhbCI6ICJt
b250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgImxpdmVtb2Rl
IjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7fSwKICAgICJuYW1lIjogIk1l
bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs
IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg
ICJuaWNrbmFtZSI6IG51bGwsCiAgICAicHJvZHVjdCI6ICJwcm9kX0JUeWxn
eE9RVnowRVk1IiwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGws
CiAgICAidGllcnMiOiBudWxsLAogICAgInRpZXJzX21vZGUiOiBudWxsLAog
ICAgInRyYW5zZm9ybV91c2FnZSI6IG51bGwsCiAgICAidHJpYWxfcGVyaW9k
X2RheXMiOiBudWxsLAogICAgInVzYWdlX3R5cGUiOiAibGljZW5zZWQiCiAg
fSwKICAicXVhbnRpdHkiOiAxLAogICJzdGFydCI6IDE1MzI0MzU2NzcsCiAg
InN0YXR1cyI6ICJhY3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg
InRyaWFsX2VuZCI6IG51bGwsCiAgInRyaWFsX3N0YXJ0IjogbnVsbAp9Cg==
http_version:
recorded_at: Tue, 24 Jul 2018 12:34:42 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_DHziF5mZyh0jmu?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-29-generic (buildd@lcy01-amd64-024) (gcc version 5.4.0 20160609
(Ubuntu 5.4.0-6ubuntu1~16.04.10)) #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04
UTC 2018","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Tue, 24 Jul 2018 12:34:43 GMT
Content-Type:
- application/json
Content-Length:
- '2478'
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_FmW457V01q9cyd
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains; preload
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJzdWJfREh6aUY1bVp5aDBqbXUiLAogICJvYmplY3QiOiAi
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi
YmlsbGluZ19jeWNsZV9hbmNob3IiOiAxNTMyNDM1Njc3LAogICJjYW5jZWxf
YXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgImNhbmNlbGVkX2F0IjogMTUzMjQz
NTY4MywKICAiY3JlYXRlZCI6IDE1MzI0MzU2NzcsCiAgImN1cnJlbnRfcGVy
aW9kX2VuZCI6IDE1MzUxMTQwNzcsCiAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0
IjogMTUzMjQzNTY3NywKICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs
U0dOIiwKICAiZGF5c191bnRpbF9kdWUiOiBudWxsLAogICJkaXNjb3VudCI6
IG51bGwsCiAgImVuZGVkX2F0IjogbnVsbCwKICAiaXRlbXMiOiB7CiAgICAi
b2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAgIHsKICAgICAg
ICAiaWQiOiAic2lfREh6aUVEM2NMYVNSRmIiLAogICAgICAgICJvYmplY3Qi
OiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICJjcmVhdGVkIjogMTUz
MjQzNTY3OCwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxh
biI6IHsKICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1z
dHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmpl
Y3QiOiAicGxhbiIsCiAgICAgICAgICAiYWN0aXZlIjogdHJ1ZSwKICAgICAg
ICAgICJhZ2dyZWdhdGVfdXNhZ2UiOiBudWxsLAogICAgICAgICAgImFtb3Vu
dCI6IDIwMDAsCiAgICAgICAgICAiYmlsbGluZ19zY2hlbWUiOiAicGVyX3Vu
aXQiLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg
ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAi
bW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAg
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjog
e30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQg
LSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRl
dXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAibmlja25hbWUiOiBu
dWxsLAogICAgICAgICAgInByb2R1Y3QiOiAicHJvZF9CVHlsZ3hPUVZ6MEVZ
NSIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
ICAgICAgICAgInRpZXJzIjogbnVsbCwKICAgICAgICAgICJ0aWVyc19tb2Rl
IjogbnVsbCwKICAgICAgICAgICJ0cmFuc2Zvcm1fdXNhZ2UiOiBudWxsLAog
ICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbCwKICAgICAgICAg
ICJ1c2FnZV90eXBlIjogImxpY2Vuc2VkIgogICAgICAgIH0sCiAgICAgICAg
InF1YW50aXR5IjogMSwKICAgICAgICAic3Vic2NyaXB0aW9uIjogInN1Yl9E
SHppRjVtWnloMGptdSIKICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6
IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogMSwKICAgICJ1cmwiOiAiL3Yx
L3N1YnNjcmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3ViX0RIemlGNW1a
eWgwam11IgogIH0sCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFkYXRh
Ijoge30sCiAgInBsYW4iOiB7CiAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1y
ZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAib2Jq
ZWN0IjogInBsYW4iLAogICAgImFjdGl2ZSI6IHRydWUsCiAgICAiYWdncmVn
YXRlX3VzYWdlIjogbnVsbCwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImJp
bGxpbmdfc2NoZW1lIjogInBlcl91bml0IiwKICAgICJjcmVhdGVkIjogMTQ1
OTc4MzEwOCwKICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgImludGVydmFs
IjogIm1vbnRoIiwKICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAibGl2
ZW1vZGUiOiBmYWxzZSwKICAgICJtZXRhZGF0YSI6IHt9LAogICAgIm5hbWUi
OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1
IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi
LAogICAgIm5pY2tuYW1lIjogbnVsbCwKICAgICJwcm9kdWN0IjogInByb2Rf
QlR5bGd4T1FWejBFWTUiLAogICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjog
bnVsbCwKICAgICJ0aWVycyI6IG51bGwsCiAgICAidGllcnNfbW9kZSI6IG51
bGwsCiAgICAidHJhbnNmb3JtX3VzYWdlIjogbnVsbCwKICAgICJ0cmlhbF9w
ZXJpb2RfZGF5cyI6IG51bGwsCiAgICAidXNhZ2VfdHlwZSI6ICJsaWNlbnNl
ZCIKICB9LAogICJxdWFudGl0eSI6IDEsCiAgInN0YXJ0IjogMTUzMjQzNTY3
NywKICAic3RhdHVzIjogImFjdGl2ZSIsCiAgInRheF9wZXJjZW50IjogbnVs
bCwKICAidHJpYWxfZW5kIjogbnVsbCwKICAidHJpYWxfc3RhcnQiOiBudWxs
Cn0K
http_version:
recorded_at: Tue, 24 Jul 2018 12:34:43 GMT
recorded_with: VCR 3.0.1