Skip to content
Developer
Sign inSign up

Wallet and deposits

The three kinds of wallet, how each payment lands in yours, and who holds the keys.

Ask AI about this page

Every business has one wallet, and its payments land straight in it, apart from those that pay your fees. 402pay never holds your funds, so there's no balance to withdraw and no payout to wait for.

Set it up in the dashboard, under Wallet: create a new one, import one, or connect a wallet you already use.

Three kinds of wallet

sourceWhat it isWhere you send from
createdA new wallet whose recovery phrase is made in your browser.The dashboard, signed in your browser.
importedA wallet from another app, brought in with its 12 or 24-word recovery phrase.The dashboard, signed in your browser.
externalA wallet that keeps its own keys, such as a hardware wallet. You share only public keys or addresses.Your wallet app. Record each send in the dashboard by its transaction hash.
  • Creating a second wallet returns 409 wallet_exists.
  • GET /wallet returns its source, balances and main addresses.
  • Wallets are included in every plan. See pricing.

How payments land

  • A crypto payment lands at its checkout's address, in the coin and network the customer paid in.
  • A card payment lands in an enabled coin and network your wallet can receive. Checkout selects a compatible route before reserving the destination.
  • Each deposit is an in wallet transaction with the payment_id it came from and the whole amount that arrived, since fees never come out of it.
  • The payment's settlement field names the deposit's address and transaction.
  • Balances are per coin and network, adding up every address. Sends draw on whichever of the wallet's addresses hold the coin, largest first.
  • While you owe 402pay fees, some payments go to its address instead, to pay them. Their settlement.destination is fees and they add nothing to your wallet. See fees and billing.

Addresses

A wallet derives its addresses from public keys, so 402pay can hand out new ones without being able to spend from them.

  • Index 0 on each network is the main address, the one Receive shows. Every checkout reserves the next unused index, so each transfer matches exactly one payment.
  • Every coin on a network shares that network's addresses and counts indexes together, so an address never serves two payments.

Solana addresses

Every Solana checkout pays to a fresh address as well. Solana's usual key derivation needs the recovery phrase for each new address, so when you create or import a wallet, your browser also shares a Solana checkout key.

That public key derives a new address for every checkout, the way an EVM account's extended public key does. Only the recovery phrase makes the keys that spend from these addresses, so 402pay can't move the funds.

  • Index 0 is the main address, the one Receive shows and Solana wallet apps find from your phrase.
  • Checkout addresses sit on a branch of their own that wallet apps don't scan. Move their funds with Send in the dashboard, which signs for them in your browser, or with only your recovery phrase on the Solana recovery page.
  • address_counts.solana on GET /wallet counts the Solana indexes handed out.
  • The Solana checkout addresses guide publishes the derivation.

External wallets

An external wallet shares only what receiving needs. Networks you leave out aren't offered at checkout.

NetworksShare
Ethereum, BaseAn account's extended public key, xpub…, or one 0x address.
BitcoinAn xpub… or zpub…, or one address.
LitecoinOne address.
SolanaOne address.
TronOne address.
  • Share an extended public key wherever your wallet exports one, so every checkout gets its own address. With a single address, every checkout on those networks pays that same address, so two customers paying at once can't be told apart by address.
  • Extended private keys are refused.
  • To accept cards, connect a wallet that can receive a coin and network supported by an available card route.
  • Sends happen in your wallet app. Record each one in the dashboard with its transaction hash, so your wallet's history here matches.
  • A recorded send stays pending, with no effect on balances, until the network verifies the sender, recipient, coin and amount against that hash. Its USD value is zero until then, and its fee stays zero, since no fee amount is verified. An unrelated transfer can't confirm it.

Your keys

A created or imported wallet's recovery phrase never reaches 402pay. It's encrypted in your browser with an encryption password only you know, and only the encrypted copy is stored.

  • That password is all that protects the copy, so the dashboard refuses one that's easy to guess: a common password, a word or name, a date, a keyboard pattern or your business's name.
  • Sends, and anything else that needs the phrase, unlock it in your browser.
  • An external wallet has no phrase here at all.
  • Money never moves on an API key. A key can read balances and transactions, and add notes, but sends are made or recorded only in the dashboard.
402pay can't recover a lost recovery phrase or encryption password. Back both up before you accept real payments.

Deleting a wallet

Once your business has received a payment, deleting its wallet takes effect 24 hours after you ask. A payment collected as fees, or a referral payout, counts as one.

  • The wallet keeps receiving payments until then, so someone who got into your account can't swap in a wallet of their own before you see the email.
  • The email has a link that cancels the deletion without signing in, and the Wallet page shows it with a Cancel deletion button.
  • A business still being set up loses its wallet right away.
  • Changing the encryption password is never held.

Next steps