Back to neotek ↗Get Sandbox Access

BlockAndReleaseFunds

POSThttps://test.api.neotek.sa/b2b-unified/va/v1/remitters/{remitterId}/funds/block

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

POSThttps://test.api.neotek.sa/b2b-unified/va/v1/remitters/{remitterId}/funds/release

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

Blocking reserves an amount in a VA: it reduces availableBalance but the money stays in the account, showing as blockedBalance. Releasing returns it to available. The two calls take the same request and return the same response — only the path differs.

Path parameters:

ParameterRequiredDescription
remitterIdRequiredthe VA identifier

Body:

ParameterRequiredDescription
bankCodeRequiredalways RJHISARI
remitterIbanRequiredthe VA IBAN from the create response, 24 characters
amountRequireddecimal, minimum 0.01
schemeIdOptionalrequired only if you have several schemes
msgReferenceOptionalgenerated if omitted

Headers:

ParameterRequiredDescription
authorizationRequiredBearer <ACCESS_TOKEN>
content-typeRequiredapplication/json
cURL
curl -X POST 'https://test.api.neotek.sa/b2b-unified/va/v1/remitters/{remitterId}/funds/block' \  --header 'authorization: Bearer <ACCESS_TOKEN>' \  --header 'content-type: application/json' \  --data '{    "bankCode": "RJHISARI",    "remitterIban": "SA4580000204000010006087",    "amount": "10000.00"  }'

Response

JSON
{  "success": true,  "code": "SUCCESS",  "message": "Funds blocked successfully",  "remitterId": "CUST001",  "remitterIban": "SA4580000204000010006087",  "amount": "10000.00",  "schemeId": "SCHEME001",  "msgReference": "FBK001"}

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