Back to neotek ↗Get Sandbox Access

BlockAndUnblock

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

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

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

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

The account-level master switch. Blocking disables all credit and debit transactions on a VA; unblocking re-enables them. The two calls take the same request and return the same response — only the path differs.

A transaction needs both this switch and its specific channel enabled to go through.

Path parameters:

ParameterRequiredDescription
remitterIdRequiredthe VA identifier

Body:

ParameterRequiredDescription
bankCodeRequiredalways RJHISARI
remitterIbanRequiredthe VA IBAN from the create response, 24 characters
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}/block' \  --header 'authorization: Bearer <ACCESS_TOKEN>' \  --header 'content-type: application/json' \  --data '{    "bankCode": "RJHISARI",    "remitterIban": "SA4580000204000010006087"  }'

Response

JSON
{  "success": true,  "code": "SUCCESS",  "message": "Virtual account blocked successfully",  "remitterId": "CUST001",  "remitterIban": "SA4580000204000010006087",  "schemeId": "SCHEME001",  "msgReference": "BLK001"}

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