Open a Nickel Banking account
curl --request POST \
--url https://rest.staging.nickel.com/nickelBanking/accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"nickname": "Payroll",
"idempotencyKey": "open-payroll-2026-11",
"debitProtectionEnabled": true,
"defaultForReceivingPayments": true
}
'import requests
url = "https://rest.staging.nickel.com/nickelBanking/accounts"
payload = {
"nickname": "Payroll",
"idempotencyKey": "open-payroll-2026-11",
"debitProtectionEnabled": True,
"defaultForReceivingPayments": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
nickname: 'Payroll',
idempotencyKey: 'open-payroll-2026-11',
debitProtectionEnabled: true,
defaultForReceivingPayments: true
})
};
fetch('https://rest.staging.nickel.com/nickelBanking/accounts', 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://rest.staging.nickel.com/nickelBanking/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'nickname' => 'Payroll',
'idempotencyKey' => 'open-payroll-2026-11',
'debitProtectionEnabled' => true,
'defaultForReceivingPayments' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://rest.staging.nickel.com/nickelBanking/accounts"
payload := strings.NewReader("{\n \"nickname\": \"Payroll\",\n \"idempotencyKey\": \"open-payroll-2026-11\",\n \"debitProtectionEnabled\": true,\n \"defaultForReceivingPayments\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.post("https://rest.staging.nickel.com/nickelBanking/accounts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"nickname\": \"Payroll\",\n \"idempotencyKey\": \"open-payroll-2026-11\",\n \"debitProtectionEnabled\": true,\n \"defaultForReceivingPayments\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://rest.staging.nickel.com/nickelBanking/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"nickname\": \"Payroll\",\n \"idempotencyKey\": \"open-payroll-2026-11\",\n \"debitProtectionEnabled\": true,\n \"defaultForReceivingPayments\": true\n}"
response = http.request(request)
puts response.read_body{
"account": {
"id": "cmf1nba0001qz8x4k2v7c9d3e",
"nickname": "Operating",
"accountNumberLastFour": "6789",
"balanceCents": 1250000,
"pendingCardHoldsCents": 4599,
"debitProtectionEnabled": false,
"createdAt": "2026-09-01T15:30:00.000Z"
}
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Nickel Banking
Open a Nickel Banking account
Opens a Nickel Banking account for your organization, up to 10. Your organization’s first account is opened in the Nickel dashboard, where the business accepts the bank’s terms; this opens the ones after it. A business that uses Nickel through a platform partner accepts the terms on a page Nickel hosts, and the partner opens its first account with this request.
Always send an idempotencyKey. If the request times out and you retry with the same key, Nickel answers the account the first request opened instead of opening a second one.
POST
/
nickelBanking
/
accounts
Open a Nickel Banking account
curl --request POST \
--url https://rest.staging.nickel.com/nickelBanking/accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"nickname": "Payroll",
"idempotencyKey": "open-payroll-2026-11",
"debitProtectionEnabled": true,
"defaultForReceivingPayments": true
}
'import requests
url = "https://rest.staging.nickel.com/nickelBanking/accounts"
payload = {
"nickname": "Payroll",
"idempotencyKey": "open-payroll-2026-11",
"debitProtectionEnabled": True,
"defaultForReceivingPayments": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
nickname: 'Payroll',
idempotencyKey: 'open-payroll-2026-11',
debitProtectionEnabled: true,
defaultForReceivingPayments: true
})
};
fetch('https://rest.staging.nickel.com/nickelBanking/accounts', 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://rest.staging.nickel.com/nickelBanking/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'nickname' => 'Payroll',
'idempotencyKey' => 'open-payroll-2026-11',
'debitProtectionEnabled' => true,
'defaultForReceivingPayments' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://rest.staging.nickel.com/nickelBanking/accounts"
payload := strings.NewReader("{\n \"nickname\": \"Payroll\",\n \"idempotencyKey\": \"open-payroll-2026-11\",\n \"debitProtectionEnabled\": true,\n \"defaultForReceivingPayments\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.post("https://rest.staging.nickel.com/nickelBanking/accounts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"nickname\": \"Payroll\",\n \"idempotencyKey\": \"open-payroll-2026-11\",\n \"debitProtectionEnabled\": true,\n \"defaultForReceivingPayments\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://rest.staging.nickel.com/nickelBanking/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"nickname\": \"Payroll\",\n \"idempotencyKey\": \"open-payroll-2026-11\",\n \"debitProtectionEnabled\": true,\n \"defaultForReceivingPayments\": true\n}"
response = http.request(request)
puts response.read_body{
"account": {
"id": "cmf1nba0001qz8x4k2v7c9d3e",
"nickname": "Operating",
"accountNumberLastFour": "6789",
"balanceCents": 1250000,
"pendingCardHoldsCents": 4599,
"debitProtectionEnabled": false,
"createdAt": "2026-09-01T15:30:00.000Z"
}
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Authorizations
Body
application/json
