Delete Invoice By Merchant Ref
API ini digunakan untuk menghapus invoice berdasarkan merchant ref.
Spesification
Nama API | Delete Invoice By Merchant Ref |
Http Method | DELETE |
Path | .../api/deleteByRef/{merchantRef} |
Header
header wajib yang harus dikirimkan pada saat request adalah:
Header | Deskripsi |
---|---|
X-Winpay-Timestamp | Waktu tanggal transaksi, dengan format YYYY-MM-DDTHH:mm:ss+07:00. Waktu harus dalam GMT+7 (waktu Jakarta) |
X-Winpay-Signature | Signature hasil generate dari merchant |
X-Winpay-Key | Client key merchant |
Content-Type | harus application/json |
Response
berikut adalah body response yang akan diterima:
Parameter | Tipe | Deskripsi |
---|---|---|
responseCode | string | kode respon |
responseMessage | string | pesan respon |
responseDate | date | tanggal respon |
Response Sample
{
"responseCode": "2000300",
"responseMessage": "Invoice has been deleted",
"responseDate": "2022-04-11T15:27:43+07:00"
}