EntityPayment Method

Get All

GET

Path parameters

entityIdstringRequired

Query parameters

typeenumOptional
Type of payment method to filter

Response

This endpoint returns a list of unions
Bank Account
OR
Card
OR
Check
OR
Custom
OR
Off Platform
GET
1curl https://api.mercoa.com/entity/ent_8545a84e-a45f-41bf-bdf1-33b42a55812c/paymentMethods \
2 -H "Authorization: Bearer <token>"
200
Retrieved
1[
2 {
3 "type": "bankAccount",
4 "accountName": "My Checking Account",
5 "accountNumber": "99988767623",
6 "accountType": "CHECKING",
7 "bankName": "Chase",
8 "createdAt": "2021-01-01T00:00:00Z",
9 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769",
10 "isDefaultDestination": true,
11 "isDefaultSource": true,
12 "routingNumber": "12345678",
13 "status": "VERIFIED",
14 "supportedCurrencies": [
15 "USD"
16 ],
17 "updatedAt": "2021-01-01T00:00:00Z"
18 }
19]