From 41f0ac6f233a74cd4214bcbfc40dc4f6ef3599f0 Mon Sep 17 00:00:00 2001 From: Shaun Walker Date: Fri, 3 Jun 2016 11:45:01 +0100 Subject: [PATCH] Add `user_id` top level field so complies with Connect endpoint webhooks --- .../2016-03-07/account.external_account.created.json | 3 ++- .../2016-03-07/account.external_account.deleted.json | 3 ++- .../2016-03-07/account.external_account.updated.json | 3 ++- src/webhooks/2016-03-07/account.updated.json | 3 ++- src/webhooks/2016-03-07/balance.available.json | 3 ++- src/webhooks/2016-03-07/bitcoin.receiver.created.json | 3 ++- src/webhooks/2016-03-07/bitcoin.receiver.filled.json | 3 ++- .../2016-03-07/bitcoin.receiver.transaction.created.json | 3 ++- src/webhooks/2016-03-07/bitcoin.receiver.updated.json | 3 ++- src/webhooks/2016-03-07/charge.captured.json | 3 ++- src/webhooks/2016-03-07/charge.dispute.closed.json | 3 ++- src/webhooks/2016-03-07/charge.dispute.created.json | 3 ++- src/webhooks/2016-03-07/charge.dispute.funds_reinstated.json | 3 ++- src/webhooks/2016-03-07/charge.dispute.funds_withdrawn.json | 3 ++- src/webhooks/2016-03-07/charge.dispute.updated.json | 3 ++- src/webhooks/2016-03-07/charge.failed.json | 3 ++- src/webhooks/2016-03-07/charge.refunded.json | 3 ++- src/webhooks/2016-03-07/charge.succeeded.json | 3 ++- src/webhooks/2016-03-07/charge.updated.json | 3 ++- src/webhooks/2016-03-07/coupon.created.json | 3 ++- src/webhooks/2016-03-07/coupon.deleted.json | 3 ++- src/webhooks/2016-03-07/coupon.updated.json | 3 ++- src/webhooks/2016-03-07/customer.bank_account.deleted.json | 3 ++- src/webhooks/2016-03-07/customer.created.json | 3 ++- src/webhooks/2016-03-07/customer.deleted.json | 3 ++- src/webhooks/2016-03-07/customer.discount.created.json | 3 ++- src/webhooks/2016-03-07/customer.discount.deleted.json | 3 ++- src/webhooks/2016-03-07/customer.discount.updated.json | 3 ++- src/webhooks/2016-03-07/customer.source.created.json | 3 ++- src/webhooks/2016-03-07/customer.source.deleted.json | 3 ++- src/webhooks/2016-03-07/customer.source.updated.json | 3 ++- src/webhooks/2016-03-07/customer.subscription.created.json | 3 ++- src/webhooks/2016-03-07/customer.subscription.deleted.json | 3 ++- .../2016-03-07/customer.subscription.trial_will_end.json | 3 ++- src/webhooks/2016-03-07/customer.subscription.updated.json | 3 ++- src/webhooks/2016-03-07/customer.updated.json | 3 ++- src/webhooks/2016-03-07/invoice.created.json | 3 ++- src/webhooks/2016-03-07/invoice.payment_failed.json | 3 ++- src/webhooks/2016-03-07/invoice.payment_succeeded.json | 3 ++- src/webhooks/2016-03-07/invoice.updated.json | 3 ++- src/webhooks/2016-03-07/invoiceitem.created.json | 3 ++- src/webhooks/2016-03-07/invoiceitem.deleted.json | 3 ++- src/webhooks/2016-03-07/invoiceitem.updated.json | 5 ++--- src/webhooks/2016-03-07/order.created.json | 3 ++- src/webhooks/2016-03-07/order.payment_failed.json | 3 ++- src/webhooks/2016-03-07/order.payment_succeeded.json | 3 ++- src/webhooks/2016-03-07/order.updated.json | 3 ++- src/webhooks/2016-03-07/plan.created.json | 3 ++- src/webhooks/2016-03-07/plan.deleted.json | 3 ++- src/webhooks/2016-03-07/plan.updated.json | 3 ++- src/webhooks/2016-03-07/product.created.json | 3 ++- src/webhooks/2016-03-07/product.deleted.json | 3 ++- src/webhooks/2016-03-07/product.updated.json | 3 ++- src/webhooks/2016-03-07/recipient.created.json | 3 ++- src/webhooks/2016-03-07/recipient.deleted.json | 3 ++- src/webhooks/2016-03-07/recipient.updated.json | 3 ++- src/webhooks/2016-03-07/sku.created.json | 3 ++- src/webhooks/2016-03-07/sku.deleted.json | 3 ++- src/webhooks/2016-03-07/sku.updated.json | 3 ++- src/webhooks/2016-03-07/transfer.created.json | 3 ++- src/webhooks/2016-03-07/transfer.failed.json | 3 ++- src/webhooks/2016-03-07/transfer.paid.json | 3 ++- src/webhooks/2016-03-07/transfer.reversed.json | 3 ++- src/webhooks/2016-03-07/transfer.updated.json | 3 ++- 64 files changed, 128 insertions(+), 66 deletions(-) diff --git a/src/webhooks/2016-03-07/account.external_account.created.json b/src/webhooks/2016-03-07/account.external_account.created.json index f937c56..51d6c2f 100644 --- a/src/webhooks/2016-03-07/account.external_account.created.json +++ b/src/webhooks/2016-03-07/account.external_account.created.json @@ -24,5 +24,6 @@ "routing_number": "110000000", "status": "new" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/account.external_account.deleted.json b/src/webhooks/2016-03-07/account.external_account.deleted.json index f7c86c8..03f9fe7 100644 --- a/src/webhooks/2016-03-07/account.external_account.deleted.json +++ b/src/webhooks/2016-03-07/account.external_account.deleted.json @@ -24,5 +24,6 @@ "routing_number": "110000000", "status": "new" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/account.external_account.updated.json b/src/webhooks/2016-03-07/account.external_account.updated.json index 89e3d5a..c53643e 100644 --- a/src/webhooks/2016-03-07/account.external_account.updated.json +++ b/src/webhooks/2016-03-07/account.external_account.updated.json @@ -25,5 +25,6 @@ "status": "new" }, "previous_attributes": null - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/account.updated.json b/src/webhooks/2016-03-07/account.updated.json index 16b937b..95a5e46 100644 --- a/src/webhooks/2016-03-07/account.updated.json +++ b/src/webhooks/2016-03-07/account.updated.json @@ -149,5 +149,6 @@ "due_by": null } } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/balance.available.json b/src/webhooks/2016-03-07/balance.available.json index 60ad45d..bcc9fcb 100644 --- a/src/webhooks/2016-03-07/balance.available.json +++ b/src/webhooks/2016-03-07/balance.available.json @@ -30,5 +30,6 @@ } ] } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/bitcoin.receiver.created.json b/src/webhooks/2016-03-07/bitcoin.receiver.created.json index 4791823..16f5a93 100644 --- a/src/webhooks/2016-03-07/bitcoin.receiver.created.json +++ b/src/webhooks/2016-03-07/bitcoin.receiver.created.json @@ -29,5 +29,6 @@ "uncaptured_funds": false, "used_for_payment": false } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/bitcoin.receiver.filled.json b/src/webhooks/2016-03-07/bitcoin.receiver.filled.json index 8515019..dbd014a 100644 --- a/src/webhooks/2016-03-07/bitcoin.receiver.filled.json +++ b/src/webhooks/2016-03-07/bitcoin.receiver.filled.json @@ -29,5 +29,6 @@ "uncaptured_funds": false, "used_for_payment": false } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/bitcoin.receiver.transaction.created.json b/src/webhooks/2016-03-07/bitcoin.receiver.transaction.created.json index f11846e..ce54bd9 100644 --- a/src/webhooks/2016-03-07/bitcoin.receiver.transaction.created.json +++ b/src/webhooks/2016-03-07/bitcoin.receiver.transaction.created.json @@ -17,5 +17,6 @@ "currency": "usd", "receiver": "btcrcv_17nCME2eZvKYlo2CDDfUvLTW" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/bitcoin.receiver.updated.json b/src/webhooks/2016-03-07/bitcoin.receiver.updated.json index 4f12a3d..38344b5 100644 --- a/src/webhooks/2016-03-07/bitcoin.receiver.updated.json +++ b/src/webhooks/2016-03-07/bitcoin.receiver.updated.json @@ -30,5 +30,6 @@ "used_for_payment": false }, "previous_attributes": null - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/charge.captured.json b/src/webhooks/2016-03-07/charge.captured.json index aa580fa..1408351 100644 --- a/src/webhooks/2016-03-07/charge.captured.json +++ b/src/webhooks/2016-03-07/charge.captured.json @@ -69,5 +69,6 @@ "statement_descriptor": null, "status": "succeeded" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/charge.dispute.closed.json b/src/webhooks/2016-03-07/charge.dispute.closed.json index 41330b5..4e73b4f 100644 --- a/src/webhooks/2016-03-07/charge.dispute.closed.json +++ b/src/webhooks/2016-03-07/charge.dispute.closed.json @@ -57,5 +57,6 @@ "reason": "general", "status": "won" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/charge.dispute.created.json b/src/webhooks/2016-03-07/charge.dispute.created.json index 794b5f9..0073e96 100644 --- a/src/webhooks/2016-03-07/charge.dispute.created.json +++ b/src/webhooks/2016-03-07/charge.dispute.created.json @@ -57,5 +57,6 @@ "reason": "general", "status": "needs_response" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/charge.dispute.funds_reinstated.json b/src/webhooks/2016-03-07/charge.dispute.funds_reinstated.json index 6efe7eb..c013bdf 100644 --- a/src/webhooks/2016-03-07/charge.dispute.funds_reinstated.json +++ b/src/webhooks/2016-03-07/charge.dispute.funds_reinstated.json @@ -57,5 +57,6 @@ "reason": "general", "status": "needs_response" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/charge.dispute.funds_withdrawn.json b/src/webhooks/2016-03-07/charge.dispute.funds_withdrawn.json index d147b30..8e89c68 100644 --- a/src/webhooks/2016-03-07/charge.dispute.funds_withdrawn.json +++ b/src/webhooks/2016-03-07/charge.dispute.funds_withdrawn.json @@ -57,5 +57,6 @@ "reason": "general", "status": "needs_response" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/charge.dispute.updated.json b/src/webhooks/2016-03-07/charge.dispute.updated.json index 8e05e33..b151e08 100644 --- a/src/webhooks/2016-03-07/charge.dispute.updated.json +++ b/src/webhooks/2016-03-07/charge.dispute.updated.json @@ -88,5 +88,6 @@ "uncategorized_text": "Old uncategorized text" } } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/charge.failed.json b/src/webhooks/2016-03-07/charge.failed.json index 75070a1..eaa269a 100644 --- a/src/webhooks/2016-03-07/charge.failed.json +++ b/src/webhooks/2016-03-07/charge.failed.json @@ -69,5 +69,6 @@ "statement_descriptor": null, "status": "succeeded" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/charge.refunded.json b/src/webhooks/2016-03-07/charge.refunded.json index 215bfb7..35e6ec2 100644 --- a/src/webhooks/2016-03-07/charge.refunded.json +++ b/src/webhooks/2016-03-07/charge.refunded.json @@ -83,5 +83,6 @@ "status": "succeeded", "fee": 0 } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/charge.succeeded.json b/src/webhooks/2016-03-07/charge.succeeded.json index 7588889..9bc7930 100644 --- a/src/webhooks/2016-03-07/charge.succeeded.json +++ b/src/webhooks/2016-03-07/charge.succeeded.json @@ -69,5 +69,6 @@ "statement_descriptor": null, "status": "succeeded" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/charge.updated.json b/src/webhooks/2016-03-07/charge.updated.json index bf0b7ce..e2434e2 100644 --- a/src/webhooks/2016-03-07/charge.updated.json +++ b/src/webhooks/2016-03-07/charge.updated.json @@ -72,5 +72,6 @@ "previous_attributes": { "description": "Old description" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/coupon.created.json b/src/webhooks/2016-03-07/coupon.created.json index 3e5b4bc..c4224a9 100644 --- a/src/webhooks/2016-03-07/coupon.created.json +++ b/src/webhooks/2016-03-07/coupon.created.json @@ -24,5 +24,6 @@ "times_redeemed": 0, "valid": true } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/coupon.deleted.json b/src/webhooks/2016-03-07/coupon.deleted.json index 0c011a0..9e4cddd 100644 --- a/src/webhooks/2016-03-07/coupon.deleted.json +++ b/src/webhooks/2016-03-07/coupon.deleted.json @@ -24,5 +24,6 @@ "times_redeemed": 0, "valid": true } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/coupon.updated.json b/src/webhooks/2016-03-07/coupon.updated.json index a7a16bf..859e29a 100644 --- a/src/webhooks/2016-03-07/coupon.updated.json +++ b/src/webhooks/2016-03-07/coupon.updated.json @@ -25,5 +25,6 @@ "valid": true }, "previous_attributes": null - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.bank_account.deleted.json b/src/webhooks/2016-03-07/customer.bank_account.deleted.json index 49f5030..b60b877 100644 --- a/src/webhooks/2016-03-07/customer.bank_account.deleted.json +++ b/src/webhooks/2016-03-07/customer.bank_account.deleted.json @@ -24,5 +24,6 @@ "routing_number": "110000000", "status": "new" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.created.json b/src/webhooks/2016-03-07/customer.created.json index cff2218..419e9ed 100644 --- a/src/webhooks/2016-03-07/customer.created.json +++ b/src/webhooks/2016-03-07/customer.created.json @@ -37,5 +37,6 @@ "url": "/v1/customers/cus_83iOlPDJTWgAi8/subscriptions" } } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.deleted.json b/src/webhooks/2016-03-07/customer.deleted.json index 99edaa8..b8d63c7 100644 --- a/src/webhooks/2016-03-07/customer.deleted.json +++ b/src/webhooks/2016-03-07/customer.deleted.json @@ -37,5 +37,6 @@ "url": "/v1/customers/cus_83iO9cgahpBU5w/subscriptions" } } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.discount.created.json b/src/webhooks/2016-03-07/customer.discount.created.json index f0334ba..20a20e5 100644 --- a/src/webhooks/2016-03-07/customer.discount.created.json +++ b/src/webhooks/2016-03-07/customer.discount.created.json @@ -31,5 +31,6 @@ "start": 1457643966, "subscription": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.discount.deleted.json b/src/webhooks/2016-03-07/customer.discount.deleted.json index 32ee2dd..3475988 100644 --- a/src/webhooks/2016-03-07/customer.discount.deleted.json +++ b/src/webhooks/2016-03-07/customer.discount.deleted.json @@ -31,5 +31,6 @@ "start": 1457643987, "subscription": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.discount.updated.json b/src/webhooks/2016-03-07/customer.discount.updated.json index 598f46e..f02ead1 100644 --- a/src/webhooks/2016-03-07/customer.discount.updated.json +++ b/src/webhooks/2016-03-07/customer.discount.updated.json @@ -49,5 +49,6 @@ "valid": true } } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.source.created.json b/src/webhooks/2016-03-07/customer.source.created.json index 68dd678..603f852 100644 --- a/src/webhooks/2016-03-07/customer.source.created.json +++ b/src/webhooks/2016-03-07/customer.source.created.json @@ -32,5 +32,6 @@ "name": null, "tokenization_method": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.source.deleted.json b/src/webhooks/2016-03-07/customer.source.deleted.json index 5a98789..6700ec2 100644 --- a/src/webhooks/2016-03-07/customer.source.deleted.json +++ b/src/webhooks/2016-03-07/customer.source.deleted.json @@ -32,5 +32,6 @@ "name": null, "tokenization_method": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.source.updated.json b/src/webhooks/2016-03-07/customer.source.updated.json index 5a79327..5df7ff7 100644 --- a/src/webhooks/2016-03-07/customer.source.updated.json +++ b/src/webhooks/2016-03-07/customer.source.updated.json @@ -33,5 +33,6 @@ "tokenization_method": null }, "previous_attributes": null - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.subscription.created.json b/src/webhooks/2016-03-07/customer.subscription.created.json index 06ad2bd..815a61a 100644 --- a/src/webhooks/2016-03-07/customer.subscription.created.json +++ b/src/webhooks/2016-03-07/customer.subscription.created.json @@ -41,5 +41,6 @@ "trial_end": null, "trial_start": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.subscription.deleted.json b/src/webhooks/2016-03-07/customer.subscription.deleted.json index dab8253..c7e02d1 100644 --- a/src/webhooks/2016-03-07/customer.subscription.deleted.json +++ b/src/webhooks/2016-03-07/customer.subscription.deleted.json @@ -41,5 +41,6 @@ "trial_end": null, "trial_start": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.subscription.trial_will_end.json b/src/webhooks/2016-03-07/customer.subscription.trial_will_end.json index 1a6c3c3..d773254 100644 --- a/src/webhooks/2016-03-07/customer.subscription.trial_will_end.json +++ b/src/webhooks/2016-03-07/customer.subscription.trial_will_end.json @@ -41,5 +41,6 @@ "trial_end": 1457897775, "trial_start": 1457638575 } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.subscription.updated.json b/src/webhooks/2016-03-07/customer.subscription.updated.json index e1128a5..df5c32e 100644 --- a/src/webhooks/2016-03-07/customer.subscription.updated.json +++ b/src/webhooks/2016-03-07/customer.subscription.updated.json @@ -57,5 +57,6 @@ "trial_period_days": null } } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/customer.updated.json b/src/webhooks/2016-03-07/customer.updated.json index 8fa0c88..5546295 100644 --- a/src/webhooks/2016-03-07/customer.updated.json +++ b/src/webhooks/2016-03-07/customer.updated.json @@ -40,5 +40,6 @@ "previous_attributes": { "description": "Old description" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/invoice.created.json b/src/webhooks/2016-03-07/invoice.created.json index 01b6c6e..c4831bb 100644 --- a/src/webhooks/2016-03-07/invoice.created.json +++ b/src/webhooks/2016-03-07/invoice.created.json @@ -79,5 +79,6 @@ "total": 0, "webhooks_delivered_at": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/invoice.payment_failed.json b/src/webhooks/2016-03-07/invoice.payment_failed.json index 7ce4671..7d366f2 100644 --- a/src/webhooks/2016-03-07/invoice.payment_failed.json +++ b/src/webhooks/2016-03-07/invoice.payment_failed.json @@ -79,5 +79,6 @@ "total": 0, "webhooks_delivered_at": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/invoice.payment_succeeded.json b/src/webhooks/2016-03-07/invoice.payment_succeeded.json index b8113e3..45dcf5a 100644 --- a/src/webhooks/2016-03-07/invoice.payment_succeeded.json +++ b/src/webhooks/2016-03-07/invoice.payment_succeeded.json @@ -79,5 +79,6 @@ "total": 0, "webhooks_delivered_at": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/invoice.updated.json b/src/webhooks/2016-03-07/invoice.updated.json index f4e0e85..bb5d6e1 100644 --- a/src/webhooks/2016-03-07/invoice.updated.json +++ b/src/webhooks/2016-03-07/invoice.updated.json @@ -82,5 +82,6 @@ "previous_attributes": { "lines": [] } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/invoiceitem.created.json b/src/webhooks/2016-03-07/invoiceitem.created.json index 9ac7d78..99ee5a7 100644 --- a/src/webhooks/2016-03-07/invoiceitem.created.json +++ b/src/webhooks/2016-03-07/invoiceitem.created.json @@ -29,5 +29,6 @@ "quantity": null, "subscription": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/invoiceitem.deleted.json b/src/webhooks/2016-03-07/invoiceitem.deleted.json index 4392db7..7c17dfa 100644 --- a/src/webhooks/2016-03-07/invoiceitem.deleted.json +++ b/src/webhooks/2016-03-07/invoiceitem.deleted.json @@ -29,5 +29,6 @@ "quantity": null, "subscription": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/invoiceitem.updated.json b/src/webhooks/2016-03-07/invoiceitem.updated.json index 495ff08..d787782 100644 --- a/src/webhooks/2016-03-07/invoiceitem.updated.json +++ b/src/webhooks/2016-03-07/invoiceitem.updated.json @@ -32,7 +32,6 @@ "previous_attributes": { "amount": 2121 } - } + }, + "user_id": "acct_0000000000000000" } -Response -ok diff --git a/src/webhooks/2016-03-07/order.created.json b/src/webhooks/2016-03-07/order.created.json index 0f347c6..77c25b4 100644 --- a/src/webhooks/2016-03-07/order.created.json +++ b/src/webhooks/2016-03-07/order.created.json @@ -50,5 +50,6 @@ "status_transitions": null, "updated": 1457644387 } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/order.payment_failed.json b/src/webhooks/2016-03-07/order.payment_failed.json index 65f7f08..53bee6d 100644 --- a/src/webhooks/2016-03-07/order.payment_failed.json +++ b/src/webhooks/2016-03-07/order.payment_failed.json @@ -50,5 +50,6 @@ "status_transitions": null, "updated": 1457644409 } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/order.payment_succeeded.json b/src/webhooks/2016-03-07/order.payment_succeeded.json index 47f2155..9878f47 100644 --- a/src/webhooks/2016-03-07/order.payment_succeeded.json +++ b/src/webhooks/2016-03-07/order.payment_succeeded.json @@ -50,5 +50,6 @@ "status_transitions": null, "updated": 1457644433 } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/order.updated.json b/src/webhooks/2016-03-07/order.updated.json index 07023c8..faf8035 100644 --- a/src/webhooks/2016-03-07/order.updated.json +++ b/src/webhooks/2016-03-07/order.updated.json @@ -51,5 +51,6 @@ "updated": 1457644459 }, "previous_attributes": null - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/plan.created.json b/src/webhooks/2016-03-07/plan.created.json index d683f3a..35fa5b8 100644 --- a/src/webhooks/2016-03-07/plan.created.json +++ b/src/webhooks/2016-03-07/plan.created.json @@ -22,5 +22,6 @@ "statement_descriptor": null, "trial_period_days": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/plan.deleted.json b/src/webhooks/2016-03-07/plan.deleted.json index b03509d..375de50 100644 --- a/src/webhooks/2016-03-07/plan.deleted.json +++ b/src/webhooks/2016-03-07/plan.deleted.json @@ -22,5 +22,6 @@ "statement_descriptor": null, "trial_period_days": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/plan.updated.json b/src/webhooks/2016-03-07/plan.updated.json index 7c3bb41..397c501 100644 --- a/src/webhooks/2016-03-07/plan.updated.json +++ b/src/webhooks/2016-03-07/plan.updated.json @@ -25,5 +25,6 @@ "previous_attributes": { "name": "Old name" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/product.created.json b/src/webhooks/2016-03-07/product.created.json index 29c30dd..bab4628 100644 --- a/src/webhooks/2016-03-07/product.created.json +++ b/src/webhooks/2016-03-07/product.created.json @@ -35,5 +35,6 @@ "updated": 1457644523, "url": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/product.deleted.json b/src/webhooks/2016-03-07/product.deleted.json index eebd59f..abc763d 100644 --- a/src/webhooks/2016-03-07/product.deleted.json +++ b/src/webhooks/2016-03-07/product.deleted.json @@ -35,5 +35,6 @@ "updated": 1457644543, "url": null } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/product.updated.json b/src/webhooks/2016-03-07/product.updated.json index 462bbca..5a83de1 100644 --- a/src/webhooks/2016-03-07/product.updated.json +++ b/src/webhooks/2016-03-07/product.updated.json @@ -36,5 +36,6 @@ "url": null }, "previous_attributes": null - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/recipient.created.json b/src/webhooks/2016-03-07/recipient.created.json index 58e6fe1..015df07 100644 --- a/src/webhooks/2016-03-07/recipient.created.json +++ b/src/webhooks/2016-03-07/recipient.created.json @@ -30,5 +30,6 @@ "type": "individual", "verified": false } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/recipient.deleted.json b/src/webhooks/2016-03-07/recipient.deleted.json index 85cbf36..63d1f85 100644 --- a/src/webhooks/2016-03-07/recipient.deleted.json +++ b/src/webhooks/2016-03-07/recipient.deleted.json @@ -30,5 +30,6 @@ "type": "individual", "verified": false } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/recipient.updated.json b/src/webhooks/2016-03-07/recipient.updated.json index e5ea2ec..bf5a0d2 100644 --- a/src/webhooks/2016-03-07/recipient.updated.json +++ b/src/webhooks/2016-03-07/recipient.updated.json @@ -31,5 +31,6 @@ "verified": false }, "previous_attributes": null - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/sku.created.json b/src/webhooks/2016-03-07/sku.created.json index 51e1e0d..48f4959 100644 --- a/src/webhooks/2016-03-07/sku.created.json +++ b/src/webhooks/2016-03-07/sku.created.json @@ -31,5 +31,6 @@ "product": "prod_00000000000000", "updated": 1457644637 } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/sku.deleted.json b/src/webhooks/2016-03-07/sku.deleted.json index 79b275e..f9dee64 100644 --- a/src/webhooks/2016-03-07/sku.deleted.json +++ b/src/webhooks/2016-03-07/sku.deleted.json @@ -31,5 +31,6 @@ "product": "prod_00000000000000", "updated": 1457644654 } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/sku.updated.json b/src/webhooks/2016-03-07/sku.updated.json index 7d94e5e..7b09475 100644 --- a/src/webhooks/2016-03-07/sku.updated.json +++ b/src/webhooks/2016-03-07/sku.updated.json @@ -32,5 +32,6 @@ "updated": 1457644675 }, "previous_attributes": null - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/transfer.created.json b/src/webhooks/2016-03-07/transfer.created.json index eb9b45a..986f027 100644 --- a/src/webhooks/2016-03-07/transfer.created.json +++ b/src/webhooks/2016-03-07/transfer.created.json @@ -39,5 +39,6 @@ "status": "pending", "type": "bank_account" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/transfer.failed.json b/src/webhooks/2016-03-07/transfer.failed.json index 2526c73..30833a3 100644 --- a/src/webhooks/2016-03-07/transfer.failed.json +++ b/src/webhooks/2016-03-07/transfer.failed.json @@ -39,5 +39,6 @@ "status": "failed", "type": "bank_account" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/transfer.paid.json b/src/webhooks/2016-03-07/transfer.paid.json index 7c743de..1ea8725 100644 --- a/src/webhooks/2016-03-07/transfer.paid.json +++ b/src/webhooks/2016-03-07/transfer.paid.json @@ -39,5 +39,6 @@ "status": "paid", "type": "bank_account" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/transfer.reversed.json b/src/webhooks/2016-03-07/transfer.reversed.json index df5fd68..f1e881b 100644 --- a/src/webhooks/2016-03-07/transfer.reversed.json +++ b/src/webhooks/2016-03-07/transfer.reversed.json @@ -39,5 +39,6 @@ "status": "in_transit", "type": "bank_account" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file diff --git a/src/webhooks/2016-03-07/transfer.updated.json b/src/webhooks/2016-03-07/transfer.updated.json index c0d2562..9b8519b 100644 --- a/src/webhooks/2016-03-07/transfer.updated.json +++ b/src/webhooks/2016-03-07/transfer.updated.json @@ -42,5 +42,6 @@ "previous_attributes": { "description": "Old description" } - } + }, + "user_id": "acct_0000000000000000" } \ No newline at end of file