Payment Method Created

A new payment method was created

Payload

The payload of this webhook request is an object.
eventType
stringRequired
entityId
stringRequired
paymentMethod
unionRequired
entity
objectRequired
user
objectOptional
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 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769",
12 "isDefaultDestination": true,
13 "isDefaultSource": true,
14 "routingNumber": "12345678",
15 "status": "VERIFIED",
16 "supportedCurrencies": [
17 "USD"
18 ],
19 "updatedAt": "2021-01-01T00:00:00Z"
20 },
21 "entity": {
22 "id": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c",
23 "name": "Acme Inc.",
24 "email": "customer@acme.com",
25 "isCustomer": true,
26 "accountType": "business",
27 "profile": {
28 "business": {
29 "legalBusinessName": "Acme Inc.",
30 "taxIDProvided": true,
31 "email": "customer@acme.com",
32 "businessType": "llc",
33 "phone": {
34 "countryCode": "1",
35 "number": "4155551234"
36 },
37 "address": {
38 "addressLine1": "123 Main St",
39 "city": "San Francisco",
40 "stateOrProvince": "CA",
41 "postalCode": "94105",
42 "addressLine2": "Unit 1",
43 "country": "US"
44 },
45 "ownersProvided": true
46 }
47 },
48 "status": "verified",
49 "acceptedTos": true,
50 "isPayor": true,
51 "isPayee": false,
52 "isNetworkPayor": false,
53 "isNetworkPayee": false,
54 "createdAt": "2024-01-01T00:00:00Z",
55 "updatedAt": "2024-01-02T00:00:00Z",
56 "foreignId": "MY-DB-ID-12345"
57 },
58 "user": {
59 "id": "user_ec3aafc8-ea86-408a-a6c1-545497badbbb",
60 "roles": [
61 "admin",
62 "approver"
63 ],
64 "createdAt": "2024-01-01T00:00:00Z",
65 "updatedAt": "2024-01-01T00:00:00Z",
66 "foreignId": "MY-DB-ID-12345",
67 "email": "john.doe@acme.com",
68 "name": "John Doe"
69 }
70}