Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization
header as Bearer TOKEN
.https://sandbox.surepass.io
https://kyc-api.surepass.io
Header | Required | Description |
---|---|---|
Authorization | Yes | JWT Bearer token for authentication. Format: Bearer <your_token> |
Content-Type | Yes | Set to application/json |
Parameter | Type | Description |
---|---|---|
success | Boolean | Indicates if the request was successful |
balance | Number | The remaining balance (credits) in the account |
message | String | A descriptive message about the balance status |
{
"success": true,
"balance": 5000,
"message": "Your current balance is 5000 credits"
}
{
"success": false,
"error": "unauthorized",
"message": "Invalid or expired token"
}
curl --location --request GET 'https://kyc-api.surepass.app/api/v1/utils/usage/balance'
{}