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": "test"
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
mode
enum<string>
Available options:
test,
live

Response

200 - application/json

Mode switched

success
boolean
message
string