Test Invoice

Create a new Invoice

post

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-Key header 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>.
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
AuthorizationstringRequired

Private API key to be provided in the format Api-Key <key>.

Default: Api-Key vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11lo
Body

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 · enumRequired
  • e_commerce - Ecommerce
  • payment_request - Payment Request
Possible values:
Responses
201Success
application/json
post
/b/invoice/v1/invoice/

Last updated