cURL
curl --request POST \ --url https://undrctrl.id/api/v2/ \ --header 'Content-Type: application/json' \ --data '{ "key": "apiKey", "action": "refill", "order": "123456789" }'
{ "refill": "1" }
Initiate a refill for a given order for the authenticated user.
The API key for authentication
API key
"apiKey"
Action to be performed, set to refill
refill
"refill"
Order ID for which a refill is being requested
"123456789"
OK
"1"
Was this page helpful?