EntityCounterparty

Link Payees

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

Path parameters

entityIdstringRequired

Request

This endpoint expects an object.
payees
list of stringsRequired
List of payee entity IDs to associate with the entity
POST
1curl -X POST https://api.mercoa.com/entity/:entityId/addPayees \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "payees": [
6 "string"
7 ]
8}'