Skip to main content

Delete Invoice

This API is used to delete invoices

Spesification

API NameDelete Invoice
Http MethodDELETE
Path.../api/delete/{id}

The mandatory header that must be sent during a request is header:

HeaderDescription
X-Winpay-TimestampTransaction date and format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in order GMT+7 (Time Jakarta)
X-Winpay-SignatureSignature generated by the merchant
X-Winpay-KeyClient key merchant
Content-Typemust application/json

Response

The following is the body response that will be received:

ParametersData TypeDescription
responseCodestringrespon code
responseMessagestringmessage respon
responseDatedatedate respon

Response Sample

{
"responseCode": "2000300",
"responseMessage": "Invoice has been deleted",
"responseDate": "2022-04-11T15:27:43+07:00"
}