API reference · Financial
POST/api/v1/financial/credits/prepayment

Create prepayment invoice

Creates a prepayment invoice and corresponding credit allocation.

RBAC · financial

Request body

Content type: application/json · schema FinancialPrepaymentInvoiceBody

client_idstring <uuid>Required
amountnumberRequired
≥ 0
manual_expiration_datestring

Response body

Success response 200 · schema FinancialInvoiceApiSuccess

dataanyOfRequired
anyOf (option 1)object
anyOf (option 2)array of object
itemsobject
metaobject

Response codes

200
Credit operation completed.
201
Credit operation created a new record.
400
Invalid request payload.
401
API key missing/invalid.
403
financial:create permission denied.
500
Unexpected credit operation failure.