Balance
Berikut ini adalah list endpoint API untuk mendapatkan informasi tentang Balance/Saldo.
POST/api/v3/balance
Get Balance
Digunakan untuk mendapatkan informasi balance/saldo pada akun mu.
Headers
- Name
Authorization
- Type
- Bearer {API_KEY}
- Description
Api Key dari BANGJEFF.
- Name
Content-Type
- Type
- application/json
- Description
Content type JSON.
Request
POST
/api/v3/balancecurl -X POST "https://api.bangjeff.com/api/v3/balance" \
-H "Authorization: Bearer {API_KEY}" \
-H "Content-Type: application/json"
Response
{
"error": false,
"code": 200,
"message": "Success",
"data": {
"balance": 0
}
}
Response Error
Berikut ini adalah list Response error pada endpoint api balance.
HTTP Code | Error Message | Description |
---|---|---|
403 | Access Token is required | Wrong API Key |
403 | Access Token is not valid | Wrong API Key |