POST
/
api
/
v2
curl --request POST \
  --url https://undrctrl.id/api/v2/ \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "apiKey",
  "action": "status",
  "order": "123456789"
}'
{
  "charge": "770",
  "start_count": "3572",
  "status": "Partial",
  "remains": "157",
  "currency": "IDR"
}

Body

application/json
key
string
required

The API key to fetch the order status

Example:

"apiKey"

action
string
required

Action to be performed, set to status

Example:

"status"

order
string
required

Order ID to retrieve its status

Example:

"123456789"

Response

200
application/json
OK
charge
string
Example:

"770"

start_count
string
Example:

"3572"

status
string
Example:

"Partial"

remains
string
Example:

"157"

currency
string
Example:

"IDR"