PUT
/
invoices
/
{invoice_id}
curl --request PUT \
  --url https://api.live.paisr.tech/{version}/invoices/{invoice_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "summary": "<string>",
  "currency": "<string>",
  "due": "<string>"
}'
{
  "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 update an invoice.
summary
string

Detailed description about the invoice.

currency
string

Currency code in ISO 4217 format.

due
string

Due date in relative time. (e.g. 'In 3 days')

Response

200
application/json
Successfully updated invoice.
success
boolean

Indicates if the request was successful.

message
string

A descriptive message regarding the result.