Commit ed39b0bd authored by Alexander Mamonchik's avatar Alexander Mamonchik
Browse files

Merge pull request #207 from charitywater/card-to-source

Updated default webhook fixtures to use “source” instead of “card”
parents 6ad891de 77fbe56e
......@@ -14,7 +14,7 @@
"amount": 1000,
"currency": "usd",
"refunded": false,
"card": {
"source": {
"id": "cc_00000000000000",
"object": "card",
"last4": "4242",
......
......@@ -14,7 +14,7 @@
"amount": 1000,
"currency": "usd",
"refunded": true,
"card": {
"source": {
"id": "cc_00000000000000",
"object": "card",
"last4": "4242",
......
......@@ -14,7 +14,7 @@
"amount": 1000,
"currency": "usd",
"refunded": false,
"card": {
"source": {
"id": "cc_00000000000000",
"object": "card",
"last4": "4242",
......
......@@ -18,7 +18,7 @@
"subscription": null,
"discount": null,
"account_balance": 0,
"cards": {
"sources": {
"object": "list",
"count": 1,
"url": "/v1/customers/cus_2I2AhGQOPmEFeu/cards",
......
......@@ -18,7 +18,7 @@
"subscription": null,
"discount": null,
"account_balance": 0,
"cards": {
"sources": {
"object": "list",
"count": 1,
"url": "/v1/customers/cus_2I2AhGQOPmEFeu/cards",
......@@ -48,7 +48,7 @@
}
]
},
"default_card": "cc_2I2akIhmladin5"
"default_source": "cc_2I2akIhmladin5"
},
"previous_attributes": {
"description": "Old description"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment