Create a payout route
curl --request POST \
--url https://api.venlyfinance.com/v1/accounts/{accountId}/payout-routes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payoutBankAccountId": "a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071",
"depositAsset": {
"chain": "BASE",
"name": "USDC"
}
}
'import requests
url = "https://api.venlyfinance.com/v1/accounts/{accountId}/payout-routes"
payload = {
"payoutBankAccountId": "a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071",
"depositAsset": {
"chain": "BASE",
"name": "USDC"
}
}
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({
payoutBankAccountId: 'a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071',
depositAsset: {chain: 'BASE', name: 'USDC'}
})
};
fetch('https://api.venlyfinance.com/v1/accounts/{accountId}/payout-routes', 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/{accountId}/payout-routes",
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([
'payoutBankAccountId' => 'a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071',
'depositAsset' => [
'chain' => 'BASE',
'name' => 'USDC'
]
]),
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/{accountId}/payout-routes"
payload := strings.NewReader("{\n \"payoutBankAccountId\": \"a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071\",\n \"depositAsset\": {\n \"chain\": \"BASE\",\n \"name\": \"USDC\"\n }\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/{accountId}/payout-routes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"payoutBankAccountId\": \"a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071\",\n \"depositAsset\": {\n \"chain\": \"BASE\",\n \"name\": \"USDC\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venlyfinance.com/v1/accounts/{accountId}/payout-routes")
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 \"payoutBankAccountId\": \"a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071\",\n \"depositAsset\": {\n \"chain\": \"BASE\",\n \"name\": \"USDC\"\n }\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"result": {
"id": "b2c3d4e5-f607-4819-a2b3-c4d5e6f70819",
"status": "PENDING",
"depositAsset": {
"chain": "BASE",
"name": "USDC"
},
"fiatCurrency": "USD",
"depositAddress": null,
"createdAt": "2026-07-14T09:20:00Z",
"updatedAt": "2026-07-14T09:20:00Z"
}
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}{
"success": false,
"errors": [
{
"code": "unauthenticated",
"message": "Please authenticate to perform this action."
}
]
}{
"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": {}
}{
"success": false,
"errors": [
{
"code": "internal-error",
"message": "An unexpected error occurred. Please try again later."
}
]
}Payout Routes
Create a payout route
Connect an allow-listed bank account to a crypto deposit asset for pay-outs.
POST
/
accounts
/
{accountId}
/
payout-routes
Create a payout route
curl --request POST \
--url https://api.venlyfinance.com/v1/accounts/{accountId}/payout-routes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payoutBankAccountId": "a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071",
"depositAsset": {
"chain": "BASE",
"name": "USDC"
}
}
'import requests
url = "https://api.venlyfinance.com/v1/accounts/{accountId}/payout-routes"
payload = {
"payoutBankAccountId": "a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071",
"depositAsset": {
"chain": "BASE",
"name": "USDC"
}
}
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({
payoutBankAccountId: 'a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071',
depositAsset: {chain: 'BASE', name: 'USDC'}
})
};
fetch('https://api.venlyfinance.com/v1/accounts/{accountId}/payout-routes', 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/{accountId}/payout-routes",
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([
'payoutBankAccountId' => 'a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071',
'depositAsset' => [
'chain' => 'BASE',
'name' => 'USDC'
]
]),
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/{accountId}/payout-routes"
payload := strings.NewReader("{\n \"payoutBankAccountId\": \"a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071\",\n \"depositAsset\": {\n \"chain\": \"BASE\",\n \"name\": \"USDC\"\n }\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/{accountId}/payout-routes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"payoutBankAccountId\": \"a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071\",\n \"depositAsset\": {\n \"chain\": \"BASE\",\n \"name\": \"USDC\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venlyfinance.com/v1/accounts/{accountId}/payout-routes")
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 \"payoutBankAccountId\": \"a1b2c3d4-e5f6-4708-9a1b-2c3d4e5f6071\",\n \"depositAsset\": {\n \"chain\": \"BASE\",\n \"name\": \"USDC\"\n }\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"result": {
"id": "b2c3d4e5-f607-4819-a2b3-c4d5e6f70819",
"status": "PENDING",
"depositAsset": {
"chain": "BASE",
"name": "USDC"
},
"fiatCurrency": "USD",
"depositAddress": null,
"createdAt": "2026-07-14T09:20:00Z",
"updatedAt": "2026-07-14T09:20:00Z"
}
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}{
"success": false,
"errors": [
{
"code": "unauthenticated",
"message": "Please authenticate to perform this action."
}
]
}{
"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": {}
}{
"success": false,
"errors": [
{
"code": "internal-error",
"message": "An unexpected error occurred. Please try again later."
}
]
}Requires scope:
Routes are created
manage:pay-outs — see Required scopes.
Creates an account-scoped route connecting an allow-listed payout bank account to a crypto deposit asset. The route fixes the beneficiary, lane, asset and fiat currency for every pay-out made over it.
The provider is resolved internally from your tenant’s enablement — the request never names one, and provider identity is never exposed.
The recipient gate must pass. The bank account’s party needs an
ACTIVE PAYOUT_RECIPIENT role on this account with cleared KYC/KYB. Add it via Add a party to an account. A party may hold PAYOUT_RECIPIENT alongside ACCOUNT_HOLDER on the same account — that is the self-payout case.PENDING and progress REGISTERING → ACTIVE as provider registration completes, or REJECTED on terminal failure. Only ACTIVE routes are usable, so poll List payout routes before requesting a pay-out.
See Pay-outs for the full flow.
Errors
The codes this endpoint can return, in addition to the standard errors. Branch oncode, never the message.
| HTTP | code | When |
|---|---|---|
422 | recipient-not-authorized | the bank account’s party has no PAYOUT_RECIPIENT role on this account, or its KYC/KYB is not cleared |
422 | recipient-role-inactive | the PAYOUT_RECIPIENT role exists but is INACTIVE |
422 | unsupported-asset | the deposit asset is not supported for your company |
422 | unsupported-combination | no single provider resolves for this bank account and deposit asset |
Authorizations
OAuth2 client credentials flow. Token endpoints:
Path Parameters
Unique account identifier
Body
application/json
Creates a pay-out route. The owning account comes from the path, and the provider is resolved internally — the request never names one.
Was this page helpful?

