Skip to main content
PATCH
/
v2
/
counterparties
/
{id}
Update counterparty fields
curl --request PATCH \
  --url https://api.range.org/v2/counterparties/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Vercel Inc.",
  "type": "vendor",
  "website": "https://vercel.com",
  "notes": "Updated contract terms"
}
'
{
  "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

Path Parameters

id
string
required

Body

application/json
name
string
Example:

"Vercel Inc."

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

"vendor"

website
string<uri>
Example:

"https://vercel.com"

notes
string
Example:

"Updated contract terms"

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