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

Body

application/json
action
string
required

Action to be performed, set to refill

key
string
required

The API key for authentication

orders
string
required

Order IDs separated by a comma, up to 100 IDs

Response

200 - application/json
order
integer
refill