EntityPayment Method

Get All

GET
https://api.mercoa.com/entity/:entityId/paymentMethods

Path parameters

entityId
string

Query parameters

type
optional enum

Type of payment method to filter

Response

This endpoint return a list of unions.
Bank Account
OR
Card
OR
Check
OR
Custom
OR
Off Platform
GET
/entity/:entityId/paymentMethods
curl -G https://api.mercoa.com/entity/:entityId/paymentMethods \
-H "Authorization: Bearer <token>" \
-d type=custom
Response
[
{
"type": "bankAccount",
"accountName": "string",
"accountNumber": "string",
"accountType": "CHECKING",
"bankName": "string",
"createdAt": "2023-01-01T00:00:00Z",
"id": "string",
"isDefaultDestination": true,
"isDefaultSource": true,
"routingNumber": "string",
"status": "NEW",
"supportedCurrencies": [
"AED"
],
"updatedAt": "2023-01-01T00:00:00Z",
"checkOptions": {
"enabled": true,
"initialCheckNumber": 0,
"routingNumberOverride": "string",
"accountNumberOverride": "string",
"signatoryName": "string",
"signatureImage": "string"
}
}
]