Crypto wallets
Does each wallet have its own balance?
Does each wallet have its own balance?
balance: the deposits received, net of the deposit fee, minus the withdrawals. For a collect wallet, balance is the amount waiting to be forwarded (below $3). Each deposit is also reported to you by webhook with the customer, the amount and the new balance. GET /wallets/balance gives you the sum of the balances of your customers’ wallets, per blockchain. How you consolidate these funds on your side is up to you. See Crypto wallets.Which assets and networks?
Which assets and networks?
Who can withdraw from a wallet?
Who can withdraw from a wallet?
POST /wallets/{code}/withdrawals withdraws from the balance of a wallet to any valid address on the blockchain of the wallet. Your customer has no direct access to KemyCard: you process the request of your user in your application, then you call the endpoint. Because a withdrawal is made with your API key, keep your keys secret and limit your allowed IP addresses (required for every API call) to your own servers.What does a withdrawal cost?
What does a withdrawal cost?
GET /wallets/balance returns withdrawal_commission and withdrawal_network_fee.Where are the funds kept?
Where are the funds kept?
What is a collect wallet?
What is a collect wallet?
type: "collect" and a destination_address, in USDC on Solana or Base. Deposits are free and added to the balance of the wallet; as soon as the balance reaches $3, the whole balance is sent to your address, minus a commission per forward and the network fee. It is available on every plan, Découverte included, and costs $0.50 to create. See Collect wallets.Can I withdraw from a collect wallet, or link it to a virtual account?
Can I withdraw from a collect wallet, or link it to a virtual account?
How do I change the destination address of a collect wallet?
How do I change the destination address of a collect wallet?
PATCH /wallets/{code}/destination, from one of your allowed IP addresses. You receive the wallet.destination_updated webhook and an email at each change. Forwards already created keep the address they were created with.What if a customer sends the wrong currency to a collect wallet?
What if a customer sends the wrong currency to a collect wallet?
Can I use my own self-custody wallets instead?
Can I use my own self-custody wallets instead?
Virtual Accounts
What is a virtual account?
What is a virtual account?
Who can have one?
Who can have one?
Where do the funds go?
Where do the funds go?
POST /wallets/{code}/withdrawals. With an external address, it is sent on-chain. You can change the destination at any time with PATCH /virtual-accounts/{code}/destination: it applies to the deposits whose USDC has not arrived yet.Why does my customer have to accept terms?
Why does my customer have to accept terms?
awaiting_tos, send your customer to tos_url (also sent in the virtual_account.tos_required webhook). You cannot accept the terms for them. To bring your customer back to your application afterwards, send tos_redirect_url when you create the account. This redirect does not confirm the acceptance: the account is open when you receive virtual_account.activated.What does a virtual account cost?
What does a virtual account cost?