Skip to main content
POST
/
merchant
/
invoice
/
history_invoice_import
/
delete
Delete imported history invoice
curl --request POST \
  --url https://api.unibee.dev/merchant/invoice/history_invoice_import/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "invoiceId": "<string>"
}
'
{
  "code": 123,
  "data": {},
  "merchantId": 123,
  "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

Delete an imported history invoice (BizType=Import) and its related payment/refund if applicable.

invoiceId
string<string>
required

Required, imported InvoiceId to delete

Response

200 - application/json
code
integer<int>
data
object
merchantId
integer<int64>
message
string<string>
redirect
string<string>
requestId
string<string>