Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.starkfi.io/llms.txt

Use this file to discover all available pages before exploring further.

When an order is disabled, it can no longer be processed in our transaction system. Therefore, if it is being used in a checkout or for a specific one-time charge, the payer will not be able to complete it.
1

Disable or Enable order

Make one request to control the state
curl --request POST \
  --url https://api.starkfi.io/order/:order_id/toggle \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api_key>' \
{
    "statusCode": 200,
    "success": true,
    "status": "order_deactivated",
    "message": "Order deactivated successfully.",
    "data": {
        "id": "cmom6hg0e000201nm7dcrkgel",
        "active": false
    }
}