Skip to content

Commit

Permalink
Added 2018-02-06 webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
alanms committed Feb 28, 2018
1 parent 572cc84 commit 4ffdbee
Show file tree
Hide file tree
Showing 64 changed files with 3,133 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/webhooks/2018-02-06/account.external_account.created.json
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-02-06",
"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": "usd",
"default_for_currency": false,
"fingerprint": "3eH76iBTdLmlv8Hp",
"last4": "6789",
"metadata": {},
"routing_number": "110000000",
"status": "new"
}
},
"user_id": "acct_0000000000000000"
}
29 changes: 29 additions & 0 deletions src/webhooks/2018-02-06/account.external_account.deleted.json
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-02-06",
"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": "usd",
"default_for_currency": false,
"fingerprint": "3eH76iBTdLmlv8Hp",
"last4": "6789",
"metadata": {},
"routing_number": "110000000",
"status": "new"
}
},
"user_id": "acct_0000000000000000"
}
30 changes: 30 additions & 0 deletions src/webhooks/2018-02-06/account.external_account.updated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "account.external_account.updated",
"object": "event",
"request": null,
"pending_webhooks": 1,
"api_version": "2018-02-06",
"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": "usd",
"default_for_currency": false,
"fingerprint": "3eH76iBTdLmlv8Hp",
"last4": "6789",
"metadata": {},
"routing_number": "110000000",
"status": "new"
},
"previous_attributes": null
},
"user_id": "acct_0000000000000000"
}
154 changes: 154 additions & 0 deletions src/webhooks/2018-02-06/account.updated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "account.updated",
"object": "event",
"request": null,
"pending_webhooks": 1,
"api_version": "2018-02-06",
"data": {
"object": {
"id": "acct_00000000000000",
"object": "account",
"business_logo": null,
"business_name": "Zaengle Corp",
"business_url": "http://www.zaengle.com",
"charges_enabled": false,
"country": "US",
"debit_negative_balances": true,
"decline_charge_on": {
"avs_failure": false,
"cvc_failure": true
},
"default_currency": "usd",
"details_submitted": true,
"display_name": null,
"email": "[email protected]",
"external_accounts": {
"object": "list",
"data": [

],
"has_more": false,
"total_count": 0,
"url": "/v1/accounts/acct_16MKXXIRVxWaBTbM/external_accounts"
},
"legal_entity": {
"additional_owners": null,
"address": {
"city": null,
"country": "US",
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"address_kana": {
"city": null,
"country": "US",
"line1": null,
"line2": null,
"postal_code": null,
"state": null,
"town": null
},
"address_kanji": {
"city": null,
"country": "US",
"line1": null,
"line2": null,
"postal_code": null,
"state": null,
"town": null
},
"business_name": null,
"business_name_kana": null,
"business_name_kanji": null,
"business_tax_id_provided": false,
"dob": {
"day": null,
"month": null,
"year": null
},
"first_name": null,
"first_name_kana": null,
"first_name_kanji": null,
"gender": null,
"last_name": null,
"last_name_kana": null,
"last_name_kanji": null,
"maiden_name": null,
"personal_address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"personal_address_kana": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null,
"town": null
},
"personal_address_kanji": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null,
"town": null
},
"personal_id_number_provided": false,
"phone_number": null,
"ssn_last_4_provided": false,
"type": null,
"verification": {
"details": null,
"details_code": null,
"document": null,
"status": "unverified"
}
},
"managed": false,
"product_description": null,
"statement_descriptor": "TEST",
"support_email": "[email protected]",
"support_phone": "",
"support_url": "",
"timezone": "America/Chicago",
"tos_acceptance": {
"date": null,
"ip": null,
"user_agent": null
},
"transfer_schedule": {
"delay_days": 2,
"interval": "daily"
},
"transfers_enabled": false,
"verification": {
"disabled_reason": "fields_needed",
"due_by": 1457902431,
"fields_needed": [
"legal_entity.verification.document"
]
}
},
"previous_attributes": {
"verification": {
"fields_needed": [

],
"due_by": null
}
}
},
"user_id": "acct_0000000000000000"
}
35 changes: 35 additions & 0 deletions src/webhooks/2018-02-06/balance.available.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "balance.available",
"object": "event",
"request": null,
"pending_webhooks": 1,
"api_version": "2018-02-06",
"data": {
"object": {
"object": "balance",
"available": [
{
"currency": "usd",
"amount": 0,
"source_types": {
"card": 0
}
}
],
"livemode": false,
"pending": [
{
"currency": "usd",
"amount": 0,
"source_types": {
"card": 0
}
}
]
}
},
"user_id": "acct_0000000000000000"
}
34 changes: 34 additions & 0 deletions src/webhooks/2018-02-06/bitcoin.receiver.created.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "bitcoin.receiver.created",
"object": "event",
"request": null,
"pending_webhooks": 1,
"api_version": "2018-02-06",
"data": {
"object": {
"id": "btcrcv_00000000000000",
"object": "bitcoin_receiver",
"active": false,
"amount": 100,
"amount_received": 0,
"bitcoin_amount": 1757908,
"bitcoin_amount_received": 0,
"bitcoin_uri": "bitcoin:test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1?amount=0.01757908",
"created": 1457643470,
"currency": "usd",
"description": "Receiver for John Doe",
"email": "[email protected]",
"filled": false,
"inbound_address": "test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1",
"livemode": false,
"metadata": {},
"refund_address": null,
"uncaptured_funds": false,
"used_for_payment": false
}
},
"user_id": "acct_0000000000000000"
}
34 changes: 34 additions & 0 deletions src/webhooks/2018-02-06/bitcoin.receiver.filled.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "bitcoin.receiver.filled",
"object": "event",
"request": null,
"pending_webhooks": 1,
"api_version": "2018-02-06",
"data": {
"object": {
"id": "btcrcv_00000000000000",
"object": "bitcoin_receiver",
"active": false,
"amount": 100,
"amount_received": 0,
"bitcoin_amount": 1757908,
"bitcoin_amount_received": 0,
"bitcoin_uri": "bitcoin:test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1?amount=0.01757908",
"created": 1457643497,
"currency": "usd",
"description": "Receiver for John Doe",
"email": "[email protected]",
"filled": false,
"inbound_address": "test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1",
"livemode": false,
"metadata": {},
"refund_address": null,
"uncaptured_funds": false,
"used_for_payment": false
}
},
"user_id": "acct_0000000000000000"
}
22 changes: 22 additions & 0 deletions src/webhooks/2018-02-06/bitcoin.receiver.transaction.created.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "bitcoin.receiver.transaction.created",
"object": "event",
"request": null,
"pending_webhooks": 1,
"api_version": "2018-02-06",
"data": {
"object": {
"id": "btctxn_00000000000000",
"object": "bitcoin_transaction",
"amount": 2000,
"bitcoin_amount": 20000000,
"created": 1457643546,
"currency": "usd",
"receiver": "btcrcv_17nCME2eZvKYlo2CDDfUvLTW"
}
},
"user_id": "acct_0000000000000000"
}
Loading

0 comments on commit 4ffdbee

Please sign in to comment.