Hosted checkout

Cho phiên hết hạn ngay

Chỉ dành cho admin hoặc test.

post/api/v1/checkouts/{id}/expire-now

Request

  • Base URL: https://api.monapay.vn
  • URL: https://api.monapay.vn/api/v1/checkouts/{id}/expire-now
  • Auth: HTTP bearer and API key in header X-Client-Secret

Path parameters

idstring uuid required

Headers

Idempotency-Keystring

TTL 24 giờ; cùng key khác body trả 409.

Response

Envelope với data là Checkout.

successboolean required
messagestring required

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.