Transaction Failed

A transaction was failed

Payload

The payload of this webhook request is an object.
eventTypestringRequired
transactionobjectRequired

Response

200
any
Return a 200 status to indicate that the data was received successfully.
Payload
1{
2 "eventType": "transaction.failed",
3 "transaction": {
4 "type": "bankAccountToBankAccount",
5 "createdAt": "2024-01-01T00:00:00Z",
6 "id": "trx_bb08e72f-19f8-45f3-bcf9-46fdc46cb2f4",
7 "invoices": [
8 {
9 "approvalPolicy": [],
10 "approvers": [],
11 "createdAt": "2021-01-01T00:00:00Z",
12 "hasDocuments": true,
13 "hasSourceEmail": true,
14 "id": "in_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9",
15 "metadata": {},
16 "paymentDestinationConfirmed": true,
17 "status": "FAILED",
18 "updatedAt": "2021-01-01T00:00:00Z",
19 "amount": 100,
20 "currency": "USD",
21 "deductionDate": "2021-01-29T00:00:00Z",
22 "dueDate": "2021-01-31T00:00:00Z",
23 "invoiceDate": "2021-01-01T00:00:00Z",
24 "invoiceNumber": "INV-123",
25 "payer": {
26 "acceptedTos": true,
27 "accountType": "business",
28 "createdAt": "2024-01-01T00:00:00Z",
29 "email": "customer@acme.com",
30 "id": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c",
31 "isCustomer": true,
32 "isNetworkPayee": false,
33 "isNetworkPayor": false,
34 "isPayee": false,
35 "isPayor": true,
36 "name": "Acme Inc.",
37 "profile": {
38 "business": {
39 "legalBusinessName": "Acme Inc.",
40 "taxIDProvided": true,
41 "email": "customer@acme.com",
42 "businessType": "llc",
43 "phone": {
44 "countryCode": "1",
45 "number": "4155551234"
46 },
47 "address": {
48 "addressLine1": "123 Main St",
49 "city": "San Francisco",
50 "stateOrProvince": "CA",
51 "postalCode": "94105",
52 "addressLine2": "Unit 1",
53 "country": "US"
54 },
55 "ownersProvided": true,
56 "taxId": {
57 "ein": {
58 "number": "12-3456789"
59 }
60 }
61 }
62 },
63 "status": "verified",
64 "updatedAt": "2024-01-02T00:00:00Z",
65 "accounts": [
66 {
67 "accountId": "85866843",
68 "postalCode": "94105",
69 "nameOnAccount": "John Doe"
70 }
71 ],
72 "counterpartyType": [
73 "ENTITY"
74 ],
75 "foreignId": "MY-DB-ID-12345",
76 "paymentMethods": [
77 {
78 "type": "bankAccount",
79 "accountName": "My Checking Account",
80 "accountNumber": "99988767623",
81 "accountType": "CHECKING",
82 "bankName": "Chase",
83 "createdAt": "2021-01-01T00:00:00Z",
84 "frozen": false,
85 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769",
86 "isDefaultDestination": true,
87 "isDefaultSource": true,
88 "metadata": {},
89 "routingNumber": "12345678",
90 "status": "VERIFIED",
91 "supportedCurrencies": [
92 "USD"
93 ],
94 "updatedAt": "2021-01-01T00:00:00Z"
95 }
96 ]
97 },
98 "payerId": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c",
99 "paymentDestination": {
100 "type": "check",
101 "addressLine1": "123 Main St",
102 "city": "New York",
103 "country": "US",
104 "createdAt": "2021-01-01T00:00:00Z",
105 "frozen": false,
106 "id": "pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18",
107 "isDefaultDestination": true,
108 "isDefaultSource": false,
109 "metadata": {},
110 "payToTheOrderOf": "John Doe",
111 "postalCode": "10001",
112 "stateOrProvince": "NY",
113 "supportedCurrencies": [
114 "USD"
115 ],
116 "updatedAt": "2021-01-01T00:00:00Z",
117 "addressLine2": "Apt 1"
118 },
119 "paymentDestinationId": "pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18",
120 "paymentSource": {
121 "type": "bankAccount",
122 "accountName": "My Checking Account",
123 "accountNumber": "99988767623",
124 "accountType": "CHECKING",
125 "bankName": "Chase",
126 "createdAt": "2021-01-01T00:00:00Z",
127 "frozen": false,
128 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769",
129 "isDefaultDestination": true,
130 "isDefaultSource": true,
131 "metadata": {},
132 "routingNumber": "12345678",
133 "status": "VERIFIED",
134 "supportedCurrencies": [
135 "USD"
136 ],
137 "updatedAt": "2021-01-01T00:00:00Z"
138 },
139 "paymentSourceId": "pm_4794d597-70dc-4fec-b6ec-c5988e759769",
140 "transactions": [
141 {
142 "type": "bankAccountToBankAccount",
143 "createdAt": "2024-01-01T00:00:00Z",
144 "id": "trx_bb08e72f-19f8-45f3-bcf9-46fdc46cb2f4",
145 "status": "FAILED",
146 "updatedAt": "2024-01-01T00:00:00Z",
147 "failureReason": {
148 "code": "R01",
149 "description": "The source bank account does not have sufficient funds"
150 }
151 }
152 ],
153 "vendor": {
154 "acceptedTos": false,
155 "accountType": "business",
156 "createdAt": "2024-01-01T00:00:00Z",
157 "email": "vendor@bigboxstore.com",
158 "id": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d",
159 "isCustomer": false,
160 "isNetworkPayee": false,
161 "isNetworkPayor": false,
162 "isPayee": true,
163 "isPayor": false,
164 "name": "Big Box Store",
165 "profile": {
166 "business": {
167 "legalBusinessName": "Big Box Store",
168 "taxIDProvided": false,
169 "email": "vendor@bigboxstore.com",
170 "businessType": "publicCorporation",
171 "ownersProvided": false
172 }
173 },
174 "status": "unverified",
175 "updatedAt": "2024-01-02T00:00:00Z",
176 "counterpartyType": [
177 "ENTITY"
178 ],
179 "foreignId": "MY-DB-ID-90909",
180 "paymentMethods": [
181 {
182 "type": "bankAccount",
183 "accountName": "Vendor Checking Account",
184 "accountNumber": "55934059697648",
185 "accountType": "CHECKING",
186 "bankName": "Chase",
187 "createdAt": "2021-01-01T00:00:00Z",
188 "frozen": false,
189 "id": "pm_7610541f-4619-4033-8620-cfccfb811293",
190 "isDefaultDestination": true,
191 "isDefaultSource": true,
192 "metadata": {},
193 "routingNumber": "66554433",
194 "status": "NEW",
195 "supportedCurrencies": [
196 "USD"
197 ],
198 "updatedAt": "2021-01-01T00:00:00Z"
199 }
200 ]
201 },
202 "vendorId": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d"
203 }
204 ],
205 "status": "FAILED",
206 "updatedAt": "2024-01-01T00:00:00Z",
207 "failureReason": {
208 "code": "R01",
209 "description": "The source bank account does not have sufficient funds"
210 }
211 }
212}