1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

update test data, allow passing test suite

This commit is contained in:
Sylvain 2017-09-18 11:00:20 +02:00
parent 8b1b39dc49
commit db88eea8ba
20 changed files with 9219 additions and 5411 deletions

View File

@ -1,4 +1,3 @@
group_1:
id: 1
name: standard, association
@ -12,3 +11,10 @@ group_2:
created_at: 2016-04-04 14:11:33.656537000 Z
updated_at: 2016-04-04 14:11:33.656537000 Z
slug: student
admins:
id: 3
name: Administrateurs
created_at: 2017-09-18 10:24:33.651615210 Z
updated_at: 2017-09-18 10:24:33.651615210 Z
slug: admins

View File

@ -225,3 +225,17 @@ setting_29:
value:
created_at: 2016-04-04 14:12:01.271670000 Z
updated_at: 2016-04-04 14:12:01.271670000 Z
setting_30:
id: 30
name: visibility_yearly
value: 3
created_at: 2017-09-18 10:26:42.852150000 Z
updated_at: 2017-09-18 10:26:42.852150000 Z
setting_31:
id: 31
name: visibility_others
value: 1
created_at: 2017-09-18 10:27:42.846510000 Z
updated_at: 2017-09-18 10:27:42.846510000 Z

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -18,9 +18,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,11 +31,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:02:58 GMT
- Mon, 18 Sep 2017 08:54:04 GMT
Content-Type:
- application/json
Content-Length:
- '778'
- '779'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DigzZOUKbFLP8
- req_UlHcT5pRxquOpo
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_17xHFG2sOmf47Nz9pZ4CafpU",
"id": "tok_1B3L0y2sOmf47Nz9WFqPXvM7",
"object": "token",
"card": {
"id": "card_17xHFG2sOmf47Nz95yErDQbL",
"id": "card_1B3L0y2sOmf47Nz9AZVEmtnY",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,20 +86,20 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "86.76.5.109",
"created": 1459951378,
"client_ip": "90.112.59.71",
"created": 1505724844,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:02:58 GMT
recorded_at: Mon, 18 Sep 2017 08:54:05 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
method: get
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzNtM08NVlSGN&limit=100
body:
encoding: UTF-8
string: customer=cus_8CzNtM08NVlSGN&amount=3200&currency=usd&description=FORM1%2B+imprimante+3D+April+11%2C+2016+14%3A00+-+03%3A00+PM
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -110,11 +112,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
Content-Length:
- '125'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -123,11 +123,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:02:58 GMT
- Mon, 18 Sep 2017 08:54:05 GMT
Content-Type:
- application/json
Content-Length:
- '469'
- '10932'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -136,12 +136,318 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DigTaKJ04PVMc
- req_CSg72e4uSh053r
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg
ICJpZCI6ICJpaV8xQjNMMG8yc09tZjQ3Tno5RUJWU3pZMzYiLAogICAgICAi
b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAw
LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog
ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDgz
NCwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg
ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5f
MUIzTDByMnNPbWY0N056OTRaTXlLVXAxIiwKICAgICAgImxpdmVtb2RlIjog
ZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjog
ewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ4MzQsCiAgICAgICAgImVuZCI6
IDE1MDU3MjQ4MzQKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg
ICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGws
CiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAg
ICAiaWQiOiAiaWlfMUIzTDBuMnNPbWY0N056OUF1enFsWGtUIiwKICAgICAg
Im9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAwLAog
ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1
c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDgzMywK
ICAgICAgImRlc2NyaXB0aW9uIjogIkZvcm1hdGlvbiBJbXByaW1hbnRlIDNE
IFNlcHRlbWJlciAxOCwgMjAxNyAwODowMCAtIDEyOjAwIFBNIiwKICAgICAg
ImRpc2NvdW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFC
M0wwcjJzT21mNDdOejk0Wk15S1VwMSIsCiAgICAgICJsaXZlbW9kZSI6IGZh
bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK
ICAgICAgICAic3RhcnQiOiAxNTA1NzI0ODMzLAogICAgICAgICJlbmQiOiAx
NTA1NzI0ODMzCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg
InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog
ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg
ImlkIjogImlpXzFCM0t6bTJzT21mNDdOejl1MndXQWhrYiIsCiAgICAgICJv
YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAs
CiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAi
Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0Nzcw
LAogICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAg
ImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8x
QjNLenEyc09tZjQ3Tno5SVg3cmxIU3UiLAogICAgICAibGl2ZW1vZGUiOiBm
YWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7
CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDc3MCwKICAgICAgICAiZW5kIjog
MTUwNTcyNDc3MAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAg
ICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwK
ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAg
ICJpZCI6ICJpaV8xQjNLemwyc09tZjQ3Tno5bzF1blptc3YiLAogICAgICAi
b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC03NjUw
LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog
ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDc2
OSwKICAgICAgImRlc2NyaXB0aW9uIjogImNvdXBvbiBTVU5OWUZBQkxBQiIs
CiAgICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2Ui
OiAiaW5fMUIzS3pxMnNPbWY0N056OUlYN3JsSFN1IiwKICAgICAgImxpdmVt
b2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVy
aW9kIjogewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ3NjksCiAgICAgICAg
ImVuZCI6IDE1MDU3MjQ3NjkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxs
LAogICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6
IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAg
ewogICAgICAiaWQiOiAiaWlfMUIzS3prMnNPbWY0N056OU8zM29BRVM5IiwK
ICAgICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQi
OiA1MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0
b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1
MDU3MjQ3NjgsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJSYWRpbyBudW3DqXJp
cXVlIFxuU2VwdGVtYmVyIDI4LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1c
blNlcHRlbWJlciAyOSwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNXG5TZXB0
ZW1iZXIgMzAsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTSIsCiAgICAgICJk
aXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNL
enEyc09tZjQ3Tno5SVg3cmxIU3UiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg
ICAgICAgInN0YXJ0IjogMTUwNTcyNDc2OCwKICAgICAgICAiZW5kIjogMTUw
NTcyNDc2OAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw
cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg
ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp
ZCI6ICJpaV8xQjNLdlMyc09tZjQ3Tno5ZFJlUGxEN3YiLAogICAgICAib2Jq
ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAog
ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1
c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDUwMiwK
ICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJk
aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIz
S3ZUMnNPbWY0N056OURWdjVyT0xRIiwKICAgICAgImxpdmVtb2RlIjogZmFs
c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog
ICAgICAgICJzdGFydCI6IDE1MDU3MjQ1MDIsCiAgICAgICAgImVuZCI6IDE1
MDU3MjQ1MDIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi
cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg
ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi
aWQiOiAiaWlfMUIzS3Y1MnNPbWY0N056OXpNZ21KQmpuIiwKICAgICAgIm9i
amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwK
ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj
dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ0Nzks
CiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAi
ZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFC
M0t2OTJzT21mNDdOejlrckFvbmg1WSIsCiAgICAgICJsaXZlbW9kZSI6IGZh
bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK
ICAgICAgICAic3RhcnQiOiAxNTA1NzI0NDc5LAogICAgICAgICJlbmQiOiAx
NTA1NzI0NDc5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg
InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog
ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg
ImlkIjogImlpXzFCM0t2NDJzT21mNDdOejk3b1NLYnhhSSIsCiAgICAgICJv
YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTc2NTAs
CiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAi
Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDc4
LAogICAgICAiZGVzY3JpcHRpb24iOiAiY291cG9uIFNVTk5ZRkFCTEFCIiwK
ICAgICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6
ICJpbl8xQjNLdjkyc09tZjQ3Tno5a3JBb25oNVkiLAogICAgICAibGl2ZW1v
ZGUiOiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJp
b2QiOiB7CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDQ3OCwKICAgICAgICAi
ZW5kIjogMTUwNTcyNDQ3OAogICAgICB9LAogICAgICAicGxhbiI6IG51bGws
CiAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5Ijog
bnVsbCwKICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7
CiAgICAgICJpZCI6ICJpaV8xQjNLdjMyc09tZjQ3Tno5blUzc0JtaU4iLAog
ICAgICAib2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6
IDUxMDAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3Rv
bWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUw
NTcyNDQ3NywKICAgICAgImRlc2NyaXB0aW9uIjogIlJhZGlvIG51bcOpcmlx
dWUgXG5TZXB0ZW1iZXIgMjgsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTVxu
U2VwdGVtYmVyIDI5LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1cblNlcHRl
bWJlciAzMCwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNIiwKICAgICAgImRp
c2NvdW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t2
OTJzT21mNDdOejlrckFvbmg1WSIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl
LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg
ICAgICAic3RhcnQiOiAxNTA1NzI0NDc3LAogICAgICAgICJlbmQiOiAxNTA1
NzI0NDc3CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy
b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg
ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk
IjogImlpXzFCM0t1YzJzT21mNDdOejk2ajBlMzlZbiIsCiAgICAgICJvYmpl
Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAg
ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz
XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDUwLAog
ICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRp
c2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNL
dWUyc09tZjQ3Tno5VFZrM0sxTVkiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg
ICAgICAgInN0YXJ0IjogMTUwNTcyNDQ1MCwKICAgICAgICAiZW5kIjogMTUw
NTcyNDQ1MAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw
cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg
ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp
ZCI6ICJpaV8xQjNLdWIyc09tZjQ3Tno5aGtpMDJ6UlciLAogICAgICAib2Jq
ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDAsCiAgICAg
ICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhD
ek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDQ5LAogICAg
ICAiZGVzY3JpcHRpb24iOiAiRm9ybWF0aW9uIEltcHJpbWFudGUgM0QgU2Vw
dGVtYmVyIDE4LCAyMDE3IDA4OjAwIC0gMTI6MDAgUE0iLAogICAgICAiZGlz
Y291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzS3Vl
MnNPbWY0N056OVRWazNLMU1ZIiwKICAgICAgImxpdmVtb2RlIjogZmFsc2Us
CiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAg
ICAgICJzdGFydCI6IDE1MDU3MjQ0NDksCiAgICAgICAgImVuZCI6IDE1MDU3
MjQ0NDkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv
cmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAg
ICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQi
OiAiaWlfMUIzS3RuMnNPbWY0N056OUd4OW9lS3d2IiwKICAgICAgIm9iamVj
dCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwKICAg
ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf
OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQzOTksCiAg
ICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAiZGlz
Y291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t0
cjJzT21mNDdOejlzdVUwak9DOCIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl
LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg
ICAgICAic3RhcnQiOiAxNTA1NzI0Mzk5LAogICAgICAgICJlbmQiOiAxNTA1
NzI0Mzk5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy
b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg
ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk
IjogImlpXzFCM0t0bjJzT21mNDdOejlMWVV3NzNzQiIsCiAgICAgICJvYmpl
Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogMzQwMCwKICAg
ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf
OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQzOTksCiAg
ICAgICJkZXNjcmlwdGlvbiI6ICJGT1JNMSsgaW1wcmltYW50ZSAzRCBTZXB0
ZW1iZXIgMTcsIDIwMTcgMTQ6MDAgLSAwMzowMCBQTSIsCiAgICAgICJkaXNj
b3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNLdHIy
c09tZjQ3Tno5c3VVMGpPQzgiLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAg
ICAgInN0YXJ0IjogMTUwNTcyNDM5OSwKICAgICAgICAiZW5kIjogMTUwNTcy
NDM5OQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9y
YXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAg
InN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJpZCI6
ICJpaV8xOUttT3gyc09tZjQ3Tno5WEl6dlRqTEMiLAogICAgICAib2JqZWN0
IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAogICAg
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184
Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ4MDMyOTAyMywKICAg
ICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJkaXNj
b3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMTlLbVAx
MnNPbWY0N056OVJsNmFLV0Y4IiwKICAgICAgImxpdmVtb2RlIjogZmFsc2Us
CiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAg
ICAgICJzdGFydCI6IDE0ODAzMjkwMjMsCiAgICAgICAgImVuZCI6IDE0ODAz
MjkwMjMKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv
cmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAg
ICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQi
OiAiaWlfMTlLbU93MnNPbWY0N056OWZNZ2pISWhnIiwKICAgICAgIm9iamVj
dCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtNzY1MCwKICAg
ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf
OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0ODAzMjkwMjIsCiAg
ICAgICJkZXNjcmlwdGlvbiI6ICJjb3Vwb24gU1VOTllGQUJMQUIgLSByZXNl
cnZhdGlvbiIsCiAgICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAg
Imludm9pY2UiOiAiaW5fMTlLbVAxMnNPbWY0N056OVJsNmFLV0Y4IiwKICAg
ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAog
ICAgICAicGVyaW9kIjogewogICAgICAgICJzdGFydCI6IDE0ODAzMjkwMjIs
CiAgICAgICAgImVuZCI6IDE0ODAzMjkwMjIKICAgICAgfSwKICAgICAgInBs
YW4iOiBudWxsLAogICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJx
dWFudGl0eSI6IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAg
ICB9LAogICAgewogICAgICAiaWQiOiAiaWlfMTlLbU93MnNPbWY0N056OWYw
UGJLYkhxIiwKICAgICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAg
ICJhbW91bnQiOiA1MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg
ICAgICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAi
ZGF0ZSI6IDE0ODAzMjkwMjIsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJSYWRp
byBudW3DqXJpcXVlIFxuRGVjZW1iZXIgMDgsIDIwMTYgMTE6MDAgQU0gLSAw
NzowMCBQTVxuRGVjZW1iZXIgMDksIDIwMTYgMTE6MDAgQU0gLSAwNzowMCBQ
TVxuRGVjZW1iZXIgMTAsIDIwMTYgMTE6MDAgQU0gLSAwNzowMCBQTSIsCiAg
ICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJp
bl8xOUttUDEyc09tZjQ3Tno5Umw2YUtXRjgiLAogICAgICAibGl2ZW1vZGUi
OiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2Qi
OiB7CiAgICAgICAgInN0YXJ0IjogMTQ4MDMyOTAyMiwKICAgICAgICAiZW5k
IjogMTQ4MDMyOTAyMgogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAg
ICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVs
bCwKICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAg
ICAgICJpZCI6ICJpaV8xOFpoVWgyc09tZjQ3Tno5MDJ5a0d5YkIiLAogICAg
ICAib2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0x
MDAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVy
IjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2OTEw
ODc0MywKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAg
ICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAi
aW5fMThaaFVqMnNPbWY0N056OXI4TEtJQk5LIiwKICAgICAgImxpdmVtb2Rl
IjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9k
IjogewogICAgICAgICJzdGFydCI6IDE0NjkxMDg3NDMsCiAgICAgICAgImVu
ZCI6IDE0NjkxMDg3NDMKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAog
ICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51
bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewog
ICAgICAiaWQiOiAiaWlfMThaaFVnMnNPbWY0N056OXZTc2w1Sjl6IiwKICAg
ICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAw
LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog
ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2OTEwODc0
MiwKICAgICAgImRlc2NyaXB0aW9uIjogIkZvcm1hdGlvbiBJbXByaW1hbnRl
IDNEIEp1bHkgMTgsIDIwMTYgMDg6MDAgLSAxMjowMCBQTSIsCiAgICAgICJk
aXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xOFpo
VWoyc09tZjQ3Tno5cjhMS0lCTksiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg
ICAgICAgInN0YXJ0IjogMTQ2OTEwODc0MiwKICAgICAgICAiZW5kIjogMTQ2
OTEwODc0MgogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw
cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg
ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp
ZCI6ICJpaV8xOFc0R04yc09tZjQ3Tno5SzFkVGZUeUEiLAogICAgICAib2Jq
ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAog
ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1
c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2ODI0Mjk1NSwK
ICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJk
aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMThX
NEdPMnNPbWY0N056OW9vdURRM2hlIiwKICAgICAgImxpdmVtb2RlIjogZmFs
c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog
ICAgICAgICJzdGFydCI6IDE0NjgyNDI5NTUsCiAgICAgICAgImVuZCI6IDE0
NjgyNDI5NTUKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi
cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg
ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9CiAgXSwKICAiaGFzX21v
cmUiOiBmYWxzZSwKICAidXJsIjogIi92MS9pbnZvaWNlaXRlbXMiCn0K
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:05 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8CzNtM08NVlSGN&amount=3400&currency=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+14%3A00+-+03%3A00+PM
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '129'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 18 Sep 2017 08:54:06 GMT
Content-Type:
- application/json
Content-Length:
- '473'
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:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_sWYQa245x6J8qZ
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -150,20 +456,20 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
"id": "ii_1B3L102sOmf47Nz9bcXk9I95",
"object": "invoiceitem",
"amount": 3200,
"amount": 3400,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1459951378,
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"date": 1505724846,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
"start": 1505724846,
"end": 1505724846
},
"plan": null,
"proration": false,
@ -171,13 +477,13 @@ http_interactions:
"subscription": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:02:58 GMT
recorded_at: Mon, 18 Sep 2017 08:54:06 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+-1000
string: customer=cus_8CzNtM08NVlSGN&amount=-1000&currency=usd&description=wallet+-10.0
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -190,11 +496,11 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '125'
- '78'
response:
status:
code: 200
@ -203,11 +509,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:02:58 GMT
- Mon, 18 Sep 2017 08:54:07 GMT
Content-Type:
- application/json
Content-Length:
- '469'
- '431'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -216,12 +522,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DigTaKJ04PVMc
- req_dDXoARWpOFwudA
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -230,20 +538,20 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_17xHFG2sOmf47N59hh8aJSt6",
"id": "ii_1B3L112sOmf47Nz9HhdRh67V",
"object": "invoiceitem",
"amount": -1000,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1459951378,
"description": "Wallet -1000",
"discountable": true,
"date": 1505724847,
"description": "wallet -10.0",
"discountable": false,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
"start": 1505724847,
"end": 1505724847
},
"plan": null,
"proration": false,
@ -251,7 +559,7 @@ http_interactions:
"subscription": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:02:58 GMT
recorded_at: Mon, 18 Sep 2017 08:54:07 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
@ -270,9 +578,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -281,11 +589,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:02:59 GMT
- Mon, 18 Sep 2017 08:54:08 GMT
Content-Type:
- application/json
Content-Length:
- '3462'
- '8094'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -294,149 +602,209 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8Digc2V3aKSGrn
- req_kcnUGOiWRKdP18
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "cus_8CzNtM08NVlSGN",
"object": "customer",
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
"email": "jean.dupond@gmail.com",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
"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": 2017,
"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": [
{
"id": "sub_8Di9gqPLwt5IIC",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": true,
"canceled_at": 1459949404,
"current_period_end": 1462541399,
"current_period_start": 1459949399,
"customer": "cus_8CzNtM08NVlSGN",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1459949399,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8Di2VadRvr7A99",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": true,
"canceled_at": 1459948972,
"current_period_end": 1462540968,
"current_period_start": 1459948968,
"customer": "cus_8CzNtM08NVlSGN",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1459948968,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 2,
"url": "/v1/customers/cus_8CzNtM08NVlSGN/subscriptions"
}
}
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xQjNMMGwyc09tZjQ3Tno5M0o5ZHVBemQiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDBsMnNPbWY0N056
OTNKOWR1QXpkIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
ZHJlc3NfbGluZTIiOiBudWxsLAogICAgICAgICJhZGRyZXNzX3N0YXRlIjog
bnVsbCwKICAgICAgICAiYWRkcmVzc196aXAiOiBudWxsLAogICAgICAgICJh
ZGRyZXNzX3ppcF9jaGVjayI6IG51bGwsCiAgICAgICAgImJyYW5kIjogIlZp
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
ZSI6IG51bGwsCiAgICAgICAgInRva2VuaXphdGlvbl9tZXRob2QiOiBudWxs
CiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICAg
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog
ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl
cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3
MjQ4NDEsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0ODM3LAogICAgICAg
ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2ODM3LAogICAgICAgICJj
dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgImN1
c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv
dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg
ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg
ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp
ZCI6ICJzaV8xQjNMMHIyc09tZjQ3Tno5S0tkVjF6c0oiLAogICAgICAgICAg
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg
ICAgICJjcmVhdGVkIjogMTUwNTcyNDgzOCwKICAgICAgICAgICAgICAibWV0
YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi
OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg
ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu
dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j
b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50
LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p
IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw
dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5
cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu
dGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAg
ICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50Ijog
MSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9z
dWJzY3JpcHRpb249c3ViX0JRQk5ua1VsY2lpM3IxIgogICAgICAgIH0sCiAg
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjog
e30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3Vl
bC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIs
CiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3Vu
dCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAg
ICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZh
bCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAog
ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRh
dGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOp
ZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRl
bWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l
bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k
X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx
LAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgInN0YXR1
cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg
ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0
IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9C
UUJJSW11VVdicmp6QiIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp
b24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGws
CiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAog
ICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAg
ImNhbmNlbGVkX2F0IjogMTUwNTcyNDUwNywKICAgICAgICAiY3JlYXRlZCI6
IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1
MDgzMTY1MDMsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUw
NTcyNDUwMywKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs
U0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRl
ZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9i
amVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAg
ICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFCM0t2VDJzT21mNDdOejl1
M2lNYTVTeiIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp
b25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAz
LAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
ICJwbGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy
aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg
ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAg
ICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAx
NDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs
CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg
ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm
IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50
LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAg
ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAg
ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0s
CiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAg
ICAgICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAg
ICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEv
c3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSUltdVVX
YnJqekIiCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh
biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh
dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi
LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp
bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi
OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1
IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi
LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg
ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog
ICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcy
NDUwMywKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRh
eF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwK
ICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsK
ICAgICAgICAiaWQiOiAic3ViX0JRQkhIUEJqTzU3M0pXIiwKICAgICAgICAi
b2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9u
X2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJjaGFy
Z2VfYXV0b21hdGljYWxseSIsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2Rf
ZW5kIjogdHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNTA1NzI0NDU4
LAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDQ1MiwKICAgICAgICAiY3Vy
cmVudF9wZXJpb2RfZW5kIjogMTUwODMxNjQ1MiwKICAgICAgICAiY3VycmVu
dF9wZXJpb2Rfc3RhcnQiOiAxNTA1NzI0NDUyLAogICAgICAgICJjdXN0b21l
ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6
IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRl
bXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAg
ImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAi
c2lfMUIzS3VlMnNPbWY0N056OTJQQ3ZEVVpLIiwKICAgICAgICAgICAgICAi
b2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAi
Y3JlYXRlZCI6IDE1MDU3MjQ0NTMsCiAgICAgICAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAg
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBs
YW4iLAogICAgICAgICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAg
ICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAg
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZh
bCI6ICJtb250aCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQi
OiAxLAogICAgICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg
ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJu
YW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBk
ZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1v
bnRoIiwKICAgICAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6
IG51bGwsCiAgICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBu
dWxsCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHki
OiAxCiAgICAgICAgICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFz
X21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAg
ICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2Ny
aXB0aW9uPXN1Yl9CUUJISFBCak81NzNKVyIKICAgICAgICB9LAogICAgICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAog
ICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy
aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg
ICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAy
MDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg
ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAi
bW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAg
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjog
e30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQg
LSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRl
dXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rl
c2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlz
IjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAg
ICAgICAic3RhcnQiOiAxNTA1NzI0NDUyLAogICAgICAgICJzdGF0dXMiOiAi
YWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAg
ICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51
bGwKICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAg
InRvdGFsX2NvdW50IjogMywKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9j
dXNfOEN6TnRNMDhOVmxTR04vc3Vic2NyaXB0aW9ucyIKICB9Cn0K
http_version:
recorded_at: Wed, 06 Apr 2016 14:02:59 GMT
recorded_at: Mon, 18 Sep 2017 08:54:08 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources
body:
encoding: UTF-8
string: card=tok_17xHFG2sOmf47Nz9pZ4CafpU
string: card=tok_1B3L0y2sOmf47Nz9WFqPXvM7
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -449,9 +817,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '33'
response:
@ -462,7 +830,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:03:00 GMT
- Mon, 18 Sep 2017 08:54:09 GMT
Content-Type:
- application/json
Content-Length:
@ -475,12 +843,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DigAxuQClwx3A
- req_IXKMjO7F6pXcr0
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -489,7 +859,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "card_17xHFG2sOmf47Nz95yErDQbL",
"id": "card_1B3L0y2sOmf47Nz9AZVEmtnY",
"object": "card",
"address_city": null,
"address_country": null,
@ -505,7 +875,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -514,13 +884,13 @@ http_interactions:
"tokenization_method": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:03:00 GMT
recorded_at: Mon, 18 Sep 2017 08:54:09 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
body:
encoding: UTF-8
string: default_source=card_17xHFG2sOmf47Nz95yErDQbL
string: default_source=card_1B3L0y2sOmf47Nz9AZVEmtnY
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -533,9 +903,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '44'
response:
@ -546,11 +916,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:03:01 GMT
- Mon, 18 Sep 2017 08:54:10 GMT
Content-Type:
- application/json
Content-Length:
- '4190'
- '8822'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -559,168 +929,220 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8Dig1Js3cBEeqQ
- req_0J2EyTu1iiAIGn
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "cus_8CzNtM08NVlSGN",
"object": "customer",
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_17xHFG2sOmf47Nz95yErDQbL",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
"email": "jean.dupond@gmail.com",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_17xHFG2sOmf47Nz95yErDQbL",
"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": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
},
{
"id": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
"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": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"total_count": 2,
"url": "/v1/customers/cus_8CzNtM08NVlSGN/sources"
},
"subscriptions": {
"object": "list",
"data": [
{
"id": "sub_8Di9gqPLwt5IIC",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": true,
"canceled_at": 1459949404,
"current_period_end": 1462541399,
"current_period_start": 1459949399,
"customer": "cus_8CzNtM08NVlSGN",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1459949399,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8Di2VadRvr7A99",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": true,
"canceled_at": 1459948972,
"current_period_end": 1462540968,
"current_period_start": 1459948968,
"customer": "cus_8CzNtM08NVlSGN",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1459948968,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 2,
"url": "/v1/customers/cus_8CzNtM08NVlSGN/subscriptions"
}
}
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xQjNMMHkyc09tZjQ3Tno5QVpWRW10blkiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDB5MnNPbWY0N056
OUFaVkVtdG5ZIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
ZHJlc3NfbGluZTIiOiBudWxsLAogICAgICAgICJhZGRyZXNzX3N0YXRlIjog
bnVsbCwKICAgICAgICAiYWRkcmVzc196aXAiOiBudWxsLAogICAgICAgICJh
ZGRyZXNzX3ppcF9jaGVjayI6IG51bGwsCiAgICAgICAgImJyYW5kIjogIlZp
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
ZSI6IG51bGwsCiAgICAgICAgInRva2VuaXphdGlvbl9tZXRob2QiOiBudWxs
CiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAiY2FyZF8xQjNMMGwy
c09tZjQ3Tno5M0o5ZHVBemQiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIs
CiAgICAgICAgImFkZHJlc3NfY2l0eSI6IG51bGwsCiAgICAgICAgImFkZHJl
c3NfY291bnRyeSI6IG51bGwsCiAgICAgICAgImFkZHJlc3NfbGluZTEiOiBu
dWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMiI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nf
c3RhdGUiOiBudWxsLAogICAgICAgICJhZGRyZXNzX3ppcCI6IG51bGwsCiAg
ICAgICAgImFkZHJlc3NfemlwX2NoZWNrIjogbnVsbCwKICAgICAgICAiYnJh
bmQiOiAiVmlzYSIsCiAgICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAg
ICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJj
dmNfY2hlY2siOiAicGFzcyIsCiAgICAgICAgImR5bmFtaWNfbGFzdDQiOiBu
dWxsLAogICAgICAgICJleHBfbW9udGgiOiA0LAogICAgICAgICJleHBfeWVh
ciI6IDIwMTgsCiAgICAgICAgImZpbmdlcnByaW50IjogIm81Mmp5YlI3Ym5t
Tm42QVQiLAogICAgICAgICJmdW5kaW5nIjogImNyZWRpdCIsCiAgICAgICAg
Imxhc3Q0IjogIjQyNDIiLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAg
ICAgICJuYW1lIjogbnVsbCwKICAgICAgICAidG9rZW5pemF0aW9uX21ldGhv
ZCI6IG51bGwKICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNl
LAogICAgInRvdGFsX2NvdW50IjogMiwKICAgICJ1cmwiOiAiL3YxL2N1c3Rv
bWVycy9jdXNfOEN6TnRNMDhOVmxTR04vc291cmNlcyIKICB9LAogICJzdWJz
Y3JpcHRpb25zIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRh
IjogWwogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9CUUJObmtVbGNpaTNy
MSIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAg
ICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGwsCiAgICAgICAgImJp
bGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgICAgICJjYW5j
ZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0
IjogMTUwNTcyNDg0MSwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ4Mzcs
CiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1MDgzMTY4MzcsCiAg
ICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUwNTcyNDgzNywKICAg
ICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAg
ICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51bGws
CiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9iamVjdCI6ICJsaXN0
IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAgICB7CiAgICAgICAg
ICAgICAgImlkIjogInNpXzFCM0wwcjJzT21mNDdOejlLS2RWMXpzSiIsCiAg
ICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAg
ICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0ODM4LAogICAgICAgICAg
ICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICJwbGFuIjogewog
ICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0
dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgICAgICAg
Im9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAgICJhbW91bnQiOiAy
MDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAog
ICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAg
ICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAgICAgImlu
dGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAgICJsaXZlbW9kZSI6
IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg
ICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDD
qXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIg
ZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAgICAic3RhdGVtZW50
X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICAgInRyaWFsX3Bl
cmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAg
ICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAgICAgICAgICBdLAog
ICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAgICAgICAidG90YWxf
Y291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9u
X2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCTm5rVWxjaWkzcjEiCiAgICAg
ICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAibWV0
YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICJpZCI6
ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0
MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAg
ICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4
MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAg
ImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3Vu
dCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAg
ICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0
YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWln
bmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAg
InN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICJ0cmlh
bF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAogICAgICAgICJxdWFu
dGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDgzNywKICAgICAg
ICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9wZXJjZW50Ijog
bnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAgICAgICAidHJp
YWxfc3RhcnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQi
OiAic3ViX0JRQklJbXVVV2JyanpCIiwKICAgICAgICAib2JqZWN0IjogInN1
YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9wZXJjZW50
IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJjaGFyZ2VfYXV0b21hdGlj
YWxseSIsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogdHJ1ZSwK
ICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNTA1NzI0NTA3LAogICAgICAgICJj
cmVhdGVkIjogMTUwNTcyNDUwMywKICAgICAgICAiY3VycmVudF9wZXJpb2Rf
ZW5kIjogMTUwODMxNjUwMywKICAgICAgICAiY3VycmVudF9wZXJpb2Rfc3Rh
cnQiOiAxNTA1NzI0NTAzLAogICAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6
TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAg
ICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRlbXMiOiB7CiAgICAg
ICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAgImRhdGEiOiBbCiAg
ICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAic2lfMUIzS3ZUMnNP
bWY0N056OXUzaU1hNVN6IiwKICAgICAgICAgICAgICAib2JqZWN0IjogInN1
YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE1
MDU3MjQ1MDMsCiAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg
ICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAgICAiaWQiOiAibWVu
c3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgy
NyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAg
ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICAgICAiY3Jl
YXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgICAiY3VycmVuY3ki
OiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIs
CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAg
ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICAgICAi
bWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1
ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVu
c2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAg
ICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAg
ICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAg
ICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHkiOiAxCiAgICAgICAg
ICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFzX21vcmUiOiBmYWxz
ZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAgICAgICAidXJs
IjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9C
UUJJSW11VVdicmp6QiIKICAgICAgICB9LAogICAgICAgICJsaXZlbW9kZSI6
IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFu
IjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0
dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVj
dCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAg
ICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5
IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAg
ICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9k
ZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAg
ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs
IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg
LSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBu
dWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAg
ICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQi
OiAxNTA1NzI0NTAzLAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAg
ICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQi
OiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfSwK
ICAgICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSEhQQmpPNTczSlciLAog
ICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBw
bGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5n
IjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0
X3BlcmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1
MDU3MjQ0NTgsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NDUyLAogICAg
ICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2NDUyLAogICAgICAg
ICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ0NTIsCiAgICAgICAg
ImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRp
c2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAg
ICAgICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAg
ICAgICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAg
ICJpZCI6ICJzaV8xQjNLdWUyc09tZjQ3Tno5MlBDdkRVWksiLAogICAgICAg
ICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAg
ICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDQ1MywKICAgICAgICAgICAgICAi
bWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAg
ICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50
LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmpl
Y3QiOiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwK
ICAgICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAg
ICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAg
ImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZh
bF9jb3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAg
ICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRp
YW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1w
bG9pIC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNj
cmlwdG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2Rf
ZGF5cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJx
dWFudGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAg
ICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50
IjogMSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVt
cz9zdWJzY3JpcHRpb249c3ViX0JRQkhIUEJqTzU3M0pXIgogICAgICAgIH0s
CiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVu
c3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgy
NyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFt
b3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgs
CiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRl
cnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAx
LAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0
YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYg
csOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQs
IGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0
ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVy
aW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHki
OiAxLAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ0NTIsCiAgICAgICAgInN0
YXR1cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGws
CiAgICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0
YXJ0IjogbnVsbAogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFs
c2UsCiAgICAidG90YWxfY291bnQiOiAzLAogICAgInVybCI6ICIvdjEvY3Vz
dG9tZXJzL2N1c184Q3pOdE0wOE5WbFNHTi9zdWJzY3JpcHRpb25zIgogIH0K
fQo=
http_version:
recorded_at: Wed, 06 Apr 2016 14:03:01 GMT
recorded_at: Mon, 18 Sep 2017 08:54:10 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices
@ -739,9 +1161,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '27'
response:
@ -752,11 +1174,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:03:02 GMT
- Mon, 18 Sep 2017 08:54:11 GMT
Content-Type:
- application/json
Content-Length:
- '1426'
- '1990'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -765,12 +1187,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DigRXqOIStdA0
- req_MD7tR4VWUwGjSi
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -779,17 +1203,18 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "in_17xHFK2sOmf47Nz9jegPFlNt",
"id": "in_1B3L152sOmf47Nz9z31UmWS7",
"object": "invoice",
"amount_due": 2200,
"amount_due": 2400,
"application_fee": null,
"attempt_count": 0,
"attempted": false,
"billing": "charge_automatically",
"charge": null,
"closed": false,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1459951382,
"date": 1505724851,
"description": null,
"discount": null,
"ending_balance": null,
@ -798,17 +1223,17 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
"id": "ii_1B3L112sOmf47Nz9HhdRh67V",
"object": "line_item",
"amount": 3200,
"amount": -1000,
"currency": "usd",
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"discountable": true,
"description": "wallet -10.0",
"discountable": false,
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
"start": 1505724847,
"end": 1505724847
},
"plan": null,
"proration": false,
@ -817,52 +1242,51 @@ http_interactions:
"type": "invoiceitem"
},
{
"id": "ii_17xHFG2sOmf47N59hh8aJSt6",
"object": "invoiceitem",
"amount": -1000,
"id": "ii_1B3L102sOmf47Nz9bcXk9I95",
"object": "line_item",
"amount": 3400,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1459951378,
"description": "Wallet -1000",
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
"start": 1505724846,
"end": 1505724846
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
"subscription": null,
"type": "invoiceitem"
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/in_17xHFK2sOmf47Nz9jegPFlNt/lines"
"total_count": 2,
"url": "/v1/invoices/in_1B3L152sOmf47Nz9z31UmWS7/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": 1459954982,
"next_payment_attempt": 1505728451,
"number": "9ebfead20b-0007",
"paid": false,
"period_end": 1459951382,
"period_start": 1459948968,
"period_end": 1508316452,
"period_start": 1505724452,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
"subscription": null,
"subtotal": 2200,
"subtotal": 2400,
"tax": null,
"tax_percent": null,
"total": 2200,
"total": 2400,
"webhooks_delivered_at": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:03:02 GMT
recorded_at: Mon, 18 Sep 2017 08:54:11 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices/in_17xHFK2sOmf47Nz9jegPFlNt/pay
uri: https://api.stripe.com/v1/invoices/in_1B3L152sOmf47Nz9z31UmWS7/pay
body:
encoding: ASCII-8BIT
string: ''
@ -878,9 +1302,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '0'
response:
@ -891,11 +1315,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:03:03 GMT
- Mon, 18 Sep 2017 08:54:13 GMT
Content-Type:
- application/json
Content-Length:
- '1445'
- '2009'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -904,12 +1328,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DigckzVuj8MLI
- req_frf59awTiJQwLz
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -918,17 +1344,18 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "in_17xHFK2sOmf47Nz9jegPFlNt",
"id": "in_1B3L152sOmf47Nz9z31UmWS7",
"object": "invoice",
"amount_due": 2200,
"amount_due": 2400,
"application_fee": null,
"attempt_count": 1,
"attempted": true,
"charge": "ch_17xHFL2sOmf47Nz9FCQ0BJKc",
"billing": "charge_automatically",
"charge": "ch_1B3L162sOmf47Nz9qcHIrHQK",
"closed": true,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1459951382,
"date": 1505724851,
"description": null,
"discount": null,
"ending_balance": 0,
@ -937,17 +1364,17 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
"id": "ii_1B3L112sOmf47Nz9HhdRh67V",
"object": "line_item",
"amount": 3200,
"amount": -1000,
"currency": "usd",
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"discountable": true,
"description": "wallet -10.0",
"discountable": false,
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
"start": 1505724847,
"end": 1505724847
},
"plan": null,
"proration": false,
@ -956,52 +1383,51 @@ http_interactions:
"type": "invoiceitem"
},
{
"id": "ii_17xHFG2sOmf47N59hh8aJSt6",
"object": "invoiceitem",
"amount": -1000,
"id": "ii_1B3L102sOmf47Nz9bcXk9I95",
"object": "line_item",
"amount": 3400,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1459951378,
"description": "Wallet -1000",
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
"start": 1505724846,
"end": 1505724846
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
"subscription": null,
"type": "invoiceitem"
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/in_17xHFK2sOmf47Nz9jegPFlNt/lines"
"total_count": 2,
"url": "/v1/invoices/in_1B3L152sOmf47Nz9z31UmWS7/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": null,
"number": "9ebfead20b-0007",
"paid": true,
"period_end": 1459951382,
"period_start": 1459948968,
"period_end": 1508316452,
"period_start": 1505724452,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
"subscription": null,
"subtotal": 2200,
"subtotal": 2400,
"tax": null,
"tax_percent": null,
"total": 2200,
"webhooks_delivered_at": 1459951382
"total": 2400,
"webhooks_delivered_at": 1505724851
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:03:03 GMT
recorded_at: Mon, 18 Sep 2017 08:54:13 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources/card_17xHFG2sOmf47Nz95yErDQbL
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources/card_1B3L0y2sOmf47Nz9AZVEmtnY
body:
encoding: US-ASCII
string: ''
@ -1017,9 +1443,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -1028,7 +1454,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:03:04 GMT
- Mon, 18 Sep 2017 08:54:14 GMT
Content-Type:
- application/json
Content-Length:
@ -1041,12 +1467,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8Dig3VHawFrxab
- req_tk6tIKk8cV3KXX
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -1056,8 +1484,8 @@ http_interactions:
string: |
{
"deleted": true,
"id": "card_17xHFG2sOmf47Nz95yErDQbL"
"id": "card_1B3L0y2sOmf47Nz9AZVEmtnY"
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:03:04 GMT
recorded_at: Mon, 18 Sep 2017 08:54:14 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -18,9 +18,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,11 +31,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 15:22:24 GMT
- Mon, 18 Sep 2017 08:54:24 GMT
Content-Type:
- application/json
Content-Length:
- '778'
- '779'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DjynFP8DZtkjQ
- req_rBBmJ98gbN56kC
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_17xIU82sOmf47Nz9lhdbMB7A",
"id": "tok_1B3L1I2sOmf47Nz9UYqYHZPI",
"object": "token",
"card": {
"id": "card_17xIU82sOmf47Nz94aVn3WmU",
"id": "card_1B3L1I2sOmf47Nz9bQ7Ubbqd",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,20 +86,20 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "86.76.5.109",
"created": 1459956144,
"client_ip": "90.112.59.71",
"created": 1505724864,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Wed, 06 Apr 2016 15:22:24 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:24 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
method: get
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzKe50I0J1gaI&limit=100
body:
encoding: UTF-8
string: customer=cus_8CzKe50I0J1gaI&amount=0&currency=usd&description=FORM1%2B+imprimante+3D+April+11%2C+2016+14%3A00+-+03%3A00+PM
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -110,11 +112,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
Content-Length:
- '122'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -123,11 +123,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 15:22:25 GMT
- Mon, 18 Sep 2017 08:54:25 GMT
Content-Type:
- application/json
Content-Length:
- '466'
- '4731'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -136,12 +136,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DjyDxNWUBoDuT
- req_CUHXfO0pLWL0Mk
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -150,34 +152,270 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_17xIU92sOmf47Nz9JiLpXlHs",
"object": "list",
"data": [
{
"id": "ii_1B3L1B2sOmf47Nz9dbDfy0so",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1505724857,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_1B3L1D2sOmf47Nz9ujfC1Wx9",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724857,
"end": 1505724857
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Kty2sOmf47Nz96UsCcZKF",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1505724410,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_1B3Ku02sOmf47Nz9iK6od82f",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724410,
"end": 1505724410
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Kso2sOmf47Nz9XnTBtpv8",
"object": "invoiceitem",
"amount": 1000,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1505724338,
"description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM",
"discountable": true,
"invoice": "in_1B3Ksv2sOmf47Nz9IG9BBW8S",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724338,
"end": 1505724338
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Ksn2sOmf47Nz9SArgrvPT",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1505724337,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3Ksv2sOmf47Nz9IG9BBW8S",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724337,
"end": 1505724337
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xeim2sOmf47Nz9aoVFuMOo",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1460041620,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_17xeip2sOmf47Nz9kf2GTiaS",
"livemode": false,
"metadata": {},
"period": {
"start": 1460041620,
"end": 1460041620
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xefB2sOmf47Nz90DXwNFPG",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1460041397,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_17xefC2sOmf47Nz9PU2pUoSg",
"livemode": false,
"metadata": {},
"period": {
"start": 1460041397,
"end": 1460041397
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xIU92sOmf47Nz98bi7Z01X",
"object": "invoiceitem",
"amount": 1000,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1459956145,
"description": "FORM1+ imprimante 3D April 11, 2016 15:00 - 04:00 PM",
"discountable": true,
"invoice": "in_17xIUC2sOmf47Nz9RmCbPPpz",
"livemode": false,
"metadata": {},
"period": {
"start": 1459956145,
"end": 1459956145
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xIU92sOmf47Nz9JiLpXlHs",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1459956145,
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_17xIUC2sOmf47Nz9RmCbPPpz",
"livemode": false,
"metadata": {},
"period": {
"start": 1459956145,
"end": 1459956145
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
],
"has_more": false,
"url": "/v1/invoiceitems"
}
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:25 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8CzKe50I0J1gaI&amount=0&currency=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+14%3A00+-+03%3A00+PM
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '126'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 18 Sep 2017 08:54:25 GMT
Content-Type:
- application/json
Content-Length:
- '470'
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:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_mBs8AeIi26ArEU
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "ii_1B3L1J2sOmf47Nz9Qjf0ElJ7",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1459956145,
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"date": 1505724865,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1459956145,
"end": 1459956145
"start": 1505724865,
"end": 1505724865
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 15:22:25 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:26 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8CzKe50I0J1gaI&amount=1000&currency=usd&description=FORM1%2B+imprimante+3D+April+11%2C+2016+15%3A00+-+04%3A00+PM
string: customer=cus_8CzKe50I0J1gaI&amount=1000&currency=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+15%3A00+-+04%3A00+PM
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -190,11 +428,11 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '125'
- '129'
response:
status:
code: 200
@ -203,11 +441,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 15:22:25 GMT
- Mon, 18 Sep 2017 08:54:26 GMT
Content-Type:
- application/json
Content-Length:
- '469'
- '473'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -216,12 +454,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8Djyoqd7RfPgqy
- req_X0rtTGbxYcEHNX
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -230,28 +470,28 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_17xIU92sOmf47Nz98bi7Z01X",
"id": "ii_1B3L1K2sOmf47Nz9qJv9M20Q",
"object": "invoiceitem",
"amount": 1000,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1459956145,
"description": "FORM1+ imprimante 3D April 11, 2016 15:00 - 04:00 PM",
"date": 1505724866,
"description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1459956145,
"end": 1459956145
"start": 1505724866,
"end": 1505724866
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 15:22:26 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:26 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI
@ -270,9 +510,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -281,7 +521,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 15:22:26 GMT
- Mon, 18 Sep 2017 08:54:27 GMT
Content-Type:
- application/json
Content-Length:
@ -294,12 +534,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DjyndnI54v1Uz
- req_TGsPAAmcyqQJQW
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -336,14 +578,14 @@ http_interactions:
"url": "/v1/customers/cus_8CzKe50I0J1gaI/subscriptions"
}
}
http_version:
recorded_at: Wed, 06 Apr 2016 15:22:26 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:27 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI/sources
body:
encoding: UTF-8
string: card=tok_17xIU82sOmf47Nz9lhdbMB7A
string: card=tok_1B3L1I2sOmf47Nz9UYqYHZPI
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -356,9 +598,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '33'
response:
@ -369,7 +611,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 15:22:27 GMT
- Mon, 18 Sep 2017 08:54:28 GMT
Content-Type:
- application/json
Content-Length:
@ -382,12 +624,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DjyrgeP2PYiHp
- req_WbVXW7BaLJsFc0
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -396,7 +640,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "card_17xIU82sOmf47Nz94aVn3WmU",
"id": "card_1B3L1I2sOmf47Nz9bQ7Ubbqd",
"object": "card",
"address_city": null,
"address_country": null,
@ -412,7 +656,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -420,8 +664,8 @@ http_interactions:
"name": null,
"tokenization_method": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 15:22:27 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:28 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices
@ -440,9 +684,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '27'
response:
@ -453,11 +697,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 15:22:28 GMT
- Mon, 18 Sep 2017 08:54:31 GMT
Content-Type:
- application/json
Content-Length:
- '1953'
- '2029'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -466,12 +710,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DjyPqF2AowT93
- req_EB69hb1VatAHXD
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -480,17 +726,18 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "in_17xIUC2sOmf47Nz9RmCbPPpz",
"id": "in_1B3L1P2sOmf47Nz9jJ905GpU",
"object": "invoice",
"amount_due": 1000,
"application_fee": null,
"attempt_count": 0,
"attempted": false,
"billing": "charge_automatically",
"charge": null,
"closed": false,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1459956148,
"date": 1505724871,
"description": null,
"discount": null,
"ending_balance": null,
@ -499,17 +746,17 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ii_17xIU92sOmf47Nz98bi7Z01X",
"id": "ii_1B3L1K2sOmf47Nz9qJv9M20Q",
"object": "line_item",
"amount": 1000,
"currency": "usd",
"description": "FORM1+ imprimante 3D April 11, 2016 15:00 - 04:00 PM",
"description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1459956145,
"end": 1459956145
"start": 1505724866,
"end": 1505724866
},
"plan": null,
"proration": false,
@ -518,17 +765,17 @@ http_interactions:
"type": "invoiceitem"
},
{
"id": "ii_17xIU92sOmf47Nz9JiLpXlHs",
"id": "ii_1B3L1J2sOmf47Nz9Qjf0ElJ7",
"object": "line_item",
"amount": 0,
"currency": "usd",
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1459956145,
"end": 1459956145
"start": 1505724865,
"end": 1505724865
},
"plan": null,
"proration": false,
@ -539,14 +786,15 @@ http_interactions:
],
"has_more": false,
"total_count": 2,
"url": "/v1/invoices/in_17xIUC2sOmf47Nz9RmCbPPpz/lines"
"url": "/v1/invoices/in_1B3L1P2sOmf47Nz9jJ905GpU/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": 1459959748,
"next_payment_attempt": 1505728471,
"number": "80bcaa9d6c-0004",
"paid": false,
"period_end": 1459956148,
"period_start": 1459956148,
"period_end": 1505724871,
"period_start": 1505724871,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
@ -557,11 +805,11 @@ http_interactions:
"total": 1000,
"webhooks_delivered_at": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 15:22:28 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:31 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices/in_17xIUC2sOmf47Nz9RmCbPPpz/pay
uri: https://api.stripe.com/v1/invoices/in_1B3L1P2sOmf47Nz9jJ905GpU/pay
body:
encoding: ASCII-8BIT
string: ''
@ -577,9 +825,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '0'
response:
@ -590,11 +838,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 15:22:29 GMT
- Mon, 18 Sep 2017 08:54:32 GMT
Content-Type:
- application/json
Content-Length:
- '1972'
- '2048'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -603,12 +851,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DjynUtcAbsRqG
- req_CfM49U0xLMpVKX
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -617,17 +867,18 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "in_17xIUC2sOmf47Nz9RmCbPPpz",
"id": "in_1B3L1P2sOmf47Nz9jJ905GpU",
"object": "invoice",
"amount_due": 1000,
"application_fee": null,
"attempt_count": 1,
"attempted": true,
"charge": "ch_17xIUD2sOmf47Nz9ScdFhmGL",
"billing": "charge_automatically",
"charge": "ch_1B3L1Q2sOmf47Nz9BOHlC9jv",
"closed": true,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1459956148,
"date": 1505724871,
"description": null,
"discount": null,
"ending_balance": 0,
@ -636,17 +887,17 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ii_17xIU92sOmf47Nz98bi7Z01X",
"id": "ii_1B3L1K2sOmf47Nz9qJv9M20Q",
"object": "line_item",
"amount": 1000,
"currency": "usd",
"description": "FORM1+ imprimante 3D April 11, 2016 15:00 - 04:00 PM",
"description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1459956145,
"end": 1459956145
"start": 1505724866,
"end": 1505724866
},
"plan": null,
"proration": false,
@ -655,17 +906,17 @@ http_interactions:
"type": "invoiceitem"
},
{
"id": "ii_17xIU92sOmf47Nz9JiLpXlHs",
"id": "ii_1B3L1J2sOmf47Nz9Qjf0ElJ7",
"object": "line_item",
"amount": 0,
"currency": "usd",
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1459956145,
"end": 1459956145
"start": 1505724865,
"end": 1505724865
},
"plan": null,
"proration": false,
@ -676,14 +927,15 @@ http_interactions:
],
"has_more": false,
"total_count": 2,
"url": "/v1/invoices/in_17xIUC2sOmf47Nz9RmCbPPpz/lines"
"url": "/v1/invoices/in_1B3L1P2sOmf47Nz9jJ905GpU/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": null,
"number": "80bcaa9d6c-0004",
"paid": true,
"period_end": 1459956148,
"period_start": 1459956148,
"period_end": 1505724871,
"period_start": 1505724871,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
@ -692,13 +944,13 @@ http_interactions:
"tax": null,
"tax_percent": null,
"total": 1000,
"webhooks_delivered_at": 1459956148
"webhooks_delivered_at": 1505724871
}
http_version:
recorded_at: Wed, 06 Apr 2016 15:22:29 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:32 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI/sources/card_17xIU82sOmf47Nz94aVn3WmU
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI/sources/card_1B3L1I2sOmf47Nz9bQ7Ubbqd
body:
encoding: US-ASCII
string: ''
@ -714,9 +966,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -725,7 +977,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 15:22:30 GMT
- Mon, 18 Sep 2017 08:54:33 GMT
Content-Type:
- application/json
Content-Length:
@ -738,12 +990,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DjyJ9JQVHnxT0
- req_iV2lD3XQlaQT5F
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -753,8 +1007,8 @@ http_interactions:
string: |
{
"deleted": true,
"id": "card_17xIU82sOmf47Nz94aVn3WmU"
"id": "card_1B3L1I2sOmf47Nz9bQ7Ubbqd"
}
http_version:
recorded_at: Wed, 06 Apr 2016 15:22:30 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:33 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4000000000000002&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4000000000000002&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -18,9 +18,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,11 +31,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:26:13 GMT
- Mon, 18 Sep 2017 08:53:31 GMT
Content-Type:
- application/json
Content-Length:
- '780'
- '779'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nflaXEiTf6O0X
- req_uPtkdMZa7Vrhh0
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_18W4QL2sOmf47Nz9GM695H9O",
"id": "tok_1B3L0R2sOmf47Nz9kqrwf4rs",
"object": "token",
"card": {
"id": "card_18W4QL2sOmf47Nz9NuqbiJMr",
"id": "card_1B3L0R2sOmf47Nz9xB6kupfY",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "xsVM9Mfv9kfwhRSL",
"funding": "credit",
"last4": "0002",
@ -84,20 +86,20 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "82.122.118.54",
"created": 1468243573,
"client_ip": "90.112.59.71",
"created": 1505724811,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Mon, 11 Jul 2016 13:26:13 GMT
recorded_at: Mon, 18 Sep 2017 08:53:31 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
method: get
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=3200&currency=usd&description=FORM1%2B+imprimante+3D+July+10%2C+2016+14%3A00+-+03%3A00+PM
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -110,11 +112,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
Content-Length:
- '124'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -123,11 +123,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:26:14 GMT
- Mon, 18 Sep 2017 08:53:32 GMT
Content-Type:
- application/json
Content-Length:
- '468'
- '8647'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -136,12 +136,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nflWbFKH0Wr7j
- req_mxHkH6irMEaPi5
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -150,20 +152,403 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_18W4QM2sOmf47Nz9g7EdrbZV",
"object": "list",
"data": [
{
"id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724803,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_1B3L0N2sOmf47Nz9YpYod08J",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724803,
"end": 1505724803
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3L012sOmf47Nz948JNFRoK",
"object": "invoiceitem",
"amount": -675,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724785,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_1B3L052sOmf47Nz9zx9vIGks",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724785,
"end": 1505724785
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724784,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3L052sOmf47Nz9zx9vIGks",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724784,
"end": 1505724784
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Kuo2sOmf47Nz9egmtGncE",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724462,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3Kut2sOmf47Nz9ht8mAIGU",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724462,
"end": 1505724462
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3KuK2sOmf47Nz9RqRGmh0l",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724432,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_1B3KuO2sOmf47Nz9invMhPqV",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724432,
"end": 1505724432
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Ku62sOmf47Nz92wSUMzHq",
"object": "invoiceitem",
"amount": -675,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724418,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724418,
"end": 1505724418
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Ku52sOmf47Nz9vmqyS5Gy",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724417,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724417,
"end": 1505724417
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
"object": "invoiceitem",
"amount": -510,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338732,
"description": "coupon XMAS10",
"discountable": false,
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
"livemode": false,
"metadata": {},
"period": {
"start": 1473338732,
"end": 1473338732
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338731,
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
"discountable": true,
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
"livemode": false,
"metadata": {},
"period": {
"start": 1473338731,
"end": 1473338731
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
"object": "invoiceitem",
"amount": -450,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321651,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321651,
"end": 1473321651
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
"object": "invoiceitem",
"amount": -225,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1460041342,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_17xeeM2sOmf47Nz9kzn0pC8f",
"livemode": false,
"metadata": {},
"period": {
"start": 1460041342,
"end": 1460041342
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951378,
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_17xHFK2sOmf47Nz9jegPFlNt",
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xHF82sOmf47Nz9QT6BnkAZ",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951370,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 09:00 AM",
"discountable": true,
"invoice": "in_17xHFC2sOmf47Nz9ZZeO0yST",
"livemode": false,
"metadata": {},
"period": {
"start": 1459951370,
"end": 1459951370
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
],
"has_more": false,
"url": "/v1/invoiceitems"
}
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:32 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=3200&currency=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+14%3A00+-+03%3A00+PM
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '129'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 18 Sep 2017 08:53:33 GMT
Content-Type:
- application/json
Content-Length:
- '473'
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:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_dsPsy5cWquMsHp
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "ii_1B3L0T2sOmf47Nz9OXEMdidl",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1468243574,
"description": "FORM1+ imprimante 3D July 10, 2016 14:00 - 03:00 PM",
"date": 1505724813,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1468243574,
"end": 1468243574
"start": 1505724813,
"end": 1505724813
},
"plan": null,
"proration": false,
@ -171,7 +556,7 @@ http_interactions:
"subscription": null
}
http_version:
recorded_at: Mon, 11 Jul 2016 13:26:14 GMT
recorded_at: Mon, 18 Sep 2017 08:53:33 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
@ -190,9 +575,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -201,11 +586,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:26:15 GMT
- Mon, 18 Sep 2017 08:53:34 GMT
Content-Type:
- application/json
Content-Length:
- '1408'
- '7733'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -214,12 +599,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nflczxuJx3Fit
- req_zCowIoVV1dD8Cj
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -233,7 +620,7 @@ http_interactions:
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_17z7CT2sOmf47Nz9wtWkhGor",
"default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
@ -245,7 +632,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "card_17z7CT2sOmf47Nz9wtWkhGor",
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"object": "card",
"address_city": null,
"address_country": null,
@ -261,7 +648,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -276,20 +663,216 @@ http_interactions:
},
"subscriptions": {
"object": "list",
"data": [],
"data": [
{
"id": "sub_BQBMKKS6nutZLr",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724793,
"created": 1505724789,
"current_period_end": 1508316789,
"current_period_start": 1505724789,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
"object": "subscription_item",
"created": 1505724789,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724789,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBH03MUz5WO4y",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724499,
"created": 1505724494,
"current_period_end": 1508316494,
"current_period_start": 1505724494,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3KvK2sOmf47Nz9mNLN0l2q",
"object": "subscription_item",
"created": 1505724494,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724494,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBGRftUBikhtm",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724425,
"created": 1505724421,
"current_period_end": 1508316421,
"current_period_start": 1505724421,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Ku92sOmf47Nz9sdo927vf",
"object": "subscription_item",
"created": 1505724421,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724421,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 0,
"total_count": 3,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Mon, 11 Jul 2016 13:26:15 GMT
recorded_at: Mon, 18 Sep 2017 08:53:34 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources
body:
encoding: UTF-8
string: card=tok_18W4QL2sOmf47Nz9GM695H9O
string: card=tok_1B3L0R2sOmf47Nz9kqrwf4rs
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -302,9 +885,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '33'
response:
@ -315,11 +898,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:26:16 GMT
- Mon, 18 Sep 2017 08:53:35 GMT
Content-Type:
- application/json
Content-Length:
- '134'
- '173'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -328,12 +911,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nflIAexuhWlA2
- req_GnbA1i9ui5RfdB
Stripe-Version:
- '2015-10-16'
body:
@ -344,70 +929,10 @@ http_interactions:
"message": "Your card was declined.",
"type": "card_error",
"param": "",
"code": "card_declined"
"code": "card_declined",
"decline_code": "generic_decline"
}
}
http_version:
recorded_at: Mon, 11 Jul 2016 13:26:16 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/invoiceitems/ii_18W4QM2sOmf47Nz9g7EdrbZV
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:26:17 GMT
Content-Type:
- application/json
Content-Length:
- '61'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nflVBopesOpHn
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"deleted": true,
"id": "ii_18W4QM2sOmf47Nz9g7EdrbZV"
}
http_version:
recorded_at: Mon, 11 Jul 2016 13:26:17 GMT
recorded_at: Mon, 18 Sep 2017 08:53:35 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -18,9 +18,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,11 +31,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:02:58 GMT
- Mon, 18 Sep 2017 08:53:36 GMT
Content-Type:
- application/json
Content-Length:
- '778'
- '779'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DigzZOUKbFLP8
- req_IxVJETx0YE83qh
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_17xHFG2sOmf47Nz9pZ4CafpU",
"id": "tok_1B3L0W2sOmf47Nz9YIxXHgWn",
"object": "token",
"card": {
"id": "card_17xHFG2sOmf47Nz95yErDQbL",
"id": "card_1B3L0W2sOmf47Nz9IWFm3G6v",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,20 +86,20 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "86.76.5.109",
"created": 1459951378,
"client_ip": "90.112.59.71",
"created": 1505724816,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:02:58 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:36 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
method: get
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=3200&currency=usd&description=FORM1%2B+imprimante+3D+April+11%2C+2016+14%3A00+-+03%3A00+PM
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -110,11 +112,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
Content-Length:
- '125'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -123,11 +123,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:02:58 GMT
- Mon, 18 Sep 2017 08:53:37 GMT
Content-Type:
- application/json
Content-Length:
- '469'
- '9205'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -136,12 +136,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DigTaKJ04PVMc
- req_v0QlFIQhn3VFHz
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -150,28 +152,495 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
"object": "list",
"data": [
{
"id": "ii_1B3L0T2sOmf47Nz9OXEMdidl",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724813,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1505724813,
"end": 1505724813
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724803,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_1B3L0N2sOmf47Nz9YpYod08J",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724803,
"end": 1505724803
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3L012sOmf47Nz948JNFRoK",
"object": "invoiceitem",
"amount": -675,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724785,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_1B3L052sOmf47Nz9zx9vIGks",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724785,
"end": 1505724785
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724784,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3L052sOmf47Nz9zx9vIGks",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724784,
"end": 1505724784
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Kuo2sOmf47Nz9egmtGncE",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724462,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3Kut2sOmf47Nz9ht8mAIGU",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724462,
"end": 1505724462
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3KuK2sOmf47Nz9RqRGmh0l",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724432,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_1B3KuO2sOmf47Nz9invMhPqV",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724432,
"end": 1505724432
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Ku62sOmf47Nz92wSUMzHq",
"object": "invoiceitem",
"amount": -675,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724418,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724418,
"end": 1505724418
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Ku52sOmf47Nz9vmqyS5Gy",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724417,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724417,
"end": 1505724417
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
"object": "invoiceitem",
"amount": -510,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338732,
"description": "coupon XMAS10",
"discountable": false,
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
"livemode": false,
"metadata": {},
"period": {
"start": 1473338732,
"end": 1473338732
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338731,
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
"discountable": true,
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
"livemode": false,
"metadata": {},
"period": {
"start": 1473338731,
"end": 1473338731
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
"object": "invoiceitem",
"amount": -450,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321651,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321651,
"end": 1473321651
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
"object": "invoiceitem",
"amount": -225,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1460041342,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_17xeeM2sOmf47Nz9kzn0pC8f",
"livemode": false,
"metadata": {},
"period": {
"start": 1460041342,
"end": 1460041342
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951378,
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_17xHFK2sOmf47Nz9jegPFlNt",
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xHF82sOmf47Nz9QT6BnkAZ",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951370,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 09:00 AM",
"discountable": true,
"invoice": "in_17xHFC2sOmf47Nz9ZZeO0yST",
"livemode": false,
"metadata": {},
"period": {
"start": 1459951370,
"end": 1459951370
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
],
"has_more": false,
"url": "/v1/invoiceitems"
}
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:37 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L0T2sOmf47Nz9OXEMdidl
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 18 Sep 2017 08:53:38 GMT
Content-Type:
- application/json
Content-Length:
- '61'
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:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_apPZpzQnYfS7IC
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"deleted": true,
"id": "ii_1B3L0T2sOmf47Nz9OXEMdidl"
}
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:38 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=3200&currency=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+14%3A00+-+03%3A00+PM
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '129'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 18 Sep 2017 08:53:38 GMT
Content-Type:
- application/json
Content-Length:
- '473'
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:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_xeDUKVhcpnww2l
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951378,
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"date": 1505724818,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
"start": 1505724818,
"end": 1505724818
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:02:58 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:38 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
@ -190,9 +659,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -201,11 +670,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:02:59 GMT
- Mon, 18 Sep 2017 08:53:40 GMT
Content-Type:
- application/json
Content-Length:
- '3462'
- '7733'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -214,12 +683,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8Digc2V3aKSGrn
- req_NRtlLT39ygNjWM
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -233,7 +704,7 @@ http_interactions:
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
"default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
@ -245,7 +716,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"object": "card",
"address_city": null,
"address_country": null,
@ -261,7 +732,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -278,16 +749,48 @@ http_interactions:
"object": "list",
"data": [
{
"id": "sub_8Di9gqPLwt5IIC",
"id": "sub_BQBMKKS6nutZLr",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1459949404,
"current_period_end": 1462541399,
"current_period_start": 1459949399,
"canceled_at": 1505724793,
"created": 1505724789,
"current_period_end": 1508316789,
"current_period_start": 1505724789,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
"object": "subscription_item",
"created": 1505724789,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -304,23 +807,55 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1459949399,
"start": 1505724789,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8Di2VadRvr7A99",
"id": "sub_BQBH03MUz5WO4y",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1459948972,
"current_period_end": 1462540968,
"current_period_start": 1459948968,
"canceled_at": 1505724499,
"created": 1505724494,
"current_period_end": 1508316494,
"current_period_start": 1505724494,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3KvK2sOmf47Nz9mNLN0l2q",
"object": "subscription_item",
"created": 1505724494,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -337,7 +872,72 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1459948968,
"start": 1505724494,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBGRftUBikhtm",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724425,
"created": 1505724421,
"current_period_end": 1508316421,
"current_period_start": 1505724421,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Ku92sOmf47Nz9sdo927vf",
"object": "subscription_item",
"created": 1505724421,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724421,
"status": "active",
"tax_percent": null,
"trial_end": null,
@ -345,18 +945,18 @@ http_interactions:
}
],
"has_more": false,
"total_count": 2,
"total_count": 3,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:02:59 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:40 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources
body:
encoding: UTF-8
string: card=tok_17xHFG2sOmf47Nz9pZ4CafpU
string: card=tok_1B3L0W2sOmf47Nz9YIxXHgWn
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -369,9 +969,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '33'
response:
@ -382,7 +982,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:03:00 GMT
- Mon, 18 Sep 2017 08:53:41 GMT
Content-Type:
- application/json
Content-Length:
@ -395,12 +995,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DigAxuQClwx3A
- req_tPZGiOLb8nT67d
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -409,7 +1011,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "card_17xHFG2sOmf47Nz95yErDQbL",
"id": "card_1B3L0W2sOmf47Nz9IWFm3G6v",
"object": "card",
"address_city": null,
"address_country": null,
@ -425,7 +1027,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -433,14 +1035,14 @@ http_interactions:
"name": null,
"tokenization_method": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:03:00 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:42 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
body:
encoding: UTF-8
string: default_source=card_17xHFG2sOmf47Nz95yErDQbL
string: default_source=card_1B3L0W2sOmf47Nz9IWFm3G6v
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -453,9 +1055,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '44'
response:
@ -466,11 +1068,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:03:01 GMT
- Mon, 18 Sep 2017 08:53:42 GMT
Content-Type:
- application/json
Content-Length:
- '4190'
- '8461'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -479,12 +1081,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8Dig1Js3cBEeqQ
- req_UzJfZWItnduFA2
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -498,7 +1102,7 @@ http_interactions:
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_17xHFG2sOmf47Nz95yErDQbL",
"default_source": "card_1B3L0W2sOmf47Nz9IWFm3G6v",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
@ -510,7 +1114,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "card_17xHFG2sOmf47Nz95yErDQbL",
"id": "card_1B3L0W2sOmf47Nz9IWFm3G6v",
"object": "card",
"address_city": null,
"address_country": null,
@ -526,7 +1130,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -535,7 +1139,7 @@ http_interactions:
"tokenization_method": null
},
{
"id": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"object": "card",
"address_city": null,
"address_country": null,
@ -551,7 +1155,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -568,16 +1172,48 @@ http_interactions:
"object": "list",
"data": [
{
"id": "sub_8Di9gqPLwt5IIC",
"id": "sub_BQBMKKS6nutZLr",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1459949404,
"current_period_end": 1462541399,
"current_period_start": 1459949399,
"canceled_at": 1505724793,
"created": 1505724789,
"current_period_end": 1508316789,
"current_period_start": 1505724789,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
"object": "subscription_item",
"created": 1505724789,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -594,23 +1230,55 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1459949399,
"start": 1505724789,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8Di2VadRvr7A99",
"id": "sub_BQBH03MUz5WO4y",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1459948972,
"current_period_end": 1462540968,
"current_period_start": 1459948968,
"canceled_at": 1505724499,
"created": 1505724494,
"current_period_end": 1508316494,
"current_period_start": 1505724494,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3KvK2sOmf47Nz9mNLN0l2q",
"object": "subscription_item",
"created": 1505724494,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -627,7 +1295,72 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1459948968,
"start": 1505724494,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBGRftUBikhtm",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724425,
"created": 1505724421,
"current_period_end": 1508316421,
"current_period_start": 1505724421,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Ku92sOmf47Nz9sdo927vf",
"object": "subscription_item",
"created": 1505724421,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724421,
"status": "active",
"tax_percent": null,
"trial_end": null,
@ -635,12 +1368,12 @@ http_interactions:
}
],
"has_more": false,
"total_count": 2,
"total_count": 3,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:03:01 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:43 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices
@ -659,9 +1392,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '27'
response:
@ -672,11 +1405,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:03:02 GMT
- Mon, 18 Sep 2017 08:53:44 GMT
Content-Type:
- application/json
Content-Length:
- '1426'
- '1498'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -685,12 +1418,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DigRXqOIStdA0
- req_iD3i9JZhcdLh0e
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -699,17 +1434,18 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "in_17xHFK2sOmf47Nz9jegPFlNt",
"id": "in_1B3L0d2sOmf47Nz9sybqyVQx",
"object": "invoice",
"amount_due": 3200,
"application_fee": null,
"attempt_count": 0,
"attempted": false,
"billing": "charge_automatically",
"charge": null,
"closed": false,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951382,
"date": 1505724823,
"description": null,
"discount": null,
"ending_balance": null,
@ -718,17 +1454,17 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
"id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z",
"object": "line_item",
"amount": 3200,
"currency": "usd",
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
"start": 1505724818,
"end": 1505724818
},
"plan": null,
"proration": false,
@ -739,14 +1475,15 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/in_17xHFK2sOmf47Nz9jegPFlNt/lines"
"url": "/v1/invoices/in_1B3L0d2sOmf47Nz9sybqyVQx/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": 1459954982,
"next_payment_attempt": 1505728423,
"number": "d4cc0e661c-0007",
"paid": false,
"period_end": 1459951382,
"period_start": 1459948968,
"period_end": 1508316421,
"period_start": 1505724421,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
@ -757,11 +1494,11 @@ http_interactions:
"total": 3200,
"webhooks_delivered_at": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:03:02 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:44 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices/in_17xHFK2sOmf47Nz9jegPFlNt/pay
uri: https://api.stripe.com/v1/invoices/in_1B3L0d2sOmf47Nz9sybqyVQx/pay
body:
encoding: ASCII-8BIT
string: ''
@ -777,9 +1514,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '0'
response:
@ -790,11 +1527,11 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:03:03 GMT
- Mon, 18 Sep 2017 08:53:45 GMT
Content-Type:
- application/json
Content-Length:
- '1445'
- '1517'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -803,12 +1540,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DigckzVuj8MLI
- req_lmWhdNT85zChxE
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -817,17 +1556,18 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "in_17xHFK2sOmf47Nz9jegPFlNt",
"id": "in_1B3L0d2sOmf47Nz9sybqyVQx",
"object": "invoice",
"amount_due": 3200,
"application_fee": null,
"attempt_count": 1,
"attempted": true,
"charge": "ch_17xHFL2sOmf47Nz9FCQ0BJKc",
"billing": "charge_automatically",
"charge": "ch_1B3L0e2sOmf47Nz9z1pvTozK",
"closed": true,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951382,
"date": 1505724823,
"description": null,
"discount": null,
"ending_balance": 0,
@ -836,17 +1576,17 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
"id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z",
"object": "line_item",
"amount": 3200,
"currency": "usd",
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
"start": 1505724818,
"end": 1505724818
},
"plan": null,
"proration": false,
@ -857,14 +1597,15 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/in_17xHFK2sOmf47Nz9jegPFlNt/lines"
"url": "/v1/invoices/in_1B3L0d2sOmf47Nz9sybqyVQx/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": null,
"number": "d4cc0e661c-0007",
"paid": true,
"period_end": 1459951382,
"period_start": 1459948968,
"period_end": 1508316421,
"period_start": 1505724421,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
@ -873,13 +1614,13 @@ http_interactions:
"tax": null,
"tax_percent": null,
"total": 3200,
"webhooks_delivered_at": 1459951382
"webhooks_delivered_at": 1505724823
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:03:03 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:45 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_17xHFG2sOmf47Nz95yErDQbL
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_1B3L0W2sOmf47Nz9IWFm3G6v
body:
encoding: US-ASCII
string: ''
@ -895,9 +1636,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -906,7 +1647,7 @@ http_interactions:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 14:03:04 GMT
- Mon, 18 Sep 2017 08:53:47 GMT
Content-Type:
- application/json
Content-Length:
@ -919,12 +1660,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8Dig3VHawFrxab
- req_UcuYTs0yXoHJnn
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -934,8 +1677,8 @@ http_interactions:
string: |
{
"deleted": true,
"id": "card_17xHFG2sOmf47Nz95yErDQbL"
"id": "card_1B3L0W2sOmf47Nz9IWFm3G6v"
}
http_version:
recorded_at: Wed, 06 Apr 2016 14:03:04 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:47 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -18,9 +18,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,11 +31,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 21 Jul 2016 13:45:41 GMT
- Mon, 18 Sep 2017 08:53:51 GMT
Content-Type:
- application/json
Content-Length:
- '778'
- '779'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rQLLl2gl7snRL
- req_g5bDFSuFxX1Wjc
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_18ZhUf2sOmf47Nz96Yt86HJI",
"id": "tok_1B3L0l2sOmf47Nz9dZknQMA5",
"object": "token",
"card": {
"id": "card_18ZhUf2sOmf47Nz9LhkQeEmO",
"id": "card_1B3L0l2sOmf47Nz93J9duAzd",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,20 +86,20 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "90.52.50.40",
"created": 1469108741,
"client_ip": "90.112.59.71",
"created": 1505724831,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Thu, 21 Jul 2016 13:45:41 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:51 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
method: get
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzNtM08NVlSGN&limit=100
body:
encoding: UTF-8
string: customer=cus_8CzNtM08NVlSGN&amount=0&currency=usd&description=Formation+Imprimante+3D+July+18%2C+2016+08%3A00+-+12%3A00+PM
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -110,11 +112,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
Content-Length:
- '122'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -123,11 +123,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 21 Jul 2016 13:45:42 GMT
- Mon, 18 Sep 2017 08:53:52 GMT
Content-Type:
- application/json
Content-Length:
- '468'
- '9808'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -136,12 +136,293 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rQLLf16BTkRiQ
- req_5q9RX2zw8G2dUx
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg
ICJpZCI6ICJpaV8xQjNLem0yc09tZjQ3Tno5dTJ3V0Foa2IiLAogICAgICAi
b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAw
LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog
ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDc3
MCwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg
ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5f
MUIzS3pxMnNPbWY0N056OUlYN3JsSFN1IiwKICAgICAgImxpdmVtb2RlIjog
ZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjog
ewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ3NzAsCiAgICAgICAgImVuZCI6
IDE1MDU3MjQ3NzAKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg
ICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGws
CiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAg
ICAiaWQiOiAiaWlfMUIzS3psMnNPbWY0N056OW8xdW5abXN2IiwKICAgICAg
Im9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtNzY1
MCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6
ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ3
NjksCiAgICAgICJkZXNjcmlwdGlvbiI6ICJjb3Vwb24gU1VOTllGQUJMQUIi
LAogICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNl
IjogImluXzFCM0t6cTJzT21mNDdOejlJWDdybEhTdSIsCiAgICAgICJsaXZl
bW9kZSI6IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBl
cmlvZCI6IHsKICAgICAgICAic3RhcnQiOiAxNTA1NzI0NzY5LAogICAgICAg
ICJlbmQiOiAxNTA1NzI0NzY5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVs
bCwKICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHki
OiBudWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAg
IHsKICAgICAgImlkIjogImlpXzFCM0t6azJzT21mNDdOejlPMzNvQUVTOSIs
CiAgICAgICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50
IjogNTEwMDAsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3Vz
dG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAx
NTA1NzI0NzY4LAogICAgICAiZGVzY3JpcHRpb24iOiAiUmFkaW8gbnVtw6ly
aXF1ZSBcblNlcHRlbWJlciAyOCwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBN
XG5TZXB0ZW1iZXIgMjksIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTVxuU2Vw
dGVtYmVyIDMwLCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE0iLAogICAgICAi
ZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIz
S3pxMnNPbWY0N056OUlYN3JsSFN1IiwKICAgICAgImxpdmVtb2RlIjogZmFs
c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog
ICAgICAgICJzdGFydCI6IDE1MDU3MjQ3NjgsCiAgICAgICAgImVuZCI6IDE1
MDU3MjQ3NjgKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi
cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg
ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi
aWQiOiAiaWlfMUIzS3ZTMnNPbWY0N056OWRSZVBsRDd2IiwKICAgICAgIm9i
amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwK
ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj
dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ1MDIs
CiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAi
ZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFC
M0t2VDJzT21mNDdOejlEVnY1ck9MUSIsCiAgICAgICJsaXZlbW9kZSI6IGZh
bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK
ICAgICAgICAic3RhcnQiOiAxNTA1NzI0NTAyLAogICAgICAgICJlbmQiOiAx
NTA1NzI0NTAyCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg
InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog
ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg
ImlkIjogImlpXzFCM0t2NTJzT21mNDdOejl6TWdtSkJqbiIsCiAgICAgICJv
YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAs
CiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAi
Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDc5
LAogICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAg
ImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8x
QjNLdjkyc09tZjQ3Tno5a3JBb25oNVkiLAogICAgICAibGl2ZW1vZGUiOiBm
YWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7
CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDQ3OSwKICAgICAgICAiZW5kIjog
MTUwNTcyNDQ3OQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAg
ICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwK
ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAg
ICJpZCI6ICJpaV8xQjNLdjQyc09tZjQ3Tno5N29TS2J4YUkiLAogICAgICAi
b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC03NjUw
LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog
ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDQ3
OCwKICAgICAgImRlc2NyaXB0aW9uIjogImNvdXBvbiBTVU5OWUZBQkxBQiIs
CiAgICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2Ui
OiAiaW5fMUIzS3Y5MnNPbWY0N056OWtyQW9uaDVZIiwKICAgICAgImxpdmVt
b2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVy
aW9kIjogewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ0NzgsCiAgICAgICAg
ImVuZCI6IDE1MDU3MjQ0NzgKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxs
LAogICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6
IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAg
ewogICAgICAiaWQiOiAiaWlfMUIzS3YzMnNPbWY0N056OW5VM3NCbWlOIiwK
ICAgICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQi
OiA1MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0
b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1
MDU3MjQ0NzcsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJSYWRpbyBudW3DqXJp
cXVlIFxuU2VwdGVtYmVyIDI4LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1c
blNlcHRlbWJlciAyOSwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNXG5TZXB0
ZW1iZXIgMzAsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTSIsCiAgICAgICJk
aXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNL
djkyc09tZjQ3Tno5a3JBb25oNVkiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg
ICAgICAgInN0YXJ0IjogMTUwNTcyNDQ3NywKICAgICAgICAiZW5kIjogMTUw
NTcyNDQ3NwogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw
cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg
ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp
ZCI6ICJpaV8xQjNLdWMyc09tZjQ3Tno5NmowZTM5WW4iLAogICAgICAib2Jq
ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAog
ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1
c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDQ1MCwK
ICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJk
aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIz
S3VlMnNPbWY0N056OVRWazNLMU1ZIiwKICAgICAgImxpdmVtb2RlIjogZmFs
c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog
ICAgICAgICJzdGFydCI6IDE1MDU3MjQ0NTAsCiAgICAgICAgImVuZCI6IDE1
MDU3MjQ0NTAKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi
cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg
ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi
aWQiOiAiaWlfMUIzS3ViMnNPbWY0N056OWhraTAyelJXIiwKICAgICAgIm9i
amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAwLAogICAg
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184
Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDQ0OSwKICAg
ICAgImRlc2NyaXB0aW9uIjogIkZvcm1hdGlvbiBJbXByaW1hbnRlIDNEIFNl
cHRlbWJlciAxOCwgMjAxNyAwODowMCAtIDEyOjAwIFBNIiwKICAgICAgImRp
c2NvdW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t1
ZTJzT21mNDdOejlUVmszSzFNWSIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl
LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg
ICAgICAic3RhcnQiOiAxNTA1NzI0NDQ5LAogICAgICAgICJlbmQiOiAxNTA1
NzI0NDQ5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy
b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg
ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk
IjogImlpXzFCM0t0bjJzT21mNDdOejlHeDlvZUt3diIsCiAgICAgICJvYmpl
Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAg
ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz
XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0Mzk5LAog
ICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRp
c2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNL
dHIyc09tZjQ3Tno5c3VVMGpPQzgiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg
ICAgICAgInN0YXJ0IjogMTUwNTcyNDM5OSwKICAgICAgICAiZW5kIjogMTUw
NTcyNDM5OQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw
cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg
ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp
ZCI6ICJpaV8xQjNLdG4yc09tZjQ3Tno5TFlVdzczc0IiLAogICAgICAib2Jq
ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDM0MDAsCiAg
ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz
XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0Mzk5LAog
ICAgICAiZGVzY3JpcHRpb24iOiAiRk9STTErIGltcHJpbWFudGUgM0QgU2Vw
dGVtYmVyIDE3LCAyMDE3IDE0OjAwIC0gMDM6MDAgUE0iLAogICAgICAiZGlz
Y291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzS3Ry
MnNPbWY0N056OXN1VTBqT0M4IiwKICAgICAgImxpdmVtb2RlIjogZmFsc2Us
CiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAg
ICAgICJzdGFydCI6IDE1MDU3MjQzOTksCiAgICAgICAgImVuZCI6IDE1MDU3
MjQzOTkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv
cmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAg
ICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQi
OiAiaWlfMTlLbU94MnNPbWY0N056OVhJenZUakxDIiwKICAgICAgIm9iamVj
dCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwKICAg
ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf
OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0ODAzMjkwMjMsCiAg
ICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAiZGlz
Y291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzE5S21Q
MTJzT21mNDdOejlSbDZhS1dGOCIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl
LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg
ICAgICAic3RhcnQiOiAxNDgwMzI5MDIzLAogICAgICAgICJlbmQiOiAxNDgw
MzI5MDIzCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy
b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg
ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk
IjogImlpXzE5S21PdzJzT21mNDdOejlmTWdqSEloZyIsCiAgICAgICJvYmpl
Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTc2NTAsCiAg
ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz
XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNDgwMzI5MDIyLAog
ICAgICAiZGVzY3JpcHRpb24iOiAiY291cG9uIFNVTk5ZRkFCTEFCIC0gcmVz
ZXJ2YXRpb24iLAogICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAg
ICJpbnZvaWNlIjogImluXzE5S21QMTJzT21mNDdOejlSbDZhS1dGOCIsCiAg
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwK
ICAgICAgInBlcmlvZCI6IHsKICAgICAgICAic3RhcnQiOiAxNDgwMzI5MDIy
LAogICAgICAgICJlbmQiOiAxNDgwMzI5MDIyCiAgICAgIH0sCiAgICAgICJw
bGFuIjogbnVsbCwKICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAi
cXVhbnRpdHkiOiBudWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAog
ICAgfSwKICAgIHsKICAgICAgImlkIjogImlpXzE5S21PdzJzT21mNDdOejlm
MFBiS2JIcSIsCiAgICAgICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAg
ICAiYW1vdW50IjogNTEwMDAsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAog
ICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAg
ImRhdGUiOiAxNDgwMzI5MDIyLAogICAgICAiZGVzY3JpcHRpb24iOiAiUmFk
aW8gbnVtw6lyaXF1ZSBcbkRlY2VtYmVyIDA4LCAyMDE2IDExOjAwIEFNIC0g
MDc6MDAgUE1cbkRlY2VtYmVyIDA5LCAyMDE2IDExOjAwIEFNIC0gMDc6MDAg
UE1cbkRlY2VtYmVyIDEwLCAyMDE2IDExOjAwIEFNIC0gMDc6MDAgUE0iLAog
ICAgICAiZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAi
aW5fMTlLbVAxMnNPbWY0N056OVJsNmFLV0Y4IiwKICAgICAgImxpdmVtb2Rl
IjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9k
IjogewogICAgICAgICJzdGFydCI6IDE0ODAzMjkwMjIsCiAgICAgICAgImVu
ZCI6IDE0ODAzMjkwMjIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAog
ICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51
bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewog
ICAgICAiaWQiOiAiaWlfMThaaFVoMnNPbWY0N056OTAyeWtHeWJCIiwKICAg
ICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAt
MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21l
ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0Njkx
MDg3NDMsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAog
ICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjog
ImluXzE4WmhVajJzT21mNDdOejlyOExLSUJOSyIsCiAgICAgICJsaXZlbW9k
ZSI6IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlv
ZCI6IHsKICAgICAgICAic3RhcnQiOiAxNDY5MTA4NzQzLAogICAgICAgICJl
bmQiOiAxNDY5MTA4NzQzCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwK
ICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBu
dWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsK
ICAgICAgImlkIjogImlpXzE4WmhVZzJzT21mNDdOejl2U3NsNUo5eiIsCiAg
ICAgICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50Ijog
MCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6
ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0NjkxMDg3
NDIsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJGb3JtYXRpb24gSW1wcmltYW50
ZSAzRCBKdWx5IDE4LCAyMDE2IDA4OjAwIC0gMTI6MDAgUE0iLAogICAgICAi
ZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMTha
aFVqMnNPbWY0N056OXI4TEtJQk5LIiwKICAgICAgImxpdmVtb2RlIjogZmFs
c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog
ICAgICAgICJzdGFydCI6IDE0NjkxMDg3NDIsCiAgICAgICAgImVuZCI6IDE0
NjkxMDg3NDIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi
cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg
ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi
aWQiOiAiaWlfMThXNEdOMnNPbWY0N056OUsxZFRmVHlBIiwKICAgICAgIm9i
amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwK
ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj
dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0NjgyNDI5NTUs
CiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAi
ZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzE4
VzRHTzJzT21mNDdOejlvb3VEUTNoZSIsCiAgICAgICJsaXZlbW9kZSI6IGZh
bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK
ICAgICAgICAic3RhcnQiOiAxNDY4MjQyOTU1LAogICAgICAgICJlbmQiOiAx
NDY4MjQyOTU1CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg
InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog
ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfQogIF0sCiAgImhhc19t
b3JlIjogZmFsc2UsCiAgInVybCI6ICIvdjEvaW52b2ljZWl0ZW1zIgp9Cg==
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:52 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8CzNtM08NVlSGN&amount=0&currency=usd&description=Formation+Imprimante+3D+September+18%2C+2017+08%3A00+-+12%3A00+PM
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '127'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 18 Sep 2017 08:53:53 GMT
Content-Type:
- application/json
Content-Length:
- '473'
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:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_jhLdk03pPeN19q
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -150,28 +431,28 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_18ZhUg2sOmf47Nz9vSsl5J9z",
"id": "ii_1B3L0n2sOmf47Nz9AuzqlXkT",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1469108742,
"description": "Formation Imprimante 3D July 18, 2016 08:00 - 12:00 PM",
"date": 1505724833,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1469108742,
"end": 1469108742
"start": 1505724833,
"end": 1505724833
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 21 Jul 2016 13:45:42 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:53 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
@ -190,9 +471,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '78'
response:
@ -203,7 +484,7 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 21 Jul 2016 13:45:43 GMT
- Mon, 18 Sep 2017 08:53:55 GMT
Content-Type:
- application/json
Content-Length:
@ -216,12 +497,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rQLqGKwXBxt3a
- req_uXl3hD1s1hVtKD
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -230,28 +513,28 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_18ZhUh2sOmf47Nz902ykGybB",
"id": "ii_1B3L0o2sOmf47Nz9EBVSzY36",
"object": "invoiceitem",
"amount": -1000,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1469108743,
"date": 1505724834,
"description": "wallet -10.0",
"discountable": false,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1469108743,
"end": 1469108743
"start": 1505724834,
"end": 1505724834
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 21 Jul 2016 13:45:43 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:55 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
@ -270,9 +553,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -281,11 +564,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 21 Jul 2016 13:45:44 GMT
- Mon, 18 Sep 2017 08:53:55 GMT
Content-Type:
- application/json
Content-Length:
- '2561'
- '5869'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -294,12 +577,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rQLPVnSOwscpK
- req_vWLNKAs5Aweszt
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -310,14 +595,14 @@ http_interactions:
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xOFc0R0syc09tZjQ3Tno5SzZkZlNtWmwiLAog
dF9zb3VyY2UiOiAiY2FyZF8xQjNLdlEyc09tZjQ3Tno5Rmc2QWxjUzEiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMThXNEdLMnNPbWY0N056
OUs2ZGZTbVpsIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzS3ZRMnNPbWY0N056
OUZnNkFsY1MxIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
@ -327,7 +612,7 @@ http_interactions:
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE3
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
@ -336,36 +621,110 @@ http_interactions:
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
ICAgewogICAgICAgICJpZCI6ICJzdWJfOG5mYlRHR0lRUlF6eDEiLAogICAg
ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSUltdVVXYnJqekIiLAogICAg
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJjYW5jZWxfYXRf
cGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTQ2
ODI0Mjk2MCwKICAgICAgICAiY3JlYXRlZCI6IDE0NjgyNDI5NTYsCiAgICAg
ICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NzA5MjEzNTYsCiAgICAgICAg
ImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTQ2ODI0Mjk1NiwKICAgICAgICAi
Y3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiZGlz
Y291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAg
ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjoge30s
CiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10
YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg
ICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6
IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAg
ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6
ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAg
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEi
OiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVp
dCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFu
ZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1lbnRf
ZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2Rh
eXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxLAog
ICAgICAgICJzdGFydCI6IDE0NjgyNDI5NTYsCiAgICAgICAgInN0YXR1cyI6
ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAg
ICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0Ijog
bnVsbAogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAg
ICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJz
L2N1c184Q3pOdE0wOE5WbFNHTi9zdWJzY3JpcHRpb25zIgogIH0KfQo=
http_version:
recorded_at: Thu, 21 Jul 2016 13:45:44 GMT
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog
ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl
cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3
MjQ1MDcsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAzLAogICAgICAg
ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2NTAzLAogICAgICAgICJj
dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1
c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv
dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg
ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg
ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp
ZCI6ICJzaV8xQjNLdlQyc09tZjQ3Tno5dTNpTWE1U3oiLAogICAgICAgICAg
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg
ICAgICJjcmVhdGVkIjogMTUwNTcyNDUwMywKICAgICAgICAgICAgICAibWV0
YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi
OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg
ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu
dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j
b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50
LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p
IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw
dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5
cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu
dGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAg
ICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50Ijog
MSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9z
dWJzY3JpcHRpb249c3ViX0JRQklJbXVVV2JyanpCIgogICAgICAgIH0sCiAg
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjog
e30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3Vl
bC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIs
CiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3Vu
dCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAg
ICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZh
bCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAog
ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRh
dGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOp
ZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRl
bWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l
bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k
X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx
LAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgInN0YXR1
cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg
ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0
IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9C
UUJISFBCak81NzNKVyIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp
b24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGws
CiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAog
ICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAg
ImNhbmNlbGVkX2F0IjogMTUwNTcyNDQ1OCwKICAgICAgICAiY3JlYXRlZCI6
IDE1MDU3MjQ0NTIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1
MDgzMTY0NTIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUw
NTcyNDQ1MiwKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs
U0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRl
ZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9i
amVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAg
ICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFCM0t1ZTJzT21mNDdOejky
UEN2RFVaSyIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp
b25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NDUz
LAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
ICJwbGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy
aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg
ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAg
ICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAx
NDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs
CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg
ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm
IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50
LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAg
ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAg
ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0s
CiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAg
ICAgICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAg
ICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEv
c3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSEhQQmpP
NTczSlciCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh
biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh
dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi
LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp
bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi
OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1
IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi
LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg
ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog
ICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcy
NDQ1MiwKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRh
eF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwK
ICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0KICAgIF0sCiAg
ICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDIsCiAg
ICAidXJsIjogIi92MS9jdXN0b21lcnMvY3VzXzhDek50TTA4TlZsU0dOL3N1
YnNjcmlwdGlvbnMiCiAgfQp9Cg==
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:55 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
@ -384,9 +743,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -395,11 +754,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 21 Jul 2016 13:45:45 GMT
- Mon, 18 Sep 2017 08:53:56 GMT
Content-Type:
- application/json
Content-Length:
- '2561'
- '5869'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -408,12 +767,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rQLZ9w0ZwAlFB
- req_A4QdLbLnyGL92R
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -424,14 +785,14 @@ http_interactions:
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xOFc0R0syc09tZjQ3Tno5SzZkZlNtWmwiLAog
dF9zb3VyY2UiOiAiY2FyZF8xQjNLdlEyc09tZjQ3Tno5Rmc2QWxjUzEiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMThXNEdLMnNPbWY0N056
OUs2ZGZTbVpsIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzS3ZRMnNPbWY0N056
OUZnNkFsY1MxIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
@ -441,7 +802,7 @@ http_interactions:
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE3
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
@ -450,42 +811,116 @@ http_interactions:
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
ICAgewogICAgICAgICJpZCI6ICJzdWJfOG5mYlRHR0lRUlF6eDEiLAogICAg
ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSUltdVVXYnJqekIiLAogICAg
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJjYW5jZWxfYXRf
cGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTQ2
ODI0Mjk2MCwKICAgICAgICAiY3JlYXRlZCI6IDE0NjgyNDI5NTYsCiAgICAg
ICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NzA5MjEzNTYsCiAgICAgICAg
ImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTQ2ODI0Mjk1NiwKICAgICAgICAi
Y3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiZGlz
Y291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAg
ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjoge30s
CiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10
YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg
ICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6
IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAg
ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6
ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAg
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEi
OiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVp
dCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFu
ZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1lbnRf
ZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2Rh
eXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxLAog
ICAgICAgICJzdGFydCI6IDE0NjgyNDI5NTYsCiAgICAgICAgInN0YXR1cyI6
ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAg
ICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0Ijog
bnVsbAogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAg
ICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJz
L2N1c184Q3pOdE0wOE5WbFNHTi9zdWJzY3JpcHRpb25zIgogIH0KfQo=
http_version:
recorded_at: Thu, 21 Jul 2016 13:45:45 GMT
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog
ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl
cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3
MjQ1MDcsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAzLAogICAgICAg
ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2NTAzLAogICAgICAgICJj
dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1
c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv
dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg
ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg
ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp
ZCI6ICJzaV8xQjNLdlQyc09tZjQ3Tno5dTNpTWE1U3oiLAogICAgICAgICAg
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg
ICAgICJjcmVhdGVkIjogMTUwNTcyNDUwMywKICAgICAgICAgICAgICAibWV0
YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi
OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg
ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu
dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j
b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50
LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p
IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw
dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5
cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu
dGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAg
ICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50Ijog
MSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9z
dWJzY3JpcHRpb249c3ViX0JRQklJbXVVV2JyanpCIgogICAgICAgIH0sCiAg
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjog
e30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3Vl
bC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIs
CiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3Vu
dCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAg
ICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZh
bCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAog
ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRh
dGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOp
ZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRl
bWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l
bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k
X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx
LAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgInN0YXR1
cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg
ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0
IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9C
UUJISFBCak81NzNKVyIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp
b24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGws
CiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAog
ICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAg
ImNhbmNlbGVkX2F0IjogMTUwNTcyNDQ1OCwKICAgICAgICAiY3JlYXRlZCI6
IDE1MDU3MjQ0NTIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1
MDgzMTY0NTIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUw
NTcyNDQ1MiwKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs
U0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRl
ZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9i
amVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAg
ICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFCM0t1ZTJzT21mNDdOejky
UEN2RFVaSyIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp
b25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NDUz
LAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
ICJwbGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy
aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg
ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAg
ICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAx
NDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs
CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg
ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm
IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50
LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAg
ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAg
ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0s
CiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAg
ICAgICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAg
ICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEv
c3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSEhQQmpP
NTczSlciCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh
biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh
dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi
LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp
bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi
OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1
IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi
LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg
ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog
ICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcy
NDQ1MiwKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRh
eF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwK
ICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0KICAgIF0sCiAg
ICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDIsCiAg
ICAidXJsIjogIi92MS9jdXN0b21lcnMvY3VzXzhDek50TTA4TlZsU0dOL3N1
YnNjcmlwdGlvbnMiCiAgfQp9Cg==
http_version:
recorded_at: Mon, 18 Sep 2017 08:53: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_18ZhUf2sOmf47Nz96Yt86HJI
string: plan=mensuel-tarif-reduit-student-month-20160404171827&source=tok_1B3L0l2sOmf47Nz9dZknQMA5
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -498,9 +933,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '90'
response:
@ -511,11 +946,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 21 Jul 2016 13:45:46 GMT
- Mon, 18 Sep 2017 08:53:58 GMT
Content-Type:
- application/json
Content-Length:
- '926'
- '1829'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -524,12 +959,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rQL1c3JVc0vk5
- req_YR1JnosO8FxVqH
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -537,29 +974,49 @@ http_interactions:
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJzdWJfOHJRTGtsVVVVUWU2NmsiLAogICJvYmplY3QiOiAi
ewogICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICJvYmplY3QiOiAi
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
dWxsLAogICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5j
ZWxlZF9hdCI6IG51bGwsCiAgImNyZWF0ZWQiOiAxNDY5MTA4NzQ1LAogICJj
dXJyZW50X3BlcmlvZF9lbmQiOiAxNDcxNzg3MTQ1LAogICJjdXJyZW50X3Bl
cmlvZF9zdGFydCI6IDE0NjkxMDg3NDUsCiAgImN1c3RvbWVyIjogImN1c184
Q3pOdE0wOE5WbFNHTiIsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRf
YXQiOiBudWxsLAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0YSI6
IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVk
dWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9iamVj
dCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0ZWQi
OiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAiaW50
ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwKICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAgICAi
bmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0g
ZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBt
b250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAg
InRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5Ijog
MSwKICAic3RhcnQiOiAxNDY5MTA4NzQ1LAogICJzdGF0dXMiOiAiYWN0aXZl
IiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBudWxs
LAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
http_version:
recorded_at: Thu, 21 Jul 2016 13:45:46 GMT
dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi
Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiBmYWxzZSwKICAiY2FuY2VsZWRfYXQi
OiBudWxsLAogICJjcmVhdGVkIjogMTUwNTcyNDgzNywKICAiY3VycmVudF9w
ZXJpb2RfZW5kIjogMTUwODMxNjgzNywKICAiY3VycmVudF9wZXJpb2Rfc3Rh
cnQiOiAxNTA1NzI0ODM3LAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO
VmxTR04iLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGVkX2F0IjogbnVs
bCwKICAiaXRlbXMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRh
dGEiOiBbCiAgICAgIHsKICAgICAgICAiaWQiOiAic2lfMUIzTDByMnNPbWY0
N056OUtLZFYxenNKIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlv
bl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ4MzgsCiAgICAg
ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog
ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6
IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2
YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l
bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs
IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg
ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg
ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg
ICAicXVhbnRpdHkiOiAxCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi
OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92
MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9CUUJObmtV
bGNpaTNyMSIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0
YSI6IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt
cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9i
amVjdCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0
ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAi
aW50ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwK
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAg
ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs
IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg
LSBtb250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5
IjogMSwKICAic3RhcnQiOiAxNTA1NzI0ODM3LAogICJzdGF0dXMiOiAiYWN0
aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBu
dWxsLAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:58 GMT
- request:
method: get
uri: https://api.stripe.com/v1/invoices?customer=cus_8CzNtM08NVlSGN&limit=1
@ -578,9 +1035,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -589,11 +1046,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 21 Jul 2016 13:45:47 GMT
- Mon, 18 Sep 2017 08:53:59 GMT
Content-Type:
- application/json
Content-Length:
- '3439'
- '3584'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -602,12 +1059,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rQLSdX3E9CFcJ
- req_OnEblbUmBqmr3M
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -616,84 +1075,87 @@ http_interactions:
encoding: ASCII-8BIT
string: !binary |-
ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg
ICJpZCI6ICJpbl8xOFpoVWoyc09tZjQ3Tno5cjhMS0lCTksiLAogICAgICAi
ICJpZCI6ICJpbl8xQjNMMHIyc09tZjQ3Tno5NFpNeUtVcDEiLAogICAgICAi
b2JqZWN0IjogImludm9pY2UiLAogICAgICAiYW1vdW50X2R1ZSI6IDEwMDAs
CiAgICAgICJhcHBsaWNhdGlvbl9mZWUiOiBudWxsLAogICAgICAiYXR0ZW1w
dF9jb3VudCI6IDEsCiAgICAgICJhdHRlbXB0ZWQiOiB0cnVlLAogICAgICAi
Y2hhcmdlIjogImNoXzE4WmhVazJzT21mNDdOejl2VVpXbWFZdSIsCiAgICAg
ICJjbG9zZWQiOiB0cnVlLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
ICAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJk
YXRlIjogMTQ2OTEwODc0NSwKICAgICAgImRlc2NyaXB0aW9uIjogbnVsbCwK
ICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgImVuZGluZ19iYWxhbmNl
IjogMCwKICAgICAgImZvcmdpdmVuIjogZmFsc2UsCiAgICAgICJsaW5lcyI6
IHsKICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICJkYXRhIjog
WwogICAgICAgICAgewogICAgICAgICAgICAiaWQiOiAiaWlfMThaaFVoMnNP
bWY0N056OTAyeWtHeWJCIiwKICAgICAgICAgICAgIm9iamVjdCI6ICJsaW5l
X2l0ZW0iLAogICAgICAgICAgICAiYW1vdW50IjogLTEwMDAsCiAgICAgICAg
ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAiZGVzY3JpcHRp
b24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgICAgICAgImRpc2NvdW50YWJs
ZSI6IGZhbHNlLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg
ICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICJwZXJpb2Qi
OiB7CiAgICAgICAgICAgICAgInN0YXJ0IjogMTQ2OTEwODc0MywKICAgICAg
ICAgICAgICAiZW5kIjogMTQ2OTEwODc0MwogICAgICAgICAgICB9LAogICAg
ICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAgICAgICJwcm9yYXRpb24i
OiBmYWxzZSwKICAgICAgICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAg
ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgICAgICJ0eXBl
IjogImludm9pY2VpdGVtIgogICAgICAgICAgfSwKICAgICAgICAgIHsKICAg
ICAgICAgICAgImlkIjogImlpXzE4WmhVZzJzT21mNDdOejl2U3NsNUo5eiIs
CiAgICAgICAgICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAgICAg
ICAgImFtb3VudCI6IDAsCiAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi
LAogICAgICAgICAgICAiZGVzY3JpcHRpb24iOiAiRm9ybWF0aW9uIEltcHJp
bWFudGUgM0QgSnVseSAxOCwgMjAxNiAwODowMCAtIDEyOjAwIFBNIiwKICAg
ICAgICAgICAgImRpc2NvdW50YWJsZSI6IHRydWUsCiAgICAgICAgICAgICJs
aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwK
ICAgICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgICAic3RhcnQi
OiAxNDY5MTA4NzQyLAogICAgICAgICAgICAgICJlbmQiOiAxNDY5MTA4NzQy
CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJwbGFuIjogbnVsbCwKICAg
ICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgICAicXVh
bnRpdHkiOiBudWxsLAogICAgICAgICAgICAic3Vic2NyaXB0aW9uIjogbnVs
bCwKICAgICAgICAgICAgInR5cGUiOiAiaW52b2ljZWl0ZW0iCiAgICAgICAg
ICB9LAogICAgICAgICAgewogICAgICAgICAgICAiaWQiOiAic3ViXzhyUUxr
bFVVVVFlNjZrIiwKICAgICAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0i
LAogICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICAgImN1
cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlvbiI6IG51
bGwsCiAgICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAg
ICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgICAgICJwZXJpb2QiOiB7CiAgICAgICAgICAgICAg
InN0YXJ0IjogMTQ2OTEwODc0NSwKICAgICAgICAgICAgICAiZW5kIjogMTQ3
MTc4NzE0NQogICAgICAgICAgICB9LAogICAgICAgICAgICAicGxhbiI6IHsK
ICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1
ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgIm9i
amVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwK
ICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAg
ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICAgImludGVy
dmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQi
OiAxLAogICAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAg
ICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICJuYW1lIjog
Ik1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBh
bnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwK
ICAgICAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
ICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAg
ICAgICAgfSwKICAgICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAg
ICAgICAgICAicXVhbnRpdHkiOiAxLAogICAgICAgICAgICAic3Vic2NyaXB0
aW9uIjogbnVsbCwKICAgICAgICAgICAgInR5cGUiOiAic3Vic2NyaXB0aW9u
IgogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImhhc19tb3JlIjog
ZmFsc2UsCiAgICAgICAgInRvdGFsX2NvdW50IjogMywKICAgICAgICAidXJs
IjogIi92MS9pbnZvaWNlcy9pbl8xOFpoVWoyc09tZjQ3Tno5cjhMS0lCTksv
bGluZXMiCiAgICAgIH0sCiAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAg
ICAibWV0YWRhdGEiOiB7fSwKICAgICAgIm5leHRfcGF5bWVudF9hdHRlbXB0
IjogbnVsbCwKICAgICAgInBhaWQiOiB0cnVlLAogICAgICAicGVyaW9kX2Vu
ZCI6IDE0NjkxMDg3NDUsCiAgICAgICJwZXJpb2Rfc3RhcnQiOiAxNDY4MjQy
OTU2LAogICAgICAicmVjZWlwdF9udW1iZXIiOiBudWxsLAogICAgICAic3Rh
cnRpbmdfYmFsYW5jZSI6IDAsCiAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRv
ciI6IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViXzhyUUxrbFVV
VVFlNjZrIiwKICAgICAgInN1YnRvdGFsIjogMTAwMCwKICAgICAgInRheCI6
IG51bGwsCiAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAgICJ0b3Rh
bCI6IDEwMDAsCiAgICAgICJ3ZWJob29rc19kZWxpdmVyZWRfYXQiOiAxNDY5
MTA4NzQ2CiAgICB9CiAgXSwKICAiaGFzX21vcmUiOiB0cnVlLAogICJ1cmwi
OiAiL3YxL2ludm9pY2VzIgp9Cg==
http_version:
recorded_at: Thu, 21 Jul 2016 13:45:47 GMT
YmlsbGluZyI6ICJjaGFyZ2VfYXV0b21hdGljYWxseSIsCiAgICAgICJjaGFy
Z2UiOiAiY2hfMUIzTDByMnNPbWY0N056OU1PV0V0VlpGIiwKICAgICAgImNs
b3NlZCI6IHRydWUsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAi
Y3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUi
OiAxNTA1NzI0ODM3LAogICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAg
ICAiZGlzY291bnQiOiBudWxsLAogICAgICAiZW5kaW5nX2JhbGFuY2UiOiAw
LAogICAgICAiZm9yZ2l2ZW4iOiBmYWxzZSwKICAgICAgImxpbmVzIjogewog
ICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAgICAgImRhdGEiOiBbCiAg
ICAgICAgICB7CiAgICAgICAgICAgICJpZCI6ICJpaV8xQjNMMG8yc09tZjQ3
Tno5RUJWU3pZMzYiLAogICAgICAgICAgICAib2JqZWN0IjogImxpbmVfaXRl
bSIsCiAgICAgICAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAgICAgICAg
ImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlvbiI6
ICJ3YWxsZXQgLTEwLjAiLAogICAgICAgICAgICAiZGlzY291bnRhYmxlIjog
ZmFsc2UsCiAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAg
ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgInBlcmlvZCI6IHsK
ICAgICAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0ODM0LAogICAgICAgICAg
ICAgICJlbmQiOiAxNTA1NzI0ODM0CiAgICAgICAgICAgIH0sCiAgICAgICAg
ICAgICJwbGFuIjogbnVsbCwKICAgICAgICAgICAgInByb3JhdGlvbiI6IGZh
bHNlLAogICAgICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAgICAg
ICAic3Vic2NyaXB0aW9uIjogbnVsbCwKICAgICAgICAgICAgInR5cGUiOiAi
aW52b2ljZWl0ZW0iCiAgICAgICAgICB9LAogICAgICAgICAgewogICAgICAg
ICAgICAiaWQiOiAiaWlfMUIzTDBuMnNPbWY0N056OUF1enFsWGtUIiwKICAg
ICAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgICAi
YW1vdW50IjogMCwKICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg
ICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJGb3JtYXRpb24gSW1wcmltYW50
ZSAzRCBTZXB0ZW1iZXIgMTgsIDIwMTcgMDg6MDAgLSAxMjowMCBQTSIsCiAg
ICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICAgICAi
bGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgIm1ldGFkYXRhIjoge30s
CiAgICAgICAgICAgICJwZXJpb2QiOiB7CiAgICAgICAgICAgICAgInN0YXJ0
IjogMTUwNTcyNDgzMywKICAgICAgICAgICAgICAiZW5kIjogMTUwNTcyNDgz
MwogICAgICAgICAgICB9LAogICAgICAgICAgICAicGxhbiI6IG51bGwsCiAg
ICAgICAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgICAgICAgInF1
YW50aXR5IjogbnVsbCwKICAgICAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51
bGwsCiAgICAgICAgICAgICJ0eXBlIjogImludm9pY2VpdGVtIgogICAgICAg
ICAgfSwKICAgICAgICAgIHsKICAgICAgICAgICAgImlkIjogInN1Yl9CUUJO
bmtVbGNpaTNyMSIsCiAgICAgICAgICAgICJvYmplY3QiOiAibGluZV9pdGVt
IiwKICAgICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICJj
dXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAiZGVzY3JpcHRpb24iOiBu
dWxsLAogICAgICAgICAgICAiZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAg
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICJtZXRhZGF0
YSI6IHt9LAogICAgICAgICAgICAicGVyaW9kIjogewogICAgICAgICAgICAg
ICJzdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgICAgICAgImVuZCI6IDE1
MDgzMTY4MzcKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInBsYW4iOiB7
CiAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0
dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgICAgICJv
YmplY3QiOiAicGxhbiIsCiAgICAgICAgICAgICAgImFtb3VudCI6IDIwMDAs
CiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICJpbnRl
cnZhbCI6ICJtb250aCIsCiAgICAgICAgICAgICAgImludGVydmFsX2NvdW50
IjogMSwKICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAg
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAibmFtZSI6
ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUg
YW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIs
CiAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwK
ICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAg
ICAgICAgIH0sCiAgICAgICAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAg
ICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAgICAgInN1YnNjcmlw
dGlvbiI6IG51bGwsCiAgICAgICAgICAgICJzdWJzY3JpcHRpb25faXRlbSI6
ICJzaV8xQjNMMHIyc09tZjQ3Tno5S0tkVjF6c0oiLAogICAgICAgICAgICAi
dHlwZSI6ICJzdWJzY3JpcHRpb24iCiAgICAgICAgICB9CiAgICAgICAgXSwK
ICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICAgICAidG90YWxfY291
bnQiOiAzLAogICAgICAgICJ1cmwiOiAiL3YxL2ludm9pY2VzL2luXzFCM0ww
cjJzT21mNDdOejk0Wk15S1VwMS9saW5lcyIKICAgICAgfSwKICAgICAgImxp
dmVtb2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAi
bmV4dF9wYXltZW50X2F0dGVtcHQiOiBudWxsLAogICAgICAibnVtYmVyIjog
IjllYmZlYWQyMGItMDAwNiIsCiAgICAgICJwYWlkIjogdHJ1ZSwKICAgICAg
InBlcmlvZF9lbmQiOiAxNTA1NzI0ODM3LAogICAgICAicGVyaW9kX3N0YXJ0
IjogMTUwNTcyNDQ1MiwKICAgICAgInJlY2VpcHRfbnVtYmVyIjogbnVsbCwK
ICAgICAgInN0YXJ0aW5nX2JhbGFuY2UiOiAwLAogICAgICAic3RhdGVtZW50
X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogInN1
Yl9CUUJObmtVbGNpaTNyMSIsCiAgICAgICJzdWJ0b3RhbCI6IDEwMDAsCiAg
ICAgICJ0YXgiOiBudWxsLAogICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAog
ICAgICAidG90YWwiOiAxMDAwLAogICAgICAid2ViaG9va3NfZGVsaXZlcmVk
X2F0IjogMTUwNTcyNDgzOAogICAgfQogIF0sCiAgImhhc19tb3JlIjogdHJ1
ZSwKICAidXJsIjogIi92MS9pbnZvaWNlcyIKfQo=
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:59 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
@ -712,9 +1174,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -723,11 +1185,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 21 Jul 2016 13:45:48 GMT
- Mon, 18 Sep 2017 08:54:00 GMT
Content-Type:
- application/json
Content-Length:
- '3698'
- '8089'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -736,12 +1198,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rQLtUHnQxh6hr
- req_Mb0MtGBJXv6u0u
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -752,14 +1216,14 @@ http_interactions:
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xOFpoVWYyc09tZjQ3Tno5TGhrUWVFbU8iLAog
dF9zb3VyY2UiOiAiY2FyZF8xQjNMMGwyc09tZjQ3Tno5M0o5ZHVBemQiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMThaaFVmMnNPbWY0N056
OUxoa1FlRW1PIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDBsMnNPbWY0N056
OTNKOWR1QXpkIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
@ -769,7 +1233,7 @@ http_interactions:
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE3
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
@ -778,65 +1242,162 @@ http_interactions:
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
ICAgewogICAgICAgICJpZCI6ICJzdWJfOHJRTGtsVVVVUWU2NmsiLAogICAg
ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICAg
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJjYW5jZWxfYXRf
cGVyaW9kX2VuZCI6IGZhbHNlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IG51
bGwsCiAgICAgICAgImNyZWF0ZWQiOiAxNDY5MTA4NzQ1LAogICAgICAgICJj
dXJyZW50X3BlcmlvZF9lbmQiOiAxNDcxNzg3MTQ1LAogICAgICAgICJjdXJy
ZW50X3BlcmlvZF9zdGFydCI6IDE0NjkxMDg3NDUsCiAgICAgICAgImN1c3Rv
bWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2NvdW50
IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAgICJs
aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAg
ICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt
cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAg
ICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAw
LAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAg
ImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9u
dGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30s
CiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDD
qXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIg
ZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2Ny
aXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjog
bnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAg
ICAic3RhcnQiOiAxNDY5MTA4NzQ1LAogICAgICAgICJzdGF0dXMiOiAiYWN0
aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0
cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwK
ICAgICAgfSwKICAgICAgewogICAgICAgICJpZCI6ICJzdWJfOG5mYlRHR0lR
UlF6eDEiLAogICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAg
ICAgICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAg
ICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNl
bGVkX2F0IjogMTQ2ODI0Mjk2MCwKICAgICAgICAiY3JlYXRlZCI6IDE0Njgy
NDI5NTYsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NzA5MjEz
NTYsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTQ2ODI0Mjk1
NiwKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwK
ICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6
IG51bGwsCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1l
dGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQi
OiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQw
NDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAg
ICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3
ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAg
ICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291
bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAg
ICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwg
dGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2Vp
Z25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAg
ICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJp
YWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVh
bnRpdHkiOiAxLAogICAgICAgICJzdGFydCI6IDE0NjgyNDI5NTYsCiAgICAg
ICAgInN0YXR1cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6
IG51bGwsCiAgICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRy
aWFsX3N0YXJ0IjogbnVsbAogICAgICB9CiAgICBdLAogICAgImhhc19tb3Jl
IjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAyLAogICAgInVybCI6ICIv
djEvY3VzdG9tZXJzL2N1c184Q3pOdE0wOE5WbFNHTi9zdWJzY3JpcHRpb25z
IgogIH0KfQo=
http_version:
recorded_at: Thu, 21 Jul 2016 13:45:48 GMT
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog
ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl
cmlvZF9lbmQiOiBmYWxzZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiBudWxs
LAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDgzNywKICAgICAgICAiY3Vy
cmVudF9wZXJpb2RfZW5kIjogMTUwODMxNjgzNywKICAgICAgICAiY3VycmVu
dF9wZXJpb2Rfc3RhcnQiOiAxNTA1NzI0ODM3LAogICAgICAgICJjdXN0b21l
ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6
IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRl
bXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAg
ImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAi
c2lfMUIzTDByMnNPbWY0N056OUtLZFYxenNKIiwKICAgICAgICAgICAgICAi
b2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAi
Y3JlYXRlZCI6IDE1MDU3MjQ4MzgsCiAgICAgICAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAg
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBs
YW4iLAogICAgICAgICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAg
ICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAg
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZh
bCI6ICJtb250aCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQi
OiAxLAogICAgICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg
ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJu
YW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBk
ZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1v
bnRoIiwKICAgICAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6
IG51bGwsCiAgICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBu
dWxsCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHki
OiAxCiAgICAgICAgICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFz
X21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAg
ICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2Ny
aXB0aW9uPXN1Yl9CUUJObmtVbGNpaTNyMSIKICAgICAgICB9LAogICAgICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAog
ICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy
aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg
ICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAy
MDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg
ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAi
bW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAg
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjog
e30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQg
LSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRl
dXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rl
c2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlz
IjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAg
ICAgICAic3RhcnQiOiAxNTA1NzI0ODM3LAogICAgICAgICJzdGF0dXMiOiAi
YWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAg
ICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51
bGwKICAgICAgfSwKICAgICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSUlt
dVVXYnJqekIiLAogICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwK
ICAgICAgICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAg
ICAgICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAg
ICAiY2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5j
ZWxlZF9hdCI6IDE1MDU3MjQ1MDcsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1
NzI0NTAzLAogICAgICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2
NTAzLAogICAgICAgICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ1
MDMsCiAgICAgICAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIs
CiAgICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQi
OiBudWxsLAogICAgICAgICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3Qi
OiAibGlzdCIsCiAgICAgICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewog
ICAgICAgICAgICAgICJpZCI6ICJzaV8xQjNLdlQyc09tZjQ3Tno5dTNpTWE1
U3oiLAogICAgICAgICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0
ZW0iLAogICAgICAgICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDUwMywKICAg
ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxh
biI6IHsKICAgICAgICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJl
ZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAg
ICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1v
dW50IjogMjAwMCwKICAgICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4
MzEwOCwKICAgICAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg
ICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAg
ICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2
ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9
LAogICAgICAgICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lk
dWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVt
YW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0
YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0
cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAg
ICAgICAgICAgICJxdWFudGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAg
ICAgXSwKICAgICAgICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAg
InRvdGFsX2NvdW50IjogMSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNj
cmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3ViX0JRQklJbXVVV2JyanpC
IgogICAgICAgIH0sCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg
ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog
ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6
IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2
YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l
bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs
IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg
ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg
ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg
ICAicXVhbnRpdHkiOiAxLAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ1MDMs
CiAgICAgICAgInN0YXR1cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVy
Y2VudCI6IG51bGwsCiAgICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAg
ICAgInRyaWFsX3N0YXJ0IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAg
ICAgImlkIjogInN1Yl9CUUJISFBCak81NzNKVyIsCiAgICAgICAgIm9iamVj
dCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVf
cGVyY2VudCI6IG51bGwsCiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1
dG9tYXRpY2FsbHkiLAogICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6
IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTUwNTcyNDQ1OCwKICAg
ICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ0NTIsCiAgICAgICAgImN1cnJlbnRf
cGVyaW9kX2VuZCI6IDE1MDgzMTY0NTIsCiAgICAgICAgImN1cnJlbnRfcGVy
aW9kX3N0YXJ0IjogMTUwNTcyNDQ1MiwKICAgICAgICAiY3VzdG9tZXIiOiAi
Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxs
LAogICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjog
ewogICAgICAgICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRh
IjogWwogICAgICAgICAgICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFC
M0t1ZTJzT21mNDdOejkyUEN2RFVaSyIsCiAgICAgICAgICAgICAgIm9iamVj
dCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0
ZWQiOiAxNTA1NzI0NDUzLAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9
LAogICAgICAgICAgICAgICJwbGFuIjogewogICAgICAgICAgICAgICAgImlk
IjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0
MDQxNzE4MjciLAogICAgICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwK
ICAgICAgICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAg
ICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1
cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAi
bW9udGgiLAogICAgICAgICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwK
ICAgICAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAg
ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6
ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUg
YW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIs
CiAgICAgICAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxs
LAogICAgICAgICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAog
ICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQog
ICAgICAgICAgICB9CiAgICAgICAgICBdLAogICAgICAgICAgImhhc19tb3Jl
IjogZmFsc2UsCiAgICAgICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAg
ICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlv
bj1zdWJfQlFCSEhQQmpPNTczSlciCiAgICAgICAgfSwKICAgICAgICAibGl2
ZW1vZGUiOiBmYWxzZSwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAg
ICAicGxhbiI6IHsKICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJl
ZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAg
ICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwK
ICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJj
dXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVydmFsIjogIm1vbnRo
IiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAi
bGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAog
ICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0
dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQn
ZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw
dG9yIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51
bGwKICAgICAgICB9LAogICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAg
InN0YXJ0IjogMTUwNTcyNDQ1MiwKICAgICAgICAic3RhdHVzIjogImFjdGl2
ZSIsCiAgICAgICAgInRheF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJp
YWxfZW5kIjogbnVsbCwKICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAg
ICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0b3Rh
bF9jb3VudCI6IDMsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3VzXzhD
ek50TTA4TlZsU0dOL3N1YnNjcmlwdGlvbnMiCiAgfQp9Cg==
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:00 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_8rQLklUUUQe66k
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BQBNnkUlcii3r1
body:
encoding: US-ASCII
string: ''
@ -852,9 +1413,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -863,11 +1424,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 21 Jul 2016 13:45:48 GMT
- Mon, 18 Sep 2017 08:54:00 GMT
Content-Type:
- application/json
Content-Length:
- '926'
- '1829'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -876,12 +1437,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rQLxhq9Ba8DPf
- req_UpIaYMWbYIydxW
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -889,32 +1452,52 @@ http_interactions:
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJzdWJfOHJRTGtsVVVVUWU2NmsiLAogICJvYmplY3QiOiAi
ewogICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICJvYmplY3QiOiAi
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
dWxsLAogICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5j
ZWxlZF9hdCI6IG51bGwsCiAgImNyZWF0ZWQiOiAxNDY5MTA4NzQ1LAogICJj
dXJyZW50X3BlcmlvZF9lbmQiOiAxNDcxNzg3MTQ1LAogICJjdXJyZW50X3Bl
cmlvZF9zdGFydCI6IDE0NjkxMDg3NDUsCiAgImN1c3RvbWVyIjogImN1c184
Q3pOdE0wOE5WbFNHTiIsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRf
YXQiOiBudWxsLAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0YSI6
IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVk
dWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9iamVj
dCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0ZWQi
OiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAiaW50
ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwKICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAgICAi
bmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0g
ZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBt
b250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAg
InRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5Ijog
MSwKICAic3RhcnQiOiAxNDY5MTA4NzQ1LAogICJzdGF0dXMiOiAiYWN0aXZl
IiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBudWxs
LAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
http_version:
recorded_at: Thu, 21 Jul 2016 13:45:49 GMT
dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi
Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiBmYWxzZSwKICAiY2FuY2VsZWRfYXQi
OiBudWxsLAogICJjcmVhdGVkIjogMTUwNTcyNDgzNywKICAiY3VycmVudF9w
ZXJpb2RfZW5kIjogMTUwODMxNjgzNywKICAiY3VycmVudF9wZXJpb2Rfc3Rh
cnQiOiAxNTA1NzI0ODM3LAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO
VmxTR04iLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGVkX2F0IjogbnVs
bCwKICAiaXRlbXMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRh
dGEiOiBbCiAgICAgIHsKICAgICAgICAiaWQiOiAic2lfMUIzTDByMnNPbWY0
N056OUtLZFYxenNKIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlv
bl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ4MzgsCiAgICAg
ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog
ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6
IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2
YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l
bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs
IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg
ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg
ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg
ICAicXVhbnRpdHkiOiAxCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi
OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92
MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9CUUJObmtV
bGNpaTNyMSIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0
YSI6IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt
cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9i
amVjdCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0
ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAi
aW50ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwK
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAg
ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs
IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg
LSBtb250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5
IjogMSwKICAic3RhcnQiOiAxNTA1NzI0ODM3LAogICJzdGF0dXMiOiAiYWN0
aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBu
dWxsLAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:00 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_8rQLklUUUQe66k?at_period_end=true
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BQBNnkUlcii3r1?at_period_end=true
body:
encoding: US-ASCII
string: ''
@ -930,9 +1513,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -941,11 +1524,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 21 Jul 2016 13:45:49 GMT
- Mon, 18 Sep 2017 08:54:01 GMT
Content-Type:
- application/json
Content-Length:
- '931'
- '1834'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -954,12 +1537,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rQLffnLhxa9Y2
- req_d1tT8F1v39ZR9M
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -967,32 +1552,52 @@ http_interactions:
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJzdWJfOHJRTGtsVVVVUWU2NmsiLAogICJvYmplY3QiOiAi
ewogICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICJvYmplY3QiOiAi
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
dWxsLAogICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgImNhbmNl
bGVkX2F0IjogMTQ2OTEwODc0OSwKICAiY3JlYXRlZCI6IDE0NjkxMDg3NDUs
CiAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NzE3ODcxNDUsCiAgImN1cnJl
bnRfcGVyaW9kX3N0YXJ0IjogMTQ2OTEwODc0NSwKICAiY3VzdG9tZXIiOiAi
Y3VzXzhDek50TTA4TlZsU0dOIiwKICAiZGlzY291bnQiOiBudWxsLAogICJl
bmRlZF9hdCI6IG51bGwsCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFk
YXRhIjoge30sCiAgInBsYW4iOiB7CiAgICAiaWQiOiAibWVuc3VlbC10YXJp
Zi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAi
b2JqZWN0IjogInBsYW4iLAogICAgImFtb3VudCI6IDIwMDAsCiAgICAiY3Jl
YXRlZCI6IDE0NTk3ODMxMDgsCiAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
ICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQiOiAx
LAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7fSwK
ICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFu
dCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxv
aSAtIG1vbnRoIiwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGws
CiAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgfSwKICAicXVhbnRp
dHkiOiAxLAogICJzdGFydCI6IDE0NjkxMDg3NDUsCiAgInN0YXR1cyI6ICJh
Y3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRyaWFsX2VuZCI6
IG51bGwsCiAgInRyaWFsX3N0YXJ0IjogbnVsbAp9Cg==
http_version:
recorded_at: Thu, 21 Jul 2016 13:45:50 GMT
dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi
Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICJjYW5jZWxlZF9hdCI6
IDE1MDU3MjQ4NDEsCiAgImNyZWF0ZWQiOiAxNTA1NzI0ODM3LAogICJjdXJy
ZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2ODM3LAogICJjdXJyZW50X3Blcmlv
ZF9zdGFydCI6IDE1MDU3MjQ4MzcsCiAgImN1c3RvbWVyIjogImN1c184Q3pO
dE0wOE5WbFNHTiIsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRfYXQi
OiBudWxsLAogICJpdGVtcyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAg
ICAiZGF0YSI6IFsKICAgICAgewogICAgICAgICJpZCI6ICJzaV8xQjNMMHIy
c09tZjQ3Tno5S0tkVjF6c0oiLAogICAgICAgICJvYmplY3QiOiAic3Vic2Ny
aXB0aW9uX2l0ZW0iLAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDgzOCwK
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh
biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh
dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi
LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp
bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi
OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1
IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi
LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg
ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog
ICAgICAgICJxdWFudGl0eSI6IDEKICAgICAgfQogICAgXSwKICAgICJoYXNf
bW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogMSwKICAgICJ1cmwi
OiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3ViX0JR
Qk5ua1VsY2lpM3IxIgogIH0sCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1l
dGFkYXRhIjoge30sCiAgInBsYW4iOiB7CiAgICAiaWQiOiAibWVuc3VlbC10
YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg
ICAib2JqZWN0IjogInBsYW4iLAogICAgImFtb3VudCI6IDIwMDAsCiAgICAi
Y3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAiY3VycmVuY3kiOiAidXNkIiwK
ICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQi
OiAxLAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7
fSwKICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVk
aWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2Vt
cGxvaSAtIG1vbnRoIiwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51
bGwsCiAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgfSwKICAicXVh
bnRpdHkiOiAxLAogICJzdGFydCI6IDE1MDU3MjQ4MzcsCiAgInN0YXR1cyI6
ICJhY3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRyaWFsX2Vu
ZCI6IG51bGwsCiAgInRyaWFsX3N0YXJ0IjogbnVsbAp9Cg==
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:01 GMT
- request:
method: get
uri: https://api.stripe.com/v1/invoiceitems/ii_18ZhUg2sOmf47Nz9vSsl5J9z
uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L0n2sOmf47Nz9AuzqlXkT
body:
encoding: US-ASCII
string: ''
@ -1008,9 +1613,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -1019,11 +1624,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 21 Jul 2016 13:45:50 GMT
- Mon, 18 Sep 2017 08:54:02 GMT
Content-Type:
- application/json
Content-Length:
- '493'
- '498'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -1032,12 +1637,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rQL4mVlBuIk4d
- req_bQCk9FqnGziAxW
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -1046,31 +1653,31 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_18ZhUg2sOmf47Nz9vSsl5J9z",
"id": "ii_1B3L0n2sOmf47Nz9AuzqlXkT",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1469108742,
"description": "Formation Imprimante 3D July 18, 2016 08:00 - 12:00 PM",
"date": 1505724833,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_18ZhUj2sOmf47Nz9r8LKIBNK",
"invoice": "in_1B3L0r2sOmf47Nz94ZMyKUp1",
"livemode": false,
"metadata": {},
"period": {
"start": 1469108742,
"end": 1469108742
"start": 1505724833,
"end": 1505724833
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 21 Jul 2016 13:45:50 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:02 GMT
- request:
method: get
uri: https://api.stripe.com/v1/invoiceitems/ii_18ZhUg2sOmf47Nz9vSsl5J9z
uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L0n2sOmf47Nz9AuzqlXkT
body:
encoding: US-ASCII
string: ''
@ -1086,9 +1693,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -1097,11 +1704,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 21 Jul 2016 13:45:51 GMT
- Mon, 18 Sep 2017 08:54:03 GMT
Content-Type:
- application/json
Content-Length:
- '493'
- '498'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -1110,12 +1717,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8rQLaiuoNH33sw
- req_F4XpYgeD0WsFcF
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -1124,26 +1733,26 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_18ZhUg2sOmf47Nz9vSsl5J9z",
"id": "ii_1B3L0n2sOmf47Nz9AuzqlXkT",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1469108742,
"description": "Formation Imprimante 3D July 18, 2016 08:00 - 12:00 PM",
"date": 1505724833,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_18ZhUj2sOmf47Nz9r8LKIBNK",
"invoice": "in_1B3L0r2sOmf47Nz94ZMyKUp1",
"livemode": false,
"metadata": {},
"period": {
"start": 1469108742,
"end": 1469108742
"start": 1505724833,
"end": 1505724833
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 21 Jul 2016 13:45:51 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:03 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -18,9 +18,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,11 +31,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:06:59 GMT
- Mon, 18 Sep 2017 08:54:16 GMT
Content-Type:
- application/json
Content-Length:
- '778'
- '779'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6w5td6P3FMmw
- req_Q73oCbk2VNeMn0
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_17xeil2sOmf47Nz9hPGrY38H",
"id": "tok_1B3L1A2sOmf47Nz9pZRSgJR1",
"object": "token",
"card": {
"id": "card_17xeil2sOmf47Nz9K3lr9AIc",
"id": "card_1B3L192sOmf47Nz9izgfnmoO",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,20 +86,20 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "86.76.5.109",
"created": 1460041619,
"client_ip": "90.112.59.71",
"created": 1505724856,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Thu, 07 Apr 2016 15:06:59 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:16 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
method: get
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzKe50I0J1gaI&limit=100
body:
encoding: UTF-8
string: customer=cus_8CzKe50I0J1gaI&amount=0&currency=usd&description=Formation+Imprimante+3D+April+12%2C+2016+08%3A00+-+12%3A00+PM
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -110,11 +112,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
Content-Length:
- '123'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -123,11 +123,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:07:00 GMT
- Mon, 18 Sep 2017 08:54:16 GMT
Content-Type:
- application/json
Content-Length:
- '469'
- '4148'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -136,12 +136,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6wDLVEcvrNew
- req_1qluZhR4CXKAKw
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -150,28 +152,243 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_17xeim2sOmf47Nz9aoVFuMOo",
"object": "list",
"data": [
{
"id": "ii_1B3Kty2sOmf47Nz96UsCcZKF",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1505724410,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_1B3Ku02sOmf47Nz9iK6od82f",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724410,
"end": 1505724410
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Kso2sOmf47Nz9XnTBtpv8",
"object": "invoiceitem",
"amount": 1000,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1505724338,
"description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM",
"discountable": true,
"invoice": "in_1B3Ksv2sOmf47Nz9IG9BBW8S",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724338,
"end": 1505724338
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Ksn2sOmf47Nz9SArgrvPT",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1505724337,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3Ksv2sOmf47Nz9IG9BBW8S",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724337,
"end": 1505724337
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xeim2sOmf47Nz9aoVFuMOo",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1460041620,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_17xeip2sOmf47Nz9kf2GTiaS",
"livemode": false,
"metadata": {},
"period": {
"start": 1460041620,
"end": 1460041620
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xefB2sOmf47Nz90DXwNFPG",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1460041397,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_17xefC2sOmf47Nz9PU2pUoSg",
"livemode": false,
"metadata": {},
"period": {
"start": 1460041397,
"end": 1460041397
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xIU92sOmf47Nz98bi7Z01X",
"object": "invoiceitem",
"amount": 1000,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1459956145,
"description": "FORM1+ imprimante 3D April 11, 2016 15:00 - 04:00 PM",
"discountable": true,
"invoice": "in_17xIUC2sOmf47Nz9RmCbPPpz",
"livemode": false,
"metadata": {},
"period": {
"start": 1459956145,
"end": 1459956145
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xIU92sOmf47Nz9JiLpXlHs",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1459956145,
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_17xIUC2sOmf47Nz9RmCbPPpz",
"livemode": false,
"metadata": {},
"period": {
"start": 1459956145,
"end": 1459956145
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
],
"has_more": false,
"url": "/v1/invoiceitems"
}
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:17 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8CzKe50I0J1gaI&amount=0&currency=usd&description=Formation+Imprimante+3D+September+18%2C+2017+08%3A00+-+12%3A00+PM
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '127'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 18 Sep 2017 08:54:17 GMT
Content-Type:
- application/json
Content-Length:
- '473'
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:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_ussK5bZvs6zz0I
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "ii_1B3L1B2sOmf47Nz9dbDfy0so",
"object": "invoiceitem",
"amount": 0,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1460041620,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"date": 1505724857,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1460041620,
"end": 1460041620
"start": 1505724857,
"end": 1505724857
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 07 Apr 2016 15:07:00 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:17 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI
@ -190,9 +407,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -201,7 +418,7 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:07:02 GMT
- Mon, 18 Sep 2017 08:54:18 GMT
Content-Type:
- application/json
Content-Length:
@ -214,12 +431,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6wKVkDbddbOI
- req_OxOB9pRMBEQkSU
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -256,8 +475,8 @@ http_interactions:
"url": "/v1/customers/cus_8CzKe50I0J1gaI/subscriptions"
}
}
http_version:
recorded_at: Thu, 07 Apr 2016 15:07:01 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:18 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices
@ -276,9 +495,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '27'
response:
@ -289,11 +508,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:07:03 GMT
- Mon, 18 Sep 2017 08:54:19 GMT
Content-Type:
- application/json
Content-Length:
- '1417'
- '1489'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -302,12 +521,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6wYV4WPn7r3p
- req_zusobGu1GvbD1H
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -316,17 +537,18 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "in_17xeip2sOmf47Nz9kf2GTiaS",
"id": "in_1B3L1D2sOmf47Nz9ujfC1Wx9",
"object": "invoice",
"amount_due": 0,
"application_fee": null,
"attempt_count": 0,
"attempted": false,
"billing": "charge_automatically",
"charge": null,
"closed": false,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1460041623,
"date": 1505724859,
"description": null,
"discount": null,
"ending_balance": null,
@ -335,17 +557,17 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ii_17xeim2sOmf47Nz9aoVFuMOo",
"id": "ii_1B3L1B2sOmf47Nz9dbDfy0so",
"object": "line_item",
"amount": 0,
"currency": "usd",
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1460041620,
"end": 1460041620
"start": 1505724857,
"end": 1505724857
},
"plan": null,
"proration": false,
@ -356,14 +578,15 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/in_17xeip2sOmf47Nz9kf2GTiaS/lines"
"url": "/v1/invoices/in_1B3L1D2sOmf47Nz9ujfC1Wx9/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": 1460045223,
"next_payment_attempt": 1505728459,
"number": "80bcaa9d6c-0003",
"paid": false,
"period_end": 1460041623,
"period_start": 1460041623,
"period_end": 1505724859,
"period_start": 1505724859,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
@ -374,11 +597,11 @@ http_interactions:
"total": 0,
"webhooks_delivered_at": null
}
http_version:
recorded_at: Thu, 07 Apr 2016 15:07:02 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:19 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices/in_17xeip2sOmf47Nz9kf2GTiaS/pay
uri: https://api.stripe.com/v1/invoices/in_1B3L1D2sOmf47Nz9ujfC1Wx9/pay
body:
encoding: ASCII-8BIT
string: ''
@ -394,9 +617,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '0'
response:
@ -407,11 +630,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:07:04 GMT
- Mon, 18 Sep 2017 08:54:20 GMT
Content-Type:
- application/json
Content-Length:
- '1411'
- '1483'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -420,12 +643,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6w2oGfDSiKDf
- req_P9DMbovAnaLgpz
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -434,17 +659,18 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "in_17xeip2sOmf47Nz9kf2GTiaS",
"id": "in_1B3L1D2sOmf47Nz9ujfC1Wx9",
"object": "invoice",
"amount_due": 0,
"application_fee": null,
"attempt_count": 0,
"attempted": true,
"billing": "charge_automatically",
"charge": null,
"closed": true,
"currency": "usd",
"customer": "cus_8CzKe50I0J1gaI",
"date": 1460041623,
"date": 1505724859,
"description": null,
"discount": null,
"ending_balance": 0,
@ -453,17 +679,17 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ii_17xeim2sOmf47Nz9aoVFuMOo",
"id": "ii_1B3L1B2sOmf47Nz9dbDfy0so",
"object": "line_item",
"amount": 0,
"currency": "usd",
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1460041620,
"end": 1460041620
"start": 1505724857,
"end": 1505724857
},
"plan": null,
"proration": false,
@ -474,14 +700,15 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/in_17xeip2sOmf47Nz9kf2GTiaS/lines"
"url": "/v1/invoices/in_1B3L1D2sOmf47Nz9ujfC1Wx9/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": null,
"number": "80bcaa9d6c-0003",
"paid": true,
"period_end": 1460041623,
"period_start": 1460041623,
"period_end": 1505724859,
"period_start": 1505724859,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
@ -490,8 +717,8 @@ http_interactions:
"tax": null,
"tax_percent": null,
"total": 0,
"webhooks_delivered_at": 1460041623
"webhooks_delivered_at": 1505724859
}
http_version:
recorded_at: Thu, 07 Apr 2016 15:07:04 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:20 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -18,9 +18,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,11 +31,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:02:21 GMT
- Mon, 18 Sep 2017 08:53:19 GMT
Content-Type:
- application/json
Content-Length:
- '778'
- '779'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6s5qX3Z71ouH
- req_SFWzRMsEWkmQaB
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_17xeeH2sOmf47Nz9fhi24LcM",
"id": "tok_1B3L0F2sOmf47Nz90Uq0PJwi",
"object": "token",
"card": {
"id": "card_17xeeH2sOmf47Nz9qkD2jaiS",
"id": "card_1B3L0F2sOmf47Nz9aqfWs2B0",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,20 +86,20 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "86.76.5.109",
"created": 1460041341,
"client_ip": "90.112.59.71",
"created": 1505724799,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Thu, 07 Apr 2016 15:02:21 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:19 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
method: get
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=5100&currency=usd&description=Formation+Imprimante+3D+April+12%2C+2016+08%3A00+-+12%3A00+PM
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -110,11 +112,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
Content-Length:
- '126'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -123,11 +123,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:02:22 GMT
- Mon, 18 Sep 2017 08:53:22 GMT
Content-Type:
- application/json
Content-Length:
- '472'
- '8061'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -136,12 +136,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6sbtrP1o0eL7
- req_IoO4LMAnWWJpPi
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -150,28 +152,390 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
"object": "list",
"data": [
{
"id": "ii_1B3L012sOmf47Nz948JNFRoK",
"object": "invoiceitem",
"amount": -675,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724785,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_1B3L052sOmf47Nz9zx9vIGks",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724785,
"end": 1505724785
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724784,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3L052sOmf47Nz9zx9vIGks",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724784,
"end": 1505724784
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Kuo2sOmf47Nz9egmtGncE",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724462,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3Kut2sOmf47Nz9ht8mAIGU",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724462,
"end": 1505724462
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3KuK2sOmf47Nz9RqRGmh0l",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724432,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_1B3KuO2sOmf47Nz9invMhPqV",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724432,
"end": 1505724432
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Ku62sOmf47Nz92wSUMzHq",
"object": "invoiceitem",
"amount": -675,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724418,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724418,
"end": 1505724418
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Ku52sOmf47Nz9vmqyS5Gy",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724417,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724417,
"end": 1505724417
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
"object": "invoiceitem",
"amount": -510,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338732,
"description": "coupon XMAS10",
"discountable": false,
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
"livemode": false,
"metadata": {},
"period": {
"start": 1473338732,
"end": 1473338732
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338731,
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
"discountable": true,
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
"livemode": false,
"metadata": {},
"period": {
"start": 1473338731,
"end": 1473338731
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
"object": "invoiceitem",
"amount": -450,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321651,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321651,
"end": 1473321651
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
"object": "invoiceitem",
"amount": -225,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1460041342,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_17xeeM2sOmf47Nz9kzn0pC8f",
"livemode": false,
"metadata": {},
"period": {
"start": 1460041342,
"end": 1460041342
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951378,
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_17xHFK2sOmf47Nz9jegPFlNt",
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xHF82sOmf47Nz9QT6BnkAZ",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951370,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 09:00 AM",
"discountable": true,
"invoice": "in_17xHFC2sOmf47Nz9ZZeO0yST",
"livemode": false,
"metadata": {},
"period": {
"start": 1459951370,
"end": 1459951370
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
],
"has_more": false,
"url": "/v1/invoiceitems"
}
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:22 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=5100&currency=usd&description=Formation+Imprimante+3D+September+18%2C+2017+08%3A00+-+12%3A00+PM
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '130'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 18 Sep 2017 08:53:23 GMT
Content-Type:
- application/json
Content-Length:
- '476'
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:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_TXuF3WscQXuP0C
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1460041342,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"date": 1505724803,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1460041342,
"end": 1460041342
"start": 1505724803,
"end": 1505724803
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 07 Apr 2016 15:02:22 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:23 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
@ -190,9 +554,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -201,11 +565,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:02:23 GMT
- Mon, 18 Sep 2017 08:53:24 GMT
Content-Type:
- application/json
Content-Length:
- '5571'
- '7733'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -214,151 +578,280 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6sNFUC3vntgP
- req_d4T6tXihTxKkIM
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTk0ODg4OCwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xN3haV3Qyc09tZjQ3Tno5ZVZVQ2k1M0EiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIkplYW4g
RHVwb25kIiwKICAiZGlzY291bnQiOiBudWxsLAogICJlbWFpbCI6ICJqZWFu
LmR1cG9uZEBnbWFpbC5jb20iLAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJt
ZXRhZGF0YSI6IHt9LAogICJzaGlwcGluZyI6IG51bGwsCiAgInNvdXJjZXMi
OiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAg
IHsKICAgICAgICAiaWQiOiAiY2FyZF8xN3haV3Qyc09tZjQ3Tno5ZVZVQ2k1
M0EiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIsCiAgICAgICAgImFkZHJl
c3NfY2l0eSI6IG51bGwsCiAgICAgICAgImFkZHJlc3NfY291bnRyeSI6IG51
bGwsCiAgICAgICAgImFkZHJlc3NfbGluZTEiOiBudWxsLAogICAgICAgICJh
ZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAgICAgICAiYWRkcmVzc19s
aW5lMiI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nfc3RhdGUiOiBudWxsLAog
ICAgICAgICJhZGRyZXNzX3ppcCI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nf
emlwX2NoZWNrIjogbnVsbCwKICAgICAgICAiYnJhbmQiOiAiVmlzYSIsCiAg
ICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAgICJjdXN0b21lciI6ICJj
dXNfOERpMXdqZFZrdHY1a3QiLAogICAgICAgICJjdmNfY2hlY2siOiAicGFz
cyIsCiAgICAgICAgImR5bmFtaWNfbGFzdDQiOiBudWxsLAogICAgICAgICJl
eHBfbW9udGgiOiA0LAogICAgICAgICJleHBfeWVhciI6IDIwMTcsCiAgICAg
ICAgImZpbmdlcnByaW50IjogIm81Mmp5YlI3Ym5tTm42QVQiLAogICAgICAg
ICJmdW5kaW5nIjogImNyZWRpdCIsCiAgICAgICAgImxhc3Q0IjogIjQyNDIi
LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJuYW1lIjogbnVs
bCwKICAgICAgICAidG9rZW5pemF0aW9uX21ldGhvZCI6IG51bGwKICAgICAg
fQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2Nv
dW50IjogMSwKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNfOERpMXdq
ZFZrdHY1a3Qvc291cmNlcyIKICB9LAogICJzdWJzY3JpcHRpb25zIjogewog
ICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAg
ICAgICAgImlkIjogInN1Yl84RTFhZmtUQm4yZGMxRCIsCiAgICAgICAgIm9i
amVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJhcHBsaWNhdGlvbl9m
ZWVfcGVyY2VudCI6IG51bGwsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2Rf
ZW5kIjogdHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNDYwMDIxNjcw
LAogICAgICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNDYyNjEzNjY1LAog
ICAgICAgICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE0NjAwMjE2NjUsCiAg
ICAgICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAg
ICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxs
LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewog
ICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQt
bW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJw
bGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgImNy
ZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5IjogInVz
ZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAg
ImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZh
bHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFt
ZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUg
MjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250
aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
ICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0s
CiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNDYw
MDIxNjY1LAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAi
dGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxs
LAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfSwKICAgICAg
ewogICAgICAgICJpZCI6ICJzdWJfOERrcUJjUjFiUXZyNUciLAogICAgICAg
ICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGljYXRp
b25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJjYW5jZWxfYXRfcGVy
aW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTQ1OTk1
OTM4NiwKICAgICAgICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTQ2MjU1MTM4
MiwKICAgICAgICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNDU5OTU5Mzgy
LAogICAgICAgICJjdXN0b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAog
ICAgICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAgICAgImVuZGVkX2F0Ijog
bnVsbCwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6
IHsKICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXN0YW5kYXJkLW1vbnRoLTIw
MTYwNDA0MTcxNTE5IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAg
ICAgICAgICAiYW1vdW50IjogMzAwMCwKICAgICAgICAgICJjcmVhdGVkIjog
MTQ1OTc4MjkyMSwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg
ICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZh
bF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg
ICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVu
c3VlbCAtIHN0YW5kYXJkLCBhc3NvY2lhdGlvbiAtIG1vbnRoIiwKICAgICAg
ICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAi
dHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAi
cXVhbnRpdHkiOiAxLAogICAgICAgICJzdGFydCI6IDE0NTk5NTkzODIsCiAg
ICAgICAgInN0YXR1cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2Vu
dCI6IG51bGwsCiAgICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAg
InRyaWFsX3N0YXJ0IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAg
ImlkIjogInN1Yl84RGk5Z3FQTHd0NUlJQyIsCiAgICAgICAgIm9iamVjdCI6
ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVy
Y2VudCI6IG51bGwsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjog
dHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNDU5OTQ5NDA0LAogICAg
ICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNDYyNTQxMzk5LAogICAgICAg
ICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE0NTk5NDkzOTksCiAgICAgICAg
ImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAgICAgImRp
c2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAg
ICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewogICAgICAg
ICAgImlkIjogIm1lbnN1ZWwtc3RhbmRhcmQtbW9udGgtMjAxNjA0MDQxNzE1
MTkiLAogICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJh
bW91bnQiOiAzMDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgyOTIx
LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50
ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50Ijog
MSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1l
dGFkYXRhIjoge30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIC0gc3Rh
bmRhcmQsIGFzc29jaWF0aW9uIC0gbW9udGgiLAogICAgICAgICAgInN0YXRl
bWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJp
b2RfZGF5cyI6IG51bGwKICAgICAgICB9LAogICAgICAgICJxdWFudGl0eSI6
IDEsCiAgICAgICAgInN0YXJ0IjogMTQ1OTk0OTM5OSwKICAgICAgICAic3Rh
dHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9wZXJjZW50IjogbnVsbCwK
ICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAgICAgICAidHJpYWxfc3Rh
cnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAic3Vi
XzhEaTJWYWRSdnI3QTk5IiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlw
dGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9wZXJjZW50IjogbnVs
bCwKICAgICAgICAiY2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICAg
ICAgICJjYW5jZWxlZF9hdCI6IDE0NTk5NDg5NzIsCiAgICAgICAgImN1cnJl
bnRfcGVyaW9kX2VuZCI6IDE0NjI1NDA5NjgsCiAgICAgICAgImN1cnJlbnRf
cGVyaW9kX3N0YXJ0IjogMTQ1OTk0ODk2OCwKICAgICAgICAiY3VzdG9tZXIi
OiAiY3VzXzhEaTF3amRWa3R2NWt0IiwKICAgICAgICAiZGlzY291bnQiOiBu
dWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAgICAgIm1ldGFk
YXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAi
bWVuc3VlbC1zdGFuZGFyZC1tb250aC0yMDE2MDQwNDE3MTUxOSIsCiAgICAg
ICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6IDMw
MDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODI5MjEsCiAgICAgICAg
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6ICJt
b250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAg
ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7
fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgLSBzdGFuZGFyZCwgYXNz
b2NpYXRpb24gLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2Ny
aXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjog
bnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAg
ICAic3RhcnQiOiAxNDU5OTQ4OTY4LAogICAgICAgICJzdGF0dXMiOiAiYWN0
aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0
cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwK
ICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRv
dGFsX2NvdW50IjogNCwKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNf
OERpMXdqZFZrdHY1a3Qvc3Vic2NyaXB0aW9ucyIKICB9Cn0K
http_version:
recorded_at: Thu, 07 Apr 2016 15:02:23 GMT
encoding: UTF-8
string: |
{
"id": "cus_8Di1wjdVktv5kt",
"object": "customer",
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
"email": "jean.dupond@gmail.com",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_8Di1wjdVktv5kt",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/sources"
},
"subscriptions": {
"object": "list",
"data": [
{
"id": "sub_BQBMKKS6nutZLr",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724793,
"created": 1505724789,
"current_period_end": 1508316789,
"current_period_start": 1505724789,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
"object": "subscription_item",
"created": 1505724789,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724789,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBH03MUz5WO4y",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724499,
"created": 1505724494,
"current_period_end": 1508316494,
"current_period_start": 1505724494,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3KvK2sOmf47Nz9mNLN0l2q",
"object": "subscription_item",
"created": 1505724494,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724494,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBGRftUBikhtm",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724425,
"created": 1505724421,
"current_period_end": 1508316421,
"current_period_start": 1505724421,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Ku92sOmf47Nz9sdo927vf",
"object": "subscription_item",
"created": 1505724421,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724421,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 3,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:24 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources
body:
encoding: UTF-8
string: card=tok_17xeeH2sOmf47Nz9fhi24LcM
string: card=tok_1B3L0F2sOmf47Nz90Uq0PJwi
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -371,9 +864,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '33'
response:
@ -384,7 +877,7 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:02:24 GMT
- Mon, 18 Sep 2017 08:53:25 GMT
Content-Type:
- application/json
Content-Length:
@ -397,12 +890,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6s96LPZP4cCo
- req_gofh7Q1SqT6S9h
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -411,7 +906,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "card_17xeeH2sOmf47Nz9qkD2jaiS",
"id": "card_1B3L0F2sOmf47Nz9aqfWs2B0",
"object": "card",
"address_city": null,
"address_country": null,
@ -427,7 +922,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -435,14 +930,14 @@ http_interactions:
"name": null,
"tokenization_method": null
}
http_version:
recorded_at: Thu, 07 Apr 2016 15:02:24 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:25 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
body:
encoding: UTF-8
string: default_source=card_17xeeH2sOmf47Nz9qkD2jaiS
string: default_source=card_1B3L0F2sOmf47Nz9aqfWs2B0
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -455,9 +950,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '44'
response:
@ -468,11 +963,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:02:25 GMT
- Mon, 18 Sep 2017 08:53:26 GMT
Content-Type:
- application/json
Content-Length:
- '6299'
- '8461'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -481,161 +976,299 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6shlISPAIWMP
- req_5CQT08Jg1P126V
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTk0ODg4OCwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xN3hlZUgyc09tZjQ3Tno5cWtEMmphaVMiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIkplYW4g
RHVwb25kIiwKICAiZGlzY291bnQiOiBudWxsLAogICJlbWFpbCI6ICJqZWFu
LmR1cG9uZEBnbWFpbC5jb20iLAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJt
ZXRhZGF0YSI6IHt9LAogICJzaGlwcGluZyI6IG51bGwsCiAgInNvdXJjZXMi
OiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAg
IHsKICAgICAgICAiaWQiOiAiY2FyZF8xN3hlZUgyc09tZjQ3Tno5cWtEMmph
aVMiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIsCiAgICAgICAgImFkZHJl
c3NfY2l0eSI6IG51bGwsCiAgICAgICAgImFkZHJlc3NfY291bnRyeSI6IG51
bGwsCiAgICAgICAgImFkZHJlc3NfbGluZTEiOiBudWxsLAogICAgICAgICJh
ZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAgICAgICAiYWRkcmVzc19s
aW5lMiI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nfc3RhdGUiOiBudWxsLAog
ICAgICAgICJhZGRyZXNzX3ppcCI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nf
emlwX2NoZWNrIjogbnVsbCwKICAgICAgICAiYnJhbmQiOiAiVmlzYSIsCiAg
ICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAgICJjdXN0b21lciI6ICJj
dXNfOERpMXdqZFZrdHY1a3QiLAogICAgICAgICJjdmNfY2hlY2siOiAicGFz
cyIsCiAgICAgICAgImR5bmFtaWNfbGFzdDQiOiBudWxsLAogICAgICAgICJl
eHBfbW9udGgiOiA0LAogICAgICAgICJleHBfeWVhciI6IDIwMTcsCiAgICAg
ICAgImZpbmdlcnByaW50IjogIm81Mmp5YlI3Ym5tTm42QVQiLAogICAgICAg
ICJmdW5kaW5nIjogImNyZWRpdCIsCiAgICAgICAgImxhc3Q0IjogIjQyNDIi
LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJuYW1lIjogbnVs
bCwKICAgICAgICAidG9rZW5pemF0aW9uX21ldGhvZCI6IG51bGwKICAgICAg
fSwKICAgICAgewogICAgICAgICJpZCI6ICJjYXJkXzE3eFpXdDJzT21mNDdO
ejllVlVDaTUzQSIsCiAgICAgICAgIm9iamVjdCI6ICJjYXJkIiwKICAgICAg
ICAiYWRkcmVzc19jaXR5IjogbnVsbCwKICAgICAgICAiYWRkcmVzc19jb3Vu
dHJ5IjogbnVsbCwKICAgICAgICAiYWRkcmVzc19saW5lMSI6IG51bGwsCiAg
ICAgICAgImFkZHJlc3NfbGluZTFfY2hlY2siOiBudWxsLAogICAgICAgICJh
ZGRyZXNzX2xpbmUyIjogbnVsbCwKICAgICAgICAiYWRkcmVzc19zdGF0ZSI6
IG51bGwsCiAgICAgICAgImFkZHJlc3NfemlwIjogbnVsbCwKICAgICAgICAi
YWRkcmVzc196aXBfY2hlY2siOiBudWxsLAogICAgICAgICJicmFuZCI6ICJW
aXNhIiwKICAgICAgICAiY291bnRyeSI6ICJVUyIsCiAgICAgICAgImN1c3Rv
bWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAgICAgImN2Y19jaGVj
ayI6ICJwYXNzIiwKICAgICAgICAiZHluYW1pY19sYXN0NCI6IG51bGwsCiAg
ICAgICAgImV4cF9tb250aCI6IDQsCiAgICAgICAgImV4cF95ZWFyIjogMjAx
NywKICAgICAgICAiZmluZ2VycHJpbnQiOiAibzUyanliUjdibm1ObjZBVCIs
CiAgICAgICAgImZ1bmRpbmciOiAiY3JlZGl0IiwKICAgICAgICAibGFzdDQi
OiAiNDI0MiIsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgIm5h
bWUiOiBudWxsLAogICAgICAgICJ0b2tlbml6YXRpb25fbWV0aG9kIjogbnVs
bAogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAi
dG90YWxfY291bnQiOiAyLAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJzL2N1
c184RGkxd2pkVmt0djVrdC9zb3VyY2VzIgogIH0sCiAgInN1YnNjcmlwdGlv
bnMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAg
ICAgIHsKICAgICAgICAiaWQiOiAic3ViXzhFMWFma1RCbjJkYzFEIiwKICAg
ICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxp
Y2F0aW9uX2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAiY2FuY2VsX2F0
X3BlcmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE0
NjAwMjE2NzAsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NjI2
MTM2NjUsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTQ2MDAy
MTY2NSwKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhEaTF3amRWa3R2NWt0
IiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9h
dCI6IG51bGwsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBs
YW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQt
c3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2Jq
ZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAg
ICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVu
Y3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAg
ICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVt
b2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAg
ICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFu
dCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxv
aSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6
IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAg
ICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxLAogICAgICAgICJzdGFy
dCI6IDE0NjAwMjE2NjUsCiAgICAgICAgInN0YXR1cyI6ICJhY3RpdmUiLAog
ICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAgICAgInRyaWFsX2Vu
ZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0IjogbnVsbAogICAgICB9
LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl84RGtxQmNSMWJRdnI1RyIs
CiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJh
cHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGwsCiAgICAgICAgImNhbmNl
bF9hdF9wZXJpb2RfZW5kIjogdHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQi
OiAxNDU5OTU5Mzg2LAogICAgICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAx
NDYyNTUxMzgyLAogICAgICAgICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE0
NTk5NTkzODIsCiAgICAgICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0
djVrdCIsCiAgICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgICAiZW5k
ZWRfYXQiOiBudWxsLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAg
ICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtc3RhbmRhcmQt
bW9udGgtMjAxNjA0MDQxNzE1MTkiLAogICAgICAgICAgIm9iamVjdCI6ICJw
bGFuIiwKICAgICAgICAgICJhbW91bnQiOiAzMDAwLAogICAgICAgICAgImNy
ZWF0ZWQiOiAxNDU5NzgyOTIxLAogICAgICAgICAgImN1cnJlbmN5IjogInVz
ZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAg
ImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZh
bHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFt
ZSI6ICJNZW5zdWVsIC0gc3RhbmRhcmQsIGFzc29jaWF0aW9uIC0gbW9udGgi
LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg
ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog
ICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTQ1OTk1
OTM4MiwKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRh
eF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwK
ICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsK
ICAgICAgICAiaWQiOiAic3ViXzhEaTlncVBMd3Q1SUlDIiwKICAgICAgICAi
b2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9u
X2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAiY2FuY2VsX2F0X3Blcmlv
ZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE0NTk5NDk0
MDQsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NjI1NDEzOTks
CiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTQ1OTk0OTM5OSwK
ICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhEaTF3amRWa3R2NWt0IiwKICAg
ICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51
bGwsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7
CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC1zdGFuZGFyZC1tb250aC0yMDE2
MDQwNDE3MTUxOSIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAg
ICAgICAgImFtb3VudCI6IDMwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0
NTk3ODI5MjEsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAg
ICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxf
Y291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg
ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1
ZWwgLSBzdGFuZGFyZCwgYXNzb2NpYXRpb24gLSBtb250aCIsCiAgICAgICAg
ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRy
aWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1
YW50aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNDU5OTQ5Mzk5LAogICAg
ICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQi
OiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0
cmlhbF9zdGFydCI6IG51bGwKICAgICAgfSwKICAgICAgewogICAgICAgICJp
ZCI6ICJzdWJfOERpMlZhZFJ2cjdBOTkiLAogICAgICAgICJvYmplY3QiOiAi
c3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGljYXRpb25fZmVlX3BlcmNl
bnQiOiBudWxsLAogICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRy
dWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTQ1OTk0ODk3MiwKICAgICAg
ICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTQ2MjU0MDk2OCwKICAgICAgICAi
Y3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNDU5OTQ4OTY4LAogICAgICAgICJj
dXN0b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICAgICAgICJkaXNj
b3VudCI6IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAg
ICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAgICAg
ICJpZCI6ICJtZW5zdWVsLXN0YW5kYXJkLW1vbnRoLTIwMTYwNDA0MTcxNTE5
IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYW1v
dW50IjogMzAwMCwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MjkyMSwK
ICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVy
dmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEs
CiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRh
ZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCAtIHN0YW5k
YXJkLCBhc3NvY2lhdGlvbiAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l
bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k
X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx
LAogICAgICAgICJzdGFydCI6IDE0NTk5NDg5NjgsCiAgICAgICAgInN0YXR1
cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg
ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0
IjogbnVsbAogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2Us
CiAgICAidG90YWxfY291bnQiOiA0LAogICAgInVybCI6ICIvdjEvY3VzdG9t
ZXJzL2N1c184RGkxd2pkVmt0djVrdC9zdWJzY3JpcHRpb25zIgogIH0KfQo=
http_version:
recorded_at: Thu, 07 Apr 2016 15:02:25 GMT
encoding: UTF-8
string: |
{
"id": "cus_8Di1wjdVktv5kt",
"object": "customer",
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_1B3L0F2sOmf47Nz9aqfWs2B0",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
"email": "jean.dupond@gmail.com",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_1B3L0F2sOmf47Nz9aqfWs2B0",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_8Di1wjdVktv5kt",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
},
{
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_8Di1wjdVktv5kt",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"total_count": 2,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/sources"
},
"subscriptions": {
"object": "list",
"data": [
{
"id": "sub_BQBMKKS6nutZLr",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724793,
"created": 1505724789,
"current_period_end": 1508316789,
"current_period_start": 1505724789,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
"object": "subscription_item",
"created": 1505724789,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724789,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBH03MUz5WO4y",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724499,
"created": 1505724494,
"current_period_end": 1508316494,
"current_period_start": 1505724494,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3KvK2sOmf47Nz9mNLN0l2q",
"object": "subscription_item",
"created": 1505724494,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724494,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBGRftUBikhtm",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724425,
"created": 1505724421,
"current_period_end": 1508316421,
"current_period_start": 1505724421,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Ku92sOmf47Nz9sdo927vf",
"object": "subscription_item",
"created": 1505724421,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724421,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 3,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:26 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices
@ -654,9 +1287,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '27'
response:
@ -667,11 +1300,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:02:26 GMT
- Mon, 18 Sep 2017 08:53:27 GMT
Content-Type:
- application/json
Content-Length:
- '1429'
- '1501'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -680,12 +1313,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6spkK6V9UkUW
- req_lLsyHtioA7pdvd
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -694,17 +1329,18 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "in_17xeeM2sOmf47Nz9kzn0pC8f",
"id": "in_1B3L0N2sOmf47Nz9YpYod08J",
"object": "invoice",
"amount_due": 5100,
"application_fee": null,
"attempt_count": 0,
"attempted": false,
"billing": "charge_automatically",
"charge": null,
"closed": false,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1460041346,
"date": 1505724807,
"description": null,
"discount": null,
"ending_balance": null,
@ -713,17 +1349,17 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
"id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U",
"object": "line_item",
"amount": 5100,
"currency": "usd",
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1460041342,
"end": 1460041342
"start": 1505724803,
"end": 1505724803
},
"plan": null,
"proration": false,
@ -734,14 +1370,15 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/in_17xeeM2sOmf47Nz9kzn0pC8f/lines"
"url": "/v1/invoices/in_1B3L0N2sOmf47Nz9YpYod08J/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": 1460044946,
"next_payment_attempt": 1505728407,
"number": "d4cc0e661c-0006",
"paid": false,
"period_end": 1460041346,
"period_start": 1459948968,
"period_end": 1508316421,
"period_start": 1505724421,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
@ -752,11 +1389,11 @@ http_interactions:
"total": 5100,
"webhooks_delivered_at": null
}
http_version:
recorded_at: Thu, 07 Apr 2016 15:02:26 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:27 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices/in_17xeeM2sOmf47Nz9kzn0pC8f/pay
uri: https://api.stripe.com/v1/invoices/in_1B3L0N2sOmf47Nz9YpYod08J/pay
body:
encoding: ASCII-8BIT
string: ''
@ -772,9 +1409,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '0'
response:
@ -785,11 +1422,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:02:28 GMT
- Mon, 18 Sep 2017 08:53:28 GMT
Content-Type:
- application/json
Content-Length:
- '1448'
- '1520'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -798,12 +1435,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6srau28jSd0F
- req_Q1JY5c7c5oOcvH
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -812,17 +1451,18 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "in_17xeeM2sOmf47Nz9kzn0pC8f",
"id": "in_1B3L0N2sOmf47Nz9YpYod08J",
"object": "invoice",
"amount_due": 5100,
"application_fee": null,
"attempt_count": 1,
"attempted": true,
"charge": "ch_17xeeN2sOmf47Nz9bPRkhlte",
"billing": "charge_automatically",
"charge": "ch_1B3L0O2sOmf47Nz9Qfo2Mx6j",
"closed": true,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1460041346,
"date": 1505724807,
"description": null,
"discount": null,
"ending_balance": 0,
@ -831,17 +1471,17 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
"id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U",
"object": "line_item",
"amount": 5100,
"currency": "usd",
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1460041342,
"end": 1460041342
"start": 1505724803,
"end": 1505724803
},
"plan": null,
"proration": false,
@ -852,14 +1492,15 @@ http_interactions:
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/in_17xeeM2sOmf47Nz9kzn0pC8f/lines"
"url": "/v1/invoices/in_1B3L0N2sOmf47Nz9YpYod08J/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": null,
"number": "d4cc0e661c-0006",
"paid": true,
"period_end": 1460041346,
"period_start": 1459948968,
"period_end": 1508316421,
"period_start": 1505724421,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
@ -868,13 +1509,13 @@ http_interactions:
"tax": null,
"tax_percent": null,
"total": 5100,
"webhooks_delivered_at": 1460041346
"webhooks_delivered_at": 1505724807
}
http_version:
recorded_at: Thu, 07 Apr 2016 15:02:27 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:29 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_17xeeH2sOmf47Nz9qkD2jaiS
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_1B3L0F2sOmf47Nz9aqfWs2B0
body:
encoding: US-ASCII
string: ''
@ -890,9 +1531,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -901,7 +1542,7 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 07 Apr 2016 15:02:29 GMT
- Mon, 18 Sep 2017 08:53:29 GMT
Content-Type:
- application/json
Content-Length:
@ -914,12 +1555,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8E6saiNl2MPHRO
- req_uZzsRyDtYBkcsg
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -929,8 +1572,8 @@ http_interactions:
string: |
{
"deleted": true,
"id": "card_17xeeH2sOmf47Nz9qkD2jaiS"
"id": "card_1B3L0F2sOmf47Nz9aqfWs2B0"
}
http_version:
recorded_at: Thu, 07 Apr 2016 15:02:28 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:30 GMT
recorded_with: VCR 3.0.1

View File

@ -2,7 +2,7 @@
http_interactions:
- request:
method: get
uri: https://api.stripe.com/v1/invoices/in_18rNSq2sOmf47Nz91hxlGSa7
uri: https://api.stripe.com/v1/invoices/in_1B3L052sOmf47Nz9zx9vIGks
body:
encoding: US-ASCII
string: ''
@ -19,8 +19,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -29,11 +29,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 12:25:04 GMT
- Mon, 18 Sep 2017 08:53:17 GMT
Content-Type:
- application/json
Content-Length:
- '3362'
- '2993'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -42,12 +42,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99l6aCLd0IC3Qn
- req_Yq5lCXzK2PtgOo
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -56,17 +58,18 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "in_18rNSq2sOmf47Nz91hxlGSa7",
"id": "in_1B3L052sOmf47Nz9zx9vIGks",
"object": "invoice",
"amount_due": 3825,
"application_fee": null,
"attempt_count": 1,
"attempted": true,
"charge": "ch_18rNSq2sOmf47Nz9Z8EuuyI8",
"billing": "charge_automatically",
"charge": "ch_1B3L052sOmf47Nz9yFwS4Xua",
"closed": true,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321652,
"date": 1505724789,
"description": null,
"discount": null,
"ending_balance": 0,
@ -75,17 +78,17 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
"id": "ii_1B3L012sOmf47Nz948JNFRoK",
"object": "line_item",
"amount": -450,
"amount": -675,
"currency": "usd",
"description": "coupon SUNNYFABLAB",
"discountable": false,
"livemode": false,
"metadata": {},
"period": {
"start": 1473321651,
"end": 1473321651
"start": 1505724785,
"end": 1505724785
},
"plan": null,
"proration": false,
@ -94,36 +97,17 @@ http_interactions:
"type": "invoiceitem"
},
{
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
"object": "line_item",
"amount": -225,
"currency": "usd",
"description": "coupon SUNNYFABLAB",
"discountable": false,
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null,
"type": "invoiceitem"
},
{
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
"object": "line_item",
"amount": 1500,
"currency": "usd",
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
"start": 1505724784,
"end": 1505724784
},
"plan": null,
"proration": false,
@ -132,7 +116,7 @@ http_interactions:
"type": "invoiceitem"
},
{
"id": "sub_99gqb47NmX9r79",
"id": "sub_BQBMKKS6nutZLr",
"object": "line_item",
"amount": 3000,
"currency": "usd",
@ -141,8 +125,8 @@ http_interactions:
"livemode": false,
"metadata": {},
"period": {
"start": 1473321652,
"end": 1475913652
"start": 1505724789,
"end": 1508316789
},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -161,29 +145,31 @@ http_interactions:
"proration": false,
"quantity": 1,
"subscription": null,
"subscription_item": "si_1B3L052sOmf47Nz9MoxGlk6i",
"type": "subscription"
}
],
"has_more": false,
"total_count": 4,
"url": "/v1/invoices/in_18rNSq2sOmf47Nz91hxlGSa7/lines"
"total_count": 3,
"url": "/v1/invoices/in_1B3L052sOmf47Nz9zx9vIGks/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": null,
"number": "d4cc0e661c-0005",
"paid": true,
"period_end": 1473321652,
"period_start": 1473321652,
"period_end": 1505724789,
"period_start": 1505724421,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
"subscription": "sub_99gqb47NmX9r79",
"subscription": "sub_BQBMKKS6nutZLr",
"subtotal": 3825,
"tax": null,
"tax_percent": null,
"total": 3825,
"webhooks_delivered_at": 1473321652
"webhooks_delivered_at": 1505724789
}
http_version:
recorded_at: Thu, 08 Sep 2016 12:25:04 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:17 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -19,8 +19,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,7 +31,7 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:47 GMT
- Mon, 18 Sep 2017 08:53:02 GMT
Content-Type:
- application/json
Content-Length:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gqPbGrfRTnyZ
- req_vbKmqleGbrZcOb
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_18rNSl2sOmf47Nz9cTGhyMRc",
"id": "tok_1B3Kzy2sOmf47Nz9sGjFTkgo",
"object": "token",
"card": {
"id": "card_18rNSk2sOmf47Nz9h1cf7obf",
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,20 +86,20 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "90.52.44.103",
"created": 1473321647,
"client_ip": "90.112.59.71",
"created": 1505724782,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:47 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:02 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
method: get
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=1500&currency=usd&description=FORM1%2B+imprimante+3D+September+04%2C+2016+14%3A00+-+03%3A00+PM
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -111,8 +113,326 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 18 Sep 2017 08:53:03 GMT
Content-Type:
- application/json
Content-Length:
- '6932'
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:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_BimRmUWzO804MR
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"object": "list",
"data": [
{
"id": "ii_1B3Kuo2sOmf47Nz9egmtGncE",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724462,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3Kut2sOmf47Nz9ht8mAIGU",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724462,
"end": 1505724462
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3KuK2sOmf47Nz9RqRGmh0l",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724432,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_1B3KuO2sOmf47Nz9invMhPqV",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724432,
"end": 1505724432
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Ku62sOmf47Nz92wSUMzHq",
"object": "invoiceitem",
"amount": -675,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724418,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724418,
"end": 1505724418
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Ku52sOmf47Nz9vmqyS5Gy",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724417,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724417,
"end": 1505724417
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
"object": "invoiceitem",
"amount": -510,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338732,
"description": "coupon XMAS10",
"discountable": false,
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
"livemode": false,
"metadata": {},
"period": {
"start": 1473338732,
"end": 1473338732
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338731,
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
"discountable": true,
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
"livemode": false,
"metadata": {},
"period": {
"start": 1473338731,
"end": 1473338731
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
"object": "invoiceitem",
"amount": -450,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321651,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321651,
"end": 1473321651
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
"object": "invoiceitem",
"amount": -225,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1460041342,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_17xeeM2sOmf47Nz9kzn0pC8f",
"livemode": false,
"metadata": {},
"period": {
"start": 1460041342,
"end": 1460041342
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951378,
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_17xHFK2sOmf47Nz9jegPFlNt",
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xHF82sOmf47Nz9QT6BnkAZ",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951370,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 09:00 AM",
"discountable": true,
"invoice": "in_17xHFC2sOmf47Nz9ZZeO0yST",
"livemode": false,
"metadata": {},
"period": {
"start": 1459951370,
"end": 1459951370
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
],
"has_more": false,
"url": "/v1/invoiceitems"
}
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:03 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=1500&currency=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+14%3A00+-+03%3A00+PM
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '129'
response:
@ -123,7 +443,7 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:48 GMT
- Mon, 18 Sep 2017 08:53:04 GMT
Content-Type:
- application/json
Content-Length:
@ -136,12 +456,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gqddasRVKxn2
- req_3uaSnoGLh6fY1j
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -150,34 +472,34 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
"date": 1505724784,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
"start": 1505724784,
"end": 1505724784
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:48 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:05 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=-225&currency=usd&description=coupon+SUNNYFABLAB
string: customer=cus_8Di1wjdVktv5kt&amount=-675&currency=usd&description=coupon+SUNNYFABLAB
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -191,8 +513,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '83'
response:
@ -203,7 +525,7 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:48 GMT
- Mon, 18 Sep 2017 08:53:05 GMT
Content-Type:
- application/json
Content-Length:
@ -216,12 +538,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gq27qOy8Dn3R
- req_PvqUnWyunXe4ET
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -230,28 +554,28 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
"id": "ii_1B3L012sOmf47Nz948JNFRoK",
"object": "invoiceitem",
"amount": -225,
"amount": -675,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"date": 1505724785,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
"start": 1505724785,
"end": 1505724785
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:49 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:05 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
@ -271,8 +595,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -281,11 +605,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:49 GMT
- Mon, 18 Sep 2017 08:53:06 GMT
Content-Type:
- application/json
Content-Length:
- '1408'
- '5626'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -294,12 +618,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gqbfntlVYpyJ
- req_RWcPI7fiydE5H4
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -313,7 +639,7 @@ http_interactions:
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_17z7CT2sOmf47Nz9wtWkhGor",
"default_source": "card_1B3KvG2sOmf47Nz9vdggtLMh",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
@ -325,7 +651,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "card_17z7CT2sOmf47Nz9wtWkhGor",
"id": "card_1B3KvG2sOmf47Nz9vdggtLMh",
"object": "card",
"address_city": null,
"address_country": null,
@ -341,7 +667,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -356,14 +682,145 @@ http_interactions:
},
"subscriptions": {
"object": "list",
"data": [],
"data": [
{
"id": "sub_BQBH03MUz5WO4y",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724499,
"created": 1505724494,
"current_period_end": 1508316494,
"current_period_start": 1505724494,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3KvK2sOmf47Nz9mNLN0l2q",
"object": "subscription_item",
"created": 1505724494,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724494,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBGRftUBikhtm",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724425,
"created": 1505724421,
"current_period_end": 1508316421,
"current_period_start": 1505724421,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Ku92sOmf47Nz9sdo927vf",
"object": "subscription_item",
"created": 1505724421,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724421,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 0,
"total_count": 2,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:49 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:06 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
@ -383,8 +840,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -393,11 +850,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:50 GMT
- Mon, 18 Sep 2017 08:53:07 GMT
Content-Type:
- application/json
Content-Length:
- '1408'
- '5626'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -406,12 +863,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gqvJz00HL9sk
- req_Q3pIj8r3XdrR0g
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -425,7 +884,7 @@ http_interactions:
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_17z7CT2sOmf47Nz9wtWkhGor",
"default_source": "card_1B3KvG2sOmf47Nz9vdggtLMh",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
@ -437,7 +896,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "card_17z7CT2sOmf47Nz9wtWkhGor",
"id": "card_1B3KvG2sOmf47Nz9vdggtLMh",
"object": "card",
"address_city": null,
"address_country": null,
@ -453,7 +912,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -468,100 +927,151 @@ http_interactions:
},
"subscriptions": {
"object": "list",
"data": [],
"data": [
{
"id": "sub_BQBH03MUz5WO4y",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724499,
"created": 1505724494,
"current_period_end": 1508316494,
"current_period_start": 1505724494,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3KvK2sOmf47Nz9mNLN0l2q",
"object": "subscription_item",
"created": 1505724494,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724494,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBGRftUBikhtm",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724425,
"created": 1505724421,
"current_period_end": 1508316421,
"current_period_start": 1505724421,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Ku92sOmf47Nz9sdo927vf",
"object": "subscription_item",
"created": 1505724421,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724421,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 0,
"total_count": 2,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:50 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=-450&currency=usd&description=coupon+SUNNYFABLAB
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
Content-Length:
- '83'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:51 GMT
Content-Type:
- application/json
Content-Length:
- '436'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gq9UCtuA1CdL
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
"object": "invoiceitem",
"amount": -450,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321651,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1473321651,
"end": 1473321651
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:51 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:07 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions
body:
encoding: UTF-8
string: plan=mensuel-standard-month-20160404171519&source=tok_18rNSl2sOmf47Nz9cTGhyMRc
string: plan=mensuel-standard-month-20160404171519&source=tok_1B3Kzy2sOmf47Nz9sGjFTkgo
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -575,8 +1085,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '78'
response:
@ -587,11 +1097,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:52 GMT
- Mon, 18 Sep 2017 08:53:10 GMT
Content-Type:
- application/json
Content-Length:
- '867'
- '1711'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -600,12 +1110,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gq6A5SZpD1qQ
- req_uxFA9gyDW762gv
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -614,17 +1126,47 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "sub_99gqb47NmX9r79",
"id": "sub_BQBMKKS6nutZLr",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": false,
"canceled_at": null,
"created": 1473321652,
"current_period_end": 1475913652,
"current_period_start": 1473321652,
"created": 1505724789,
"current_period_end": 1508316789,
"current_period_start": 1505724789,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
"object": "subscription_item",
"created": 1505724789,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
},
"livemode": false,
"metadata": {},
"plan": {
@ -642,14 +1184,14 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1473321652,
"start": 1505724789,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:53 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:10 GMT
- request:
method: get
uri: https://api.stripe.com/v1/invoices?customer=cus_8Di1wjdVktv5kt&limit=1
@ -669,8 +1211,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -679,11 +1221,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:53 GMT
- Mon, 18 Sep 2017 08:53:10 GMT
Content-Type:
- application/json
Content-Length:
- '3963'
- '3530'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -692,12 +1234,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gqm0fOzzj3EP
- req_xIAGJ2MsU1Gmkp
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -709,17 +1253,18 @@ http_interactions:
"object": "list",
"data": [
{
"id": "in_18rNSq2sOmf47Nz91hxlGSa7",
"id": "in_1B3L052sOmf47Nz9zx9vIGks",
"object": "invoice",
"amount_due": 3825,
"application_fee": null,
"attempt_count": 1,
"attempted": true,
"charge": "ch_18rNSq2sOmf47Nz9Z8EuuyI8",
"billing": "charge_automatically",
"charge": "ch_1B3L052sOmf47Nz9yFwS4Xua",
"closed": true,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321652,
"date": 1505724789,
"description": null,
"discount": null,
"ending_balance": 0,
@ -728,17 +1273,17 @@ http_interactions:
"object": "list",
"data": [
{
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
"id": "ii_1B3L012sOmf47Nz948JNFRoK",
"object": "line_item",
"amount": -450,
"amount": -675,
"currency": "usd",
"description": "coupon SUNNYFABLAB",
"discountable": false,
"livemode": false,
"metadata": {},
"period": {
"start": 1473321651,
"end": 1473321651
"start": 1505724785,
"end": 1505724785
},
"plan": null,
"proration": false,
@ -747,36 +1292,17 @@ http_interactions:
"type": "invoiceitem"
},
{
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
"object": "line_item",
"amount": -225,
"currency": "usd",
"description": "coupon SUNNYFABLAB",
"discountable": false,
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null,
"type": "invoiceitem"
},
{
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
"object": "line_item",
"amount": 1500,
"currency": "usd",
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
"start": 1505724784,
"end": 1505724784
},
"plan": null,
"proration": false,
@ -785,7 +1311,7 @@ http_interactions:
"type": "invoiceitem"
},
{
"id": "sub_99gqb47NmX9r79",
"id": "sub_BQBMKKS6nutZLr",
"object": "line_item",
"amount": 3000,
"currency": "usd",
@ -794,8 +1320,8 @@ http_interactions:
"livemode": false,
"metadata": {},
"period": {
"start": 1473321652,
"end": 1475913652
"start": 1505724789,
"end": 1508316789
},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -814,35 +1340,37 @@ http_interactions:
"proration": false,
"quantity": 1,
"subscription": null,
"subscription_item": "si_1B3L052sOmf47Nz9MoxGlk6i",
"type": "subscription"
}
],
"has_more": false,
"total_count": 4,
"url": "/v1/invoices/in_18rNSq2sOmf47Nz91hxlGSa7/lines"
"total_count": 3,
"url": "/v1/invoices/in_1B3L052sOmf47Nz9zx9vIGks/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": null,
"number": "d4cc0e661c-0005",
"paid": true,
"period_end": 1473321652,
"period_start": 1473321652,
"period_end": 1505724789,
"period_start": 1505724421,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
"subscription": "sub_99gqb47NmX9r79",
"subscription": "sub_BQBMKKS6nutZLr",
"subtotal": 3825,
"tax": null,
"tax_percent": null,
"total": 3825,
"webhooks_delivered_at": 1473321652
"webhooks_delivered_at": 1505724789
}
],
"has_more": true,
"url": "/v1/invoices"
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:53 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:11 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
@ -862,8 +1390,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -872,11 +1400,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:54 GMT
- Mon, 18 Sep 2017 08:53:11 GMT
Content-Type:
- application/json
Content-Length:
- '2490'
- '7728'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -885,12 +1413,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gqRCzmQJIDBa
- req_TovqsTQa37G0Rf
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -904,7 +1434,7 @@ http_interactions:
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_18rNSk2sOmf47Nz9h1cf7obf",
"default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
@ -916,7 +1446,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "card_18rNSk2sOmf47Nz9h1cf7obf",
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"object": "card",
"address_city": null,
"address_country": null,
@ -932,7 +1462,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -949,17 +1479,47 @@ http_interactions:
"object": "list",
"data": [
{
"id": "sub_99gqb47NmX9r79",
"id": "sub_BQBMKKS6nutZLr",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": false,
"canceled_at": null,
"created": 1473321652,
"current_period_end": 1475913652,
"current_period_start": 1473321652,
"created": 1505724789,
"current_period_end": 1508316789,
"current_period_start": 1505724789,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
"object": "subscription_item",
"created": 1505724789,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
},
"livemode": false,
"metadata": {},
"plan": {
@ -977,7 +1537,137 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1473321652,
"start": 1505724789,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBH03MUz5WO4y",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724499,
"created": 1505724494,
"current_period_end": 1508316494,
"current_period_start": 1505724494,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3KvK2sOmf47Nz9mNLN0l2q",
"object": "subscription_item",
"created": 1505724494,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724494,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBGRftUBikhtm",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724425,
"created": 1505724421,
"current_period_end": 1508316421,
"current_period_start": 1505724421,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Ku92sOmf47Nz9sdo927vf",
"object": "subscription_item",
"created": 1505724421,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724421,
"status": "active",
"tax_percent": null,
"trial_end": null,
@ -985,15 +1675,15 @@ http_interactions:
}
],
"has_more": false,
"total_count": 1,
"total_count": 3,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:54 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:11 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_99gqb47NmX9r79
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BQBMKKS6nutZLr
body:
encoding: US-ASCII
string: ''
@ -1010,8 +1700,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -1020,11 +1710,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:55 GMT
- Mon, 18 Sep 2017 08:53:12 GMT
Content-Type:
- application/json
Content-Length:
- '867'
- '1711'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -1033,12 +1723,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gqhmTVKcwbNF
- req_BUffG3CwZVDTAr
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -1047,17 +1739,47 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "sub_99gqb47NmX9r79",
"id": "sub_BQBMKKS6nutZLr",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": false,
"canceled_at": null,
"created": 1473321652,
"current_period_end": 1475913652,
"current_period_start": 1473321652,
"created": 1505724789,
"current_period_end": 1508316789,
"current_period_start": 1505724789,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
"object": "subscription_item",
"created": 1505724789,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
},
"livemode": false,
"metadata": {},
"plan": {
@ -1075,17 +1797,17 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1473321652,
"start": 1505724789,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:55 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:12 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_99gqb47NmX9r79?at_period_end=true
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BQBMKKS6nutZLr?at_period_end=true
body:
encoding: US-ASCII
string: ''
@ -1102,8 +1824,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -1112,11 +1834,11 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:56 GMT
- Mon, 18 Sep 2017 08:53:13 GMT
Content-Type:
- application/json
Content-Length:
- '872'
- '1716'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -1125,12 +1847,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gqPGBMCEM6Ec
- req_9qV2Y6X7g0d8xs
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -1139,17 +1863,47 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "sub_99gqb47NmX9r79",
"id": "sub_BQBMKKS6nutZLr",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1473321656,
"created": 1473321652,
"current_period_end": 1475913652,
"current_period_start": 1473321652,
"canceled_at": 1505724793,
"created": 1505724789,
"current_period_end": 1508316789,
"current_period_start": 1505724789,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
"object": "subscription_item",
"created": 1505724789,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
},
"livemode": false,
"metadata": {},
"plan": {
@ -1167,17 +1921,17 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1473321652,
"start": 1505724789,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:57 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:13 GMT
- request:
method: get
uri: https://api.stripe.com/v1/invoiceitems/ii_18rNSm2sOmf47Nz9avgL9KyW
uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L002sOmf47Nz9FjqPZEye
body:
encoding: US-ASCII
string: ''
@ -1194,8 +1948,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -1204,7 +1958,7 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:58 GMT
- Mon, 18 Sep 2017 08:53:14 GMT
Content-Type:
- application/json
Content-Length:
@ -1217,12 +1971,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gqJIQqEHVCZ0
- req_gFmWwKxUTE3l6H
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -1231,31 +1987,31 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
"date": 1505724784,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"invoice": "in_1B3L052sOmf47Nz9zx9vIGks",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
"start": 1505724784,
"end": 1505724784
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:58 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:14 GMT
- request:
method: get
uri: https://api.stripe.com/v1/invoiceitems/ii_18rNSm2sOmf47Nz9avgL9KyW
uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L002sOmf47Nz9FjqPZEye
body:
encoding: US-ASCII
string: ''
@ -1272,8 +2028,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -1282,7 +2038,7 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 08:00:58 GMT
- Mon, 18 Sep 2017 08:53:15 GMT
Content-Type:
- application/json
Content-Length:
@ -1295,12 +2051,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99gqJk9T35fI7H
- req_PPoPtWzqAFdG2L
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -1309,26 +2067,26 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
"date": 1505724784,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"invoice": "in_1B3L052sOmf47Nz9zx9vIGks",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
"start": 1505724784,
"end": 1505724784
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 08 Sep 2016 08:00:58 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:15 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -19,8 +19,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,7 +31,7 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 12:45:30 GMT
- Mon, 18 Sep 2017 08:53:48 GMT
Content-Type:
- application/json
Content-Length:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99lRiyf8VYL75c
- req_7ARWgjiB69On3h
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_18rRuI2sOmf47Nz9nl5ZXXoF",
"id": "tok_1B3L0i2sOmf47Nz9NLjcWb4n",
"object": "token",
"card": {
"id": "card_18rRuI2sOmf47Nz9TSeEZ96o",
"id": "card_1B3L0i2sOmf47Nz9LsdJmm5g",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,20 +86,20 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "90.52.44.103",
"created": 1473338730,
"client_ip": "90.112.59.71",
"created": 1505724828,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Thu, 08 Sep 2016 12:45:30 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:48 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
method: get
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=5100&currency=usd&description=Formation+Imprimante+3D+September+05%2C+2016+08%3A00+-+09%3A00+AM
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -111,8 +113,410 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 18 Sep 2017 08:53:49 GMT
Content-Type:
- application/json
Content-Length:
- '9230'
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:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_XjlZoFBGR3Fwpu
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"object": "list",
"data": [
{
"id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724818,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3L0d2sOmf47Nz9sybqyVQx",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724818,
"end": 1505724818
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724803,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_1B3L0N2sOmf47Nz9YpYod08J",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724803,
"end": 1505724803
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3L012sOmf47Nz948JNFRoK",
"object": "invoiceitem",
"amount": -675,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724785,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_1B3L052sOmf47Nz9zx9vIGks",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724785,
"end": 1505724785
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724784,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3L052sOmf47Nz9zx9vIGks",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724784,
"end": 1505724784
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Kuo2sOmf47Nz9egmtGncE",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724462,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3Kut2sOmf47Nz9ht8mAIGU",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724462,
"end": 1505724462
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3KuK2sOmf47Nz9RqRGmh0l",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724432,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_1B3KuO2sOmf47Nz9invMhPqV",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724432,
"end": 1505724432
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Ku62sOmf47Nz92wSUMzHq",
"object": "invoiceitem",
"amount": -675,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724418,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724418,
"end": 1505724418
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_1B3Ku52sOmf47Nz9vmqyS5Gy",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1505724417,
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
"livemode": false,
"metadata": {},
"period": {
"start": 1505724417,
"end": 1505724417
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
"object": "invoiceitem",
"amount": -510,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338732,
"description": "coupon XMAS10",
"discountable": false,
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
"livemode": false,
"metadata": {},
"period": {
"start": 1473338732,
"end": 1473338732
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338731,
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
"discountable": true,
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
"livemode": false,
"metadata": {},
"period": {
"start": 1473338731,
"end": 1473338731
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
"object": "invoiceitem",
"amount": -450,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321651,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321651,
"end": 1473321651
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
"object": "invoiceitem",
"amount": -225,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
"object": "invoiceitem",
"amount": 1500,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473321648,
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
"livemode": false,
"metadata": {},
"period": {
"start": 1473321648,
"end": 1473321648
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1460041342,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
"discountable": true,
"invoice": "in_17xeeM2sOmf47Nz9kzn0pC8f",
"livemode": false,
"metadata": {},
"period": {
"start": 1460041342,
"end": 1460041342
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
"object": "invoiceitem",
"amount": 3200,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951378,
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
"discountable": true,
"invoice": "in_17xHFK2sOmf47Nz9jegPFlNt",
"livemode": false,
"metadata": {},
"period": {
"start": 1459951378,
"end": 1459951378
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
},
{
"id": "ii_17xHF82sOmf47Nz9QT6BnkAZ",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459951370,
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 09:00 AM",
"discountable": true,
"invoice": "in_17xHFC2sOmf47Nz9ZZeO0yST",
"livemode": false,
"metadata": {},
"period": {
"start": 1459951370,
"end": 1459951370
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
],
"has_more": false,
"url": "/v1/invoiceitems"
}
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:49 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=5100&currency=usd&description=Formation+Imprimante+3D+September+18%2C+2017+08%3A00+-+09%3A00+AM
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '130'
response:
@ -123,7 +527,7 @@ http_interactions:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 12:45:31 GMT
- Mon, 18 Sep 2017 08:53:50 GMT
Content-Type:
- application/json
Content-Length:
@ -136,12 +540,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99lRUe4QZ7kRSv
- req_dN98nnq9OtFfFX
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -150,848 +556,26 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
"id": "ii_1B3L0k2sOmf47Nz9y87SMg3r",
"object": "invoiceitem",
"amount": 5100,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338731,
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
"date": 1505724830,
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 09:00 AM",
"discountable": true,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1473338731,
"end": 1473338731
"start": 1505724830,
"end": 1505724830
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 08 Sep 2016 12:45:31 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt&amount=-510&currency=usd&description=coupon+XMAS10
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
Content-Length:
- '78'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 12:45:32 GMT
Content-Type:
- application/json
Content-Length:
- '431'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99lR2huyf6IhVY
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
"object": "invoiceitem",
"amount": -510,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338732,
"description": "coupon XMAS10",
"discountable": false,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1473338732,
"end": 1473338732
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null
}
http_version:
recorded_at: Thu, 08 Sep 2016 12:45:32 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 12:45:33 GMT
Content-Type:
- application/json
Content-Length:
- '2495'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99lRlUD2wtvAmA
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "cus_8Di1wjdVktv5kt",
"object": "customer",
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_18rNSk2sOmf47Nz9h1cf7obf",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
"email": "jean.dupond@gmail.com",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_18rNSk2sOmf47Nz9h1cf7obf",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_8Di1wjdVktv5kt",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/sources"
},
"subscriptions": {
"object": "list",
"data": [
{
"id": "sub_99gqb47NmX9r79",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": true,
"canceled_at": 1473321656,
"created": 1473321652,
"current_period_end": 1475913652,
"current_period_start": 1473321652,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1473321652,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Thu, 08 Sep 2016 12:45:33 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources
body:
encoding: UTF-8
string: card=tok_18rRuI2sOmf47Nz9nl5ZXXoF
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
Content-Length:
- '33'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 12:45:34 GMT
Content-Type:
- application/json
Content-Length:
- '577'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99lReB7yNLWrc3
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "card_18rRuI2sOmf47Nz9TSeEZ96o",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_8Di1wjdVktv5kt",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
}
http_version:
recorded_at: Thu, 08 Sep 2016 12:45:34 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
body:
encoding: UTF-8
string: default_source=card_18rRuI2sOmf47Nz9TSeEZ96o
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
Content-Length:
- '44'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 12:45:35 GMT
Content-Type:
- application/json
Content-Length:
- '3223'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99lRU3qBXW4qEB
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "cus_8Di1wjdVktv5kt",
"object": "customer",
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_18rRuI2sOmf47Nz9TSeEZ96o",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
"email": "jean.dupond@gmail.com",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_18rRuI2sOmf47Nz9TSeEZ96o",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_8Di1wjdVktv5kt",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
},
{
"id": "card_18rNSk2sOmf47Nz9h1cf7obf",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_8Di1wjdVktv5kt",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"total_count": 2,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/sources"
},
"subscriptions": {
"object": "list",
"data": [
{
"id": "sub_99gqb47NmX9r79",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": true,
"canceled_at": 1473321656,
"created": 1473321652,
"current_period_end": 1475913652,
"current_period_start": 1473321652,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1473321652,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Thu, 08 Sep 2016 12:45:35 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices
body:
encoding: UTF-8
string: customer=cus_8Di1wjdVktv5kt
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
Content-Length:
- '27'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 12:45:36 GMT
Content-Type:
- application/json
Content-Length:
- '1925'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99lRjTRT4OH5kv
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "in_18rRuO2sOmf47Nz9qbfxBA0D",
"object": "invoice",
"amount_due": 4590,
"application_fee": null,
"attempt_count": 0,
"attempted": false,
"charge": null,
"closed": false,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338736,
"description": null,
"discount": null,
"ending_balance": null,
"forgiven": false,
"lines": {
"object": "list",
"data": [
{
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
"object": "line_item",
"amount": -510,
"currency": "usd",
"description": "coupon XMAS10",
"discountable": false,
"livemode": false,
"metadata": {},
"period": {
"start": 1473338732,
"end": 1473338732
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null,
"type": "invoiceitem"
},
{
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
"object": "line_item",
"amount": 5100,
"currency": "usd",
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1473338731,
"end": 1473338731
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null,
"type": "invoiceitem"
}
],
"has_more": false,
"total_count": 2,
"url": "/v1/invoices/in_18rRuO2sOmf47Nz9qbfxBA0D/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": 1473342336,
"paid": false,
"period_end": 1473338736,
"period_start": 1473321652,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
"subscription": null,
"subtotal": 4590,
"tax": null,
"tax_percent": null,
"total": 4590,
"webhooks_delivered_at": null
}
http_version:
recorded_at: Thu, 08 Sep 2016 12:45:36 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices/in_18rRuO2sOmf47Nz9qbfxBA0D/pay
body:
encoding: ASCII-8BIT
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
Content-Length:
- '0'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 12:45:37 GMT
Content-Type:
- application/json
Content-Length:
- '1944'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99lRH31egNKaff
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "in_18rRuO2sOmf47Nz9qbfxBA0D",
"object": "invoice",
"amount_due": 4590,
"application_fee": null,
"attempt_count": 1,
"attempted": true,
"charge": "ch_18rRuP2sOmf47Nz9V3NRITbR",
"closed": true,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1473338736,
"description": null,
"discount": null,
"ending_balance": 0,
"forgiven": false,
"lines": {
"object": "list",
"data": [
{
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
"object": "line_item",
"amount": -510,
"currency": "usd",
"description": "coupon XMAS10",
"discountable": false,
"livemode": false,
"metadata": {},
"period": {
"start": 1473338732,
"end": 1473338732
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null,
"type": "invoiceitem"
},
{
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
"object": "line_item",
"amount": 5100,
"currency": "usd",
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1473338731,
"end": 1473338731
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null,
"type": "invoiceitem"
}
],
"has_more": false,
"total_count": 2,
"url": "/v1/invoices/in_18rRuO2sOmf47Nz9qbfxBA0D/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": null,
"paid": true,
"period_end": 1473338736,
"period_start": 1473321652,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
"subscription": null,
"subtotal": 4590,
"tax": null,
"tax_percent": null,
"total": 4590,
"webhooks_delivered_at": 1473338736
}
http_version:
recorded_at: Thu, 08 Sep 2016 12:45:37 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_18rRuI2sOmf47Nz9TSeEZ96o
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Thu, 08 Sep 2016 12:45:38 GMT
Content-Type:
- application/json
Content-Length:
- '63'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_99lRURlSYOVhs3
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"deleted": true,
"id": "card_18rRuI2sOmf47Nz9TSeEZ96o"
}
http_version:
recorded_at: Thu, 08 Sep 2016 12:45:38 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:53:50 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -19,8 +19,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016","hostname":"sylvain-sleede-pc"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,7 +31,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 28 Nov 2016 10:30:21 GMT
- Mon, 18 Sep 2017 08:52:47 GMT
Content-Type:
- application/json
Content-Length:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_9e4YKniSPeMq2N
- req_Ti0Tujzc4pghIA
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_19KmOv2sOmf47Nz90KKaBGgJ",
"id": "tok_1B3Kzj2sOmf47Nz9z8i09Ngi",
"object": "token",
"card": {
"id": "card_19KmOv2sOmf47Nz94YYaGGHa",
"id": "card_1B3Kzj2sOmf47Nz9fXss1Zsb",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,20 +86,20 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "90.52.237.73",
"created": 1480329021,
"client_ip": "90.112.59.71",
"created": 1505724767,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Mon, 28 Nov 2016 10:30:21 GMT
recorded_at: Mon, 18 Sep 2017 08:52:47 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
method: get
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzNtM08NVlSGN&limit=100
body:
encoding: UTF-8
string: customer=cus_8CzNtM08NVlSGN&amount=51000&currency=usd&description=Radio+num%C3%A9rique+%0ADecember+08%2C+2016+11%3A00+AM+-+07%3A00+PM%0ADecember+09%2C+2016+11%3A00+AM+-+07%3A00+PM%0ADecember+10%2C+2016+11%3A00+AM+-+07%3A00+PM
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -111,10 +113,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016","hostname":"sylvain-sleede-pc"}'
Content-Length:
- '225'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -123,11 +123,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 28 Nov 2016 10:30:22 GMT
- Mon, 18 Sep 2017 08:52:48 GMT
Content-Type:
- application/json
Content-Length:
- '552'
- '8055'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -136,12 +136,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_9e4Y3qKoP2Yqmq
- req_7l7k6uAsnv9DOJ
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -149,27 +151,193 @@ http_interactions:
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJpaV8xOUttT3cyc09tZjQ3Tno5ZjBQYktiSHEiLAogICJv
YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICJhbW91bnQiOiA1MTAwMCwKICAi
Y3VycmVuY3kiOiAidXNkIiwKICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4
TlZsU0dOIiwKICAiZGF0ZSI6IDE0ODAzMjkwMjIsCiAgImRlc2NyaXB0aW9u
IjogIlJhZGlvIG51bcOpcmlxdWUgXG5EZWNlbWJlciAwOCwgMjAxNiAxMTow
MCBBTSAtIDA3OjAwIFBNXG5EZWNlbWJlciAwOSwgMjAxNiAxMTowMCBBTSAt
IDA3OjAwIFBNXG5EZWNlbWJlciAxMCwgMjAxNiAxMTowMCBBTSAtIDA3OjAw
IFBNIiwKICAiZGlzY291bnRhYmxlIjogdHJ1ZSwKICAiaW52b2ljZSI6IG51
bGwsCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFkYXRhIjoge30sCiAg
InBlcmlvZCI6IHsKICAgICJzdGFydCI6IDE0ODAzMjkwMjIsCiAgICAiZW5k
IjogMTQ4MDMyOTAyMgogIH0sCiAgInBsYW4iOiBudWxsLAogICJwcm9yYXRp
b24iOiBmYWxzZSwKICAicXVhbnRpdHkiOiBudWxsLAogICJzdWJzY3JpcHRp
b24iOiBudWxsCn0K
ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg
ICJpZCI6ICJpaV8xQjNLdlMyc09tZjQ3Tno5ZFJlUGxEN3YiLAogICAgICAi
b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAw
LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog
ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDUw
MiwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg
ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5f
MUIzS3ZUMnNPbWY0N056OURWdjVyT0xRIiwKICAgICAgImxpdmVtb2RlIjog
ZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjog
ewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ1MDIsCiAgICAgICAgImVuZCI6
IDE1MDU3MjQ1MDIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg
ICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGws
CiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAg
ICAiaWQiOiAiaWlfMUIzS3Y1MnNPbWY0N056OXpNZ21KQmpuIiwKICAgICAg
Im9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAw
MCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6
ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ0
NzksCiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAg
ICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImlu
XzFCM0t2OTJzT21mNDdOejlrckFvbmg1WSIsCiAgICAgICJsaXZlbW9kZSI6
IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6
IHsKICAgICAgICAic3RhcnQiOiAxNTA1NzI0NDc5LAogICAgICAgICJlbmQi
OiAxNTA1NzI0NDc5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAg
ICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxs
LAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAg
ICAgImlkIjogImlpXzFCM0t2NDJzT21mNDdOejk3b1NLYnhhSSIsCiAgICAg
ICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTc2
NTAsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIi
OiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0
NDc4LAogICAgICAiZGVzY3JpcHRpb24iOiAiY291cG9uIFNVTk5ZRkFCTEFC
IiwKICAgICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2lj
ZSI6ICJpbl8xQjNLdjkyc09tZjQ3Tno5a3JBb25oNVkiLAogICAgICAibGl2
ZW1vZGUiOiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJw
ZXJpb2QiOiB7CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDQ3OCwKICAgICAg
ICAiZW5kIjogMTUwNTcyNDQ3OAogICAgICB9LAogICAgICAicGxhbiI6IG51
bGwsCiAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5
IjogbnVsbCwKICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAg
ICB7CiAgICAgICJpZCI6ICJpaV8xQjNLdjMyc09tZjQ3Tno5blUzc0JtaU4i
LAogICAgICAib2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3Vu
dCI6IDUxMDAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1
c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjog
MTUwNTcyNDQ3NywKICAgICAgImRlc2NyaXB0aW9uIjogIlJhZGlvIG51bcOp
cmlxdWUgXG5TZXB0ZW1iZXIgMjgsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQ
TVxuU2VwdGVtYmVyIDI5LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1cblNl
cHRlbWJlciAzMCwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNIiwKICAgICAg
ImRpc2NvdW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFC
M0t2OTJzT21mNDdOejlrckFvbmg1WSIsCiAgICAgICJsaXZlbW9kZSI6IGZh
bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK
ICAgICAgICAic3RhcnQiOiAxNTA1NzI0NDc3LAogICAgICAgICJlbmQiOiAx
NTA1NzI0NDc3CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg
InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog
ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg
ImlkIjogImlpXzFCM0t1YzJzT21mNDdOejk2ajBlMzlZbiIsCiAgICAgICJv
YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAs
CiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAi
Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDUw
LAogICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAg
ImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8x
QjNLdWUyc09tZjQ3Tno5VFZrM0sxTVkiLAogICAgICAibGl2ZW1vZGUiOiBm
YWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7
CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDQ1MCwKICAgICAgICAiZW5kIjog
MTUwNTcyNDQ1MAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAg
ICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwK
ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAg
ICJpZCI6ICJpaV8xQjNLdWIyc09tZjQ3Tno5aGtpMDJ6UlciLAogICAgICAi
b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDAsCiAg
ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz
XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDQ5LAog
ICAgICAiZGVzY3JpcHRpb24iOiAiRm9ybWF0aW9uIEltcHJpbWFudGUgM0Qg
U2VwdGVtYmVyIDE4LCAyMDE3IDA4OjAwIC0gMTI6MDAgUE0iLAogICAgICAi
ZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIz
S3VlMnNPbWY0N056OVRWazNLMU1ZIiwKICAgICAgImxpdmVtb2RlIjogZmFs
c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog
ICAgICAgICJzdGFydCI6IDE1MDU3MjQ0NDksCiAgICAgICAgImVuZCI6IDE1
MDU3MjQ0NDkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi
cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg
ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi
aWQiOiAiaWlfMUIzS3RuMnNPbWY0N056OUd4OW9lS3d2IiwKICAgICAgIm9i
amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwK
ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj
dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQzOTks
CiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAi
ZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFC
M0t0cjJzT21mNDdOejlzdVUwak9DOCIsCiAgICAgICJsaXZlbW9kZSI6IGZh
bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK
ICAgICAgICAic3RhcnQiOiAxNTA1NzI0Mzk5LAogICAgICAgICJlbmQiOiAx
NTA1NzI0Mzk5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg
InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog
ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg
ImlkIjogImlpXzFCM0t0bjJzT21mNDdOejlMWVV3NzNzQiIsCiAgICAgICJv
YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogMzQwMCwK
ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj
dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQzOTks
CiAgICAgICJkZXNjcmlwdGlvbiI6ICJGT1JNMSsgaW1wcmltYW50ZSAzRCBT
ZXB0ZW1iZXIgMTcsIDIwMTcgMTQ6MDAgLSAwMzowMCBQTSIsCiAgICAgICJk
aXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNL
dHIyc09tZjQ3Tno5c3VVMGpPQzgiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg
ICAgICAgInN0YXJ0IjogMTUwNTcyNDM5OSwKICAgICAgICAiZW5kIjogMTUw
NTcyNDM5OQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw
cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg
ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp
ZCI6ICJpaV8xOUttT3gyc09tZjQ3Tno5WEl6dlRqTEMiLAogICAgICAib2Jq
ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAog
ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1
c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ4MDMyOTAyMywK
ICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJk
aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMTlL
bVAxMnNPbWY0N056OVJsNmFLV0Y4IiwKICAgICAgImxpdmVtb2RlIjogZmFs
c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog
ICAgICAgICJzdGFydCI6IDE0ODAzMjkwMjMsCiAgICAgICAgImVuZCI6IDE0
ODAzMjkwMjMKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi
cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg
ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi
aWQiOiAiaWlfMTlLbU93MnNPbWY0N056OWZNZ2pISWhnIiwKICAgICAgIm9i
amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtNzY1MCwK
ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj
dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0ODAzMjkwMjIs
CiAgICAgICJkZXNjcmlwdGlvbiI6ICJjb3Vwb24gU1VOTllGQUJMQUIgLSBy
ZXNlcnZhdGlvbiIsCiAgICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAg
ICAgImludm9pY2UiOiAiaW5fMTlLbVAxMnNPbWY0N056OVJsNmFLV0Y4IiwK
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9
LAogICAgICAicGVyaW9kIjogewogICAgICAgICJzdGFydCI6IDE0ODAzMjkw
MjIsCiAgICAgICAgImVuZCI6IDE0ODAzMjkwMjIKICAgICAgfSwKICAgICAg
InBsYW4iOiBudWxsLAogICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAg
ICJxdWFudGl0eSI6IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxs
CiAgICB9LAogICAgewogICAgICAiaWQiOiAiaWlfMTlLbU93MnNPbWY0N056
OWYwUGJLYkhxIiwKICAgICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAg
ICAgICJhbW91bnQiOiA1MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIs
CiAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAg
ICAiZGF0ZSI6IDE0ODAzMjkwMjIsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJS
YWRpbyBudW3DqXJpcXVlIFxuRGVjZW1iZXIgMDgsIDIwMTYgMTE6MDAgQU0g
LSAwNzowMCBQTVxuRGVjZW1iZXIgMDksIDIwMTYgMTE6MDAgQU0gLSAwNzow
MCBQTVxuRGVjZW1iZXIgMTAsIDIwMTYgMTE6MDAgQU0gLSAwNzowMCBQTSIs
CiAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6
ICJpbl8xOUttUDEyc09tZjQ3Tno5Umw2YUtXRjgiLAogICAgICAibGl2ZW1v
ZGUiOiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJp
b2QiOiB7CiAgICAgICAgInN0YXJ0IjogMTQ4MDMyOTAyMiwKICAgICAgICAi
ZW5kIjogMTQ4MDMyOTAyMgogICAgICB9LAogICAgICAicGxhbiI6IG51bGws
CiAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5Ijog
bnVsbCwKICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7
CiAgICAgICJpZCI6ICJpaV8xOFpoVWgyc09tZjQ3Tno5MDJ5a0d5YkIiLAog
ICAgICAib2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6
IC0xMDAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3Rv
bWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2
OTEwODc0MywKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIs
CiAgICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2Ui
OiAiaW5fMThaaFVqMnNPbWY0N056OXI4TEtJQk5LIiwKICAgICAgImxpdmVt
b2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVy
aW9kIjogewogICAgICAgICJzdGFydCI6IDE0NjkxMDg3NDMsCiAgICAgICAg
ImVuZCI6IDE0NjkxMDg3NDMKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxs
LAogICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6
IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAg
ewogICAgICAiaWQiOiAiaWlfMThaaFVnMnNPbWY0N056OXZTc2w1Sjl6IiwK
ICAgICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQi
OiAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVy
IjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2OTEw
ODc0MiwKICAgICAgImRlc2NyaXB0aW9uIjogIkZvcm1hdGlvbiBJbXByaW1h
bnRlIDNEIEp1bHkgMTgsIDIwMTYgMDg6MDAgLSAxMjowMCBQTSIsCiAgICAg
ICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8x
OFpoVWoyc09tZjQ3Tno5cjhMS0lCTksiLAogICAgICAibGl2ZW1vZGUiOiBm
YWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7
CiAgICAgICAgInN0YXJ0IjogMTQ2OTEwODc0MiwKICAgICAgICAiZW5kIjog
MTQ2OTEwODc0MgogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAg
ICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwK
ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAg
ICJpZCI6ICJpaV8xOFc0R04yc09tZjQ3Tno5SzFkVGZUeUEiLAogICAgICAi
b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAw
LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog
ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2ODI0Mjk1
NSwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg
ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5f
MThXNEdPMnNPbWY0N056OW9vdURRM2hlIiwKICAgICAgImxpdmVtb2RlIjog
ZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjog
ewogICAgICAgICJzdGFydCI6IDE0NjgyNDI5NTUsCiAgICAgICAgImVuZCI6
IDE0NjgyNDI5NTUKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg
ICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGws
CiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9CiAgXSwKICAiaGFz
X21vcmUiOiBmYWxzZSwKICAidXJsIjogIi92MS9pbnZvaWNlaXRlbXMiCn0K
http_version:
recorded_at: Mon, 28 Nov 2016 10:30:22 GMT
recorded_at: Mon, 18 Sep 2017 08:52:48 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8CzNtM08NVlSGN&amount=-7650&currency=usd&description=coupon+SUNNYFABLAB+-+reservation
string: customer=cus_8CzNtM08NVlSGN&amount=51000&currency=usd&description=Radio+num%C3%A9rique+%0ASeptember+28%2C+2017+12%3A00+PM+-+08%3A00+PM%0ASeptember+29%2C+2017+12%3A00+PM+-+08%3A00+PM%0ASeptember+30%2C+2017+12%3A00+PM+-+08%3A00+PM
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -183,10 +351,10 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016","hostname":"sylvain-sleede-pc"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '98'
- '228'
response:
status:
code: 200
@ -195,11 +363,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 28 Nov 2016 10:30:23 GMT
- Mon, 18 Sep 2017 08:52:49 GMT
Content-Type:
- application/json
Content-Length:
- '451'
- '555'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -208,12 +376,88 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_9e4YzTw5ITNQ7t
- req_9mpI4AO8bxYCEf
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJpaV8xQjNLemsyc09tZjQ3Tno5TzMzb0FFUzkiLAogICJv
YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICJhbW91bnQiOiA1MTAwMCwKICAi
Y3VycmVuY3kiOiAidXNkIiwKICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4
TlZsU0dOIiwKICAiZGF0ZSI6IDE1MDU3MjQ3NjgsCiAgImRlc2NyaXB0aW9u
IjogIlJhZGlvIG51bcOpcmlxdWUgXG5TZXB0ZW1iZXIgMjgsIDIwMTcgMTI6
MDAgUE0gLSAwODowMCBQTVxuU2VwdGVtYmVyIDI5LCAyMDE3IDEyOjAwIFBN
IC0gMDg6MDAgUE1cblNlcHRlbWJlciAzMCwgMjAxNyAxMjowMCBQTSAtIDA4
OjAwIFBNIiwKICAiZGlzY291bnRhYmxlIjogdHJ1ZSwKICAiaW52b2ljZSI6
IG51bGwsCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFkYXRhIjoge30s
CiAgInBlcmlvZCI6IHsKICAgICJzdGFydCI6IDE1MDU3MjQ3NjgsCiAgICAi
ZW5kIjogMTUwNTcyNDc2OAogIH0sCiAgInBsYW4iOiBudWxsLAogICJwcm9y
YXRpb24iOiBmYWxzZSwKICAicXVhbnRpdHkiOiBudWxsLAogICJzdWJzY3Jp
cHRpb24iOiBudWxsCn0K
http_version:
recorded_at: Mon, 18 Sep 2017 08:52:49 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
body:
encoding: UTF-8
string: customer=cus_8CzNtM08NVlSGN&amount=-7650&currency=usd&description=coupon+SUNNYFABLAB
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '84'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 18 Sep 2017 08:52:49 GMT
Content-Type:
- application/json
Content-Length:
- '437'
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:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_fpTOe0okV2Pgoe
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -222,20 +466,20 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_19KmOw2sOmf47Nz9fMgjHIhg",
"id": "ii_1B3Kzl2sOmf47Nz9o1unZmsv",
"object": "invoiceitem",
"amount": -7650,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1480329022,
"description": "coupon SUNNYFABLAB - reservation",
"date": 1505724769,
"description": "coupon SUNNYFABLAB",
"discountable": false,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1480329022,
"end": 1480329022
"start": 1505724769,
"end": 1505724769
},
"plan": null,
"proration": false,
@ -243,7 +487,7 @@ http_interactions:
"subscription": null
}
http_version:
recorded_at: Mon, 28 Nov 2016 10:30:23 GMT
recorded_at: Mon, 18 Sep 2017 08:52:50 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
@ -263,8 +507,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016","hostname":"sylvain-sleede-pc"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '78'
response:
@ -275,7 +519,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 28 Nov 2016 10:30:23 GMT
- Mon, 18 Sep 2017 08:52:50 GMT
Content-Type:
- application/json
Content-Length:
@ -288,12 +532,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_9e4YHcxKC6TIpx
- req_RJIu5058w639KE
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -302,20 +548,20 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_19KmOx2sOmf47Nz9XIzvTjLC",
"id": "ii_1B3Kzm2sOmf47Nz9u2wWAhkb",
"object": "invoiceitem",
"amount": -1000,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1480329023,
"date": 1505724770,
"description": "wallet -10.0",
"discountable": false,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1480329023,
"end": 1480329023
"start": 1505724770,
"end": 1505724770
},
"plan": null,
"proration": false,
@ -323,7 +569,7 @@ http_interactions:
"subscription": null
}
http_version:
recorded_at: Mon, 28 Nov 2016 10:30:23 GMT
recorded_at: Mon, 18 Sep 2017 08:52:50 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
@ -343,8 +589,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016","hostname":"sylvain-sleede-pc"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -353,11 +599,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 28 Nov 2016 10:30:24 GMT
- Mon, 18 Sep 2017 08:52:51 GMT
Content-Type:
- application/json
Content-Length:
- '1415'
- '5869'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -366,82 +612,160 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_9e4YUv3IAopxIK
- req_sjzL5W8F6LJMgu
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "cus_8CzNtM08NVlSGN",
"object": "customer",
"account_balance": 0,
"created": 1459782849,
"currency": "usd",
"default_source": "card_18ZhUf2sOmf47Nz9LhkQeEmO",
"delinquent": false,
"description": "Vanessa Lonchamp",
"discount": null,
"email": "vanessa.lonchamp@sfr.fr",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_18ZhUf2sOmf47Nz9LhkQeEmO",
"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": 2017,
"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"
}
}
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xQjNLdlEyc09tZjQ3Tno5Rmc2QWxjUzEiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzS3ZRMnNPbWY0N056
OUZnNkFsY1MxIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
ZHJlc3NfbGluZTIiOiBudWxsLAogICAgICAgICJhZGRyZXNzX3N0YXRlIjog
bnVsbCwKICAgICAgICAiYWRkcmVzc196aXAiOiBudWxsLAogICAgICAgICJh
ZGRyZXNzX3ppcF9jaGVjayI6IG51bGwsCiAgICAgICAgImJyYW5kIjogIlZp
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
ZSI6IG51bGwsCiAgICAgICAgInRva2VuaXphdGlvbl9tZXRob2QiOiBudWxs
CiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSUltdVVXYnJqekIiLAogICAg
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog
ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl
cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3
MjQ1MDcsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAzLAogICAgICAg
ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2NTAzLAogICAgICAgICJj
dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1
c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv
dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg
ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg
ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp
ZCI6ICJzaV8xQjNLdlQyc09tZjQ3Tno5dTNpTWE1U3oiLAogICAgICAgICAg
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg
ICAgICJjcmVhdGVkIjogMTUwNTcyNDUwMywKICAgICAgICAgICAgICAibWV0
YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi
OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg
ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu
dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j
b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50
LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p
IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw
dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5
cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu
dGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAg
ICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50Ijog
MSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9z
dWJzY3JpcHRpb249c3ViX0JRQklJbXVVV2JyanpCIgogICAgICAgIH0sCiAg
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjog
e30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3Vl
bC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIs
CiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3Vu
dCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAg
ICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZh
bCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAog
ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRh
dGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOp
ZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRl
bWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l
bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k
X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx
LAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgInN0YXR1
cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg
ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0
IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9C
UUJISFBCak81NzNKVyIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp
b24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGws
CiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAog
ICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAg
ImNhbmNlbGVkX2F0IjogMTUwNTcyNDQ1OCwKICAgICAgICAiY3JlYXRlZCI6
IDE1MDU3MjQ0NTIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1
MDgzMTY0NTIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUw
NTcyNDQ1MiwKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs
U0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRl
ZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9i
amVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAg
ICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFCM0t1ZTJzT21mNDdOejky
UEN2RFVaSyIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp
b25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NDUz
LAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
ICJwbGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy
aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg
ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAg
ICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAx
NDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs
CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg
ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm
IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50
LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAg
ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAg
ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0s
CiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAg
ICAgICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAg
ICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEv
c3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSEhQQmpP
NTczSlciCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh
biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh
dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi
LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp
bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi
OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1
IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi
LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg
ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog
ICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcy
NDQ1MiwKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRh
eF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwK
ICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0KICAgIF0sCiAg
ICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDIsCiAg
ICAidXJsIjogIi92MS9jdXN0b21lcnMvY3VzXzhDek50TTA4TlZsU0dOL3N1
YnNjcmlwdGlvbnMiCiAgfQp9Cg==
http_version:
recorded_at: Mon, 28 Nov 2016 10:30:24 GMT
recorded_at: Mon, 18 Sep 2017 08:52:51 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources
body:
encoding: UTF-8
string: card=tok_19KmOv2sOmf47Nz90KKaBGgJ
string: card=tok_1B3Kzj2sOmf47Nz9z8i09Ngi
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -455,8 +779,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016","hostname":"sylvain-sleede-pc"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '33'
response:
@ -467,7 +791,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 28 Nov 2016 10:30:25 GMT
- Mon, 18 Sep 2017 08:52:52 GMT
Content-Type:
- application/json
Content-Length:
@ -480,12 +804,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_9e4Ychb7UhSBol
- req_WvNGWkor60oazG
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -494,7 +820,7 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "card_19KmOv2sOmf47Nz94YYaGGHa",
"id": "card_1B3Kzj2sOmf47Nz9fXss1Zsb",
"object": "card",
"address_city": null,
"address_country": null,
@ -510,7 +836,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -519,13 +845,13 @@ http_interactions:
"tokenization_method": null
}
http_version:
recorded_at: Mon, 28 Nov 2016 10:30:25 GMT
recorded_at: Mon, 18 Sep 2017 08:52:52 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
body:
encoding: UTF-8
string: default_source=card_19KmOv2sOmf47Nz94YYaGGHa
string: default_source=card_1B3Kzj2sOmf47Nz9fXss1Zsb
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -539,8 +865,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016","hostname":"sylvain-sleede-pc"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '44'
response:
@ -551,11 +877,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 28 Nov 2016 10:30:26 GMT
- Mon, 18 Sep 2017 08:52:53 GMT
Content-Type:
- application/json
Content-Length:
- '2143'
- '6597'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -564,101 +890,170 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_9e4Y7M4v5B4FLQ
- req_u07y9KLEtAs5gt
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "cus_8CzNtM08NVlSGN",
"object": "customer",
"account_balance": 0,
"created": 1459782849,
"currency": "usd",
"default_source": "card_19KmOv2sOmf47Nz94YYaGGHa",
"delinquent": false,
"description": "Vanessa Lonchamp",
"discount": null,
"email": "vanessa.lonchamp@sfr.fr",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_19KmOv2sOmf47Nz94YYaGGHa",
"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": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
},
{
"id": "card_18ZhUf2sOmf47Nz9LhkQeEmO",
"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": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"total_count": 2,
"url": "/v1/customers/cus_8CzNtM08NVlSGN/sources"
},
"subscriptions": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_8CzNtM08NVlSGN/subscriptions"
}
}
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xQjNLemoyc09tZjQ3Tno5ZlhzczFac2IiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzS3pqMnNPbWY0N056
OWZYc3MxWnNiIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
ZHJlc3NfbGluZTIiOiBudWxsLAogICAgICAgICJhZGRyZXNzX3N0YXRlIjog
bnVsbCwKICAgICAgICAiYWRkcmVzc196aXAiOiBudWxsLAogICAgICAgICJh
ZGRyZXNzX3ppcF9jaGVjayI6IG51bGwsCiAgICAgICAgImJyYW5kIjogIlZp
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
ZSI6IG51bGwsCiAgICAgICAgInRva2VuaXphdGlvbl9tZXRob2QiOiBudWxs
CiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAiY2FyZF8xQjNLdlEy
c09tZjQ3Tno5Rmc2QWxjUzEiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIs
CiAgICAgICAgImFkZHJlc3NfY2l0eSI6IG51bGwsCiAgICAgICAgImFkZHJl
c3NfY291bnRyeSI6IG51bGwsCiAgICAgICAgImFkZHJlc3NfbGluZTEiOiBu
dWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMiI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nf
c3RhdGUiOiBudWxsLAogICAgICAgICJhZGRyZXNzX3ppcCI6IG51bGwsCiAg
ICAgICAgImFkZHJlc3NfemlwX2NoZWNrIjogbnVsbCwKICAgICAgICAiYnJh
bmQiOiAiVmlzYSIsCiAgICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAg
ICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJj
dmNfY2hlY2siOiAicGFzcyIsCiAgICAgICAgImR5bmFtaWNfbGFzdDQiOiBu
dWxsLAogICAgICAgICJleHBfbW9udGgiOiA0LAogICAgICAgICJleHBfeWVh
ciI6IDIwMTgsCiAgICAgICAgImZpbmdlcnByaW50IjogIm81Mmp5YlI3Ym5t
Tm42QVQiLAogICAgICAgICJmdW5kaW5nIjogImNyZWRpdCIsCiAgICAgICAg
Imxhc3Q0IjogIjQyNDIiLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAg
ICAgICJuYW1lIjogbnVsbCwKICAgICAgICAidG9rZW5pemF0aW9uX21ldGhv
ZCI6IG51bGwKICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNl
LAogICAgInRvdGFsX2NvdW50IjogMiwKICAgICJ1cmwiOiAiL3YxL2N1c3Rv
bWVycy9jdXNfOEN6TnRNMDhOVmxTR04vc291cmNlcyIKICB9LAogICJzdWJz
Y3JpcHRpb25zIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRh
IjogWwogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9CUUJJSW11VVdicmp6
QiIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAg
ICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGwsCiAgICAgICAgImJp
bGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgICAgICJjYW5j
ZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0
IjogMTUwNTcyNDUwNywKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ1MDMs
CiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1MDgzMTY1MDMsCiAg
ICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUwNTcyNDUwMywKICAg
ICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAg
ICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51bGws
CiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9iamVjdCI6ICJsaXN0
IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAgICB7CiAgICAgICAg
ICAgICAgImlkIjogInNpXzFCM0t2VDJzT21mNDdOejl1M2lNYTVTeiIsCiAg
ICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAg
ICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAzLAogICAgICAgICAg
ICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICJwbGFuIjogewog
ICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0
dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgICAgICAg
Im9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAgICJhbW91bnQiOiAy
MDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAog
ICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAg
ICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAgICAgImlu
dGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAgICJsaXZlbW9kZSI6
IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg
ICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDD
qXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIg
ZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAgICAic3RhdGVtZW50
X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICAgInRyaWFsX3Bl
cmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAg
ICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAgICAgICAgICBdLAog
ICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAgICAgICAidG90YWxf
Y291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9u
X2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSUltdVVXYnJqekIiCiAgICAg
ICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAibWV0
YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICJpZCI6
ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0
MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAg
ICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4
MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAg
ImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3Vu
dCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAg
ICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0
YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWln
bmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAg
InN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICJ0cmlh
bF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAogICAgICAgICJxdWFu
dGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDUwMywKICAgICAg
ICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9wZXJjZW50Ijog
bnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAgICAgICAidHJp
YWxfc3RhcnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQi
OiAic3ViX0JRQkhIUEJqTzU3M0pXIiwKICAgICAgICAib2JqZWN0IjogInN1
YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9wZXJjZW50
IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJjaGFyZ2VfYXV0b21hdGlj
YWxseSIsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogdHJ1ZSwK
ICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNTA1NzI0NDU4LAogICAgICAgICJj
cmVhdGVkIjogMTUwNTcyNDQ1MiwKICAgICAgICAiY3VycmVudF9wZXJpb2Rf
ZW5kIjogMTUwODMxNjQ1MiwKICAgICAgICAiY3VycmVudF9wZXJpb2Rfc3Rh
cnQiOiAxNTA1NzI0NDUyLAogICAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6
TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAg
ICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRlbXMiOiB7CiAgICAg
ICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAgImRhdGEiOiBbCiAg
ICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAic2lfMUIzS3VlMnNP
bWY0N056OTJQQ3ZEVVpLIiwKICAgICAgICAgICAgICAib2JqZWN0IjogInN1
YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE1
MDU3MjQ0NTMsCiAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg
ICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAgICAiaWQiOiAibWVu
c3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgy
NyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAg
ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICAgICAiY3Jl
YXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgICAiY3VycmVuY3ki
OiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIs
CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAg
ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICAgICAi
bWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1
ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVu
c2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAg
ICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAg
ICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAg
ICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHkiOiAxCiAgICAgICAg
ICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFzX21vcmUiOiBmYWxz
ZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAgICAgICAidXJs
IjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9C
UUJISFBCak81NzNKVyIKICAgICAgICB9LAogICAgICAgICJsaXZlbW9kZSI6
IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFu
IjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0
dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVj
dCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAg
ICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5
IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAg
ICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9k
ZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAg
ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs
IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg
LSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBu
dWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAg
ICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQi
OiAxNTA1NzI0NDUyLAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAg
ICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQi
OiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfQog
ICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50
IjogMiwKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNfOEN6TnRNMDhO
VmxTR04vc3Vic2NyaXB0aW9ucyIKICB9Cn0K
http_version:
recorded_at: Mon, 28 Nov 2016 10:30:26 GMT
recorded_at: Mon, 18 Sep 2017 08:52:53 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices
@ -678,8 +1073,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016","hostname":"sylvain-sleede-pc"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '27'
response:
@ -690,11 +1085,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 28 Nov 2016 10:30:27 GMT
- Mon, 18 Sep 2017 08:52:54 GMT
Content-Type:
- application/json
Content-Length:
- '2516'
- '2573'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -703,12 +1098,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_9e4YqC96ZArjnb
- req_J4AeU95QFrz4g9
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -716,67 +1113,69 @@ http_interactions:
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJpbl8xOUttUDEyc09tZjQ3Tno5Umw2YUtXRjgiLAogICJv
ewogICJpZCI6ICJpbl8xQjNLenEyc09tZjQ3Tno5SVg3cmxIU3UiLAogICJv
YmplY3QiOiAiaW52b2ljZSIsCiAgImFtb3VudF9kdWUiOiA0MjM1MCwKICAi
YXBwbGljYXRpb25fZmVlIjogbnVsbCwKICAiYXR0ZW1wdF9jb3VudCI6IDAs
CiAgImF0dGVtcHRlZCI6IGZhbHNlLAogICJjaGFyZ2UiOiBudWxsLAogICJj
bG9zZWQiOiBmYWxzZSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiY3VzdG9t
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAiZGF0ZSI6IDE0ODAzMjkw
MjcsCiAgImRlc2NyaXB0aW9uIjogbnVsbCwKICAiZGlzY291bnQiOiBudWxs
LAogICJlbmRpbmdfYmFsYW5jZSI6IG51bGwsCiAgImZvcmdpdmVuIjogZmFs
c2UsCiAgImxpbmVzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJk
YXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogImlpXzE5S21PeDJzT21m
NDdOejlYSXp2VGpMQyIsCiAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0i
LAogICAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAgICAiY3VycmVuY3ki
OiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4w
IiwKICAgICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICAgImxp
dmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg
ICAgInBlcmlvZCI6IHsKICAgICAgICAgICJzdGFydCI6IDE0ODAzMjkwMjMs
CiAgICAgICAgICAiZW5kIjogMTQ4MDMyOTAyMwogICAgICAgIH0sCiAgICAg
ICAgInBsYW4iOiBudWxsLAogICAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwK
ICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAgICJzdWJzY3JpcHRp
b24iOiBudWxsLAogICAgICAgICJ0eXBlIjogImludm9pY2VpdGVtIgogICAg
ICB9LAogICAgICB7CiAgICAgICAgImlkIjogImlpXzE5S21PdzJzT21mNDdO
ejlmTWdqSEloZyIsCiAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0iLAog
ICAgICAgICJhbW91bnQiOiAtNzY1MCwKICAgICAgICAiY3VycmVuY3kiOiAi
dXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiY291cG9uIFNVTk5ZRkFC
TEFCIC0gcmVzZXJ2YXRpb24iLAogICAgICAgICJkaXNjb3VudGFibGUiOiBm
YWxzZSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAibWV0
YWRhdGEiOiB7fSwKICAgICAgICAicGVyaW9kIjogewogICAgICAgICAgInN0
YXJ0IjogMTQ4MDMyOTAyMiwKICAgICAgICAgICJlbmQiOiAxNDgwMzI5MDIy
CiAgICAgICAgfSwKICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAgInBy
b3JhdGlvbiI6IGZhbHNlLAogICAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg
ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgInR5cGUiOiAi
aW52b2ljZWl0ZW0iCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAi
aWlfMTlLbU93MnNPbWY0N056OWYwUGJLYkhxIiwKICAgICAgICAib2JqZWN0
IjogImxpbmVfaXRlbSIsCiAgICAgICAgImFtb3VudCI6IDUxMDAwLAogICAg
ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICJkZXNjcmlwdGlvbiI6
ICJSYWRpbyBudW3DqXJpcXVlIFxuRGVjZW1iZXIgMDgsIDIwMTYgMTE6MDAg
QU0gLSAwNzowMCBQTVxuRGVjZW1iZXIgMDksIDIwMTYgMTE6MDAgQU0gLSAw
NzowMCBQTVxuRGVjZW1iZXIgMTAsIDIwMTYgMTE6MDAgQU0gLSAwNzowMCBQ
TSIsCiAgICAgICAgImRpc2NvdW50YWJsZSI6IHRydWUsCiAgICAgICAgImxp
dmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg
ICAgInBlcmlvZCI6IHsKICAgICAgICAgICJzdGFydCI6IDE0ODAzMjkwMjIs
CiAgICAgICAgICAiZW5kIjogMTQ4MDMyOTAyMgogICAgICAgIH0sCiAgICAg
ICAgInBsYW4iOiBudWxsLAogICAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwK
ICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAgICJzdWJzY3JpcHRp
b24iOiBudWxsLAogICAgICAgICJ0eXBlIjogImludm9pY2VpdGVtIgogICAg
ICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxf
Y291bnQiOiAzLAogICAgInVybCI6ICIvdjEvaW52b2ljZXMvaW5fMTlLbVAx
MnNPbWY0N056OVJsNmFLV0Y4L2xpbmVzIgogIH0sCiAgImxpdmVtb2RlIjog
ZmFsc2UsCiAgIm1ldGFkYXRhIjoge30sCiAgIm5leHRfcGF5bWVudF9hdHRl
bXB0IjogMTQ4MDMzMjYyNywKICAicGFpZCI6IGZhbHNlLAogICJwZXJpb2Rf
ZW5kIjogMTQ4MDMyOTAyNywKICAicGVyaW9kX3N0YXJ0IjogMTQ4MDMyOTAy
NywKICAicmVjZWlwdF9udW1iZXIiOiBudWxsLAogICJzdGFydGluZ19iYWxh
bmNlIjogMCwKICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICJz
dWJzY3JpcHRpb24iOiBudWxsLAogICJzdWJ0b3RhbCI6IDQyMzUwLAogICJ0
YXgiOiBudWxsLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRvdGFsIjog
NDIzNTAsCiAgIndlYmhvb2tzX2RlbGl2ZXJlZF9hdCI6IG51bGwKfQo=
CiAgImF0dGVtcHRlZCI6IGZhbHNlLAogICJiaWxsaW5nIjogImNoYXJnZV9h
dXRvbWF0aWNhbGx5IiwKICAiY2hhcmdlIjogbnVsbCwKICAiY2xvc2VkIjog
ZmFsc2UsCiAgImN1cnJlbmN5IjogInVzZCIsCiAgImN1c3RvbWVyIjogImN1
c184Q3pOdE0wOE5WbFNHTiIsCiAgImRhdGUiOiAxNTA1NzI0Nzc0LAogICJk
ZXNjcmlwdGlvbiI6IG51bGwsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5k
aW5nX2JhbGFuY2UiOiBudWxsLAogICJmb3JnaXZlbiI6IGZhbHNlLAogICJs
aW5lcyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsK
ICAgICAgewogICAgICAgICJpZCI6ICJpaV8xQjNLem0yc09tZjQ3Tno5dTJ3
V0Foa2IiLAogICAgICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAg
ICAiYW1vdW50IjogLTEwMDAsCiAgICAgICAgImN1cnJlbmN5IjogInVzZCIs
CiAgICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg
ICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAgICJsaXZlbW9kZSI6
IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwZXJp
b2QiOiB7CiAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0NzcwLAogICAgICAg
ICAgImVuZCI6IDE1MDU3MjQ3NzAKICAgICAgICB9LAogICAgICAgICJwbGFu
IjogbnVsbCwKICAgICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICAg
InF1YW50aXR5IjogbnVsbCwKICAgICAgICAic3Vic2NyaXB0aW9uIjogbnVs
bCwKICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIKICAgICAgfSwKICAg
ICAgewogICAgICAgICJpZCI6ICJpaV8xQjNLemwyc09tZjQ3Tno5bzF1blpt
c3YiLAogICAgICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAgICAi
YW1vdW50IjogLTc2NTAsCiAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg
ICAgICAgImRlc2NyaXB0aW9uIjogImNvdXBvbiBTVU5OWUZBQkxBQiIsCiAg
ICAgICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAgICJsaXZlbW9k
ZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJw
ZXJpb2QiOiB7CiAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0NzY5LAogICAg
ICAgICAgImVuZCI6IDE1MDU3MjQ3NjkKICAgICAgICB9LAogICAgICAgICJw
bGFuIjogbnVsbCwKICAgICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAg
ICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgICAic3Vic2NyaXB0aW9uIjog
bnVsbCwKICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIKICAgICAgfSwK
ICAgICAgewogICAgICAgICJpZCI6ICJpaV8xQjNLemsyc09tZjQ3Tno5TzMz
b0FFUzkiLAogICAgICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAg
ICAiYW1vdW50IjogNTEwMDAsCiAgICAgICAgImN1cnJlbmN5IjogInVzZCIs
CiAgICAgICAgImRlc2NyaXB0aW9uIjogIlJhZGlvIG51bcOpcmlxdWUgXG5T
ZXB0ZW1iZXIgMjgsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTVxuU2VwdGVt
YmVyIDI5LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1cblNlcHRlbWJlciAz
MCwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNIiwKICAgICAgICAiZGlzY291
bnRhYmxlIjogdHJ1ZSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg
ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGVyaW9kIjogewogICAg
ICAgICAgInN0YXJ0IjogMTUwNTcyNDc2OCwKICAgICAgICAgICJlbmQiOiAx
NTA1NzI0NzY4CiAgICAgICAgfSwKICAgICAgICAicGxhbiI6IG51bGwsCiAg
ICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICJxdWFudGl0eSI6
IG51bGwsCiAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAg
InR5cGUiOiAiaW52b2ljZWl0ZW0iCiAgICAgIH0KICAgIF0sCiAgICAiaGFz
X21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDMsCiAgICAidXJs
IjogIi92MS9pbnZvaWNlcy9pbl8xQjNLenEyc09tZjQ3Tno5SVg3cmxIU3Uv
bGluZXMiCiAgfSwKICAibGl2ZW1vZGUiOiBmYWxzZSwKICAibWV0YWRhdGEi
OiB7fSwKICAibmV4dF9wYXltZW50X2F0dGVtcHQiOiAxNTA1NzI4Mzc0LAog
ICJudW1iZXIiOiAiOWViZmVhZDIwYi0wMDA1IiwKICAicGFpZCI6IGZhbHNl
LAogICJwZXJpb2RfZW5kIjogMTUwODMxNjQ1MiwKICAicGVyaW9kX3N0YXJ0
IjogMTUwNTcyNDQ1MiwKICAicmVjZWlwdF9udW1iZXIiOiBudWxsLAogICJz
dGFydGluZ19iYWxhbmNlIjogMCwKICAic3RhdGVtZW50X2Rlc2NyaXB0b3Ii
OiBudWxsLAogICJzdWJzY3JpcHRpb24iOiBudWxsLAogICJzdWJ0b3RhbCI6
IDQyMzUwLAogICJ0YXgiOiBudWxsLAogICJ0YXhfcGVyY2VudCI6IG51bGws
CiAgInRvdGFsIjogNDIzNTAsCiAgIndlYmhvb2tzX2RlbGl2ZXJlZF9hdCI6
IG51bGwKfQo=
http_version:
recorded_at: Mon, 28 Nov 2016 10:30:27 GMT
recorded_at: Mon, 18 Sep 2017 08:52:54 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoices/in_19KmP12sOmf47Nz9Rl6aKWF8/pay
uri: https://api.stripe.com/v1/invoices/in_1B3Kzq2sOmf47Nz9IX7rlHSu/pay
body:
encoding: ASCII-8BIT
string: ''
@ -793,8 +1192,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016","hostname":"sylvain-sleede-pc"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '0'
response:
@ -805,11 +1204,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 28 Nov 2016 10:30:28 GMT
- Mon, 18 Sep 2017 08:52:56 GMT
Content-Type:
- application/json
Content-Length:
- '2535'
- '2592'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -818,12 +1217,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_9e4Y7QI51Jw753
- req_AS442hKKxDzUn1
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -831,68 +1232,69 @@ http_interactions:
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJpbl8xOUttUDEyc09tZjQ3Tno5Umw2YUtXRjgiLAogICJv
ewogICJpZCI6ICJpbl8xQjNLenEyc09tZjQ3Tno5SVg3cmxIU3UiLAogICJv
YmplY3QiOiAiaW52b2ljZSIsCiAgImFtb3VudF9kdWUiOiA0MjM1MCwKICAi
YXBwbGljYXRpb25fZmVlIjogbnVsbCwKICAiYXR0ZW1wdF9jb3VudCI6IDEs
CiAgImF0dGVtcHRlZCI6IHRydWUsCiAgImNoYXJnZSI6ICJjaF8xOUttUDIy
c09tZjQ3Tno5M2lmYklVMmkiLAogICJjbG9zZWQiOiB0cnVlLAogICJjdXJy
ZW5jeSI6ICJ1c2QiLAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhOVmxT
R04iLAogICJkYXRlIjogMTQ4MDMyOTAyNywKICAiZGVzY3JpcHRpb24iOiBu
dWxsLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGluZ19iYWxhbmNlIjog
MCwKICAiZm9yZ2l2ZW4iOiBmYWxzZSwKICAibGluZXMiOiB7CiAgICAib2Jq
ZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAgIHsKICAgICAgICAi
aWQiOiAiaWlfMTlLbU94MnNPbWY0N056OVhJenZUakxDIiwKICAgICAgICAi
b2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgImFtb3VudCI6IC0xMDAw
LAogICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICJkZXNjcmlw
dGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAgICJkaXNjb3VudGFibGUi
OiBmYWxzZSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAi
bWV0YWRhdGEiOiB7fSwKICAgICAgICAicGVyaW9kIjogewogICAgICAgICAg
InN0YXJ0IjogMTQ4MDMyOTAyMywKICAgICAgICAgICJlbmQiOiAxNDgwMzI5
MDIzCiAgICAgICAgfSwKICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAg
InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICJxdWFudGl0eSI6IG51bGws
CiAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgInR5cGUi
OiAiaW52b2ljZWl0ZW0iCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQi
OiAiaWlfMTlLbU93MnNPbWY0N056OWZNZ2pISWhnIiwKICAgICAgICAib2Jq
ZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgImFtb3VudCI6IC03NjUwLAog
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICJkZXNjcmlwdGlv
biI6ICJjb3Vwb24gU1VOTllGQUJMQUIgLSByZXNlcnZhdGlvbiIsCiAgICAg
ICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAgICJsaXZlbW9kZSI6
IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwZXJp
b2QiOiB7CiAgICAgICAgICAic3RhcnQiOiAxNDgwMzI5MDIyLAogICAgICAg
ICAgImVuZCI6IDE0ODAzMjkwMjIKICAgICAgICB9LAogICAgICAgICJwbGFu
IjogbnVsbCwKICAgICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICAg
InF1YW50aXR5IjogbnVsbCwKICAgICAgICAic3Vic2NyaXB0aW9uIjogbnVs
bCwKICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIKICAgICAgfSwKICAg
ICAgewogICAgICAgICJpZCI6ICJpaV8xOUttT3cyc09tZjQ3Tno5ZjBQYkti
SHEiLAogICAgICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAgICAi
YW1vdW50IjogNTEwMDAsCiAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg
ICAgICAgImRlc2NyaXB0aW9uIjogIlJhZGlvIG51bcOpcmlxdWUgXG5EZWNl
bWJlciAwOCwgMjAxNiAxMTowMCBBTSAtIDA3OjAwIFBNXG5EZWNlbWJlciAw
OSwgMjAxNiAxMTowMCBBTSAtIDA3OjAwIFBNXG5EZWNlbWJlciAxMCwgMjAx
NiAxMTowMCBBTSAtIDA3OjAwIFBNIiwKICAgICAgICAiZGlzY291bnRhYmxl
IjogdHJ1ZSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAi
bWV0YWRhdGEiOiB7fSwKICAgICAgICAicGVyaW9kIjogewogICAgICAgICAg
InN0YXJ0IjogMTQ4MDMyOTAyMiwKICAgICAgICAgICJlbmQiOiAxNDgwMzI5
MDIyCiAgICAgICAgfSwKICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAg
InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICJxdWFudGl0eSI6IG51bGws
CiAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgInR5cGUi
OiAiaW52b2ljZWl0ZW0iCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi
OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDMsCiAgICAidXJsIjogIi92
MS9pbnZvaWNlcy9pbl8xOUttUDEyc09tZjQ3Tno5Umw2YUtXRjgvbGluZXMi
CiAgfSwKICAibGl2ZW1vZGUiOiBmYWxzZSwKICAibWV0YWRhdGEiOiB7fSwK
ICAibmV4dF9wYXltZW50X2F0dGVtcHQiOiBudWxsLAogICJwYWlkIjogdHJ1
ZSwKICAicGVyaW9kX2VuZCI6IDE0ODAzMjkwMjcsCiAgInBlcmlvZF9zdGFy
dCI6IDE0ODAzMjkwMjcsCiAgInJlY2VpcHRfbnVtYmVyIjogbnVsbCwKICAi
c3RhcnRpbmdfYmFsYW5jZSI6IDAsCiAgInN0YXRlbWVudF9kZXNjcmlwdG9y
IjogbnVsbCwKICAic3Vic2NyaXB0aW9uIjogbnVsbCwKICAic3VidG90YWwi
OiA0MjM1MCwKICAidGF4IjogbnVsbCwKICAidGF4X3BlcmNlbnQiOiBudWxs
LAogICJ0b3RhbCI6IDQyMzUwLAogICJ3ZWJob29rc19kZWxpdmVyZWRfYXQi
OiAxNDgwMzI5MDI3Cn0K
CiAgImF0dGVtcHRlZCI6IHRydWUsCiAgImJpbGxpbmciOiAiY2hhcmdlX2F1
dG9tYXRpY2FsbHkiLAogICJjaGFyZ2UiOiAiY2hfMUIzS3pyMnNPbWY0N056
OVZjTFJybUFkIiwKICAiY2xvc2VkIjogdHJ1ZSwKICAiY3VycmVuY3kiOiAi
dXNkIiwKICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAi
ZGF0ZSI6IDE1MDU3MjQ3NzQsCiAgImRlc2NyaXB0aW9uIjogbnVsbCwKICAi
ZGlzY291bnQiOiBudWxsLAogICJlbmRpbmdfYmFsYW5jZSI6IDAsCiAgImZv
cmdpdmVuIjogZmFsc2UsCiAgImxpbmVzIjogewogICAgIm9iamVjdCI6ICJs
aXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogImlp
XzFCM0t6bTJzT21mNDdOejl1MndXQWhrYiIsCiAgICAgICAgIm9iamVjdCI6
ICJsaW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAg
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAi
d2FsbGV0IC0xMC4wIiwKICAgICAgICAiZGlzY291bnRhYmxlIjogZmFsc2Us
CiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICJzdGFydCI6
IDE1MDU3MjQ3NzAsCiAgICAgICAgICAiZW5kIjogMTUwNTcyNDc3MAogICAg
ICAgIH0sCiAgICAgICAgInBsYW4iOiBudWxsLAogICAgICAgICJwcm9yYXRp
b24iOiBmYWxzZSwKICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAg
ICJzdWJzY3JpcHRpb24iOiBudWxsLAogICAgICAgICJ0eXBlIjogImludm9p
Y2VpdGVtIgogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogImlpXzFC
M0t6bDJzT21mNDdOejlvMXVuWm1zdiIsCiAgICAgICAgIm9iamVjdCI6ICJs
aW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiAtNzY1MCwKICAgICAgICAi
Y3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiY291
cG9uIFNVTk5ZRkFCTEFCIiwKICAgICAgICAiZGlzY291bnRhYmxlIjogZmFs
c2UsCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFk
YXRhIjoge30sCiAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICJzdGFy
dCI6IDE1MDU3MjQ3NjksCiAgICAgICAgICAiZW5kIjogMTUwNTcyNDc2OQog
ICAgICAgIH0sCiAgICAgICAgInBsYW4iOiBudWxsLAogICAgICAgICJwcm9y
YXRpb24iOiBmYWxzZSwKICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg
ICAgICJzdWJzY3JpcHRpb24iOiBudWxsLAogICAgICAgICJ0eXBlIjogImlu
dm9pY2VpdGVtIgogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogImlp
XzFCM0t6azJzT21mNDdOejlPMzNvQUVTOSIsCiAgICAgICAgIm9iamVjdCI6
ICJsaW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiA1MTAwMCwKICAgICAg
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAi
UmFkaW8gbnVtw6lyaXF1ZSBcblNlcHRlbWJlciAyOCwgMjAxNyAxMjowMCBQ
TSAtIDA4OjAwIFBNXG5TZXB0ZW1iZXIgMjksIDIwMTcgMTI6MDAgUE0gLSAw
ODowMCBQTVxuU2VwdGVtYmVyIDMwLCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAg
UE0iLAogICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICJs
aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAg
ICAgICJwZXJpb2QiOiB7CiAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0NzY4
LAogICAgICAgICAgImVuZCI6IDE1MDU3MjQ3NjgKICAgICAgICB9LAogICAg
ICAgICJwbGFuIjogbnVsbCwKICAgICAgICAicHJvcmF0aW9uIjogZmFsc2Us
CiAgICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgICAic3Vic2NyaXB0
aW9uIjogbnVsbCwKICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIKICAg
ICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFs
X2NvdW50IjogMywKICAgICJ1cmwiOiAiL3YxL2ludm9pY2VzL2luXzFCM0t6
cTJzT21mNDdOejlJWDdybEhTdS9saW5lcyIKICB9LAogICJsaXZlbW9kZSI6
IGZhbHNlLAogICJtZXRhZGF0YSI6IHt9LAogICJuZXh0X3BheW1lbnRfYXR0
ZW1wdCI6IG51bGwsCiAgIm51bWJlciI6ICI5ZWJmZWFkMjBiLTAwMDUiLAog
ICJwYWlkIjogdHJ1ZSwKICAicGVyaW9kX2VuZCI6IDE1MDgzMTY0NTIsCiAg
InBlcmlvZF9zdGFydCI6IDE1MDU3MjQ0NTIsCiAgInJlY2VpcHRfbnVtYmVy
IjogbnVsbCwKICAic3RhcnRpbmdfYmFsYW5jZSI6IDAsCiAgInN0YXRlbWVu
dF9kZXNjcmlwdG9yIjogbnVsbCwKICAic3Vic2NyaXB0aW9uIjogbnVsbCwK
ICAic3VidG90YWwiOiA0MjM1MCwKICAidGF4IjogbnVsbCwKICAidGF4X3Bl
cmNlbnQiOiBudWxsLAogICJ0b3RhbCI6IDQyMzUwLAogICJ3ZWJob29rc19k
ZWxpdmVyZWRfYXQiOiAxNTA1NzI0Nzc0Cn0K
http_version:
recorded_at: Mon, 28 Nov 2016 10:30:28 GMT
recorded_at: Mon, 18 Sep 2017 08:52:56 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources/card_19KmOv2sOmf47Nz94YYaGGHa
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources/card_1B3Kzj2sOmf47Nz9fXss1Zsb
body:
encoding: US-ASCII
string: ''
@ -909,8 +1311,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016","hostname":"sylvain-sleede-pc"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -919,7 +1321,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 28 Nov 2016 10:30:29 GMT
- Mon, 18 Sep 2017 08:52:57 GMT
Content-Type:
- application/json
Content-Length:
@ -932,12 +1334,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_9e4YMgucjzDaXM
- req_J19PXJWpDd7oUO
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -947,8 +1351,8 @@ http_interactions:
string: |
{
"deleted": true,
"id": "card_19KmOv2sOmf47Nz94YYaGGHa"
"id": "card_1B3Kzj2sOmf47Nz9fXss1Zsb"
}
http_version:
recorded_at: Mon, 28 Nov 2016 10:30:29 GMT
recorded_at: Mon, 18 Sep 2017 08:52:57 GMT
recorded_with: VCR 3.0.1

View File

@ -2,7 +2,7 @@
http_interactions:
- request:
method: get
uri: https://api.stripe.com/v1/invoices/in_19KmP12sOmf47Nz9Rl6aKWF8
uri: https://api.stripe.com/v1/invoices/in_1B3Kzq2sOmf47Nz9IX7rlHSu
body:
encoding: US-ASCII
string: ''
@ -19,8 +19,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.2) ) #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016","hostname":"sylvain-sleede-pc"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -29,11 +29,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 28 Nov 2016 10:42:47 GMT
- Mon, 18 Sep 2017 08:52:59 GMT
Content-Type:
- application/json
Content-Length:
- '2535'
- '2592'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -42,12 +42,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_9e4kXKKT6XjyhI
- req_qGcB1AKK7WLv1F
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -55,63 +57,64 @@ http_interactions:
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJpbl8xOUttUDEyc09tZjQ3Tno5Umw2YUtXRjgiLAogICJv
ewogICJpZCI6ICJpbl8xQjNLenEyc09tZjQ3Tno5SVg3cmxIU3UiLAogICJv
YmplY3QiOiAiaW52b2ljZSIsCiAgImFtb3VudF9kdWUiOiA0MjM1MCwKICAi
YXBwbGljYXRpb25fZmVlIjogbnVsbCwKICAiYXR0ZW1wdF9jb3VudCI6IDEs
CiAgImF0dGVtcHRlZCI6IHRydWUsCiAgImNoYXJnZSI6ICJjaF8xOUttUDIy
c09tZjQ3Tno5M2lmYklVMmkiLAogICJjbG9zZWQiOiB0cnVlLAogICJjdXJy
ZW5jeSI6ICJ1c2QiLAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhOVmxT
R04iLAogICJkYXRlIjogMTQ4MDMyOTAyNywKICAiZGVzY3JpcHRpb24iOiBu
dWxsLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGluZ19iYWxhbmNlIjog
MCwKICAiZm9yZ2l2ZW4iOiBmYWxzZSwKICAibGluZXMiOiB7CiAgICAib2Jq
ZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAgIHsKICAgICAgICAi
aWQiOiAiaWlfMTlLbU94MnNPbWY0N056OVhJenZUakxDIiwKICAgICAgICAi
b2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgImFtb3VudCI6IC0xMDAw
LAogICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICJkZXNjcmlw
dGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAgICJkaXNjb3VudGFibGUi
OiBmYWxzZSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAi
bWV0YWRhdGEiOiB7fSwKICAgICAgICAicGVyaW9kIjogewogICAgICAgICAg
InN0YXJ0IjogMTQ4MDMyOTAyMywKICAgICAgICAgICJlbmQiOiAxNDgwMzI5
MDIzCiAgICAgICAgfSwKICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAg
InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICJxdWFudGl0eSI6IG51bGws
CiAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgInR5cGUi
OiAiaW52b2ljZWl0ZW0iCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQi
OiAiaWlfMTlLbU93MnNPbWY0N056OWZNZ2pISWhnIiwKICAgICAgICAib2Jq
ZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgImFtb3VudCI6IC03NjUwLAog
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICJkZXNjcmlwdGlv
biI6ICJjb3Vwb24gU1VOTllGQUJMQUIgLSByZXNlcnZhdGlvbiIsCiAgICAg
ICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAgICJsaXZlbW9kZSI6
IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwZXJp
b2QiOiB7CiAgICAgICAgICAic3RhcnQiOiAxNDgwMzI5MDIyLAogICAgICAg
ICAgImVuZCI6IDE0ODAzMjkwMjIKICAgICAgICB9LAogICAgICAgICJwbGFu
IjogbnVsbCwKICAgICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICAg
InF1YW50aXR5IjogbnVsbCwKICAgICAgICAic3Vic2NyaXB0aW9uIjogbnVs
bCwKICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIKICAgICAgfSwKICAg
ICAgewogICAgICAgICJpZCI6ICJpaV8xOUttT3cyc09tZjQ3Tno5ZjBQYkti
SHEiLAogICAgICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAgICAi
YW1vdW50IjogNTEwMDAsCiAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg
ICAgICAgImRlc2NyaXB0aW9uIjogIlJhZGlvIG51bcOpcmlxdWUgXG5EZWNl
bWJlciAwOCwgMjAxNiAxMTowMCBBTSAtIDA3OjAwIFBNXG5EZWNlbWJlciAw
OSwgMjAxNiAxMTowMCBBTSAtIDA3OjAwIFBNXG5EZWNlbWJlciAxMCwgMjAx
NiAxMTowMCBBTSAtIDA3OjAwIFBNIiwKICAgICAgICAiZGlzY291bnRhYmxl
IjogdHJ1ZSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAi
bWV0YWRhdGEiOiB7fSwKICAgICAgICAicGVyaW9kIjogewogICAgICAgICAg
InN0YXJ0IjogMTQ4MDMyOTAyMiwKICAgICAgICAgICJlbmQiOiAxNDgwMzI5
MDIyCiAgICAgICAgfSwKICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAg
InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICJxdWFudGl0eSI6IG51bGws
CiAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgInR5cGUi
OiAiaW52b2ljZWl0ZW0iCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi
OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDMsCiAgICAidXJsIjogIi92
MS9pbnZvaWNlcy9pbl8xOUttUDEyc09tZjQ3Tno5Umw2YUtXRjgvbGluZXMi
CiAgfSwKICAibGl2ZW1vZGUiOiBmYWxzZSwKICAibWV0YWRhdGEiOiB7fSwK
ICAibmV4dF9wYXltZW50X2F0dGVtcHQiOiBudWxsLAogICJwYWlkIjogdHJ1
ZSwKICAicGVyaW9kX2VuZCI6IDE0ODAzMjkwMjcsCiAgInBlcmlvZF9zdGFy
dCI6IDE0ODAzMjkwMjcsCiAgInJlY2VpcHRfbnVtYmVyIjogbnVsbCwKICAi
c3RhcnRpbmdfYmFsYW5jZSI6IDAsCiAgInN0YXRlbWVudF9kZXNjcmlwdG9y
IjogbnVsbCwKICAic3Vic2NyaXB0aW9uIjogbnVsbCwKICAic3VidG90YWwi
OiA0MjM1MCwKICAidGF4IjogbnVsbCwKICAidGF4X3BlcmNlbnQiOiBudWxs
LAogICJ0b3RhbCI6IDQyMzUwLAogICJ3ZWJob29rc19kZWxpdmVyZWRfYXQi
OiAxNDgwMzI5MDI3Cn0K
CiAgImF0dGVtcHRlZCI6IHRydWUsCiAgImJpbGxpbmciOiAiY2hhcmdlX2F1
dG9tYXRpY2FsbHkiLAogICJjaGFyZ2UiOiAiY2hfMUIzS3pyMnNPbWY0N056
OVZjTFJybUFkIiwKICAiY2xvc2VkIjogdHJ1ZSwKICAiY3VycmVuY3kiOiAi
dXNkIiwKICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAi
ZGF0ZSI6IDE1MDU3MjQ3NzQsCiAgImRlc2NyaXB0aW9uIjogbnVsbCwKICAi
ZGlzY291bnQiOiBudWxsLAogICJlbmRpbmdfYmFsYW5jZSI6IDAsCiAgImZv
cmdpdmVuIjogZmFsc2UsCiAgImxpbmVzIjogewogICAgIm9iamVjdCI6ICJs
aXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogImlp
XzFCM0t6bTJzT21mNDdOejl1MndXQWhrYiIsCiAgICAgICAgIm9iamVjdCI6
ICJsaW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAg
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAi
d2FsbGV0IC0xMC4wIiwKICAgICAgICAiZGlzY291bnRhYmxlIjogZmFsc2Us
CiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICJzdGFydCI6
IDE1MDU3MjQ3NzAsCiAgICAgICAgICAiZW5kIjogMTUwNTcyNDc3MAogICAg
ICAgIH0sCiAgICAgICAgInBsYW4iOiBudWxsLAogICAgICAgICJwcm9yYXRp
b24iOiBmYWxzZSwKICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAg
ICJzdWJzY3JpcHRpb24iOiBudWxsLAogICAgICAgICJ0eXBlIjogImludm9p
Y2VpdGVtIgogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogImlpXzFC
M0t6bDJzT21mNDdOejlvMXVuWm1zdiIsCiAgICAgICAgIm9iamVjdCI6ICJs
aW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiAtNzY1MCwKICAgICAgICAi
Y3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiY291
cG9uIFNVTk5ZRkFCTEFCIiwKICAgICAgICAiZGlzY291bnRhYmxlIjogZmFs
c2UsCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFk
YXRhIjoge30sCiAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICJzdGFy
dCI6IDE1MDU3MjQ3NjksCiAgICAgICAgICAiZW5kIjogMTUwNTcyNDc2OQog
ICAgICAgIH0sCiAgICAgICAgInBsYW4iOiBudWxsLAogICAgICAgICJwcm9y
YXRpb24iOiBmYWxzZSwKICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg
ICAgICJzdWJzY3JpcHRpb24iOiBudWxsLAogICAgICAgICJ0eXBlIjogImlu
dm9pY2VpdGVtIgogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogImlp
XzFCM0t6azJzT21mNDdOejlPMzNvQUVTOSIsCiAgICAgICAgIm9iamVjdCI6
ICJsaW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiA1MTAwMCwKICAgICAg
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAi
UmFkaW8gbnVtw6lyaXF1ZSBcblNlcHRlbWJlciAyOCwgMjAxNyAxMjowMCBQ
TSAtIDA4OjAwIFBNXG5TZXB0ZW1iZXIgMjksIDIwMTcgMTI6MDAgUE0gLSAw
ODowMCBQTVxuU2VwdGVtYmVyIDMwLCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAg
UE0iLAogICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICJs
aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAg
ICAgICJwZXJpb2QiOiB7CiAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0NzY4
LAogICAgICAgICAgImVuZCI6IDE1MDU3MjQ3NjgKICAgICAgICB9LAogICAg
ICAgICJwbGFuIjogbnVsbCwKICAgICAgICAicHJvcmF0aW9uIjogZmFsc2Us
CiAgICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgICAic3Vic2NyaXB0
aW9uIjogbnVsbCwKICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIKICAg
ICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFs
X2NvdW50IjogMywKICAgICJ1cmwiOiAiL3YxL2ludm9pY2VzL2luXzFCM0t6
cTJzT21mNDdOejlJWDdybEhTdS9saW5lcyIKICB9LAogICJsaXZlbW9kZSI6
IGZhbHNlLAogICJtZXRhZGF0YSI6IHt9LAogICJuZXh0X3BheW1lbnRfYXR0
ZW1wdCI6IG51bGwsCiAgIm51bWJlciI6ICI5ZWJmZWFkMjBiLTAwMDUiLAog
ICJwYWlkIjogdHJ1ZSwKICAicGVyaW9kX2VuZCI6IDE1MDgzMTY0NTIsCiAg
InBlcmlvZF9zdGFydCI6IDE1MDU3MjQ0NTIsCiAgInJlY2VpcHRfbnVtYmVy
IjogbnVsbCwKICAic3RhcnRpbmdfYmFsYW5jZSI6IDAsCiAgInN0YXRlbWVu
dF9kZXNjcmlwdG9yIjogbnVsbCwKICAic3Vic2NyaXB0aW9uIjogbnVsbCwK
ICAic3VidG90YWwiOiA0MjM1MCwKICAidGF4IjogbnVsbCwKICAidGF4X3Bl
cmNlbnQiOiBudWxsLAogICJ0b3RhbCI6IDQyMzUwLAogICJ3ZWJob29rc19k
ZWxpdmVyZWRfYXQiOiAxNTA1NzI0Nzc0Cn0K
http_version:
recorded_at: Mon, 28 Nov 2016 10:42:47 GMT
recorded_at: Mon, 18 Sep 2017 08:52:59 GMT
recorded_with: VCR 3.0.1

View File

@ -1,802 +0,0 @@
---
http_interactions:
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 3.13.0-83-generic (buildd@lgw01-55) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
) #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016","hostname":"integration"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 16:16:21 GMT
Content-Type:
- application/json
Content-Length:
- '3462'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8Dkq2KtxZyjTlS
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "cus_8Di1wjdVktv5kt",
"object": "customer",
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
"email": "jean.dupond@gmail.com",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_8Di1wjdVktv5kt",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/sources"
},
"subscriptions": {
"object": "list",
"data": [
{
"id": "sub_8Di9gqPLwt5IIC",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": true,
"canceled_at": 1459949404,
"current_period_end": 1462541399,
"current_period_start": 1459949399,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1459949399,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8Di2VadRvr7A99",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": true,
"canceled_at": 1459948972,
"current_period_end": 1462540968,
"current_period_start": 1459948968,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1459948968,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 2,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Wed, 06 Apr 2016 16:16:21 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions
body:
encoding: UTF-8
string: plan=mensuel-standard-month-20160404171519
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 3.13.0-83-generic (buildd@lgw01-55) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
) #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016","hostname":"integration"}'
Content-Length:
- '42'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 16:16:22 GMT
Content-Type:
- application/json
Content-Length:
- '821'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8Dkqxbz3ZxvmBy
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "sub_8DkqBcR1bQvr5G",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462551382,
"current_period_start": 1459959382,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1459959382,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 16:16:22 GMT
- request:
method: get
uri: https://api.stripe.com/v1/invoices?customer=cus_8Di1wjdVktv5kt&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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 3.13.0-83-generic (buildd@lgw01-55) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
) #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016","hostname":"integration"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 16:16:24 GMT
Content-Type:
- application/json
Content-Length:
- '2207'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DkqeZjTLH22XJ
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"object": "list",
"data": [
{
"id": "in_17xJKM2sOmf47Nz9wOmb9YSB",
"object": "invoice",
"amount_due": 3000,
"application_fee": null,
"attempt_count": 1,
"attempted": true,
"charge": "ch_17xJKM2sOmf47Nz9huANudcu",
"closed": true,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1459959382,
"description": null,
"discount": null,
"ending_balance": 0,
"forgiven": false,
"lines": {
"object": "list",
"data": [
{
"id": "sub_8DkqBcR1bQvr5G",
"object": "line_item",
"amount": 3000,
"currency": "usd",
"description": null,
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1459959382,
"end": 1462551382
},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"proration": false,
"quantity": 1,
"subscription": null,
"type": "subscription"
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/in_17xJKM2sOmf47Nz9wOmb9YSB/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": null,
"paid": true,
"period_end": 1459959382,
"period_start": 1459948968,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
"subscription": "sub_8DkqBcR1bQvr5G",
"subtotal": 3000,
"tax": null,
"tax_percent": null,
"total": 3000,
"webhooks_delivered_at": 1459959382
}
],
"has_more": true,
"url": "/v1/invoices"
}
http_version:
recorded_at: Wed, 06 Apr 2016 16:16:23 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 3.13.0-83-generic (buildd@lgw01-55) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
) #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016","hostname":"integration"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 16:16:25 GMT
Content-Type:
- application/json
Content-Length:
- '4482'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8Dkq9n5NEnaqj7
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "cus_8Di1wjdVktv5kt",
"object": "customer",
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
"email": "jean.dupond@gmail.com",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_8Di1wjdVktv5kt",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/sources"
},
"subscriptions": {
"object": "list",
"data": [
{
"id": "sub_8DkqBcR1bQvr5G",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462551382,
"current_period_start": 1459959382,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1459959382,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8Di9gqPLwt5IIC",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": true,
"canceled_at": 1459949404,
"current_period_end": 1462541399,
"current_period_start": 1459949399,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1459949399,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8Di2VadRvr7A99",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": true,
"canceled_at": 1459948972,
"current_period_end": 1462540968,
"current_period_start": 1459948968,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1459948968,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 3,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Wed, 06 Apr 2016 16:16:25 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_8DkqBcR1bQvr5G
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 3.13.0-83-generic (buildd@lgw01-55) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
) #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016","hostname":"integration"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 16:16:26 GMT
Content-Type:
- application/json
Content-Length:
- '821'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DkqSt9TNkbCet
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "sub_8DkqBcR1bQvr5G",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462551382,
"current_period_start": 1459959382,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1459959382,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 16:16:25 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_8DkqBcR1bQvr5G?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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 3.13.0-83-generic (buildd@lgw01-55) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
) #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016","hostname":"integration"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Wed, 06 Apr 2016 16:16:26 GMT
Content-Type:
- application/json
Content-Length:
- '826'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8DkqQmbuyBCYqr
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "sub_8DkqBcR1bQvr5G",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": true,
"canceled_at": 1459959386,
"current_period_end": 1462551382,
"current_period_start": 1459959382,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1459959382,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
http_version:
recorded_at: Wed, 06 Apr 2016 16:16:26 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -19,8 +19,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,7 +31,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:39 GMT
- Mon, 18 Sep 2017 08:54:49 GMT
Content-Type:
- application/json
Content-Length:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRQTmptYozzo
- req_ZdzdOQ290aS1Hw
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_17z7CR2sOmf47Nz9uppKBmeh",
"id": "tok_1B3L1h2sOmf47Nz9n7DDyM9a",
"object": "token",
"card": {
"id": "card_17z7CR2sOmf47Nz9ruv5qwpH",
"id": "card_1B3L1h2sOmf47Nz9ub5Q7DZz",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,102 +86,12 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "90.42.87.235",
"created": 1460389419,
"client_ip": "90.112.59.71",
"created": 1505724889,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:39 GMT
- request:
method: get
uri: https://api.stripe.com/v1/tokens/tok_17z7CR2sOmf47Nz9uppKBmeh
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:40 GMT
Content-Type:
- application/json
Content-Length:
- '779'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRRKMMyEf0bI
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "tok_17z7CR2sOmf47Nz9uppKBmeh",
"object": "token",
"card": {
"id": "card_17z7CR2sOmf47Nz9ruv5qwpH",
"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": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
},
"client_ip": "90.42.87.235",
"created": 1460389419,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:40 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:49 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -19,8 +19,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,7 +31,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:41 GMT
- Mon, 18 Sep 2017 08:54:50 GMT
Content-Type:
- application/json
Content-Length:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRwZhpRvOW2K
- req_xGDFaSDmVbL2m9
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_17z7CT2sOmf47Nz9bO1WBtba",
"id": "tok_1B3L1i2sOmf47Nz9CpbaBivb",
"object": "token",
"card": {
"id": "card_17z7CT2sOmf47Nz9wtWkhGor",
"id": "card_1B3L1h2sOmf47Nz9NAHrANqS",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,104 +86,14 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "90.42.87.235",
"created": 1460389421,
"client_ip": "90.112.59.71",
"created": 1505724890,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:41 GMT
- request:
method: get
uri: https://api.stripe.com/v1/tokens/tok_17z7CT2sOmf47Nz9bO1WBtba
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:41 GMT
Content-Type:
- application/json
Content-Length:
- '779'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRgivvsrn6Jy
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "tok_17z7CT2sOmf47Nz9bO1WBtba",
"object": "token",
"card": {
"id": "card_17z7CT2sOmf47Nz9wtWkhGor",
"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": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
},
"client_ip": "90.42.87.235",
"created": 1460389421,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:42 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:50 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
@ -201,8 +113,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -211,11 +123,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:42 GMT
- Mon, 18 Sep 2017 08:54:51 GMT
Content-Type:
- application/json
Content-Length:
- '5571'
- '7733'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -224,151 +136,280 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRWeqA3l7Zyc
- req_jc6NgRbYP6JYBW
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTk0ODg4OCwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xN3haV3Qyc09tZjQ3Tno5ZVZVQ2k1M0EiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIkplYW4g
RHVwb25kIiwKICAiZGlzY291bnQiOiBudWxsLAogICJlbWFpbCI6ICJqZWFu
LmR1cG9uZEBnbWFpbC5jb20iLAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJt
ZXRhZGF0YSI6IHt9LAogICJzaGlwcGluZyI6IG51bGwsCiAgInNvdXJjZXMi
OiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAg
IHsKICAgICAgICAiaWQiOiAiY2FyZF8xN3haV3Qyc09tZjQ3Tno5ZVZVQ2k1
M0EiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIsCiAgICAgICAgImFkZHJl
c3NfY2l0eSI6IG51bGwsCiAgICAgICAgImFkZHJlc3NfY291bnRyeSI6IG51
bGwsCiAgICAgICAgImFkZHJlc3NfbGluZTEiOiBudWxsLAogICAgICAgICJh
ZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAgICAgICAiYWRkcmVzc19s
aW5lMiI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nfc3RhdGUiOiBudWxsLAog
ICAgICAgICJhZGRyZXNzX3ppcCI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nf
emlwX2NoZWNrIjogbnVsbCwKICAgICAgICAiYnJhbmQiOiAiVmlzYSIsCiAg
ICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAgICJjdXN0b21lciI6ICJj
dXNfOERpMXdqZFZrdHY1a3QiLAogICAgICAgICJjdmNfY2hlY2siOiAicGFz
cyIsCiAgICAgICAgImR5bmFtaWNfbGFzdDQiOiBudWxsLAogICAgICAgICJl
eHBfbW9udGgiOiA0LAogICAgICAgICJleHBfeWVhciI6IDIwMTcsCiAgICAg
ICAgImZpbmdlcnByaW50IjogIm81Mmp5YlI3Ym5tTm42QVQiLAogICAgICAg
ICJmdW5kaW5nIjogImNyZWRpdCIsCiAgICAgICAgImxhc3Q0IjogIjQyNDIi
LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJuYW1lIjogbnVs
bCwKICAgICAgICAidG9rZW5pemF0aW9uX21ldGhvZCI6IG51bGwKICAgICAg
fQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2Nv
dW50IjogMSwKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNfOERpMXdq
ZFZrdHY1a3Qvc291cmNlcyIKICB9LAogICJzdWJzY3JpcHRpb25zIjogewog
ICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAg
ICAgICAgImlkIjogInN1Yl84RTFhZmtUQm4yZGMxRCIsCiAgICAgICAgIm9i
amVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJhcHBsaWNhdGlvbl9m
ZWVfcGVyY2VudCI6IG51bGwsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2Rf
ZW5kIjogdHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNDYwMDIxNjcw
LAogICAgICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNDYyNjEzNjY1LAog
ICAgICAgICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE0NjAwMjE2NjUsCiAg
ICAgICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAg
ICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxs
LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewog
ICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQt
bW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJw
bGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgImNy
ZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5IjogInVz
ZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAg
ImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZh
bHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFt
ZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUg
MjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250
aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
ICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0s
CiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNDYw
MDIxNjY1LAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAi
dGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxs
LAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfSwKICAgICAg
ewogICAgICAgICJpZCI6ICJzdWJfOERrcUJjUjFiUXZyNUciLAogICAgICAg
ICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGljYXRp
b25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJjYW5jZWxfYXRfcGVy
aW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTQ1OTk1
OTM4NiwKICAgICAgICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTQ2MjU1MTM4
MiwKICAgICAgICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNDU5OTU5Mzgy
LAogICAgICAgICJjdXN0b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAog
ICAgICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAgICAgImVuZGVkX2F0Ijog
bnVsbCwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6
IHsKICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXN0YW5kYXJkLW1vbnRoLTIw
MTYwNDA0MTcxNTE5IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAg
ICAgICAgICAiYW1vdW50IjogMzAwMCwKICAgICAgICAgICJjcmVhdGVkIjog
MTQ1OTc4MjkyMSwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg
ICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZh
bF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg
ICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVu
c3VlbCAtIHN0YW5kYXJkLCBhc3NvY2lhdGlvbiAtIG1vbnRoIiwKICAgICAg
ICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAi
dHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAi
cXVhbnRpdHkiOiAxLAogICAgICAgICJzdGFydCI6IDE0NTk5NTkzODIsCiAg
ICAgICAgInN0YXR1cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2Vu
dCI6IG51bGwsCiAgICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAg
InRyaWFsX3N0YXJ0IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAg
ImlkIjogInN1Yl84RGk5Z3FQTHd0NUlJQyIsCiAgICAgICAgIm9iamVjdCI6
ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVy
Y2VudCI6IG51bGwsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjog
dHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNDU5OTQ5NDA0LAogICAg
ICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNDYyNTQxMzk5LAogICAgICAg
ICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE0NTk5NDkzOTksCiAgICAgICAg
ImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAgICAgImRp
c2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAg
ICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewogICAgICAg
ICAgImlkIjogIm1lbnN1ZWwtc3RhbmRhcmQtbW9udGgtMjAxNjA0MDQxNzE1
MTkiLAogICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJh
bW91bnQiOiAzMDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgyOTIx
LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50
ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50Ijog
MSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1l
dGFkYXRhIjoge30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIC0gc3Rh
bmRhcmQsIGFzc29jaWF0aW9uIC0gbW9udGgiLAogICAgICAgICAgInN0YXRl
bWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJp
b2RfZGF5cyI6IG51bGwKICAgICAgICB9LAogICAgICAgICJxdWFudGl0eSI6
IDEsCiAgICAgICAgInN0YXJ0IjogMTQ1OTk0OTM5OSwKICAgICAgICAic3Rh
dHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9wZXJjZW50IjogbnVsbCwK
ICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAgICAgICAidHJpYWxfc3Rh
cnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAic3Vi
XzhEaTJWYWRSdnI3QTk5IiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlw
dGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9wZXJjZW50IjogbnVs
bCwKICAgICAgICAiY2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICAg
ICAgICJjYW5jZWxlZF9hdCI6IDE0NTk5NDg5NzIsCiAgICAgICAgImN1cnJl
bnRfcGVyaW9kX2VuZCI6IDE0NjI1NDA5NjgsCiAgICAgICAgImN1cnJlbnRf
cGVyaW9kX3N0YXJ0IjogMTQ1OTk0ODk2OCwKICAgICAgICAiY3VzdG9tZXIi
OiAiY3VzXzhEaTF3amRWa3R2NWt0IiwKICAgICAgICAiZGlzY291bnQiOiBu
dWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAgICAgIm1ldGFk
YXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAi
bWVuc3VlbC1zdGFuZGFyZC1tb250aC0yMDE2MDQwNDE3MTUxOSIsCiAgICAg
ICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6IDMw
MDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODI5MjEsCiAgICAgICAg
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6ICJt
b250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAg
ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7
fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgLSBzdGFuZGFyZCwgYXNz
b2NpYXRpb24gLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2Ny
aXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjog
bnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAg
ICAic3RhcnQiOiAxNDU5OTQ4OTY4LAogICAgICAgICJzdGF0dXMiOiAiYWN0
aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0
cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwK
ICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRv
dGFsX2NvdW50IjogNCwKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNf
OERpMXdqZFZrdHY1a3Qvc3Vic2NyaXB0aW9ucyIKICB9Cn0K
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:42 GMT
encoding: UTF-8
string: |
{
"id": "cus_8Di1wjdVktv5kt",
"object": "customer",
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
"email": "jean.dupond@gmail.com",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_8Di1wjdVktv5kt",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/sources"
},
"subscriptions": {
"object": "list",
"data": [
{
"id": "sub_BQBMKKS6nutZLr",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724793,
"created": 1505724789,
"current_period_end": 1508316789,
"current_period_start": 1505724789,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
"object": "subscription_item",
"created": 1505724789,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724789,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBH03MUz5WO4y",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724499,
"created": 1505724494,
"current_period_end": 1508316494,
"current_period_start": 1505724494,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3KvK2sOmf47Nz9mNLN0l2q",
"object": "subscription_item",
"created": 1505724494,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724494,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBGRftUBikhtm",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724425,
"created": 1505724421,
"current_period_end": 1508316421,
"current_period_start": 1505724421,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Ku92sOmf47Nz9sdo927vf",
"object": "subscription_item",
"created": 1505724421,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724421,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 3,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:52 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions
body:
encoding: UTF-8
string: plan=mensuel-standard-month-20160404171519&card=tok_17z7CT2sOmf47Nz9bO1WBtba
string: plan=mensuel-standard-month-20160404171519&source=tok_1B3L1i2sOmf47Nz9CpbaBivb
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -382,10 +423,10 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '76'
- '78'
response:
status:
code: 200
@ -394,11 +435,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:44 GMT
- Mon, 18 Sep 2017 08:54:53 GMT
Content-Type:
- application/json
Content-Length:
- '821'
- '1711'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -407,12 +448,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRItYpDN04OA
- req_w127ZjwMeU3Ikd
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -421,16 +464,48 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "sub_8FcRar5XrAGnL0",
"id": "sub_BQBOHLXRrG3Z1Q",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462981423,
"current_period_start": 1460389423,
"created": 1505724892,
"current_period_end": 1508316892,
"current_period_start": 1505724892,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L1k2sOmf47Nz9Ua5wYTNH",
"object": "subscription_item",
"created": 1505724893,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBOHLXRrG3Z1Q"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -447,14 +522,14 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1460389423,
"start": 1505724892,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:44 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:53 GMT
- request:
method: get
uri: https://api.stripe.com/v1/invoices?customer=cus_8Di1wjdVktv5kt&limit=1
@ -474,8 +549,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -484,11 +559,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:47 GMT
- Mon, 18 Sep 2017 08:54:54 GMT
Content-Type:
- application/json
Content-Length:
- '2207'
- '2960'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -497,12 +572,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRkV7kaP4d74
- req_Mh3Lj8hxg2TXFk
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -514,17 +591,18 @@ http_interactions:
"object": "list",
"data": [
{
"id": "in_17z7CV2sOmf47Nz9GowUoPMG",
"id": "in_1B3L1k2sOmf47Nz9WrVocGx4",
"object": "invoice",
"amount_due": 3000,
"amount_due": 8100,
"application_fee": null,
"attempt_count": 1,
"attempted": true,
"charge": "ch_17z7CV2sOmf47Nz9v4oKnmLc",
"billing": "charge_automatically",
"charge": "ch_1B3L1k2sOmf47Nz9lkDNMQnv",
"closed": true,
"currency": "usd",
"customer": "cus_8Di1wjdVktv5kt",
"date": 1460389423,
"date": 1505724892,
"description": null,
"discount": null,
"ending_balance": 0,
@ -533,7 +611,26 @@ http_interactions:
"object": "list",
"data": [
{
"id": "sub_8FcRar5XrAGnL0",
"id": "ii_1B3L0k2sOmf47Nz9y87SMg3r",
"object": "line_item",
"amount": 5100,
"currency": "usd",
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 09:00 AM",
"discountable": true,
"livemode": false,
"metadata": {},
"period": {
"start": 1505724830,
"end": 1505724830
},
"plan": null,
"proration": false,
"quantity": null,
"subscription": null,
"type": "invoiceitem"
},
{
"id": "sub_BQBOHLXRrG3Z1Q",
"object": "line_item",
"amount": 3000,
"currency": "usd",
@ -542,8 +639,8 @@ http_interactions:
"livemode": false,
"metadata": {},
"period": {
"start": 1460389423,
"end": 1462981423
"start": 1505724892,
"end": 1508316892
},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -562,35 +659,37 @@ http_interactions:
"proration": false,
"quantity": 1,
"subscription": null,
"subscription_item": "si_1B3L1k2sOmf47Nz9Ua5wYTNH",
"type": "subscription"
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/in_17z7CV2sOmf47Nz9GowUoPMG/lines"
"total_count": 2,
"url": "/v1/invoices/in_1B3L1k2sOmf47Nz9WrVocGx4/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": null,
"number": "d4cc0e661c-0008",
"paid": true,
"period_end": 1460389423,
"period_start": 1459948968,
"period_end": 1505724892,
"period_start": 1505724421,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
"subscription": "sub_8FcRar5XrAGnL0",
"subtotal": 3000,
"subscription": "sub_BQBOHLXRrG3Z1Q",
"subtotal": 8100,
"tax": null,
"tax_percent": null,
"total": 3000,
"webhooks_delivered_at": 1460389424
"total": 8100,
"webhooks_delivered_at": 1505724893
}
],
"has_more": true,
"url": "/v1/invoices"
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:47 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:54 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
@ -610,8 +709,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -620,11 +719,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:48 GMT
- Mon, 18 Sep 2017 08:54:55 GMT
Content-Type:
- application/json
Content-Length:
- '6591'
- '9835'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -633,171 +732,342 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRzywC1ZKG1q
- req_TcwwuN6UqqEKmV
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTk0ODg4OCwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xN3o3Q1Qyc09tZjQ3Tno5d3RXa2hHb3IiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIkplYW4g
RHVwb25kIiwKICAiZGlzY291bnQiOiBudWxsLAogICJlbWFpbCI6ICJqZWFu
LmR1cG9uZEBnbWFpbC5jb20iLAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJt
ZXRhZGF0YSI6IHt9LAogICJzaGlwcGluZyI6IG51bGwsCiAgInNvdXJjZXMi
OiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAg
IHsKICAgICAgICAiaWQiOiAiY2FyZF8xN3o3Q1Qyc09tZjQ3Tno5d3RXa2hH
b3IiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIsCiAgICAgICAgImFkZHJl
c3NfY2l0eSI6IG51bGwsCiAgICAgICAgImFkZHJlc3NfY291bnRyeSI6IG51
bGwsCiAgICAgICAgImFkZHJlc3NfbGluZTEiOiBudWxsLAogICAgICAgICJh
ZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAgICAgICAiYWRkcmVzc19s
aW5lMiI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nfc3RhdGUiOiBudWxsLAog
ICAgICAgICJhZGRyZXNzX3ppcCI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nf
emlwX2NoZWNrIjogbnVsbCwKICAgICAgICAiYnJhbmQiOiAiVmlzYSIsCiAg
ICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAgICJjdXN0b21lciI6ICJj
dXNfOERpMXdqZFZrdHY1a3QiLAogICAgICAgICJjdmNfY2hlY2siOiAicGFz
cyIsCiAgICAgICAgImR5bmFtaWNfbGFzdDQiOiBudWxsLAogICAgICAgICJl
eHBfbW9udGgiOiA0LAogICAgICAgICJleHBfeWVhciI6IDIwMTcsCiAgICAg
ICAgImZpbmdlcnByaW50IjogIm81Mmp5YlI3Ym5tTm42QVQiLAogICAgICAg
ICJmdW5kaW5nIjogImNyZWRpdCIsCiAgICAgICAgImxhc3Q0IjogIjQyNDIi
LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJuYW1lIjogbnVs
bCwKICAgICAgICAidG9rZW5pemF0aW9uX21ldGhvZCI6IG51bGwKICAgICAg
fQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2Nv
dW50IjogMSwKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNfOERpMXdq
ZFZrdHY1a3Qvc291cmNlcyIKICB9LAogICJzdWJzY3JpcHRpb25zIjogewog
ICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAg
ICAgICAgImlkIjogInN1Yl84RmNSYXI1WHJBR25MMCIsCiAgICAgICAgIm9i
amVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJhcHBsaWNhdGlvbl9m
ZWVfcGVyY2VudCI6IG51bGwsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2Rf
ZW5kIjogZmFsc2UsCiAgICAgICAgImNhbmNlbGVkX2F0IjogbnVsbCwKICAg
ICAgICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTQ2Mjk4MTQyMywKICAgICAg
ICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNDYwMzg5NDIzLAogICAgICAg
ICJjdXN0b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICAgICAgICJk
aXNjb3VudCI6IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAg
ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAg
ICAgICJpZCI6ICJtZW5zdWVsLXN0YW5kYXJkLW1vbnRoLTIwMTYwNDA0MTcx
NTE5IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAi
YW1vdW50IjogMzAwMCwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4Mjky
MSwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImlu
dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6
IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJt
ZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCAtIHN0
YW5kYXJkLCBhc3NvY2lhdGlvbiAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0
ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVy
aW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHki
OiAxLAogICAgICAgICJzdGFydCI6IDE0NjAzODk0MjMsCiAgICAgICAgInN0
YXR1cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGws
CiAgICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0
YXJ0IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1
Yl84RTFhZmtUQm4yZGMxRCIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3Jp
cHRpb24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51
bGwsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogdHJ1ZSwKICAg
ICAgICAiY2FuY2VsZWRfYXQiOiAxNDYwMDIxNjcwLAogICAgICAgICJjdXJy
ZW50X3BlcmlvZF9lbmQiOiAxNDYyNjEzNjY1LAogICAgICAgICJjdXJyZW50
X3BlcmlvZF9zdGFydCI6IDE0NjAwMjE2NjUsCiAgICAgICAgImN1c3RvbWVy
IjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAgICAgImRpc2NvdW50Ijog
bnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAgICJtZXRh
ZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjog
Im1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQx
NzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAg
ICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5Nzgz
MTA4LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAi
aW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50
IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAg
Im1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRh
cmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWdu
YW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAi
c3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFs
X3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50
aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNDYwMDIxNjY1LAogICAgICAg
ICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBu
dWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlh
bF9zdGFydCI6IG51bGwKICAgICAgfSwKICAgICAgewogICAgICAgICJpZCI6
ICJzdWJfOERrcUJjUjFiUXZyNUciLAogICAgICAgICJvYmplY3QiOiAic3Vi
c2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQi
OiBudWxsLAogICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUs
CiAgICAgICAgImNhbmNlbGVkX2F0IjogMTQ1OTk1OTM4NiwKICAgICAgICAi
Y3VycmVudF9wZXJpb2RfZW5kIjogMTQ2MjU1MTM4MiwKICAgICAgICAiY3Vy
cmVudF9wZXJpb2Rfc3RhcnQiOiAxNDU5OTU5MzgyLAogICAgICAgICJjdXN0
b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICAgICAgICJkaXNjb3Vu
dCI6IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAi
bWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICJp
ZCI6ICJtZW5zdWVsLXN0YW5kYXJkLW1vbnRoLTIwMTYwNDA0MTcxNTE5IiwK
ICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYW1vdW50
IjogMzAwMCwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MjkyMSwKICAg
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVydmFs
IjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAg
ICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0
YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCAtIHN0YW5kYXJk
LCBhc3NvY2lhdGlvbiAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1lbnRf
ZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2Rh
eXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxLAog
ICAgICAgICJzdGFydCI6IDE0NTk5NTkzODIsCiAgICAgICAgInN0YXR1cyI6
ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAg
ICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0Ijog
bnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl84RGk5
Z3FQTHd0NUlJQyIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb24i
LAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGwsCiAg
ICAgICAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogdHJ1ZSwKICAgICAgICAi
Y2FuY2VsZWRfYXQiOiAxNDU5OTQ5NDA0LAogICAgICAgICJjdXJyZW50X3Bl
cmlvZF9lbmQiOiAxNDYyNTQxMzk5LAogICAgICAgICJjdXJyZW50X3Blcmlv
ZF9zdGFydCI6IDE0NTk5NDkzOTksCiAgICAgICAgImN1c3RvbWVyIjogImN1
c184RGkxd2pkVmt0djVrdCIsCiAgICAgICAgImRpc2NvdW50IjogbnVsbCwK
ICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAgICJtZXRhZGF0YSI6
IHt9LAogICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1
ZWwtc3RhbmRhcmQtbW9udGgtMjAxNjA0MDQxNzE1MTkiLAogICAgICAgICAg
Im9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAzMDAwLAog
ICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgyOTIxLAogICAgICAgICAgImN1
cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgi
LAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJs
aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAg
ICAgICAgICAibmFtZSI6ICJNZW5zdWVsIC0gc3RhbmRhcmQsIGFzc29jaWF0
aW9uIC0gbW9udGgiLAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9y
IjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwK
ICAgICAgICB9LAogICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0
YXJ0IjogMTQ1OTk0OTM5OSwKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIs
CiAgICAgICAgInRheF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxf
ZW5kIjogbnVsbCwKICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAg
IH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAic3ViXzhEaTJWYWRSdnI3QTk5
IiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAg
ImFwcGxpY2F0aW9uX2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAiY2Fu
Y2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9h
dCI6IDE0NTk5NDg5NzIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6
IDE0NjI1NDA5NjgsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0Ijog
MTQ1OTk0ODk2OCwKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhEaTF3amRW
a3R2NWt0IiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJl
bmRlZF9hdCI6IG51bGwsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg
ICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC1zdGFuZGFy
ZC1tb250aC0yMDE2MDQwNDE3MTUxOSIsCiAgICAgICAgICAib2JqZWN0Ijog
InBsYW4iLAogICAgICAgICAgImFtb3VudCI6IDMwMDAsCiAgICAgICAgICAi
Y3JlYXRlZCI6IDE0NTk3ODI5MjEsCiAgICAgICAgICAiY3VycmVuY3kiOiAi
dXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAg
ICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjog
ZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJu
YW1lIjogIk1lbnN1ZWwgLSBzdGFuZGFyZCwgYXNzb2NpYXRpb24gLSBtb250
aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
ICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0s
CiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNDU5
OTQ4OTY4LAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAi
dGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxs
LAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfQogICAgXSwK
ICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogNSwK
ICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNfOERpMXdqZFZrdHY1a3Qv
c3Vic2NyaXB0aW9ucyIKICB9Cn0K
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:48 GMT
encoding: UTF-8
string: |
{
"id": "cus_8Di1wjdVktv5kt",
"object": "customer",
"account_balance": 0,
"created": 1459948888,
"currency": "usd",
"default_source": "card_1B3L1h2sOmf47Nz9NAHrANqS",
"delinquent": false,
"description": "Jean Dupond",
"discount": null,
"email": "jean.dupond@gmail.com",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_1B3L1h2sOmf47Nz9NAHrANqS",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_8Di1wjdVktv5kt",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/sources"
},
"subscriptions": {
"object": "list",
"data": [
{
"id": "sub_BQBOHLXRrG3Z1Q",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": false,
"canceled_at": null,
"created": 1505724892,
"current_period_end": 1508316892,
"current_period_start": 1505724892,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L1k2sOmf47Nz9Ua5wYTNH",
"object": "subscription_item",
"created": 1505724893,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBOHLXRrG3Z1Q"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724892,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBMKKS6nutZLr",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724793,
"created": 1505724789,
"current_period_end": 1508316789,
"current_period_start": 1505724789,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
"object": "subscription_item",
"created": 1505724789,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724789,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBH03MUz5WO4y",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724499,
"created": 1505724494,
"current_period_end": 1508316494,
"current_period_start": 1505724494,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3KvK2sOmf47Nz9mNLN0l2q",
"object": "subscription_item",
"created": 1505724494,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724494,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_BQBGRftUBikhtm",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1505724425,
"created": 1505724421,
"current_period_end": 1508316421,
"current_period_start": 1505724421,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Ku92sOmf47Nz9sdo927vf",
"object": "subscription_item",
"created": 1505724421,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1505724421,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
],
"has_more": false,
"total_count": 4,
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
}
}
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:55 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_8FcRar5XrAGnL0
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BQBOHLXRrG3Z1Q
body:
encoding: US-ASCII
string: ''
@ -814,8 +1084,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -824,11 +1094,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:48 GMT
- Mon, 18 Sep 2017 08:54:56 GMT
Content-Type:
- application/json
Content-Length:
- '821'
- '1711'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -837,12 +1107,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRg1EQDVfpku
- req_ZjIgDQ34jlghLo
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -851,16 +1123,48 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "sub_8FcRar5XrAGnL0",
"id": "sub_BQBOHLXRrG3Z1Q",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462981423,
"current_period_start": 1460389423,
"created": 1505724892,
"current_period_end": 1508316892,
"current_period_start": 1505724892,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L1k2sOmf47Nz9Ua5wYTNH",
"object": "subscription_item",
"created": 1505724893,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBOHLXRrG3Z1Q"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -877,17 +1181,17 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1460389423,
"start": 1505724892,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:49 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:56 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_8FcRar5XrAGnL0?at_period_end=true
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BQBOHLXRrG3Z1Q?at_period_end=true
body:
encoding: US-ASCII
string: ''
@ -904,8 +1208,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -914,11 +1218,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:49 GMT
- Mon, 18 Sep 2017 08:54:57 GMT
Content-Type:
- application/json
Content-Length:
- '826'
- '1716'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -927,12 +1231,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRvdzGhluZiD
- req_KxbHmVYfDwpiHi
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -941,16 +1247,48 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "sub_8FcRar5XrAGnL0",
"id": "sub_BQBOHLXRrG3Z1Q",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1460389429,
"current_period_end": 1462981423,
"current_period_start": 1460389423,
"canceled_at": 1505724897,
"created": 1505724892,
"current_period_end": 1508316892,
"current_period_start": 1505724892,
"customer": "cus_8Di1wjdVktv5kt",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L1k2sOmf47Nz9Ua5wYTNH",
"object": "subscription_item",
"created": 1505724893,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBOHLXRrG3Z1Q"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -967,12 +1305,12 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1460389423,
"start": 1505724892,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:50 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:57 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -18,9 +18,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,11 +31,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:15:52 GMT
- Mon, 18 Sep 2017 08:54:58 GMT
Content-Type:
- application/json
Content-Length:
- '780'
- '779'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nfbr26ZMi1nMx
- req_nqq9N9aArJQxcT
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_18W4GK2sOmf47Nz9I7fm3Y18",
"id": "tok_1B3L1q2sOmf47Nz9S4Af81m3",
"object": "token",
"card": {
"id": "card_18W4GK2sOmf47Nz9K6dfSmZl",
"id": "card_1B3L1q2sOmf47Nz9b903fHHV",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,104 +86,14 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "82.122.118.54",
"created": 1468242952,
"client_ip": "90.112.59.71",
"created": 1505724898,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Mon, 11 Jul 2016 13:15:52 GMT
- request:
method: get
uri: https://api.stripe.com/v1/tokens/tok_18W4GK2sOmf47Nz9I7fm3Y18
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:15:53 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-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nfbbQfs4YR066
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "tok_18W4GK2sOmf47Nz9I7fm3Y18",
"object": "token",
"card": {
"id": "card_18W4GK2sOmf47Nz9K6dfSmZl",
"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": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
},
"client_ip": "82.122.118.54",
"created": 1468242952,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Mon, 11 Jul 2016 13:15:53 GMT
recorded_at: Mon, 18 Sep 2017 08:54:58 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
@ -200,9 +112,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -211,11 +123,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:15:54 GMT
- Mon, 18 Sep 2017 08:54:59 GMT
Content-Type:
- application/json
Content-Length:
- '655'
- '8094'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -224,50 +136,203 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nfb0Ez5UgkL6i
- req_suenXAM64j8E8N
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "cus_8CzNtM08NVlSGN",
"object": "customer",
"account_balance": 0,
"created": 1459782849,
"currency": null,
"default_source": null,
"delinquent": false,
"description": "Vanessa Lonchamp",
"discount": null,
"email": "vanessa.lonchamp@sfr.fr",
"livemode": false,
"metadata": {},
"shipping": null,
"sources": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_8CzNtM08NVlSGN/sources"
},
"subscriptions": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_8CzNtM08NVlSGN/subscriptions"
}
}
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xQjNMMGwyc09tZjQ3Tno5M0o5ZHVBemQiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDBsMnNPbWY0N056
OTNKOWR1QXpkIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
ZHJlc3NfbGluZTIiOiBudWxsLAogICAgICAgICJhZGRyZXNzX3N0YXRlIjog
bnVsbCwKICAgICAgICAiYWRkcmVzc196aXAiOiBudWxsLAogICAgICAgICJh
ZGRyZXNzX3ppcF9jaGVjayI6IG51bGwsCiAgICAgICAgImJyYW5kIjogIlZp
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
ZSI6IG51bGwsCiAgICAgICAgInRva2VuaXphdGlvbl9tZXRob2QiOiBudWxs
CiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICAg
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog
ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl
cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3
MjQ4NDEsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0ODM3LAogICAgICAg
ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2ODM3LAogICAgICAgICJj
dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgImN1
c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv
dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg
ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg
ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp
ZCI6ICJzaV8xQjNMMHIyc09tZjQ3Tno5S0tkVjF6c0oiLAogICAgICAgICAg
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg
ICAgICJjcmVhdGVkIjogMTUwNTcyNDgzOCwKICAgICAgICAgICAgICAibWV0
YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi
OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg
ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu
dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j
b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50
LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p
IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw
dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5
cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu
dGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAg
ICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50Ijog
MSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9z
dWJzY3JpcHRpb249c3ViX0JRQk5ua1VsY2lpM3IxIgogICAgICAgIH0sCiAg
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjog
e30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3Vl
bC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIs
CiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3Vu
dCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAg
ICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZh
bCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAog
ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRh
dGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOp
ZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRl
bWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l
bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k
X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx
LAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgInN0YXR1
cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg
ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0
IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9C
UUJJSW11VVdicmp6QiIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp
b24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGws
CiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAog
ICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAg
ImNhbmNlbGVkX2F0IjogMTUwNTcyNDUwNywKICAgICAgICAiY3JlYXRlZCI6
IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1
MDgzMTY1MDMsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUw
NTcyNDUwMywKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs
U0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRl
ZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9i
amVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAg
ICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFCM0t2VDJzT21mNDdOejl1
M2lNYTVTeiIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp
b25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAz
LAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
ICJwbGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy
aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg
ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAg
ICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAx
NDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs
CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg
ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm
IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50
LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAg
ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAg
ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0s
CiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAg
ICAgICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAg
ICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEv
c3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSUltdVVX
YnJqekIiCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh
biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh
dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi
LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp
bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi
OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1
IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi
LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg
ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog
ICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcy
NDUwMywKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRh
eF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwK
ICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsK
ICAgICAgICAiaWQiOiAic3ViX0JRQkhIUEJqTzU3M0pXIiwKICAgICAgICAi
b2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9u
X2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJjaGFy
Z2VfYXV0b21hdGljYWxseSIsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2Rf
ZW5kIjogdHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNTA1NzI0NDU4
LAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDQ1MiwKICAgICAgICAiY3Vy
cmVudF9wZXJpb2RfZW5kIjogMTUwODMxNjQ1MiwKICAgICAgICAiY3VycmVu
dF9wZXJpb2Rfc3RhcnQiOiAxNTA1NzI0NDUyLAogICAgICAgICJjdXN0b21l
ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6
IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRl
bXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAg
ImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAi
c2lfMUIzS3VlMnNPbWY0N056OTJQQ3ZEVVpLIiwKICAgICAgICAgICAgICAi
b2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAi
Y3JlYXRlZCI6IDE1MDU3MjQ0NTMsCiAgICAgICAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAg
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBs
YW4iLAogICAgICAgICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAg
ICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAg
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZh
bCI6ICJtb250aCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQi
OiAxLAogICAgICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg
ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJu
YW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBk
ZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1v
bnRoIiwKICAgICAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6
IG51bGwsCiAgICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBu
dWxsCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHki
OiAxCiAgICAgICAgICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFz
X21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAg
ICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2Ny
aXB0aW9uPXN1Yl9CUUJISFBCak81NzNKVyIKICAgICAgICB9LAogICAgICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAog
ICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy
aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg
ICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAy
MDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg
ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAi
bW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAg
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjog
e30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQg
LSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRl
dXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rl
c2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlz
IjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAg
ICAgICAic3RhcnQiOiAxNTA1NzI0NDUyLAogICAgICAgICJzdGF0dXMiOiAi
YWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAg
ICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51
bGwKICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAg
InRvdGFsX2NvdW50IjogMywKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9j
dXNfOEN6TnRNMDhOVmxTR04vc3Vic2NyaXB0aW9ucyIKICB9Cn0K
http_version:
recorded_at: Mon, 11 Jul 2016 13:15:54 GMT
recorded_at: Mon, 18 Sep 2017 08:54:59 GMT
- request:
method: post
uri: https://api.stripe.com/v1/invoiceitems
@ -286,9 +351,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '78'
response:
@ -299,7 +364,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:15:55 GMT
- Mon, 18 Sep 2017 08:55:00 GMT
Content-Type:
- application/json
Content-Length:
@ -312,12 +377,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nfbS1DU8keH5x
- req_pF0zyB1PHHa0vK
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -326,20 +393,20 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "ii_18W4GN2sOmf47Nz9K1dTfTyA",
"id": "ii_1B3L1s2sOmf47Nz9ZDp4PC5j",
"object": "invoiceitem",
"amount": -1000,
"currency": "usd",
"customer": "cus_8CzNtM08NVlSGN",
"date": 1468242955,
"date": 1505724900,
"description": "wallet -10.0",
"discountable": false,
"invoice": null,
"livemode": false,
"metadata": {},
"period": {
"start": 1468242955,
"end": 1468242955
"start": 1505724900,
"end": 1505724900
},
"plan": null,
"proration": false,
@ -347,13 +414,13 @@ http_interactions:
"subscription": null
}
http_version:
recorded_at: Mon, 11 Jul 2016 13:15:55 GMT
recorded_at: Mon, 18 Sep 2017 08:55:00 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_18W4GK2sOmf47Nz9I7fm3Y18
string: plan=mensuel-tarif-reduit-student-month-20160404171827&source=tok_1B3L1q2sOmf47Nz9S4Af81m3
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -366,9 +433,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '90'
response:
@ -379,11 +446,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:15:57 GMT
- Mon, 18 Sep 2017 08:55:02 GMT
Content-Type:
- application/json
Content-Length:
- '926'
- '1829'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -392,12 +459,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nfbYSDVSvjiep
- req_jmFKLSWMGW5vX4
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -405,29 +474,49 @@ http_interactions:
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJzdWJfOG5mYlRHR0lRUlF6eDEiLAogICJvYmplY3QiOiAi
ewogICJpZCI6ICJzdWJfQlFCT2o2SVBDeXZrc08iLAogICJvYmplY3QiOiAi
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
dWxsLAogICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5j
ZWxlZF9hdCI6IG51bGwsCiAgImNyZWF0ZWQiOiAxNDY4MjQyOTU2LAogICJj
dXJyZW50X3BlcmlvZF9lbmQiOiAxNDcwOTIxMzU2LAogICJjdXJyZW50X3Bl
cmlvZF9zdGFydCI6IDE0NjgyNDI5NTYsCiAgImN1c3RvbWVyIjogImN1c184
Q3pOdE0wOE5WbFNHTiIsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRf
YXQiOiBudWxsLAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0YSI6
IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVk
dWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9iamVj
dCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0ZWQi
OiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAiaW50
ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwKICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAgICAi
bmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0g
ZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBt
b250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAg
InRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5Ijog
MSwKICAic3RhcnQiOiAxNDY4MjQyOTU2LAogICJzdGF0dXMiOiAiYWN0aXZl
IiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBudWxs
LAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi
Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiBmYWxzZSwKICAiY2FuY2VsZWRfYXQi
OiBudWxsLAogICJjcmVhdGVkIjogMTUwNTcyNDkwMSwKICAiY3VycmVudF9w
ZXJpb2RfZW5kIjogMTUwODMxNjkwMSwKICAiY3VycmVudF9wZXJpb2Rfc3Rh
cnQiOiAxNTA1NzI0OTAxLAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO
VmxTR04iLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGVkX2F0IjogbnVs
bCwKICAiaXRlbXMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRh
dGEiOiBbCiAgICAgIHsKICAgICAgICAiaWQiOiAic2lfMUIzTDF0MnNPbWY0
N056OVlJa1duUmpiIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlv
bl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ5MDIsCiAgICAg
ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog
ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6
IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2
YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l
bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs
IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg
ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg
ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg
ICAicXVhbnRpdHkiOiAxCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi
OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92
MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9CUUJPajZJ
UEN5dmtzTyIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0
YSI6IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt
cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9i
amVjdCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0
ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAi
aW50ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwK
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAg
ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs
IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg
LSBtb250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5
IjogMSwKICAic3RhcnQiOiAxNTA1NzI0OTAxLAogICJzdGF0dXMiOiAiYWN0
aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBu
dWxsLAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
http_version:
recorded_at: Mon, 11 Jul 2016 13:15:57 GMT
recorded_at: Mon, 18 Sep 2017 08:55:02 GMT
- request:
method: get
uri: https://api.stripe.com/v1/invoices?customer=cus_8CzNtM08NVlSGN&limit=1
@ -446,9 +535,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -457,11 +546,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:15:58 GMT
- Mon, 18 Sep 2017 08:55:03 GMT
Content-Type:
- application/json
Content-Length:
- '2835'
- '2974'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -470,12 +559,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nfbi8eORMWkgD
- req_xiy9OnbA17A4u0
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -484,70 +575,74 @@ http_interactions:
encoding: ASCII-8BIT
string: !binary |-
ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg
ICJpZCI6ICJpbl8xOFc0R08yc09tZjQ3Tno5b291RFEzaGUiLAogICAgICAi
ICJpZCI6ICJpbl8xQjNMMXQyc09tZjQ3Tno5N3N6ZnlaQVEiLAogICAgICAi
b2JqZWN0IjogImludm9pY2UiLAogICAgICAiYW1vdW50X2R1ZSI6IDEwMDAs
CiAgICAgICJhcHBsaWNhdGlvbl9mZWUiOiBudWxsLAogICAgICAiYXR0ZW1w
dF9jb3VudCI6IDEsCiAgICAgICJhdHRlbXB0ZWQiOiB0cnVlLAogICAgICAi
Y2hhcmdlIjogImNoXzE4VzRHTzJzT21mNDdOejlnb1k2T3lEbCIsCiAgICAg
ICJjbG9zZWQiOiB0cnVlLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
ICAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJk
YXRlIjogMTQ2ODI0Mjk1NiwKICAgICAgImRlc2NyaXB0aW9uIjogbnVsbCwK
ICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgImVuZGluZ19iYWxhbmNl
IjogMCwKICAgICAgImZvcmdpdmVuIjogZmFsc2UsCiAgICAgICJsaW5lcyI6
IHsKICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICJkYXRhIjog
WwogICAgICAgICAgewogICAgICAgICAgICAiaWQiOiAiaWlfMThXNEdOMnNP
bWY0N056OUsxZFRmVHlBIiwKICAgICAgICAgICAgIm9iamVjdCI6ICJsaW5l
X2l0ZW0iLAogICAgICAgICAgICAiYW1vdW50IjogLTEwMDAsCiAgICAgICAg
ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAiZGVzY3JpcHRp
b24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgICAgICAgImRpc2NvdW50YWJs
ZSI6IGZhbHNlLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg
ICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICJwZXJpb2Qi
OiB7CiAgICAgICAgICAgICAgInN0YXJ0IjogMTQ2ODI0Mjk1NSwKICAgICAg
ICAgICAgICAiZW5kIjogMTQ2ODI0Mjk1NQogICAgICAgICAgICB9LAogICAg
ICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAgICAgICJwcm9yYXRpb24i
OiBmYWxzZSwKICAgICAgICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAg
ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgICAgICJ0eXBl
IjogImludm9pY2VpdGVtIgogICAgICAgICAgfSwKICAgICAgICAgIHsKICAg
ICAgICAgICAgImlkIjogInN1Yl84bmZiVEdHSVFSUXp4MSIsCiAgICAgICAg
ICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAgICAgICAgImFtb3Vu
dCI6IDIwMDAsCiAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg
ICAgICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAgICAgICAgICAiZGlz
Y291bnRhYmxlIjogdHJ1ZSwKICAgICAgICAgICAgImxpdmVtb2RlIjogZmFs
c2UsCiAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAi
cGVyaW9kIjogewogICAgICAgICAgICAgICJzdGFydCI6IDE0NjgyNDI5NTYs
CiAgICAgICAgICAgICAgImVuZCI6IDE0NzA5MjEzNTYKICAgICAgICAgICAg
fSwKICAgICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAgImlkIjog
Im1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQx
NzE4MjciLAogICAgICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAg
ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICAgImNyZWF0
ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1
c2QiLAogICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAg
ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAi
bGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgICAibWV0YWRhdGEiOiB7
fSwKICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1
aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1h
bmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAgInN0YXRl
bWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICAgICAidHJpYWxf
cGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgICAgIH0sCiAgICAgICAgICAg
ICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgICAgICAgInF1YW50aXR5Ijog
MSwKICAgICAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAg
ICAgICJ0eXBlIjogInN1YnNjcmlwdGlvbiIKICAgICAgICAgIH0KICAgICAg
ICBdLAogICAgICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICJ0b3Rh
bF9jb3VudCI6IDIsCiAgICAgICAgInVybCI6ICIvdjEvaW52b2ljZXMvaW5f
MThXNEdPMnNPbWY0N056OW9vdURRM2hlL2xpbmVzIgogICAgICB9LAogICAg
ICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAg
ICAgICJuZXh0X3BheW1lbnRfYXR0ZW1wdCI6IG51bGwsCiAgICAgICJwYWlk
IjogdHJ1ZSwKICAgICAgInBlcmlvZF9lbmQiOiAxNDY4MjQyOTU2LAogICAg
ICAicGVyaW9kX3N0YXJ0IjogMTQ2ODI0Mjk1NiwKICAgICAgInJlY2VpcHRf
bnVtYmVyIjogbnVsbCwKICAgICAgInN0YXJ0aW5nX2JhbGFuY2UiOiAwLAog
ICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAic3Vi
c2NyaXB0aW9uIjogInN1Yl84bmZiVEdHSVFSUXp4MSIsCiAgICAgICJzdWJ0
b3RhbCI6IDEwMDAsCiAgICAgICJ0YXgiOiBudWxsLAogICAgICAidGF4X3Bl
cmNlbnQiOiBudWxsLAogICAgICAidG90YWwiOiAxMDAwLAogICAgICAid2Vi
aG9va3NfZGVsaXZlcmVkX2F0IjogMTQ2ODI0Mjk1NgogICAgfQogIF0sCiAg
Imhhc19tb3JlIjogZmFsc2UsCiAgInVybCI6ICIvdjEvaW52b2ljZXMiCn0K
YmlsbGluZyI6ICJjaGFyZ2VfYXV0b21hdGljYWxseSIsCiAgICAgICJjaGFy
Z2UiOiAiY2hfMUIzTDF0MnNPbWY0N056OXVjeUlma3poIiwKICAgICAgImNs
b3NlZCI6IHRydWUsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAi
Y3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUi
OiAxNTA1NzI0OTAxLAogICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAg
ICAiZGlzY291bnQiOiBudWxsLAogICAgICAiZW5kaW5nX2JhbGFuY2UiOiAw
LAogICAgICAiZm9yZ2l2ZW4iOiBmYWxzZSwKICAgICAgImxpbmVzIjogewog
ICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAgICAgImRhdGEiOiBbCiAg
ICAgICAgICB7CiAgICAgICAgICAgICJpZCI6ICJpaV8xQjNMMXMyc09tZjQ3
Tno5WkRwNFBDNWoiLAogICAgICAgICAgICAib2JqZWN0IjogImxpbmVfaXRl
bSIsCiAgICAgICAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAgICAgICAg
ImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlvbiI6
ICJ3YWxsZXQgLTEwLjAiLAogICAgICAgICAgICAiZGlzY291bnRhYmxlIjog
ZmFsc2UsCiAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAg
ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgInBlcmlvZCI6IHsK
ICAgICAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0OTAwLAogICAgICAgICAg
ICAgICJlbmQiOiAxNTA1NzI0OTAwCiAgICAgICAgICAgIH0sCiAgICAgICAg
ICAgICJwbGFuIjogbnVsbCwKICAgICAgICAgICAgInByb3JhdGlvbiI6IGZh
bHNlLAogICAgICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAgICAg
ICAic3Vic2NyaXB0aW9uIjogbnVsbCwKICAgICAgICAgICAgInR5cGUiOiAi
aW52b2ljZWl0ZW0iCiAgICAgICAgICB9LAogICAgICAgICAgewogICAgICAg
ICAgICAiaWQiOiAic3ViX0JRQk9qNklQQ3l2a3NPIiwKICAgICAgICAgICAg
Im9iamVjdCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgICAiYW1vdW50Ijog
MjAwMCwKICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAg
ICAgICJkZXNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgICAgICJkaXNjb3Vu
dGFibGUiOiB0cnVlLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
ICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICJwZXJp
b2QiOiB7CiAgICAgICAgICAgICAgInN0YXJ0IjogMTUwNTcyNDkwMSwKICAg
ICAgICAgICAgICAiZW5kIjogMTUwODMxNjkwMQogICAgICAgICAgICB9LAog
ICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICAgICAiaWQiOiAibWVu
c3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgy
NyIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAg
ICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICAgICAiY3JlYXRlZCI6
IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs
CiAgICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAg
ICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAgICJsaXZl
bW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAog
ICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAt
IMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1
ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICAgICAic3RhdGVtZW50
X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICJ0cmlhbF9wZXJp
b2RfZGF5cyI6IG51bGwKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInBy
b3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgICAicXVhbnRpdHkiOiAxLAog
ICAgICAgICAgICAic3Vic2NyaXB0aW9uIjogbnVsbCwKICAgICAgICAgICAg
InN1YnNjcmlwdGlvbl9pdGVtIjogInNpXzFCM0wxdDJzT21mNDdOejlZSWtX
blJqYiIsCiAgICAgICAgICAgICJ0eXBlIjogInN1YnNjcmlwdGlvbiIKICAg
ICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJoYXNfbW9yZSI6IGZhbHNl
LAogICAgICAgICJ0b3RhbF9jb3VudCI6IDIsCiAgICAgICAgInVybCI6ICIv
djEvaW52b2ljZXMvaW5fMUIzTDF0MnNPbWY0N056OTdzemZ5WkFRL2xpbmVz
IgogICAgICB9LAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgIm1l
dGFkYXRhIjoge30sCiAgICAgICJuZXh0X3BheW1lbnRfYXR0ZW1wdCI6IG51
bGwsCiAgICAgICJudW1iZXIiOiAiOWViZmVhZDIwYi0wMDA4IiwKICAgICAg
InBhaWQiOiB0cnVlLAogICAgICAicGVyaW9kX2VuZCI6IDE1MDU3MjQ5MDEs
CiAgICAgICJwZXJpb2Rfc3RhcnQiOiAxNTA1NzI0NDUyLAogICAgICAicmVj
ZWlwdF9udW1iZXIiOiBudWxsLAogICAgICAic3RhcnRpbmdfYmFsYW5jZSI6
IDAsCiAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAg
ICJzdWJzY3JpcHRpb24iOiAic3ViX0JRQk9qNklQQ3l2a3NPIiwKICAgICAg
InN1YnRvdGFsIjogMTAwMCwKICAgICAgInRheCI6IG51bGwsCiAgICAgICJ0
YXhfcGVyY2VudCI6IG51bGwsCiAgICAgICJ0b3RhbCI6IDEwMDAsCiAgICAg
ICJ3ZWJob29rc19kZWxpdmVyZWRfYXQiOiAxNTA1NzI0OTAyCiAgICB9CiAg
XSwKICAiaGFzX21vcmUiOiB0cnVlLAogICJ1cmwiOiAiL3YxL2ludm9pY2Vz
Igp9Cg==
http_version:
recorded_at: Mon, 11 Jul 2016 13:15:58 GMT
recorded_at: Mon, 18 Sep 2017 08:55:03 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
@ -566,9 +661,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -577,11 +672,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:15:59 GMT
- Mon, 18 Sep 2017 08:55:04 GMT
Content-Type:
- application/json
Content-Length:
- '2556'
- '10314'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -590,12 +685,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nfbxXXi48kJ9H
- req_rQYKrDVDUg2F4l
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -606,14 +703,14 @@ http_interactions:
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
dF9zb3VyY2UiOiAiY2FyZF8xOFc0R0syc09tZjQ3Tno5SzZkZlNtWmwiLAog
dF9zb3VyY2UiOiAiY2FyZF8xQjNMMXEyc09tZjQ3Tno5YjkwM2ZISFYiLAog
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMThXNEdLMnNPbWY0N056
OUs2ZGZTbVpsIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDFxMnNPbWY0N056
OWI5MDNmSEhWIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
@ -623,7 +720,7 @@ http_interactions:
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE3
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
@ -632,39 +729,212 @@ http_interactions:
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
ICAgewogICAgICAgICJpZCI6ICJzdWJfOG5mYlRHR0lRUlF6eDEiLAogICAg
ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCT2o2SVBDeXZrc08iLAogICAg
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJjYW5jZWxfYXRf
cGVyaW9kX2VuZCI6IGZhbHNlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IG51
bGwsCiAgICAgICAgImNyZWF0ZWQiOiAxNDY4MjQyOTU2LAogICAgICAgICJj
dXJyZW50X3BlcmlvZF9lbmQiOiAxNDcwOTIxMzU2LAogICAgICAgICJjdXJy
ZW50X3BlcmlvZF9zdGFydCI6IDE0NjgyNDI5NTYsCiAgICAgICAgImN1c3Rv
bWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2NvdW50
IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAgICJs
aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAg
ICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt
cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAg
ICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAw
LAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAg
ImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9u
dGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30s
CiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDD
qXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIg
ZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2Ny
aXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjog
bnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAg
ICAic3RhcnQiOiAxNDY4MjQyOTU2LAogICAgICAgICJzdGF0dXMiOiAiYWN0
aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0
cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwK
ICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRv
dGFsX2NvdW50IjogMSwKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNf
OEN6TnRNMDhOVmxTR04vc3Vic2NyaXB0aW9ucyIKICB9Cn0K
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog
ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl
cmlvZF9lbmQiOiBmYWxzZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiBudWxs
LAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDkwMSwKICAgICAgICAiY3Vy
cmVudF9wZXJpb2RfZW5kIjogMTUwODMxNjkwMSwKICAgICAgICAiY3VycmVu
dF9wZXJpb2Rfc3RhcnQiOiAxNTA1NzI0OTAxLAogICAgICAgICJjdXN0b21l
ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6
IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRl
bXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAg
ImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAi
c2lfMUIzTDF0MnNPbWY0N056OVlJa1duUmpiIiwKICAgICAgICAgICAgICAi
b2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAi
Y3JlYXRlZCI6IDE1MDU3MjQ5MDIsCiAgICAgICAgICAgICAgIm1ldGFkYXRh
Ijoge30sCiAgICAgICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAg
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBs
YW4iLAogICAgICAgICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAg
ICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAg
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZh
bCI6ICJtb250aCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQi
OiAxLAogICAgICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg
ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJu
YW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBk
ZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1v
bnRoIiwKICAgICAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6
IG51bGwsCiAgICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBu
dWxsCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHki
OiAxCiAgICAgICAgICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFz
X21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAg
ICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2Ny
aXB0aW9uPXN1Yl9CUUJPajZJUEN5dmtzTyIKICAgICAgICB9LAogICAgICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAog
ICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy
aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg
ICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAy
MDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg
ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAi
bW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAg
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjog
e30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQg
LSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRl
dXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rl
c2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlz
IjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAg
ICAgICAic3RhcnQiOiAxNTA1NzI0OTAxLAogICAgICAgICJzdGF0dXMiOiAi
YWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAg
ICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51
bGwKICAgICAgfSwKICAgICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCTm5r
VWxjaWkzcjEiLAogICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwK
ICAgICAgICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAg
ICAgICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAg
ICAiY2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5j
ZWxlZF9hdCI6IDE1MDU3MjQ4NDEsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1
NzI0ODM3LAogICAgICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2
ODM3LAogICAgICAgICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ4
MzcsCiAgICAgICAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIs
CiAgICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQi
OiBudWxsLAogICAgICAgICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3Qi
OiAibGlzdCIsCiAgICAgICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewog
ICAgICAgICAgICAgICJpZCI6ICJzaV8xQjNMMHIyc09tZjQ3Tno5S0tkVjF6
c0oiLAogICAgICAgICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0
ZW0iLAogICAgICAgICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDgzOCwKICAg
ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxh
biI6IHsKICAgICAgICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJl
ZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAg
ICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1v
dW50IjogMjAwMCwKICAgICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4
MzEwOCwKICAgICAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg
ICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAg
ICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2
ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9
LAogICAgICAgICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lk
dWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVt
YW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0
YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0
cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAg
ICAgICAgICAgICJxdWFudGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAg
ICAgXSwKICAgICAgICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAg
InRvdGFsX2NvdW50IjogMSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNj
cmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3ViX0JRQk5ua1VsY2lpM3Ix
IgogICAgICAgIH0sCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg
ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog
ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6
IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2
YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l
bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs
IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg
ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg
ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg
ICAicXVhbnRpdHkiOiAxLAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ4Mzcs
CiAgICAgICAgInN0YXR1cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVy
Y2VudCI6IG51bGwsCiAgICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAg
ICAgInRyaWFsX3N0YXJ0IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAg
ICAgImlkIjogInN1Yl9CUUJJSW11VVdicmp6QiIsCiAgICAgICAgIm9iamVj
dCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVf
cGVyY2VudCI6IG51bGwsCiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1
dG9tYXRpY2FsbHkiLAogICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6
IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTUwNTcyNDUwNywKICAg
ICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1cnJlbnRf
cGVyaW9kX2VuZCI6IDE1MDgzMTY1MDMsCiAgICAgICAgImN1cnJlbnRfcGVy
aW9kX3N0YXJ0IjogMTUwNTcyNDUwMywKICAgICAgICAiY3VzdG9tZXIiOiAi
Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxs
LAogICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjog
ewogICAgICAgICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRh
IjogWwogICAgICAgICAgICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFC
M0t2VDJzT21mNDdOejl1M2lNYTVTeiIsCiAgICAgICAgICAgICAgIm9iamVj
dCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0
ZWQiOiAxNTA1NzI0NTAzLAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9
LAogICAgICAgICAgICAgICJwbGFuIjogewogICAgICAgICAgICAgICAgImlk
IjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0
MDQxNzE4MjciLAogICAgICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwK
ICAgICAgICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAg
ICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1
cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAi
bW9udGgiLAogICAgICAgICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwK
ICAgICAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAg
ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6
ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUg
YW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIs
CiAgICAgICAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxs
LAogICAgICAgICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAog
ICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQog
ICAgICAgICAgICB9CiAgICAgICAgICBdLAogICAgICAgICAgImhhc19tb3Jl
IjogZmFsc2UsCiAgICAgICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAg
ICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlv
bj1zdWJfQlFCSUltdVVXYnJqekIiCiAgICAgICAgfSwKICAgICAgICAibGl2
ZW1vZGUiOiBmYWxzZSwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAg
ICAicGxhbiI6IHsKICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJl
ZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAg
ICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwK
ICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJj
dXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVydmFsIjogIm1vbnRo
IiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAi
bGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAog
ICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0
dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQn
ZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw
dG9yIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51
bGwKICAgICAgICB9LAogICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAg
InN0YXJ0IjogMTUwNTcyNDUwMywKICAgICAgICAic3RhdHVzIjogImFjdGl2
ZSIsCiAgICAgICAgInRheF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJp
YWxfZW5kIjogbnVsbCwKICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAg
ICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAic3ViX0JRQkhIUEJqTzU3
M0pXIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAg
ICAgImFwcGxpY2F0aW9uX2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAi
YmlsbGluZyI6ICJjaGFyZ2VfYXV0b21hdGljYWxseSIsCiAgICAgICAgImNh
bmNlbF9hdF9wZXJpb2RfZW5kIjogdHJ1ZSwKICAgICAgICAiY2FuY2VsZWRf
YXQiOiAxNTA1NzI0NDU4LAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDQ1
MiwKICAgICAgICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTUwODMxNjQ1MiwK
ICAgICAgICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNTA1NzI0NDUyLAog
ICAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAg
ICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVs
bCwKICAgICAgICAiaXRlbXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxp
c3QiLAogICAgICAgICAgImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAg
ICAgICAgICAiaWQiOiAic2lfMUIzS3VlMnNPbWY0N056OTJQQ3ZEVVpLIiwK
ICAgICAgICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwK
ICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ0NTMsCiAgICAgICAg
ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICAgInBsYW4iOiB7
CiAgICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQt
c3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAg
ICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgICAgICAgImFtb3VudCI6
IDIwMDAsCiAgICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgs
CiAgICAgICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAg
ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAgICAgICAi
aW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAgICAgImxpdmVtb2Rl
IjogZmFsc2UsCiAgICAgICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAg
ICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAt
IMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1
ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICAgICAgICJzdGF0ZW1l
bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAgICAgICAidHJpYWxf
cGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgICAgICAgfSwKICAgICAgICAg
ICAgICAicXVhbnRpdHkiOiAxCiAgICAgICAgICAgIH0KICAgICAgICAgIF0s
CiAgICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3Rh
bF9jb3VudCI6IDEsCiAgICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRp
b25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9CUUJISFBCak81NzNKVyIKICAg
ICAgICB9LAogICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJt
ZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewogICAgICAgICAgImlk
IjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0
MDQxNzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAg
ICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5
NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAg
ICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2Nv
dW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAg
ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVs
IHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNl
aWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAg
ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRy
aWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1
YW50aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNTA1NzI0NDUyLAogICAg
ICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQi
OiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0
cmlhbF9zdGFydCI6IG51bGwKICAgICAgfQogICAgXSwKICAgICJoYXNfbW9y
ZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogNCwKICAgICJ1cmwiOiAi
L3YxL2N1c3RvbWVycy9jdXNfOEN6TnRNMDhOVmxTR04vc3Vic2NyaXB0aW9u
cyIKICB9Cn0K
http_version:
recorded_at: Mon, 11 Jul 2016 13:15:58 GMT
recorded_at: Mon, 18 Sep 2017 08:55:04 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_8nfbTGGIQRQzx1
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BQBOj6IPCyvksO
body:
encoding: US-ASCII
string: ''
@ -680,9 +950,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -691,11 +961,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:15:59 GMT
- Mon, 18 Sep 2017 08:55:05 GMT
Content-Type:
- application/json
Content-Length:
- '926'
- '1829'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -704,12 +974,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nfbwT9nBtTlrw
- req_5mJe5DBAT3uyMw
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -717,32 +989,52 @@ http_interactions:
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJzdWJfOG5mYlRHR0lRUlF6eDEiLAogICJvYmplY3QiOiAi
ewogICJpZCI6ICJzdWJfQlFCT2o2SVBDeXZrc08iLAogICJvYmplY3QiOiAi
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
dWxsLAogICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5j
ZWxlZF9hdCI6IG51bGwsCiAgImNyZWF0ZWQiOiAxNDY4MjQyOTU2LAogICJj
dXJyZW50X3BlcmlvZF9lbmQiOiAxNDcwOTIxMzU2LAogICJjdXJyZW50X3Bl
cmlvZF9zdGFydCI6IDE0NjgyNDI5NTYsCiAgImN1c3RvbWVyIjogImN1c184
Q3pOdE0wOE5WbFNHTiIsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRf
YXQiOiBudWxsLAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0YSI6
IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVk
dWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9iamVj
dCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0ZWQi
OiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAiaW50
ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwKICAg
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAgICAi
bmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0g
ZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBt
b250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAg
InRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5Ijog
MSwKICAic3RhcnQiOiAxNDY4MjQyOTU2LAogICJzdGF0dXMiOiAiYWN0aXZl
IiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBudWxs
LAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi
Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiBmYWxzZSwKICAiY2FuY2VsZWRfYXQi
OiBudWxsLAogICJjcmVhdGVkIjogMTUwNTcyNDkwMSwKICAiY3VycmVudF9w
ZXJpb2RfZW5kIjogMTUwODMxNjkwMSwKICAiY3VycmVudF9wZXJpb2Rfc3Rh
cnQiOiAxNTA1NzI0OTAxLAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO
VmxTR04iLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGVkX2F0IjogbnVs
bCwKICAiaXRlbXMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRh
dGEiOiBbCiAgICAgIHsKICAgICAgICAiaWQiOiAic2lfMUIzTDF0MnNPbWY0
N056OVlJa1duUmpiIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlv
bl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ5MDIsCiAgICAg
ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog
ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6
IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2
YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l
bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs
IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg
ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg
ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg
ICAicXVhbnRpdHkiOiAxCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi
OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92
MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9CUUJPajZJ
UEN5dmtzTyIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0
YSI6IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt
cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9i
amVjdCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0
ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAi
aW50ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwK
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAg
ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs
IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg
LSBtb250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5
IjogMSwKICAic3RhcnQiOiAxNTA1NzI0OTAxLAogICJzdGF0dXMiOiAiYWN0
aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBu
dWxsLAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
http_version:
recorded_at: Mon, 11 Jul 2016 13:15:59 GMT
recorded_at: Mon, 18 Sep 2017 08:55:05 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_8nfbTGGIQRQzx1?at_period_end=true
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BQBOj6IPCyvksO?at_period_end=true
body:
encoding: US-ASCII
string: ''
@ -758,9 +1050,9 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -769,11 +1061,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Jul 2016 13:16:00 GMT
- Mon, 18 Sep 2017 08:55:06 GMT
Content-Type:
- application/json
Content-Length:
- '931'
- '1834'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -782,12 +1074,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8nfbwqRs1dLP5C
- req_HZJNo9ZE0A7NTg
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -795,27 +1089,47 @@ http_interactions:
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJpZCI6ICJzdWJfOG5mYlRHR0lRUlF6eDEiLAogICJvYmplY3QiOiAi
ewogICJpZCI6ICJzdWJfQlFCT2o2SVBDeXZrc08iLAogICJvYmplY3QiOiAi
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
dWxsLAogICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgImNhbmNl
bGVkX2F0IjogMTQ2ODI0Mjk2MCwKICAiY3JlYXRlZCI6IDE0NjgyNDI5NTYs
CiAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NzA5MjEzNTYsCiAgImN1cnJl
bnRfcGVyaW9kX3N0YXJ0IjogMTQ2ODI0Mjk1NiwKICAiY3VzdG9tZXIiOiAi
Y3VzXzhDek50TTA4TlZsU0dOIiwKICAiZGlzY291bnQiOiBudWxsLAogICJl
bmRlZF9hdCI6IG51bGwsCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFk
YXRhIjoge30sCiAgInBsYW4iOiB7CiAgICAiaWQiOiAibWVuc3VlbC10YXJp
Zi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAi
b2JqZWN0IjogInBsYW4iLAogICAgImFtb3VudCI6IDIwMDAsCiAgICAiY3Jl
YXRlZCI6IDE0NTk3ODMxMDgsCiAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
ICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQiOiAx
LAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7fSwK
ICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFu
dCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxv
aSAtIG1vbnRoIiwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGws
CiAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgfSwKICAicXVhbnRp
dHkiOiAxLAogICJzdGFydCI6IDE0NjgyNDI5NTYsCiAgInN0YXR1cyI6ICJh
Y3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRyaWFsX2VuZCI6
IG51bGwsCiAgInRyaWFsX3N0YXJ0IjogbnVsbAp9Cg==
dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi
Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICJjYW5jZWxlZF9hdCI6
IDE1MDU3MjQ5MDUsCiAgImNyZWF0ZWQiOiAxNTA1NzI0OTAxLAogICJjdXJy
ZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2OTAxLAogICJjdXJyZW50X3Blcmlv
ZF9zdGFydCI6IDE1MDU3MjQ5MDEsCiAgImN1c3RvbWVyIjogImN1c184Q3pO
dE0wOE5WbFNHTiIsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRfYXQi
OiBudWxsLAogICJpdGVtcyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAg
ICAiZGF0YSI6IFsKICAgICAgewogICAgICAgICJpZCI6ICJzaV8xQjNMMXQy
c09tZjQ3Tno5WUlrV25SamIiLAogICAgICAgICJvYmplY3QiOiAic3Vic2Ny
aXB0aW9uX2l0ZW0iLAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDkwMiwK
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh
biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh
dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi
LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp
bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz
ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi
OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1
IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi
LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg
ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog
ICAgICAgICJxdWFudGl0eSI6IDEKICAgICAgfQogICAgXSwKICAgICJoYXNf
bW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogMSwKICAgICJ1cmwi
OiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3ViX0JR
Qk9qNklQQ3l2a3NPIgogIH0sCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1l
dGFkYXRhIjoge30sCiAgInBsYW4iOiB7CiAgICAiaWQiOiAibWVuc3VlbC10
YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg
ICAib2JqZWN0IjogInBsYW4iLAogICAgImFtb3VudCI6IDIwMDAsCiAgICAi
Y3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAiY3VycmVuY3kiOiAidXNkIiwK
ICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQi
OiAxLAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7
fSwKICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVk
aWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2Vt
cGxvaSAtIG1vbnRoIiwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51
bGwsCiAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgfSwKICAicXVh
bnRpdHkiOiAxLAogICJzdGFydCI6IDE1MDU3MjQ5MDEsCiAgInN0YXR1cyI6
ICJhY3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRyaWFsX2Vu
ZCI6IG51bGwsCiAgInRyaWFsX3N0YXJ0IjogbnVsbAp9Cg==
http_version:
recorded_at: Mon, 11 Jul 2016 13:16:00 GMT
recorded_at: Mon, 18 Sep 2017 08:55:06 GMT
recorded_with: VCR 3.0.1

View File

@ -1,67 +1,5 @@
---
http_interactions:
- request:
method: get
uri: https://api.stripe.com/v1/tokens/invalid_card_token
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
response:
status:
code: 400
message: Bad Request
headers:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:47:34 GMT
Content-Type:
- application/json
Content-Length:
- '131'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcVweUogPiUZf
Stripe-Version:
- '2015-10-16'
body:
encoding: UTF-8
string: |
{
"error": {
"type": "invalid_request_error",
"message": "No such token: invalid_card_token",
"param": "token"
}
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:47:34 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX
@ -81,8 +19,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -91,11 +29,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:47:35 GMT
- Mon, 18 Sep 2017 08:54:39 GMT
Content-Type:
- application/json
Content-Length:
- '5504'
- '3521'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -104,12 +42,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcV6gxRsSzUbZ
- req_FQpTWfxasxmQeV
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -123,7 +63,7 @@ http_interactions:
"account_balance": 0,
"created": 1460026822,
"currency": "usd",
"default_source": "card_17z7Ce2sOmf47Nz91IP2CV16",
"default_source": "card_1B3Kvf2sOmf47Nz9casnR7cT",
"delinquent": false,
"description": "Lucile Seguin",
"discount": null,
@ -135,7 +75,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "card_17z7Ce2sOmf47Nz91IP2CV16",
"id": "card_1B3Kvf2sOmf47Nz9casnR7cT",
"object": "card",
"address_city": null,
"address_country": null,
@ -151,7 +91,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -168,16 +108,48 @@ http_interactions:
"object": "list",
"data": [
{
"id": "sub_8FcRgFLyTO4ZeY",
"id": "sub_BQBIpVl9mVtxpX",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1460389442,
"current_period_end": 1462981435,
"current_period_start": 1460389435,
"canceled_at": 1505724520,
"created": 1505724517,
"current_period_end": 1508316517,
"current_period_start": 1505724517,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Kvh2sOmf47Nz9KDhFJgbP",
"object": "subscription_item",
"created": 1505724517,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBIpVl9mVtxpX"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -194,106 +166,7 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1460389435,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8E6nlabIu0FNDK",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": true,
"canceled_at": 1460041071,
"current_period_end": 1462633067,
"current_period_start": 1460041067,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1460041067,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8E694MZ1FBtXBg",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462630683,
"current_period_start": 1460038683,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1460038683,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8E67Z0lSjjVxBn",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462630527,
"current_period_start": 1460038527,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1460038527,
"start": 1505724517,
"status": "active",
"tax_percent": null,
"trial_end": null,
@ -301,18 +174,18 @@ http_interactions:
}
],
"has_more": false,
"total_count": 4,
"total_count": 1,
"url": "/v1/customers/cus_8E2ys9zDZgetWX/subscriptions"
}
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:47:35 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:39 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions
body:
encoding: UTF-8
string: plan=mensuel-standard-month-20160404171519&card=invalid_card_token
string: plan=mensuel-standard-month-20160404171519&source=invalid_card_token
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -326,10 +199,10 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"integration"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '66'
- '68'
response:
status:
code: 400
@ -338,11 +211,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:47:36 GMT
- Mon, 18 Sep 2017 08:54:39 GMT
Content-Type:
- application/json
Content-Length:
- '130'
- '132'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -351,12 +224,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcVzLJ4tiRJHF
- req_VhkGKEe7LIBwBN
Stripe-Version:
- '2015-10-16'
body:
@ -366,9 +241,9 @@ http_interactions:
"error": {
"type": "invalid_request_error",
"message": "No such token: invalid_card_token",
"param": "card"
"param": "source"
}
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:47:36 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:39 GMT
recorded_with: VCR 3.0.1

View File

@ -5,7 +5,7 @@ http_interactions:
uri: https://api.stripe.com/v1/tokens
body:
encoding: UTF-8
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -19,8 +19,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"Sylvain-desktop"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '81'
response:
@ -31,7 +31,7 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:52 GMT
- Mon, 18 Sep 2017 08:54:40 GMT
Content-Type:
- application/json
Content-Length:
@ -44,12 +44,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRua6xeSWJgP
- req_6G0OnaW5Du3hYA
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -58,10 +60,10 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "tok_17z7Ce2sOmf47Nz9tArxQ9hI",
"id": "tok_1B3L1Y2sOmf47Nz9l3feD2Lm",
"object": "token",
"card": {
"id": "card_17z7Ce2sOmf47Nz91IP2CV16",
"id": "card_1B3L1Y2sOmf47Nz9HZTCw8kX",
"object": "card",
"address_city": null,
"address_country": null,
@ -76,7 +78,7 @@ http_interactions:
"cvc_check": "unchecked",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -84,104 +86,14 @@ http_interactions:
"name": null,
"tokenization_method": null
},
"client_ip": "90.42.87.235",
"created": 1460389432,
"client_ip": "90.112.59.71",
"created": 1505724880,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:52 GMT
- request:
method: get
uri: https://api.stripe.com/v1/tokens/tok_17z7Ce2sOmf47Nz9tArxQ9hI
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
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"Sylvain-desktop"}'
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:53 GMT
Content-Type:
- application/json
Content-Length:
- '779'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRynHazNvAUI
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
- max-age=31556926; includeSubDomains
body:
encoding: UTF-8
string: |
{
"id": "tok_17z7Ce2sOmf47Nz9tArxQ9hI",
"object": "token",
"card": {
"id": "card_17z7Ce2sOmf47Nz91IP2CV16",
"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": 2017,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
},
"client_ip": "90.42.87.235",
"created": 1460389432,
"livemode": false,
"type": "card",
"used": false
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:53 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:40 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX
@ -201,8 +113,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"Sylvain-desktop"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -211,11 +123,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:54 GMT
- Mon, 18 Sep 2017 08:54:41 GMT
Content-Type:
- application/json
Content-Length:
- '4479'
- '3521'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -224,12 +136,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRHlSiyZJDhh
- req_XW2aolYvHK078K
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -243,7 +157,7 @@ http_interactions:
"account_balance": 0,
"created": 1460026822,
"currency": "usd",
"default_source": "card_17xeZp2sOmf47Nz9Nw38pLma",
"default_source": "card_1B3Kvf2sOmf47Nz9casnR7cT",
"delinquent": false,
"description": "Lucile Seguin",
"discount": null,
@ -255,7 +169,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "card_17xeZp2sOmf47Nz9Nw38pLma",
"id": "card_1B3Kvf2sOmf47Nz9casnR7cT",
"object": "card",
"address_city": null,
"address_country": null,
@ -271,7 +185,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -288,16 +202,48 @@ http_interactions:
"object": "list",
"data": [
{
"id": "sub_8E6nlabIu0FNDK",
"id": "sub_BQBIpVl9mVtxpX",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1460041071,
"current_period_end": 1462633067,
"current_period_start": 1460041067,
"canceled_at": 1505724520,
"created": 1505724517,
"current_period_end": 1508316517,
"current_period_start": 1505724517,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Kvh2sOmf47Nz9KDhFJgbP",
"object": "subscription_item",
"created": 1505724517,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBIpVl9mVtxpX"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -314,73 +260,7 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1460041067,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8E694MZ1FBtXBg",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462630683,
"current_period_start": 1460038683,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1460038683,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8E67Z0lSjjVxBn",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462630527,
"current_period_start": 1460038527,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1460038527,
"start": 1505724517,
"status": "active",
"tax_percent": null,
"trial_end": null,
@ -388,18 +268,18 @@ http_interactions:
}
],
"has_more": false,
"total_count": 3,
"total_count": 1,
"url": "/v1/customers/cus_8E2ys9zDZgetWX/subscriptions"
}
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:54 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:41 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions
body:
encoding: UTF-8
string: plan=mensuel-standard-month-20160404171519&card=tok_17z7Ce2sOmf47Nz9tArxQ9hI
string: plan=mensuel-standard-month-20160404171519&source=tok_1B3L1Y2sOmf47Nz9l3feD2Lm
headers:
Accept:
- "*/*; q=0.5, application/xml"
@ -413,10 +293,10 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"Sylvain-desktop"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
Content-Length:
- '76'
- '78'
response:
status:
code: 200
@ -425,11 +305,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:43:55 GMT
- Mon, 18 Sep 2017 08:54:43 GMT
Content-Type:
- application/json
Content-Length:
- '821'
- '1711'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -438,12 +318,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcR3oaI9ppgXN
- req_ZlSya1UApFeCyv
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -452,16 +334,48 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "sub_8FcRgFLyTO4ZeY",
"id": "sub_BQBOTaP8fJCkvS",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": <%= (DateTime.now + 1.month).to_i %>,
"current_period_start": <%= DateTime.now.to_i %>,
"created": 1505724882,
"current_period_end": 1508316882,
"current_period_start": 1505724882,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L1a2sOmf47Nz9iICllqBU",
"object": "subscription_item",
"created": 1505724883,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBOTaP8fJCkvS"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -478,14 +392,14 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": <%= DateTime.now.to_i %>,
"start": 1505724882,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:43:55 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:43 GMT
- request:
method: get
uri: https://api.stripe.com/v1/invoices?customer=cus_8E2ys9zDZgetWX&limit=1
@ -505,8 +419,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"Sylvain-desktop"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -515,11 +429,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:44:00 GMT
- Mon, 18 Sep 2017 08:54:44 GMT
Content-Type:
- application/json
Content-Length:
- '2207'
- '2347'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -528,12 +442,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRYAHuZb5cyO
- req_ZvJcZhrl16MGqh
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -545,17 +461,18 @@ http_interactions:
"object": "list",
"data": [
{
"id": "in_17z7Ch2sOmf47Nz9q4hc7msO",
"id": "in_1B3L1a2sOmf47Nz9fZGiMpp8",
"object": "invoice",
"amount_due": 3000,
"application_fee": null,
"attempt_count": 1,
"attempted": true,
"charge": "ch_17z7Ch2sOmf47Nz9HcBWY6sb",
"billing": "charge_automatically",
"charge": "ch_1B3L1a2sOmf47Nz9MVv4scuh",
"closed": true,
"currency": "usd",
"customer": "cus_8E2ys9zDZgetWX",
"date": 1460389435,
"date": 1505724882,
"description": null,
"discount": null,
"ending_balance": 0,
@ -564,7 +481,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "sub_8FcRgFLyTO4ZeY",
"id": "sub_BQBOTaP8fJCkvS",
"object": "line_item",
"amount": 3000,
"currency": "usd",
@ -573,8 +490,8 @@ http_interactions:
"livemode": false,
"metadata": {},
"period": {
"start": 1460389435,
"end": 1462981435
"start": 1505724882,
"end": 1508316882
},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -593,35 +510,37 @@ http_interactions:
"proration": false,
"quantity": 1,
"subscription": null,
"subscription_item": "si_1B3L1a2sOmf47Nz9iICllqBU",
"type": "subscription"
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/in_17z7Ch2sOmf47Nz9q4hc7msO/lines"
"url": "/v1/invoices/in_1B3L1a2sOmf47Nz9fZGiMpp8/lines"
},
"livemode": false,
"metadata": {},
"next_payment_attempt": null,
"number": "737bcc32b8-0008",
"paid": true,
"period_end": 1460389435,
"period_start": 1460038527,
"period_end": 1505724882,
"period_start": 1505724517,
"receipt_number": null,
"starting_balance": 0,
"statement_descriptor": null,
"subscription": "sub_8FcRgFLyTO4ZeY",
"subscription": "sub_BQBOTaP8fJCkvS",
"subtotal": 3000,
"tax": null,
"tax_percent": null,
"total": 3000,
"webhooks_delivered_at": 1460389435
"webhooks_delivered_at": 1505724883
}
],
"has_more": true,
"url": "/v1/invoices"
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:44:00 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:44 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX
@ -641,8 +560,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"Sylvain-desktop"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -651,11 +570,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:44:00 GMT
- Mon, 18 Sep 2017 08:54:45 GMT
Content-Type:
- application/json
Content-Length:
- '5499'
- '5623'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -664,12 +583,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRYEKmK6OB6n
- req_kGnLatD69vMmSM
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -683,7 +604,7 @@ http_interactions:
"account_balance": 0,
"created": 1460026822,
"currency": "usd",
"default_source": "card_17z7Ce2sOmf47Nz91IP2CV16",
"default_source": "card_1B3L1Y2sOmf47Nz9HZTCw8kX",
"delinquent": false,
"description": "Lucile Seguin",
"discount": null,
@ -695,7 +616,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "card_17z7Ce2sOmf47Nz91IP2CV16",
"id": "card_1B3L1Y2sOmf47Nz9HZTCw8kX",
"object": "card",
"address_city": null,
"address_country": null,
@ -711,7 +632,7 @@ http_interactions:
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 4,
"exp_year": 2017,
"exp_year": 2018,
"fingerprint": "o52jybR7bnmNn6AT",
"funding": "credit",
"last4": "4242",
@ -728,16 +649,48 @@ http_interactions:
"object": "list",
"data": [
{
"id": "sub_8FcRgFLyTO4ZeY",
"id": "sub_BQBOTaP8fJCkvS",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462981435,
"current_period_start": 1460389435,
"created": 1505724882,
"current_period_end": 1508316882,
"current_period_start": 1505724882,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L1a2sOmf47Nz9iICllqBU",
"object": "subscription_item",
"created": 1505724883,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBOTaP8fJCkvS"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -754,23 +707,55 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1460389435,
"start": 1505724882,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8E6nlabIu0FNDK",
"id": "sub_BQBIpVl9mVtxpX",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1460041071,
"current_period_end": 1462633067,
"current_period_start": 1460041067,
"canceled_at": 1505724520,
"created": 1505724517,
"current_period_end": 1508316517,
"current_period_start": 1505724517,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3Kvh2sOmf47Nz9KDhFJgbP",
"object": "subscription_item",
"created": 1505724517,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBIpVl9mVtxpX"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -787,73 +772,7 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1460041067,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8E694MZ1FBtXBg",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462630683,
"current_period_start": 1460038683,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1460038683,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
},
{
"id": "sub_8E67Z0lSjjVxBn",
"object": "subscription",
"application_fee_percent": null,
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462630527,
"current_period_start": 1460038527,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1,
"start": 1460038527,
"start": 1505724517,
"status": "active",
"tax_percent": null,
"trial_end": null,
@ -861,15 +780,15 @@ http_interactions:
}
],
"has_more": false,
"total_count": 4,
"total_count": 2,
"url": "/v1/customers/cus_8E2ys9zDZgetWX/subscriptions"
}
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:44:01 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:45 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions/sub_8FcRgFLyTO4ZeY
uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions/sub_BQBOTaP8fJCkvS
body:
encoding: US-ASCII
string: ''
@ -886,8 +805,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"Sylvain-desktop"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -896,11 +815,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:44:01 GMT
- Mon, 18 Sep 2017 08:54:47 GMT
Content-Type:
- application/json
Content-Length:
- '821'
- '1711'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -909,12 +828,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRuKDuUfa7Gd
- req_3Gq0kC1OrS8h9x
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -923,16 +844,48 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "sub_8FcRgFLyTO4ZeY",
"id": "sub_BQBOTaP8fJCkvS",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": false,
"canceled_at": null,
"current_period_end": 1462981435,
"current_period_start": 1460389435,
"created": 1505724882,
"current_period_end": 1508316882,
"current_period_start": 1505724882,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L1a2sOmf47Nz9iICllqBU",
"object": "subscription_item",
"created": 1505724883,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBOTaP8fJCkvS"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -949,17 +902,17 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1460389435,
"start": 1505724882,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:44:01 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:47 GMT
- request:
method: delete
uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions/sub_8FcRgFLyTO4ZeY?at_period_end=true
uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions/sub_BQBOTaP8fJCkvS?at_period_end=true
body:
encoding: US-ASCII
string: ''
@ -976,8 +929,8 @@ http_interactions:
- application/x-www-form-urlencoded
X-Stripe-Client-User-Agent:
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP
PREEMPT Thu Mar 10 07:38:19 CET 2016","hostname":"Sylvain-desktop"}'
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}'
response:
status:
code: 200
@ -986,11 +939,11 @@ http_interactions:
Server:
- nginx
Date:
- Mon, 11 Apr 2016 15:44:02 GMT
- Mon, 18 Sep 2017 08:54:47 GMT
Content-Type:
- application/json
Content-Length:
- '826'
- '1716'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
@ -999,12 +952,14 @@ http_interactions:
- GET, POST, HEAD, OPTIONS, DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Request-Id:
- req_8FcRLf7OAD4RGL
- req_CfN8HUbdYGgyFF
Stripe-Version:
- '2015-10-16'
Strict-Transport-Security:
@ -1013,16 +968,48 @@ http_interactions:
encoding: UTF-8
string: |
{
"id": "sub_8FcRgFLyTO4ZeY",
"id": "sub_BQBOTaP8fJCkvS",
"object": "subscription",
"application_fee_percent": null,
"billing": "charge_automatically",
"cancel_at_period_end": true,
"canceled_at": 1460389442,
"current_period_end": 1462981435,
"current_period_start": 1460389435,
"canceled_at": 1505724887,
"created": 1505724882,
"current_period_end": 1508316882,
"current_period_start": 1505724882,
"customer": "cus_8E2ys9zDZgetWX",
"discount": null,
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_1B3L1a2sOmf47Nz9iICllqBU",
"object": "subscription_item",
"created": 1505724883,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
"object": "plan",
"amount": 3000,
"created": 1459782921,
"currency": "usd",
"interval": "month",
"interval_count": 1,
"livemode": false,
"metadata": {},
"name": "Mensuel - standard, association - month",
"statement_descriptor": null,
"trial_period_days": null
},
"quantity": 1
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/subscription_items?subscription=sub_BQBOTaP8fJCkvS"
},
"livemode": false,
"metadata": {},
"plan": {
"id": "mensuel-standard-month-20160404171519",
@ -1039,12 +1026,12 @@ http_interactions:
"trial_period_days": null
},
"quantity": 1,
"start": 1460389435,
"start": 1505724882,
"status": "active",
"tax_percent": null,
"trial_end": null,
"trial_start": null
}
http_version:
recorded_at: Mon, 11 Apr 2016 15:44:02 GMT
http_version:
recorded_at: Mon, 18 Sep 2017 08:54:48 GMT
recorded_with: VCR 3.0.1