A client gateway serves one client OnchainID under one profile. Deploy one for each client who deposits or withdraws coins through the custody gateway add-on.
The Create a gateway wizard on its Client step, with the Client identity and Country fields.
Steps
1. Identify the client
- Open Asset lifecycle → Custody gateway → Gateways and select Create a gateway.
- On Client, enter Client identity. Confirm the line underneath displays “Identity:” with the expected name.
- Choose Country and select Continue to Profile.
2. Choose a profile
On Profile, pick an existing profile. If the step reports “Create a profile first.”, add one on Profiles and return to the wizard.
The client's identity must hold the profile's Required verification topic from one of that topic's trusted issuers. Review names that topic under Required verification. If the identity lacks it, the create is refused before anything is sent or put up for approval, and the refusal names the topic, so nobody signs a gateway that could never be created.
3. Deploy the gateway
- On Review, verify Client identity, Country, Profile and Required verification.
- Select Create gateway and confirm with your PIN.
- Wait while status changes from “Deploying the gateway.” to “The gateway is ready.” If it shows “Still deploying”, check Gateways later.
The gateway address is deterministic before deployment, so coins sent to it are picked up by the keeper once deployed.
Bind the client's wallet
Open the new gateway from Gateways. The page is titled with the client's name, and its Overview tab shows Client identity, Profile, Country, Client wallet, Default payout address and Screener override.
A newly deployed gateway has no bound client wallet because one OnchainID can hold multiple wallets. A gateway manager binds one on the Overview tab:
- Under Wallet of the client identity, choose one of the client's wallets. When the client has only one wallet, it is already chosen.
- Select Set client wallet and confirm with your PIN or authenticator code.
Once a wallet is bound, the same control reads Change client wallet and offers the client's other wallets. While the client identity has no wallet, the tab says the client wallet cannot be set yet. The custody gateway API makes the same write.
Until a wallet is bound, the client's Deposit dialog reads “No gateway yet” and client routes return 404. Once bound, the client sees the deposit address in Wallet deposits and withdrawals, and operators manage records under Review deposits and withdrawals.
If a gateway manager sets Screener override on the contract, only that wallet screens records for this gateway (waiting for approval as “Set a screener override” when the approval rule is on).
Troubleshooting
The Client step says no identity with this address was found
No OnchainID at that address on this network belongs to your organisation or its participants. Enter the client's OnchainID address rather than a wallet address. Continue to Profile stays disabled until a valid identity resolves.
The Client step says the identity could not be checked
“The identity could not be checked. Try again.” indicates a lookup error rather than a missing identity. Select Try again until the lookup completes.
The Client step says a gateway already exists for this identity
A client identity can hold only one gateway per network. Open Gateways, filter with Search by gateway or client and select Open gateway on the existing row. Identities with a “Closed” gateway cannot open a second gateway on the same network.
Create gateway shows that the change needs approval first
Creating a gateway on a non-default profile requires approval when Approvals is enabled. Select Ask for approval in the “This change needs approval first” window, then complete approval as described in Approve custody gateway changes.
The page says the gateway could not be created
Check the error toast for the exact refusal, such as “The client already has a gateway” or “The gateway profile was not found”. A refusal that names a verification topic means the client's identity does not hold the profile's required verification topic: have a trusted issuer add that claim, or choose a profile without it. Resolve the cause and select Try again.