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/balance
curl -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 CodeError MessageDescription
403Access Token is requiredWrong API Key
403Access Token is not validWrong API Key