Test Invoice
Create a new Invoice example
Authentication Notes
The Api-Key is already automatically added to the headers, so no authentication type required.
If you want to choose your preferred authentication type, follow these steps:
- Deselect the
Api-Keyheader and choose one of the following:- For
ApiKeyAuth, use:Api-Key vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11lo. - For
BasicAuth, provide your valid username and password. - For
JWT Auth, include your token in the format:Bearer <your_token>.
- For
Authorizations
AuthorizationstringRequired
HTTP API Key Authentication
API-Key authentication for private use only.
Example API-Key
vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11lo
Example Header:
Authorization: Api-Key vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11lo
Header parameters
AuthorizationstringRequiredDefault:
Private API key to be provided in the format Api-Key <key>.
Api-Key vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11loBody
Serializer class for Invoice instances, inheriting from BaseInvoiceSerializer and
CheckoutSerializer. It provides methods for creating invoices, invoice items, and transactions.
currency_codestring · min: 1Required
due_datestring · dateRequired
invoice_numberstring · min: 1 · max: 255Required
pg_codesstring[]Required
typestring · enumRequiredPossible values:
e_commerce- Ecommercepayment_request- Payment Request
Responses
201Success
application/json
400Error
application/json
post
/b/invoice/v1/invoice/Last updated