EntityCounterparty

Link Payors

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

Path parameters

entityIdstringRequired

Request

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