Skip to main content

Delete Invoice By Merchant Ref

This API is used to delete invoices by reference number.

Spesification

API NameDelete Invoice By Merchant Ref
Http MethodDELETE
Path.../api/deleteByRef/{merchantRef}

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"
}