POST
/
api
/
v2
/
curl --request POST \
  --url https://undrctrl.id/api/v2/ \
  --header 'Content-Type: application/json' \
  --data '{
  "action": "refill",
  "key": "apiKey",
  "order": "123456789"
}'
{
  "refill": "1"
}

Body

application/json
action
string
required

Action to be performed, set to refill

key
string
required

The API key for authentication

order
string
required

Order ID for which a refill is being requested

Response

200 - application/json
refill
string