SET Crypto API Suite · With a Direct Deposit key
Pay an email address
POST/api/partner/payees
Resolves an email to where to pay. A payee who granted you access and has a Cash-Out Address gets direct (pays the bank). A new email gets a wallet only that email can unlock (claimable, Base only). An existing user without a grant gets invited, with no address. Re-resolve before every payment; never cache an address.
Body
emailstringrequired- The payee's email. Sent to the wallet provider only; SET neither stores nor logs it.
chain"base" | "ethereum"required- New payees are paid on Base.
amountUsdcdecimal string- Optional: the amount you mean to pay. SET then never answers a Cash-Out Address that would not credit it: it answers the payee's Threshold Address (
destination: "threshold") when they have one, elsestatus: "below_minimum"withminimumUsdc.
Notes
- Statuses:
direct(200,destination: "bank","threshold", or"wallet"when a payee who granted you access chose their own wallet on Base; pay it as any address),claimable(201 new, or 200 a wallet you created earlier),setup_required(202, granted but no Cash-Out Address on that chain),invited(202, no address),below_minimum(202, withamountUsdconly; see Amounts below the minimum). - An
invitedanswer tells you the email already has a SET Wallet. It is not consent: do not contact the person as a SET user on its strength (Privacy Policy §2). - Off until SET switches Payable Email on for the partner; a daily cap on new wallets applies (default 50).
Errors
400 email_invalid400 chain_invalid409 claim_needs_base429 payee_cap_reached403 payable_email_off403 payable_email_merchant503 payable_email_disabled502 wallet_provider_unavailable401 partner_key_required401 partner_key_invalid401 api_key_expired403 scope_missing403 ip_not_allowed403 merchant_no_direct_deposit429 rate_limited503 direct_deposit_disabled