Mark Bank Account as NRE
curl --request PUT \
--url https://api.saber.money/api/v2/user/bank_account/nre \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--header 'X-Request-Id: <x-request-id>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--header 'X-User-Id: <x-user-id>' \
--data '
{
"bank_id": "550e8400-e29b-41d4-a716-446655440000",
"mark_as_nre": true
}
'import requests
url = "https://api.saber.money/api/v2/user/bank_account/nre"
payload = {
"bank_id": "550e8400-e29b-41d4-a716-446655440000",
"mark_as_nre": True
}
headers = {
"X-Api-Key": "<x-api-key>",
"X-Signature": "<x-signature>",
"X-Timestamp": "<x-timestamp>",
"X-Request-Id": "<x-request-id>",
"X-User-Id": "<x-user-id>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
'X-Api-Key': '<x-api-key>',
'X-Signature': '<x-signature>',
'X-Timestamp': '<x-timestamp>',
'X-Request-Id': '<x-request-id>',
'X-User-Id': '<x-user-id>',
'Content-Type': 'application/json'
},
body: JSON.stringify({bank_id: '550e8400-e29b-41d4-a716-446655440000', mark_as_nre: true})
};
fetch('https://api.saber.money/api/v2/user/bank_account/nre', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.saber.money/api/v2/user/bank_account/nre",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'bank_id' => '550e8400-e29b-41d4-a716-446655440000',
'mark_as_nre' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <x-api-key>",
"X-Request-Id: <x-request-id>",
"X-Signature: <x-signature>",
"X-Timestamp: <x-timestamp>",
"X-User-Id: <x-user-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.saber.money/api/v2/user/bank_account/nre"
payload := strings.NewReader("{\n \"bank_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"mark_as_nre\": true\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("X-Api-Key", "<x-api-key>")
req.Header.Add("X-Signature", "<x-signature>")
req.Header.Add("X-Timestamp", "<x-timestamp>")
req.Header.Add("X-Request-Id", "<x-request-id>")
req.Header.Add("X-User-Id", "<x-user-id>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.saber.money/api/v2/user/bank_account/nre")
.header("X-Api-Key", "<x-api-key>")
.header("X-Signature", "<x-signature>")
.header("X-Timestamp", "<x-timestamp>")
.header("X-Request-Id", "<x-request-id>")
.header("X-User-Id", "<x-user-id>")
.header("Content-Type", "application/json")
.body("{\n \"bank_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"mark_as_nre\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.saber.money/api/v2/user/bank_account/nre")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["X-Api-Key"] = '<x-api-key>'
request["X-Signature"] = '<x-signature>'
request["X-Timestamp"] = '<x-timestamp>'
request["X-Request-Id"] = '<x-request-id>'
request["X-User-Id"] = '<x-user-id>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"bank_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"mark_as_nre\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"bank_id": "bbdce159-136b-4e78-9420-c177b6b05d8b",
"account_number": "33XXXXX3133",
"ifsc_code": "SBIN0016120",
"account_holder_name": "Mr. MOHIT KUMAR GAUR",
"account_type": "SAVINGS",
"name": null,
"iban": null,
"bic": null,
"validation_status": "APPROVED",
"routing_type": null,
"created_at": "2026-07-06T09:28:57Z",
"updated_at": "2026-07-06T09:29:04Z",
"message": "Congratulations! Your bank account is verified",
"is_nre": true
}
}{
"success": false,
"errors": [
{
"code": 104007,
"text": "bank account is already marked as NRE"
}
]
}{
"success": false,
"errors": [
{
"code": 104007,
"text": "bank account is already marked as NRE"
}
]
}Bank Account Operations
Mark Bank Account as NRE
Mark or unmark a bank account as an NRE (Non-Resident External) account.
PUT
/
api
/
v2
/
user
/
bank_account
/
nre
Mark Bank Account as NRE
curl --request PUT \
--url https://api.saber.money/api/v2/user/bank_account/nre \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--header 'X-Request-Id: <x-request-id>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--header 'X-User-Id: <x-user-id>' \
--data '
{
"bank_id": "550e8400-e29b-41d4-a716-446655440000",
"mark_as_nre": true
}
'import requests
url = "https://api.saber.money/api/v2/user/bank_account/nre"
payload = {
"bank_id": "550e8400-e29b-41d4-a716-446655440000",
"mark_as_nre": True
}
headers = {
"X-Api-Key": "<x-api-key>",
"X-Signature": "<x-signature>",
"X-Timestamp": "<x-timestamp>",
"X-Request-Id": "<x-request-id>",
"X-User-Id": "<x-user-id>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
'X-Api-Key': '<x-api-key>',
'X-Signature': '<x-signature>',
'X-Timestamp': '<x-timestamp>',
'X-Request-Id': '<x-request-id>',
'X-User-Id': '<x-user-id>',
'Content-Type': 'application/json'
},
body: JSON.stringify({bank_id: '550e8400-e29b-41d4-a716-446655440000', mark_as_nre: true})
};
fetch('https://api.saber.money/api/v2/user/bank_account/nre', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.saber.money/api/v2/user/bank_account/nre",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'bank_id' => '550e8400-e29b-41d4-a716-446655440000',
'mark_as_nre' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <x-api-key>",
"X-Request-Id: <x-request-id>",
"X-Signature: <x-signature>",
"X-Timestamp: <x-timestamp>",
"X-User-Id: <x-user-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.saber.money/api/v2/user/bank_account/nre"
payload := strings.NewReader("{\n \"bank_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"mark_as_nre\": true\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("X-Api-Key", "<x-api-key>")
req.Header.Add("X-Signature", "<x-signature>")
req.Header.Add("X-Timestamp", "<x-timestamp>")
req.Header.Add("X-Request-Id", "<x-request-id>")
req.Header.Add("X-User-Id", "<x-user-id>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.saber.money/api/v2/user/bank_account/nre")
.header("X-Api-Key", "<x-api-key>")
.header("X-Signature", "<x-signature>")
.header("X-Timestamp", "<x-timestamp>")
.header("X-Request-Id", "<x-request-id>")
.header("X-User-Id", "<x-user-id>")
.header("Content-Type", "application/json")
.body("{\n \"bank_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"mark_as_nre\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.saber.money/api/v2/user/bank_account/nre")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["X-Api-Key"] = '<x-api-key>'
request["X-Signature"] = '<x-signature>'
request["X-Timestamp"] = '<x-timestamp>'
request["X-Request-Id"] = '<x-request-id>'
request["X-User-Id"] = '<x-user-id>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"bank_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"mark_as_nre\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"bank_id": "bbdce159-136b-4e78-9420-c177b6b05d8b",
"account_number": "33XXXXX3133",
"ifsc_code": "SBIN0016120",
"account_holder_name": "Mr. MOHIT KUMAR GAUR",
"account_type": "SAVINGS",
"name": null,
"iban": null,
"bic": null,
"validation_status": "APPROVED",
"routing_type": null,
"created_at": "2026-07-06T09:28:57Z",
"updated_at": "2026-07-06T09:29:04Z",
"message": "Congratulations! Your bank account is verified",
"is_nre": true
}
}{
"success": false,
"errors": [
{
"code": 104007,
"text": "bank account is already marked as NRE"
}
]
}{
"success": false,
"errors": [
{
"code": 104007,
"text": "bank account is already marked as NRE"
}
]
}Headers
Your API key (configured in credentials)
HMAC-SHA256 signature (auto-generated) To test manually: HMAC-SHA256 of apiKey + timestamp (or apiKey + timestamp + userId when X-User-Id is required), keyed with your API secret. The HMAC Generator flow computes this for you.
Unix timestamp in seconds (auto-generated) Unix seconds, e.g. Math.floor(Date.now() / 1000). Must match the timestamp used in the X-Signature computation.
Unique request identifier (auto-generated) Any unique string per request, e.g. a UUID.
User UUID (set above)
Body
application/json
Related topics
Frequently Asked QuestionsGet Bank AccountsGet Bank Account by IDAdd Bank AccountTraditional RailsWas this page helpful?
⌘I