curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/getBalance \
--header 'Authorization: Bearer <token>'{
"data": {
"getBalance": {
"status": 1,
"data": {
"value": 5000,
"currency": "USD"
}
}
}
}Fetch the available balance in your Admin wallet. Parameters are passed as URL query string for this endpoint, not as a JSON body.
Real URL: POST https://stagingstores.xoxoday.com/chef/v1/oauth/api
curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/getBalance \
--header 'Authorization: Bearer <token>'{
"data": {
"getBalance": {
"status": 1,
"data": {
"value": 5000,
"currency": "USD"
}
}
}
}Documentation Index
Fetch the complete documentation index at: https://help-plum.xoxoday.com/llms.txt
Use this file to discover all available pages before exploring further.
| Path | Type | Description |
|---|---|---|
| data | object | Root response object. |
| data.getBalance | object | Container for balance details. |
| data.getBalance.status | number | API execution status (1 = success). |
| data.getBalance.data | object | Balance information object. |
| data.getBalance.data.value | number | Available balance value. |
| data.getBalance.data.currency | string | Currency code of the balance (e.g., USD). |
Note
Rather than fetching the balance before every order, you can use the Low Balance Notification option in the Admin Dashboard to receive alerts when the balance reaches the set threshold. Click here to know more.
Authorization: Bearer <access_token>
Always use plumProAPI.query.getBalance.
plumProAPI.query.getBalance Always use plumProAPI.
plumProAPI URL-encoded JSON. Pass {"data":{}}.
Balance fetched successfully.
Show child attributes