EntityPayment Method

Create

POST
https://api.mercoa.com/entity/:entityId/paymentMethod

Path parameters

entityId
string

Request

This endpoint expects a union.
Bank Account
OR
Card
OR
Check
OR
Custom
OR
Off Platform

Response

This endpoint return a union.
Bank Account
OR
Card
OR
Check
OR
Custom
OR
Off Platform
POST
/entity/:entityId/paymentMethod
curl -X POST https://api.mercoa.com/entity/:entityId/paymentMethod \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"type": "bankAccount",
"accountNumber": "string",
"accountType": "CHECKING",
"bankName": "string",
"routingNumber": "string"
}'
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"
}
}