v1
latestOpenAPI 3.1.02026-07-132363652.9 MBInvoice
Admin
Record a payment or pre-issue credit against an invoice. payment_method=manual_bank_transfer requires ISSUED (records received funds); issue_credit allowed on DRAFT or ISSUED (write-off / pre-issue discount, requires `notes`). Idempotent on (invoice_id, external_reference).
Record a payment or pre-issue credit against an invoice. payment_method=manual_bank_transfer requires ISSUED (records received funds); issue_credit allowed on DRAFT or ISSUED (write-off / pre-issue discount, requires notes). Idempotent on (invoice_id, external_reference).
post/api/v1/admin/invoices/{invoiceId}/payments
Path parameters
invoiceIdstring uuid required
The invoiceId parameter
Request body
Example request
{
"amount": "1234.56",
"currency": "GBP"
}Response
Created
Example response
{
"success": true,
"data": {
"invoice_number": "INV-202605-000001",
"payment_reference": "QK7L2M9X4P0R",
"currency": "GBP",
"total_amount": "1234.56",
"amount_paid": "0.00",
"outstanding_amount": "1234.56",
"transaction_count": 42,
"payments": [
{
"amount": "125.00",
"currency": "GBP"
}
],
"fx_rates": [
{
"source_currency": "GBP",
"rate": "0.85120000",
"provider": "openexchangerates"
}
]
}
}