Blockchain Address
Generate a permanent, dedicated blockchain wallet address for a specific customer. Unlike payment collection addresses (which are one-time), these addresses are persistent — the same customer always gets the same address on a given blockchain and token combination.
Base path: /v1/blockchain-accounts
Authentication: API Key (Authorization: <secret-key>)
When to Use This
Use this endpoint when you want to assign a dedicated deposit address to a customer — for example, to enable top-ups, recurring deposits, or on-chain identity tracking. The address is unique per customer × blockchain × token combination and is reused across calls (idempotent).
For one-time checkout payments, use
POST /v1/transactionsinstead.
Endpoint
POST
/v1/blockchain-accounts/create
API Key
Generate or retrieve a customer's wallet address
POST /v1/blockchain-accounts/create
/v1/blockchain-accounts/createCreates a permanent blockchain wallet address for a customer on the specified network and token. If an address already exists for that customer × blockchain × token combination in your current environment, the existing address is returned — no duplicate is created.
Request
Headers
Authorization: <your-secret-api-key>
Content-Type: application/jsonBody
firstName
string
Yes
Customer's first name.
lastName
string
Yes
Customer's last name.
email
string
Yes
Customer's email address. Used to identify and create the customer record.
phoneNumber
string
No
Customer's phone number. Optional.
Response
Response fields
uuid
string
Unique ID of this blockchain address record.
address
string
The generated blockchain wallet address. Display this to your customer.
normalizedAddress
string
Lowercase version of the address used internally for matching.
blockchain
string
The blockchain network this address belongs to.
token
string
The token this address is configured for.
customerId
string
ID of the customer profile created or matched in your business.
businessId
string
Your business ID.
isActive
boolean
Whether this address is currently active and usable.
environment
string
TEST or LIVE — matches your API key's environment.
subscriptionId
string
Internal subscription ID for on-chain monitoring. null until assigned.
createdAt
string
ISO timestamp when the address was first generated.
updatedAt
string
ISO timestamp of the last update to this record.
Error Responses
400
<token> is not supported on <blockchain>
The token–blockchain combination is not supported.
400
Unable to generate blockchain address
External wallet generation failed.
401
Unauthorized
Missing or invalid API key.
Supported Values
blockchain
blockchainBSC_MAINNET
Binance Smart Chain
BEP-20
POLYGON
Polygon (Matic Network)
ERC-20
Use
BSC_TESTNETwhen testing with a TEST API key.
token
tokenUSDT
Tether USD
USDC
USD Coin
Idempotency
This endpoint is idempotent. Calling it multiple times with the same customer email, blockchain, and token returns the same address every time — no duplicate addresses are generated.
This means it is safe to call this endpoint on every customer session or page load without worrying about creating duplicates.
Code Examples
Node.js
cURL
Python
Last updated