Skip to main content
Use the gVault allowlist API to control which customer wallets can deposit into your organization’s contract. Customers send their own deposit and withdrawal transactions; your Ground API key stays on your server.

Before you start

Discover your gVault and retain its id as GVAULT_ID. Use the customer address that will make the deposit and receive the shares. Ground separately admits your gVault to the underlying vault during setup; that permission does not admit individual customers to your contract.

1. Admit an address

Omit the request body; your organization API key authorizes the request. This permission applies only to the selected contract, not to another organization’s gVault. A 200 response means the operation is confirmed; 202 means it is pending. Retain the transaction hash when present and check access before enabling deposits.

2. Verify deposit access

Continue only when allowed is true. For example:
A submitted transaction hash alone does not establish access. If the mutation times out, read this state before retrying. See asynchronous operations for confirmation and uncertain outcomes.

3. Remove deposit access

Read access again and confirm allowed: false before treating removal as effective. For organization gVaults, removal blocks new deposits without freezing existing holdings or revoking the owner’s redemption rights. Freeze controls and the underlying vault’s authorization can still restrict withdrawals.

Handle an incomplete change

After a timeout or temporary 503, read access before retrying the request. A 409 can indicate a conflicting active update; wait for it to finish before requesting a different state. Check the address for 400 responses and use an ID returned by your organization’s discovery for 404 responses. Contact Ground if production returns 403 product_not_enabled or a transaction failure remains unresolved.