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

Authorizations

Authorization
string
header
required

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

Path Parameters

invoice_id
string
required

The Invoice ID.

Body

application/json
The details required to create an invoice item.
items
object[]

Response

200
application/json
Successfully created invoice items.
success
boolean

Indicates if the request was successful.

message
string

A descriptive message regarding the result.