CryptoCheckout.customerDeposit, which verifies the result in the browser before showing it.
Testnet, opt-in. Base Sepolia (
84532) and Ethereum Sepolia (11155111) today. Per-customer deposit addresses.Authentication
Unlike the checkout endpoints, this one takes a secret, so call it from your server only.Request
The body is an allowlist. A key that looks like an identity (email, username, player_id, phone, name, …) is refused with 400 identity_field_rejected. Any other unknown key is refused with 400 unknown_field. Neither error repeats the key or its value.
An opaque reference to your customer, 1 to 256 UTF-8 bytes, no control characters.
customer_ref is accepted as an alias; sending both is 400 customer_ref_ambiguous.We never store it. It is turned into a keyed hash scoped to the network and token, and only that hash is kept. Send your own id, a UUID or a hash of your own. Never send an e-mail address, a phone number or a name.Optional. If you send it, it has to be your own account, or the call answers
403 merchant_mismatch.Response
true when the address was issued before. The call is idempotent on (you, network, token, customer).Everything the address is derived from: your pool’s committed configuration, the contract the address runs, the factory, the keyed customer id, the token and the two fee terms (token base units). On a network where cryptocheckout covers the network fee (every test network today), a new address has both terms
"0"; 422 surcharge_above_ceiling and 503 surcharge_unavailable don’t occur there. The browser uses it to re-derive the address from the chain. Treat it as a hint: show an address only after verification, which is what the SDK does for you. Verification.Errors
Every error is{ "ok": false, "error": "<code>" }.
Deposits to the address are reported by the
customer.deposit.confirmed webhook.