POST
/
invoices
curl --request POST \
  --url https://api.live.paisr.tech/{version}/invoices \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customer": "<string>",
  "summary": "<string>",
  "currency": "<string>",
  "due": "<string>",
  "items": [
    {
      "description": "<string>",
      "quantity": 2,
      "unit_price": 1
    }
  ]
}'
{
  "success": true,
  "data": {
    "id": "<string>",
    "status": "<string>",
    "session": null
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
The details required to create an invoice.

The body is of type object.

Response

200
application/json
Successfully created invoice.

The response is of type object.