Cancel Order
Note
- Áp dụng cho payment_method=BANK_TRANSFER hoặc payment_method=NAPAS_BANK_TRANSFER
- Chỉ hủy được khi order_status khác CAPTURED và CANCELLED
POST
https://pgapi-sandbox.sepay.vn/v1/order/cancel -u "MERCHANT_123:your-secret-key" \
-H "Content-Type: application/json" \
-d '{
"order_invoice_number": "{order_invoice_number}"
}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
order_invoice_number | string | Required | Invoice number of the order to cancel |