Skip to main content
POST
/
v2
/
counterparties
Create a counterparty
curl --request POST \
  --url https://api.range.org/v2/counterparties \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Vercel",
  "type": "vendor",
  "website": "https://vercel.com",
  "notes": "Infrastructure hosting provider",
  "addresses": [
    {
      "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD28",
      "network": "ethereum",
      "label": "payment wallet"
    }
  ],
  "bank_accounts": [
    {
      "currency": "USD",
      "bank_name": "Chase",
      "account_name": "Vercel Inc",
      "iban": "DE89370400440532013000",
      "swift": "DEUTDEFF",
      "routing_number": "021000021",
      "account_number": "12345678",
      "account_type": "checking",
      "sort_code": "60-16-13"
    }
  ]
}
'
{
  "id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
  "name": "Vercel",
  "type": "vendor",
  "addresses": [
    {
      "id": "08846e81-b3a8-7fd9-cc39-d4023a75dcff",
      "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD28",
      "network": "ethereum",
      "name": "Vercel Payment Wallet",
      "label": "payment address"
    }
  ],
  "bank_accounts": [
    {
      "id": "ba-001",
      "currency": "USD",
      "bank_name": "Silicon Valley Bank",
      "account_name": "Vercel Inc",
      "iban": "************1234",
      "swift": "CHASUS33",
      "routing_number": "*****0248",
      "account_number": "****5678",
      "account_type": "checking",
      "sort_code": "****89"
    }
  ],
  "documents": [
    {
      "id": "doc-001",
      "name": "certificate_of_incorporation.pdf",
      "type": "kyb",
      "mime_type": "application/pdf",
      "size_bytes": 245000,
      "uploaded_at": "2026-05-10T09:00:00Z"
    }
  ],
  "created_at": "2026-05-01T10:00:00Z",
  "updated_at": "2026-05-11T14:30:00Z",
  "website": "https://vercel.com",
  "notes": "Infrastructure hosting provider"
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer

Body

application/json
name
string
required
Example:

"Vercel"

type
enum<string>
required
Available options:
vendor,
customer,
investor,
partner,
exchange,
other
Example:

"vendor"

website
string<uri>
Example:

"https://vercel.com"

notes
string
Example:

"Infrastructure hosting provider"

addresses
object[]
Maximum array length: 100
bank_accounts
object[]
Maximum array length: 50

Response

200 - application/json
id
string
required
Example:

"a1b2c3d4-5678-90ab-cdef-1234567890ab"

name
string
required
Example:

"Vercel"

type
string
required
Example:

"vendor"

addresses
object[]
required
bank_accounts
object[]
required
documents
object[]
required
created_at
string
required
Example:

"2026-05-01T10:00:00Z"

updated_at
string
required
Example:

"2026-05-11T14:30:00Z"

website
string
Example:

"https://vercel.com"

notes
string
Example:

"Infrastructure hosting provider"

Last modified on June 6, 2026