InvoiceApproval

Reject

POST

Path parameters

invoiceIdstringRequired

Request

This endpoint expects an object.
userId
stringRequired
text
stringOptional
Comment associated with this approval action.
POST
1curl -X POST https://api.mercoa.com/invoice/inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff/reject \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "userId": "user_e24fc81c-c5ee-47e8-af42-4fe29d895506",
6 "text": "This is a reason for my action"
7}'