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

orders
string
required

Order IDs separated by a comma, up to 100 IDs

Example:

"1,2,3"

Response

200
application/json
OK
order
integer
Example:

1

refill
Example:

1