Back to neotek ↗Get Sandbox Access

SchemeTotalBalance

GEThttps://test.api.neotek.sa/b2b-unified/va/v1/schemes/{schemeId}/balance/total

Sandbox URL · in Production call https://api.neotek.sa

The aggregate totals for a scheme, without the per-VA breakdown. Same parameters as SchemeBalance.

Path parameters:

ParameterRequiredDescription
schemeIdRequiredthe scheme id

Query parameters:

ParameterRequiredDescription
bankCodeRequiredalways RJHISARI

Headers:

ParameterRequiredDescription
authorizationRequiredBearer <ACCESS_TOKEN>
x-app-idRequiredyour application id
cURL
curl -G 'https://test.api.neotek.sa/b2b-unified/va/v1/schemes/{schemeId}/balance/total' \  --header 'authorization: Bearer <ACCESS_TOKEN>' \  --header 'x-app-id: <APP_ID>' \  -d 'bankCode=RJHISARI'

Response

JSON
{  "success": true,  "code": "SUCCESS",  "message": "Scheme total balance retrieved successfully",  "schemeId": "SCHEME001",  "vaCount": 3,  "totalAvailableBalance": "120000.00",  "totalClearingBalance": "120000.00",  "currency": "SAR",  "msgReference": "STOT001"}

Errors — every B2B failure carries a category that determines the HTTP status; see Statements → Errors.