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
$curl -G https://api.mercoa.com/entity/%3AentityId/paymentMethods \
> -H "Authorization: Bearer <token>" \
> -d type=custom
Response
1[
2 {
3 "type": "bankAccount",
4 "accountName": "string",
5 "accountNumber": "string",
6 "accountType": "CHECKING",
7 "bankName": "string",
8 "createdAt": "2023-01-01T00:00:00Z",
9 "id": "string",
10 "isDefaultDestination": true,
11 "isDefaultSource": true,
12 "routingNumber": "string",
13 "status": "NEW",
14 "supportedCurrencies": [
15 "AED"
16 ],
17 "updatedAt": "2023-01-01T00:00:00Z",
18 "checkOptions": {
19 "signatoryName": "string",
20 "enabled": true,
21 "initialCheckNumber": 0,
22 "routingNumberOverride": "string",
23 "accountNumberOverride": "string",
24 "signatureImage": "string",
25 "useSignatureImage": true
26 }
27 }
28]