v1

latestOpenAPI 3.1.0Private2026-07-24196240439.2 KB
CustomerInvoicePayment

Create Payment

post/provider/customer_invoices/{customer_invoice_id}/payments

Path parameters

customer_invoice_idstring required

Unique Customer Invoice ID

Request body

amount_in_centsnumber double

When creating a payment you can add an amount_in_cents, if no amount is included, we will set the payment amount = due_in_cents.

externalboolean

When creating a payment, processed payments are required to include process: true, mark-as-paid payments are required to include external: true as an attribute. The request fails if it does not contain only one of these attributes.

memostring
processboolean

When creating a payment, processed payments are required to include process: true, mark-as-paid payments are required to include external: true as an attribute. The request fails if it does not contain only one of these attributes.

paid_atstring date

When creating a payment you can specify the date, if no a date is included, we will set it to the Hint.today date. Date must be formatted as YYYY-MM-DD.

Response

Successful response

idstring
error_messagestring
memostring
statusstring
datestring date-time
amount_in_centsinteger
externalboolean
external_typestring