Skip to main content

Cancel an invoice

POST 

/checkout/cancel

Use this API to cancel a payment invoice from the POS system. A canceled invoice cannot be paid. Paid invoices cannot be canceled.

Request

Header Parameters

    Authorization stringrequired

    Send client_secret as a Bearer token

Body

required

The entityId (client_id) and client_secret will be provided when registering as a merchant.

    checkoutId stringrequired

    Checkout ID

Responses

Request Response

Schema

  • Array [

  • code stringrequired

    Possible values: [0, 1]

    Request status

    description stringrequired

    Possible values: [SUCCESS, UNSUCCESS, USER_PAYMENT_VERIFICATION_FAILED, RISK_REJECT, REGULATION_RESTRICTION, PROCESS_FAIL]

    Status information

    message string

    Алдааны мэдээлэл

  • ]

Loading...