Pay an invoice

Submits an invoice for processing and payment. If the invoice is type escrow, funds are directed to a Tilia Pay escrow wallet until the invoice is either committed or cancelled.

Request
Security:
tilia_auth (write_invoices)
path Parameters
invoice_id
required
string <UUID4>

The invoice ID

Responses
200

Successfully submitted pay request

400

Invalid invoice ID

401

Unauthorized access.

403

The transaction was rejected

404

Invoice not found.

500

Service unavailable or server error.

post/v2/invoice/{invoice_id}/pay
Request samples
curl -i -X POST \
  https://invoicing.tilia-inc.com/v2/invoice/:invoice_id/pay \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "status": "Success",
  • "message": null,
  • "codes": null,
  • "payload": {
    }
}