Account
Accounts represent your end users. Creating an account provisions custodial wallet addresses across supported networks. All endpoints on this page require authentication.
Create Account
Provisions a new custodial account and its wallets.
POST /api/v1/account/create
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
subID | string | Yes | Your external identifier for this account (must be unique) |
poolType | string | No | dedicated or organization_owned. Required for hybrid apps |
{
"subID": "user-123",
"poolType": "dedicated"
}Response 200
{
"message": "success create wallet",
"data": {
"status": "pending",
"subId": "user-123",
"accountId": "acc_abc123"
}
}Response data fields
| Field | Type | Description |
|---|---|---|
status | string | Account lifecycle: pending (MPC provisioning), active_no_addresses (account exists, wallets not ready), active (wallets available), failed (provisioning failed) |
subId | string | Your subID from the request |
accountId | string | Internal account UUID (use in webhooks and support tickets) |
| Code | Meaning |
|---|---|
| 400 | Invalid JSON or invalid poolType |
| 403 | App is frozen |
| 409 | subID already exists for this app |
| 500 | Wallet creation failed |
Get Account
Returns the account and all its wallets.
GET /api/v1/account/:subID
Response 200
{
"message": "success get account",
"data": {
"id": "acc_abc123",
"subId": "user-123",
"status": "active",
"poolType": "dedicated",
"wallets": [
{
"walletId": "wal_1",
"network": "ethereum",
"address": "0xabc...",
"addressType": "evm"
}
]
}
}Response data fields
| Field | Type | Description |
|---|---|---|
id | string | Account UUID |
subId | string | Your external identifier |
status | string | Same values as Create Account |
poolType | string | dedicated or organization_owned — which wallet pool this account uses |
wallets[] | array | One entry per network wallet (may be empty while status is pending) |
wallets[].walletId | string | Wallet UUID (used in invoices, listen, per_wallet balance, withdraw) |
wallets[].network | string | Network code (e.g. ethereum, tron) |
wallets[].address | string | On-chain deposit address |
wallets[].addressType | string | Address encoding family (e.g. evm, tron) |
| Code | Meaning |
|---|---|
| 404 | Account not found |
Get Wallet by ID
GET /api/v1/account/:subID/wallet/:walletID
Response 200
{
"message": "success get wallet",
"data": {
"account": {
"id": "acc_abc123",
"subId": "user-123",
"status": "active",
"poolType": "dedicated"
},
"walletId": "wal_1",
"network": "ethereum",
"address": "0xabc...",
"addressType": "evm"
}
}Response data fields
| Field | Type | Description |
|---|---|---|
account | object | Summary of the parent account (id, subId, status, poolType) — same shape as Get Account without wallets |
walletId | string | Wallet UUID |
network | string | Network code |
address | string | On-chain address |
addressType | string | Address encoding family |
| Code | Meaning |
|---|---|
| 404 | Account or wallet not found |
Get Wallet by Network
Returns the account's wallet for a specific network.
GET /api/v1/account/:subID/network/:network
:network is a network code, e.g. ethereum. Response shape matches Get Wallet by ID.
| Code | Meaning |
|---|---|
| 404 | Account or wallet not found |
Freeze an account
Stop wallet writes for one account that belongs to your app. This is separate from an app-level freeze (403 app is frozen on Create Account).
The signed API can freeze. It has no call to unfreeze.
POST /api/v1/accounts/:accountId/freeze
:accountId is the account UUID from Get Account (data.id), not subID.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
reason | string | Yes | Why this account is being frozen. Trimmed. 1–1000 characters |
{
"reason": "suspected fraud"
}Response 200
{
"data": {
"frozen": true,
"accountId": "acc_abc123",
"message": "This account is frozen. Withdrawals, sweeps, transfers, and new addresses are stopped until it is unfrozen."
}
}Sending freeze again for an account that is already frozen returns the same 200 once the signing service has confirmed it. It does not create a second freeze.
While the account is frozen:
- A withdrawal that uses a wallet on this account is rejected.
- A custom transaction from a wallet on this account is rejected.
- A balance transfer is rejected when the source wallet or the destination wallet belongs to this account.
- New addresses are not added to this account.
- Deposits to this account are still credited.
- Convert still runs. It is an app ledger swap and is not tied to one account.
- Quotes still run, including withdraw estimate and convert estimate.
- Creating a different account is unchanged.
A withdrawal or custom transaction that has not been signed yet is rejected. One that is already being signed can still finish.
A per_app withdrawal does not send walletId, so it is not rejected for this reason. A per_wallet withdrawal is rejected when that wallet’s account is frozen.
| Code | error |
|---|---|
| 400 | A reason is required. |
| 400 | Reason must be 1000 characters or less. |
| 404 | Account not found. — unknown id, or the account belongs to another app |
| 502 | This account is frozen here, but the signing service has not confirmed it yet. Retry this request. |
On 502 the account is already frozen for the calls above. Retry the same request until you get 200.
When the account changes state, you also receive an account.frozen webhook. When support unfreezes it, you receive account.unfrozen.
Get freeze status
Read-only. Same authentication as the other account calls.
GET /api/v1/accounts/:accountId/freeze
:accountId is the account UUID.
Response 200 when frozen
{
"data": {
"frozen": true,
"accountId": "acc_abc123",
"message": "This account is frozen. Withdrawals, sweeps, transfers, and new addresses are stopped until it is unfrozen."
}
}Response 200 when active
{
"data": {
"frozen": false,
"accountId": "acc_abc123",
"message": "This account is active."
}
}| Code | error |
|---|---|
| 404 | Account not found. |
Get freeze status by wallet
GET /api/v1/wallets/:walletId/freeze
:walletId is wallets[].walletId from Get Account.
Response 200
Same fields as Get freeze status, plus walletId.
{
"data": {
"frozen": true,
"accountId": "acc_abc123",
"walletId": "wal_1",
"message": "This account is frozen. Withdrawals, sweeps, transfers, and new addresses are stopped until it is unfrozen."
}
}| Code | error |
|---|---|
| 404 | Account not found. — unknown wallet, or the wallet belongs to another app |