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

Body

application/json
key
string
required

The API key for authentication

Example:

"apiKey"

action
string
required

Action to be performed, set to refill

Example:

"refill"

order
string
required

Order ID for which a refill is being requested

Example:

"123456789"

Response

200
application/json
OK
refill
string
Example:

"1"