Skip to main content
POST
Deposit funds
Requires Authorization: Bearer <user-access-token> — the token from Verify login code. No X-Api-Key, X-Api-Secret, or userId — the token already identifies the user.
Creates a hosted payment link for a user deposit. Send the returned paymentLink to your user so they can complete the payment with the selected provider. The deposit is created with status: "PENDING". The user’s balance is updated after the payment is completed and confirmed by the provider.
Call GET /api/v1/user/accounts first to get the user’s toAccountId. The USDC account is provisioned automatically the first time the user logs in — you don’t need to create it manually.

Request

Body

Response

201 Created
Amounts are decimal USDC values (e.g. 100 = USDC 100.00), not smallest-unit integers. Never use floating point arithmetic to compute the value before sending it.

Errors