EntityCounterparty

Link Payees

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

Create association between Entity and a given list of Payees. If a Payee has previously been archived, unarchive the Payee.

Path parameters

entityId
string

Request

This endpoint expects an object.
payees
list of strings

List of payee entity IDs to associate with the entity

POST
/entity/:entityId/addPayees
curl -X POST https://api.mercoa.com/entity/:entityId/addPayees \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"payees": [
"string"
]
}'