curl --request POST \
--url https://api.venlyfinance.com/v1/accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "user-12345",
"name": "Jane Doe — Main",
"chain": "BASE",
"address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
"partyId": "7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22"
}
'import requests
url = "https://api.venlyfinance.com/v1/accounts"
payload = {
"externalId": "user-12345",
"name": "Jane Doe — Main",
"chain": "BASE",
"address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
"partyId": "7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22"
}
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({
externalId: 'user-12345',
name: 'Jane Doe — Main',
chain: 'BASE',
address: '0x71C7656EC7ab88b098defB751B7401B5f6d8976F',
partyId: '7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22'
})
};
fetch('https://api.venlyfinance.com/v1/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://api.venlyfinance.com/v1/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([
'externalId' => 'user-12345',
'name' => 'Jane Doe — Main',
'chain' => 'BASE',
'address' => '0x71C7656EC7ab88b098defB751B7401B5f6d8976F',
'partyId' => '7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22'
]),
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://api.venlyfinance.com/v1/accounts"
payload := strings.NewReader("{\n \"externalId\": \"user-12345\",\n \"name\": \"Jane Doe — Main\",\n \"chain\": \"BASE\",\n \"address\": \"0x71C7656EC7ab88b098defB751B7401B5f6d8976F\",\n \"partyId\": \"7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22\"\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://api.venlyfinance.com/v1/accounts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"externalId\": \"user-12345\",\n \"name\": \"Jane Doe — Main\",\n \"chain\": \"BASE\",\n \"address\": \"0x71C7656EC7ab88b098defB751B7401B5f6d8976F\",\n \"partyId\": \"7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venlyfinance.com/v1/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 \"externalId\": \"user-12345\",\n \"name\": \"Jane Doe — Main\",\n \"chain\": \"BASE\",\n \"address\": \"0x71C7656EC7ab88b098defB751B7401B5f6d8976F\",\n \"partyId\": \"7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"result": {
"id": "b2a1f0e9-8c7d-4e3a-9f21-0a1b2c3d4e5f",
"externalId": "user-12345",
"name": "Jane Doe — Main",
"kycStatus": "VERIFICATION_PENDING",
"status": "ACTIVE",
"createdAt": "2026-01-15T09:30:00Z",
"version": 0
}
}{
"success": false,
"errors": [
{
"code": "SUMSUB_TOKEN_NOT_REDEEMABLE",
"message": "The supplied sumsubToken is expired or already used. Retry with a fresh token."
}
]
}{
"success": false,
"errors": [
{
"code": "unauthenticated",
"message": "Please authenticate to perform this action."
}
]
}{
"success": false,
"errors": [
{
"code": "forbidden",
"message": "You do not have permission to access this resource."
}
]
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}Create an account
Open an account and provision its wallet on the chosen chain.
curl --request POST \
--url https://api.venlyfinance.com/v1/accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "user-12345",
"name": "Jane Doe — Main",
"chain": "BASE",
"address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
"partyId": "7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22"
}
'import requests
url = "https://api.venlyfinance.com/v1/accounts"
payload = {
"externalId": "user-12345",
"name": "Jane Doe — Main",
"chain": "BASE",
"address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
"partyId": "7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22"
}
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({
externalId: 'user-12345',
name: 'Jane Doe — Main',
chain: 'BASE',
address: '0x71C7656EC7ab88b098defB751B7401B5f6d8976F',
partyId: '7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22'
})
};
fetch('https://api.venlyfinance.com/v1/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://api.venlyfinance.com/v1/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([
'externalId' => 'user-12345',
'name' => 'Jane Doe — Main',
'chain' => 'BASE',
'address' => '0x71C7656EC7ab88b098defB751B7401B5f6d8976F',
'partyId' => '7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22'
]),
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://api.venlyfinance.com/v1/accounts"
payload := strings.NewReader("{\n \"externalId\": \"user-12345\",\n \"name\": \"Jane Doe — Main\",\n \"chain\": \"BASE\",\n \"address\": \"0x71C7656EC7ab88b098defB751B7401B5f6d8976F\",\n \"partyId\": \"7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22\"\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://api.venlyfinance.com/v1/accounts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"externalId\": \"user-12345\",\n \"name\": \"Jane Doe — Main\",\n \"chain\": \"BASE\",\n \"address\": \"0x71C7656EC7ab88b098defB751B7401B5f6d8976F\",\n \"partyId\": \"7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venlyfinance.com/v1/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 \"externalId\": \"user-12345\",\n \"name\": \"Jane Doe — Main\",\n \"chain\": \"BASE\",\n \"address\": \"0x71C7656EC7ab88b098defB751B7401B5f6d8976F\",\n \"partyId\": \"7e3b9c2a-1f4d-4a8b-9c11-2d6e8f0a1b22\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"result": {
"id": "b2a1f0e9-8c7d-4e3a-9f21-0a1b2c3d4e5f",
"externalId": "user-12345",
"name": "Jane Doe — Main",
"kycStatus": "VERIFICATION_PENDING",
"status": "ACTIVE",
"createdAt": "2026-01-15T09:30:00Z",
"version": 0
}
}{
"success": false,
"errors": [
{
"code": "SUMSUB_TOKEN_NOT_REDEEMABLE",
"message": "The supplied sumsubToken is expired or already used. Retry with a fresh token."
}
]
}{
"success": false,
"errors": [
{
"code": "unauthenticated",
"message": "Please authenticate to perform this action."
}
]
}{
"success": false,
"errors": [
{
"code": "forbidden",
"message": "You do not have permission to access this resource."
}
]
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}manage:accounts — see Required scopes.
Creates an account and its wallet. Link an existing party with partyId, or create one inline with the party object. Self-custody accounts also supply the wallet address — see Venly-managed vs self-custody. A new account starts unverified and can’t move money until it is verified.
Errors
The codes this endpoint can return, in addition to the standard errors. Branch oncode, never the message.
| HTTP | code | When |
|---|---|---|
400 | INVALID_ADDRESS_FORMAT | malformed wallet address, or address missing for a SELF_CUSTODY company |
400 | kyc-status-not-settable | kycStatus VERIFIED or REJECTED supplied (not client-settable) |
400 | kyc-not-required-not-allowed | kycStatus: NOT_REQUIRED supplied but no Venly admin has enabled the tenant-managed KYC flag on your company tenant |
400 | verification-kyc-only | party.sumsubToken supplied but party.partyType is not INDIVIDUAL |
400 | verification-self-custody-only | party.sumsubToken supplied but your company’s wallet type is not SELF_CUSTODY |
400 | verification-not-provisioned | party.sumsubToken supplied but verification is not provisioned for your company |
400 | SUMSUB_TOKEN_NOT_REDEEMABLE | the share token is expired or already used. The whole request is rolled back; retry with a fresh token |
409 | account-already-exists | an account with this externalId already exists for your company |
409 | card-provider-already-linked | the supplied cardProviderReference is already linked to another account |
Authorizations
OAuth2 client credentials flow. Token endpoints:
Body
Create a new account. You can either:
- Reference an existing party by providing
partyId - Create a new party inline by providing the
partyobject
SELF_CUSTODY companies must also supply the wallet address.
Unique external reference for this account
1Supported blockchain network. Availability per chain depends on your company's configured
supportedChains — see Supported chains and assets.
AVALANCHE, BASE, ETHEREUM, POLYGON, SOLANA Display name for the account
1 - 255Wallet address. Required for SELF_CUSTODY companies
ID of an existing party to associate as account holder
Show child attributes
Show child attributes
{
"partyType": "INDIVIDUAL",
"firstName": "John",
"lastName": "Doe",
"address": {
"addressLine1": "123 Main Street",
"city": "Amsterdam",
"postalCode": "1012AB",
"country": "NL"
}
}
Show child attributes
Show child attributes
Optional initial KYC status. Only NOT_REQUIRED is settable — it declares that you verify
end-users within your own compliance stack, so Venly does not gate money movement on its own
verification.
This requires a Venly admin to enable the tenant-managed KYC flag on your company tenant.
You cannot switch it on yourself, and until it is enabled the call fails with
kyc-not-required-not-allowed. In practice the flag is granted for testing rather than
production use — production integrations verify via a hosted verification link or Sumsub token
sharing.
Supplying VERIFIED or REJECTED is rejected with kyc-status-not-settable. Omit the field
for the normal flow.
VERIFICATION_PENDING, VERIFIED, NOT_REQUIRED, REJECTED Was this page helpful?

