EntityCounterparty

Hide Payors

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

Marks Payors as unsearchable by Entity via Counterparty search. Invoices associated with these Payors will still be searchable via Invoice search.

Path parameters

entityId
string

Request

This endpoint expects an object.
payors
list of strings

List of payor entity IDs to hide

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