EntityPayment Method

Get

GET

Path parameters

entityIdstringRequired
paymentMethodIdstringRequired

Response

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