Disable a Checkout

Disable checkout page with a specific Checkout Code.

PATCH /checkout/disable/{checkoutCode}

Headers

Name
Value

Accept

application/json

X-TX-AppId

YOUR-APP-ID

URL Params

Name
Type
Description
Required

{checkoutCode}

string

The unique identifier for the transaction to retrieve.

Required

Request

curl -X PATCH https://api.tradpay.io/v1/checkout/disable/4cADM2G7UJfXXjJlXsC9t9NL \
    -H "Content-Type: application/json" \
    -H "X-TX-AppId: YOUR-APP-ID"

Response

{
  "code": 200,
  "msg": "Checkout disabled successfully!",
  "status": "success"
}

Last updated