Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-17
Browse: SET Direct Deposit API

Pay someone by email before they have a wallet (UC-D-02)

Status: current as of 2026-11-17.

Who this is for

A platform that knows only a payee's email address and wants to pay them now, without collecting a wallet address or bank details. SET answers where to pay that person: their own Cash-Out Address if they allowed your platform, or a wallet SET created that only that email can claim.

Before you start

  • Account: a platform account (Payable Email on the Partner API is refused for a business account with 403 payable_email_merchant).
  • Plan: SET Direct Deposit, or the SET API on a platform account.
  • Key: your partner key (set_partner_…) with read and write, or a SET API key with the direct_deposit and write scopes.
  • Switch: SET turns Payable Email on for your account (403 payable_email_off until then).
  • Must already exist: a sending wallet you registered with POST /api/partner/senders. A payment into a wallet SET created is recorded only when it comes from one of your registered wallets.

By API

Send Authorization: Bearer <your key> on every call, and an Idempotency-Key on every POST.

  1. Ask where to pay this person, with the amount you mean to pay. Ask again before every payment, and never keep an address.

POST /api/partner/payees · Idempotency-Key: …

``json { "email": "…", "chain": "base", "amountUsdc": "250.00" } ``

Response fields the next steps use: payeeId, status, address, destination, chain; minimumUsdc when status is below_minimum.

  1. Act on status:

- claimable: address is a wallet SET created for this email. Pay it from a registered wallet, adding SET's 0.75% so the person receives the full amount, then go to step 3. - direct: the payee allowed your platform. address is their Cash-Out Address (destination: "bank"), their Threshold Address for a small amount ("threshold"), or on Base their own wallet ("wallet"). Pay it; there is nothing to report. - setup_required: the payee allowed your platform but has no Cash-Out Address on this network yet. Ask again later. - invited: no address. The email already has a SET Wallet and has not allowed your platform. Ask again later. - below_minimum: this amount would not reach the payee's bank after fees. Pay at least minimumUsdc, or combine payments.

SET's fee: a payment into a wallet SET created for the person (claimable) carries SET's 0.75%, added by you, the payer, so the person receives the full amount. A payment into a wallet the person chose carries no fee, and a payment to a Cash-Out Address has SET's 0.75% withheld once when it pays their bank.

  1. Report a payment into a claimable wallet once it is on chain.

POST /api/partner/payments · Idempotency-Key: …

``json { "payeeId": "pye_…", "chain": "base", "txHash": "0x…" } ``

Response fields: payment.paymentId, payment.state (pending_chain until final, then in_wallet). Reporting the same transaction again returns the same payment.

  1. Before the next payment, read the payee's status again.

GET /api/partner/payees/{payeeId}?chain=base&amountUsdc=250.00

Response fields: the same as step 1.

How to read the answers:

  • New payees get a wallet on Base. Arbitrum, Optimism and Polygon also take payments into created wallets where this deployment offers the wider networks. Ethereum is only for a payee's own Cash-Out Address: a new payee on Ethereum answers 409 claim_needs_base.
  • Each payment into a created wallet is at least 2 USDC.
  • SET sets a daily limit on new payee wallets for your account (429 payee_cap_reached).
  • The email goes to SET's wallet provider only and is not stored. No answer or event carries payee data: no names, emails or bank details.
  • When the payee claims, they choose whether your platform may pay them directly next time. After they allow it, the answer for them is direct.

In SET Console

  1. In Deposit View, open Workflows, then Pay someone by email (admins only).
  2. Fill in Payee's email, Amount (USDC) and Network (base or ethereum), then Review and Confirm. The receipt shows Payee, Status, as the API answers and Pay this address.
  3. Pay the address from your own registered wallet, outside SET.
  4. Report the payment: Console: not available. Use the API call.

Check it worked

  • GET /api/partner/payments?payeeId=pye_… lists the payment and its state: in_wallet, then claimed and at_bank as the payee moves it to their bank.
  • In Deposit View, Payouts, the panel Payments by email this month shows the same list.
  • Events: payable_payment.in_wallet (final in the payee's wallet: treat it as paid), payable_payment.claimed, payable_payment.at_bank. In Developers and team, Events and webhook lists them.

If it fails

  • 400 email_invalid: no valid email was sent.
  • 400 chain_invalid: the network is not one Payable Email pays on here.
  • 400 amount_invalid: amountUsdc is not a positive USDC amount.
  • 409 claim_needs_base: a new payee's wallet cannot be created on this network.
  • 429 payee_cap_reached: today's limit on new payee wallets is reached.
  • 502 wallet_provider_unavailable: the payee could not be looked up or created just now; try again.
  • 404 payee_unknown: no such payee for your account.
  • 400 tx_hash_invalid: txHash is not 0x and 64 hex characters.
  • 409 payment_not_claimable: the payee's address is not a wallet SET created; payments to a Cash-Out Address are not reported.
  • 409 payment_not_found: the transaction is not on chain yet; report it again once it is.
  • 409 payment_failed: the transaction failed on chain.
  • 409 payment_mismatch: the transaction does not pay USDC to this payee's wallet.
  • 409 sender_unregistered: the payment did not come from one of your registered wallets.
  • 409 amount_out_of_range: the payment is under 2 USDC.
  • 409 tx_already_reported: the transaction was reported for another account.
  • 502 chain_unavailable: the chain could not be read just now.
  • 403 payable_email_off, 503 payable_email_disabled: Payable Email is not on for your account, or for this deployment.
  • 401 partner_key_required, 401 partner_key_invalid, 403 scope_missing, 429 rate_limited: key problems, as on every call.
  • 400 idempotency_key_invalid, 409 idempotency_key_in_progress, 422 idempotency_key_reused: see Idempotency.

Every code is explained on Errors.

Changes

  • 2026-11-17: SET's fee is 0.75% from 2026-11-17: charged once on each bank deposit and each exit to a bank, and added by the payer on a payout run to a wallet the person controls and on a Payable Email payment into a wallet SET created.
  • 2026-11-16: Every use case step by step, by API and in the console.