POST
/
merchant
/
invoice
/
pdf_generate
curl --request POST \
  --url https://api.unibee.top/merchant/invoice/pdf_generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "invoiceId": "<string>",
  "sendUserEmail": false
}'
{
  "code": 123,
  "data": {},
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
invoiceId
string
required

The unique id of invoice

sendUserEmail
boolean
default:false

Whether sen invoice email to user or not,default false

Response

200 - application/json
code
integer
data
object
message
string
redirect
string
requestId
string