Check wallet balance

Try it in the sandbox

Read your organisation's current $kic balance — to decide whether you can afford more reward grants, or to reconcile against your own records.

GEThttps://kicbak.co/api/third-party/v1/kicbak/wallet

Authentication

Every request needs a bearer token in the Authorization header, and this endpoint only works for clients owned by an organisation. Exchange your client_key/client_secret at POST /auth/token; tokens last 24 hours.

Headers

FieldTypeRequiredDescription
AuthorizationstringrequiredBearer token obtained from POST /api/third-party/v1/auth/token, e.g. "Bearer eyJhbGci...".

Code examples

bash
curl -X GET https://kicbak.co/api/third-party/v1/kicbak/wallet \
  -H "Authorization: Bearer YOUR_TOKEN"

Responses

Every response is JSON with a status field (1 success, 0 failure). Failures also carry a code your error handler can branch on — it never changes if we reword message.

json
{
  "status": 1,
  "data": {
    "balance": "125000",
    "currency": "KIC"
  }
}

Error reference

StatusCodeMeaning
400Organisation has no wallet configured.
401UNAUTHORIZEDNo readable credential, or a token that doesn't decode/validate.
401TOKEN_EXPIREDToken aged out. Re-exchange the same client_key/client_secret and retry.
401CREDENTIAL_ROTATEDThis token was minted under a secret that has since been rotated. Exchange your new secret.
401CREDENTIAL_EXPIREDThe credential itself is past its own expiry — re-exchanging will not help; request a new credential.
401CLIENT_INACTIVEThe client has been deactivated.
403NOT_ORGANIZATIONClient is not organisation-owned — only organisation clients can call this endpoint.
503SANDBOX_UNAVAILABLEYou are using a sandbox credential and the sandbox environment is temporarily unavailable on our side. Retry shortly; production credentials are unaffected.
429More than the configured hourly limit (default 600) from this client.
500INTERNAL_ERRORUnexpected server error, or the org's configured wallet does not resolve to its own wallet. Safe to retry.