-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from albertcito/api-version-2018-05-21
Added 2018-05-21 webhooks
- Loading branch information
Showing
84 changed files
with
4,699 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
src/webhooks/2018-05-21/account.external_account.created.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"created": 1326853478, | ||
"livemode": false, | ||
"id": "evt_00000000000000", | ||
"type": "account.external_account.created", | ||
"object": "event", | ||
"request": null, | ||
"pending_webhooks": 1, | ||
"api_version": "2018-05-21", | ||
"data": { | ||
"object": { | ||
"id": "ba_00000000000000", | ||
"object": "bank_account", | ||
"account": "acct_00000000000000", | ||
"account_holder_name": "Jane Austen", | ||
"account_holder_type": "individual", | ||
"bank_name": "STRIPE TEST BANK", | ||
"country": "US", | ||
"currency": "cad", | ||
"default_for_currency": false, | ||
"fingerprint": "ndtaInq1OCmTFQgY", | ||
"last4": "6789", | ||
"metadata": { | ||
}, | ||
"routing_number": "110000000", | ||
"status": "new" | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
src/webhooks/2018-05-21/account.external_account.deleted.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"created": 1326853478, | ||
"livemode": false, | ||
"id": "evt_00000000000000", | ||
"type": "account.external_account.deleted", | ||
"object": "event", | ||
"request": null, | ||
"pending_webhooks": 1, | ||
"api_version": "2018-05-21", | ||
"data": { | ||
"object": { | ||
"id": "ba_00000000000000", | ||
"object": "bank_account", | ||
"account": "acct_00000000000000", | ||
"account_holder_name": "Jane Austen", | ||
"account_holder_type": "individual", | ||
"bank_name": "STRIPE TEST BANK", | ||
"country": "US", | ||
"currency": "cad", | ||
"default_for_currency": false, | ||
"fingerprint": "ndtaInq1OCmTFQgY", | ||
"last4": "6789", | ||
"metadata": { | ||
}, | ||
"routing_number": "110000000", | ||
"status": "new" | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
src/webhooks/2018-05-21/account.external_account.updated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"created": 1326853478, | ||
"livemode": false, | ||
"id": "evt_00000000000000", | ||
"type": "account.external_account.updated", | ||
"object": "event", | ||
"request": null, | ||
"pending_webhooks": 1, | ||
"api_version": "2018-05-21", | ||
"data": { | ||
"object": { | ||
"id": "ba_00000000000000", | ||
"object": "bank_account", | ||
"account": "acct_00000000000000", | ||
"account_holder_name": "Jane Austen", | ||
"account_holder_type": "individual", | ||
"bank_name": "STRIPE TEST BANK", | ||
"country": "US", | ||
"currency": "cad", | ||
"default_for_currency": false, | ||
"fingerprint": "ndtaInq1OCmTFQgY", | ||
"last4": "6789", | ||
"metadata": { | ||
}, | ||
"routing_number": "110000000", | ||
"status": "new" | ||
}, | ||
"previous_attributes": { | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
{ | ||
"created": 1326853478, | ||
"livemode": false, | ||
"id": "evt_00000000000000", | ||
"type": "account.updated", | ||
"object": "event", | ||
"request": null, | ||
"pending_webhooks": 1, | ||
"api_version": "2018-05-21", | ||
"data": { | ||
"object": { | ||
"id": "acct_00000000000000", | ||
"object": "account", | ||
"business_name": null, | ||
"business_url": null, | ||
"charges_enabled": false, | ||
"country": "CA", | ||
"created": 1523046273, | ||
"debit_negative_balances": true, | ||
"decline_charge_on": { | ||
"avs_failure": false, | ||
"cvc_failure": true | ||
}, | ||
"default_currency": "cad", | ||
"details_submitted": true, | ||
"display_name": "Device Pixel", | ||
"email": "[email protected]", | ||
"external_accounts": { | ||
"object": "list", | ||
"data": [ | ||
|
||
], | ||
"has_more": false, | ||
"total_count": 0, | ||
"url": "/v1/accounts/acct_1CE16rLOXa6akpHR/external_accounts" | ||
}, | ||
"legal_entity": { | ||
"additional_owners": [ | ||
|
||
], | ||
"address": { | ||
"city": null, | ||
"country": "CA", | ||
"line1": null, | ||
"line2": null, | ||
"postal_code": null, | ||
"state": null | ||
}, | ||
"business_name": null, | ||
"business_tax_id_provided": false, | ||
"dob": { | ||
"day": null, | ||
"month": null, | ||
"year": null | ||
}, | ||
"first_name": null, | ||
"last_name": null, | ||
"personal_address": { | ||
"city": null, | ||
"country": "CA", | ||
"line1": null, | ||
"line2": null, | ||
"postal_code": null, | ||
"state": null | ||
}, | ||
"personal_id_number_provided": false, | ||
"type": null, | ||
"verification": { | ||
"details": null, | ||
"details_code": null, | ||
"document": null, | ||
"document_back": null, | ||
"status": "unverified" | ||
} | ||
}, | ||
"metadata": { | ||
}, | ||
"payout_schedule": { | ||
"delay_days": 7, | ||
"interval": "daily" | ||
}, | ||
"payout_statement_descriptor": null, | ||
"payouts_enabled": false, | ||
"product_description": null, | ||
"statement_descriptor": "TEST", | ||
"support_email": null, | ||
"support_phone": null, | ||
"timezone": "America/Toronto", | ||
"tos_acceptance": { | ||
"date": null, | ||
"ip": null, | ||
"user_agent": null | ||
}, | ||
"type": "standard", | ||
"verification": { | ||
"disabled_reason": "fields_needed", | ||
"due_by": 1531782129, | ||
"fields_needed": [ | ||
"legal_entity.verification.document" | ||
] | ||
} | ||
}, | ||
"previous_attributes": { | ||
"verification": { | ||
"fields_needed": [ | ||
|
||
], | ||
"due_by": null | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"created": 1326853478, | ||
"livemode": false, | ||
"id": "evt_00000000000000", | ||
"type": "balance.available", | ||
"object": "event", | ||
"request": null, | ||
"pending_webhooks": 1, | ||
"api_version": "2018-05-21", | ||
"data": { | ||
"object": { | ||
"object": "balance", | ||
"available": [ | ||
{ | ||
"currency": "cad", | ||
"amount": 10133, | ||
"source_types": { | ||
"card": 10133 | ||
} | ||
} | ||
], | ||
"livemode": false, | ||
"pending": [ | ||
{ | ||
"currency": "cad", | ||
"amount": 33937, | ||
"source_types": { | ||
"card": 33937 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"created": 1326853478, | ||
"livemode": false, | ||
"id": "evt_00000000000000", | ||
"type": "batch.request", | ||
"object": "event", | ||
"request": null, | ||
"pending_webhooks": 1, | ||
"api_version": "2018-05-21", | ||
"data": { | ||
"object": { | ||
"id": "batch_00000000000000", | ||
"object": "batch", | ||
"completed": null, | ||
"content_sha256": "cbe0622601f94e9d84f5335c6273a3e15245db9a3db7791dada8edd3e96bbf12", | ||
"created": 1531522937, | ||
"error": null, | ||
"livemode": false, | ||
"metadata": { | ||
}, | ||
"results": null, | ||
"started": null, | ||
"status": "new", | ||
"upload_url": null | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"created": 1326853478, | ||
"livemode": false, | ||
"id": "evt_00000000000000", | ||
"type": "charge.captured", | ||
"object": "event", | ||
"request": null, | ||
"pending_webhooks": 1, | ||
"api_version": "2018-05-21", | ||
"data": { | ||
"object": { | ||
"id": "ch_00000000000000", | ||
"object": "charge", | ||
"amount": 100, | ||
"amount_refunded": 0, | ||
"application": null, | ||
"application_fee": null, | ||
"balance_transaction": "txn_00000000000000", | ||
"captured": true, | ||
"created": 1531522942, | ||
"currency": "cad", | ||
"customer": null, | ||
"description": "My First Test Charge (created for API docs)", | ||
"destination": null, | ||
"dispute": null, | ||
"failure_code": null, | ||
"failure_message": null, | ||
"fraud_details": { | ||
}, | ||
"invoice": null, | ||
"livemode": false, | ||
"metadata": { | ||
}, | ||
"on_behalf_of": null, | ||
"order": null, | ||
"outcome": null, | ||
"paid": true, | ||
"receipt_email": null, | ||
"receipt_number": null, | ||
"refunded": false, | ||
"refunds": { | ||
"object": "list", | ||
"data": [ | ||
|
||
], | ||
"has_more": false, | ||
"total_count": 0, | ||
"url": "/v1/charges/ch_1CnaHKLOXa6akpHRTcfmCykr/refunds" | ||
}, | ||
"review": null, | ||
"shipping": null, | ||
"source": { | ||
"id": "card_00000000000000", | ||
"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_00000000000000", | ||
"cvc_check": "pass", | ||
"dynamic_last4": null, | ||
"exp_month": 7, | ||
"exp_year": 2019, | ||
"fingerprint": "EB8zTN6S64nsJn2C", | ||
"funding": "credit", | ||
"last4": "4242", | ||
"metadata": { | ||
}, | ||
"name": null, | ||
"tokenization_method": null | ||
}, | ||
"source_transfer": null, | ||
"statement_descriptor": null, | ||
"status": "succeeded", | ||
"transfer_group": null | ||
} | ||
} | ||
} |
Oops, something went wrong.