Payment Method Created

A new payment method was created

Payload

The payload of this webhook request is an object.
eventTypestringRequired
entityIdstringRequired
paymentMethodobjectRequired
entityobjectRequired
userobjectOptional
User who initiated the change.

Response

200
any
Return a 200 status to indicate that the data was received successfully.
Payload
1{
2 "eventType": "paymentMethod.created",
3 "entityId": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d",
4 "paymentMethod": {
5 "type": "bankAccount",
6 "accountName": "My Checking Account",
7 "accountNumber": "99988767623",
8 "accountType": "CHECKING",
9 "bankName": "Chase",
10 "createdAt": "2021-01-01T00:00:00Z",
11 "frozen": false,
12 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769",
13 "isDefaultDestination": true,
14 "isDefaultSource": true,
15 "metadata": {},
16 "routingNumber": "12345678",
17 "status": "VERIFIED",
18 "supportedCurrencies": [
19 "USD"
20 ],
21 "updatedAt": "2021-01-01T00:00:00Z"
22 },
23 "entity": {
24 "id": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c",
25 "name": "Acme Inc.",
26 "email": "customer@acme.com",
27 "isCustomer": true,
28 "accountType": "business",
29 "profile": {
30 "business": {
31 "legalBusinessName": "Acme Inc.",
32 "taxIDProvided": true,
33 "email": "customer@acme.com",
34 "businessType": "llc",
35 "phone": {
36 "countryCode": "1",
37 "number": "4155551234"
38 },
39 "address": {
40 "addressLine1": "123 Main St",
41 "city": "San Francisco",
42 "stateOrProvince": "CA",
43 "postalCode": "94105",
44 "addressLine2": "Unit 1",
45 "country": "US"
46 },
47 "ownersProvided": true
48 }
49 },
50 "status": "verified",
51 "acceptedTos": true,
52 "isPayor": true,
53 "isPayee": false,
54 "isNetworkPayor": false,
55 "isNetworkPayee": false,
56 "createdAt": "2024-01-01T00:00:00Z",
57 "updatedAt": "2024-01-02T00:00:00Z",
58 "foreignId": "MY-DB-ID-12345"
59 },
60 "user": {
61 "id": "user_ec3aafc8-ea86-408a-a6c1-545497badbbb",
62 "roles": [
63 "admin",
64 "approver"
65 ],
66 "createdAt": "2024-01-01T00:00:00Z",
67 "updatedAt": "2024-01-01T00:00:00Z",
68 "foreignId": "MY-DB-ID-12345",
69 "email": "john.doe@acme.com",
70 "name": "John Doe"
71 }
72}