Invoice

Get Check PDF

GET
https://api.mercoa.com/invoice/:invoiceId/check/generate

Get a printable PDF of the check. This will only work for SCHEDULED invoices that have a check as the disbursement method. Once the PDF has been generated, it will no longer be possible to mail the check. The invoice will be marked as PAID as soon as the check is generated.

Path parameters

invoiceId
string

Response

This endpoint return an object.
mimeType
string
uri
string
GET
/invoice/:invoiceId/check/generate
curl https://api.mercoa.com/invoice/:invoiceId/check/generate \
-H "Authorization: Bearer <token>"
Response
{
"mimeType": "string",
"uri": "string"
}