Delete Invoice By Merchant Ref
This API is used to delete invoices by reference number.
Spesification
| API Name | Delete Invoice By Merchant Ref |
| Http Method | DELETE |
| Path | .../api/deleteByRef/{merchantRef} |
Header
The mandatory header that must be sent during a request is header:
| Header | Description |
|---|---|
| X-Winpay-Timestamp | Transaction date and format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in order GMT+7 (Time Jakarta) |
| X-Winpay-Signature | Signature generated by the merchant |
| X-Winpay-Key | Client key merchant |
| Content-Type | must application/json |
Response
The following is the body response that will be received:
| Parameters | Data Type | Description |
|---|---|---|
| responseCode | string | respon code |
| responseMessage | string | message respon |
| responseDate | date | date respon |
Response Sample
{
"responseCode": "2000300",
"responseMessage": "Invoice has been deleted",
"responseDate": "2022-04-11T15:27:43+07:00"
}