Skip to main content
POST
/
business
/
mode
Switch business mode
curl --request POST \
  --url https://api.orafi.app/v1/business/mode \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "mode": "live"
}'
{
  "success": true,
  "message": "Mode switched successfully",
  "data": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.orafi.app/llms.txt

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

Authorizations

x-api-key
string
header
required

API key for merchant authentication required for most endpoints

Body

application/json
mode
enum<string>
required

Business mode to switch to

Available options:
test,
live
Example:

"live"

Response

Mode switched successfully

success
boolean
Example:

true

message
string
Example:

"Mode switched successfully"

data
object