Hosted checkout
Huỷ phiên đang chờ
post/api/v1/checkouts/{id}/cancel
Request
- Base URL: https://api.monapay.vn
- URL: https://api.monapay.vn/api/v1/checkouts/{id}/cancel
- Auth: HTTP bearer and API key in header X-Client-Secret
Path parameters
idstring uuid required
Headers
Idempotency-Keystring required
TTL 24 giờ; cùng key khác body trả 409.
Response
Envelope với data là Checkout.
Example response
{
"data": {
"checkout_url": "https://pay.monapay.vn/c/VlGJtN2dJH_lZ5pU7eKqX8cR3wA9mB4n",
"bank": {
"code": "ACB",
"name": "Ngân hàng ACB"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.