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

Pay a payee outside the US: wallet everywhere, bank in the US (UC-D-06)

Status: current as of 2026-11-16.

Who this is for

A platform with payees in many countries that wants one flow for all of them. Every payee gets USDC in a wallet of their own; US payees can move it on to their bank.

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, and the payee's email.

By API

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

  1. Ask where to pay this person now.

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

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

Response fields the next steps use: payeeId, status, address, destination.

  1. Pay the address returned, from your registered wallet. This happens in your own wallet; there is no SET call.

- claimable: a wallet SET created that only this email can claim. Go to step 3. - direct: the payee allowed your platform; address is their Cash-Out Address, or on Base their own wallet. Nothing to report. - invited, setup_required or below_minimum: not payable now. Ask again later, or pay a larger amount.

  1. Report a payment into a created wallet.

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

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

Response fields: payment.paymentId, payment.state.

  1. Treat payable_payment.in_wallet as paid. For a payee outside the US that is the final state: the USDC is in their own wallet.

How to read the answers:

  • The wallet leg is on Base for a new payee (also Arbitrum, Optimism and Polygon where this deployment offers the wider networks), at least 2 USDC a payment.
  • The bank leg is only for US payees with a US bank account. SET's provider does not serve residents of New York. If the provider cannot verify the payee, the USDC stays theirs to use from the wallet.
  • No answer or event carries payee data: no names, emails or bank details.

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_…: the payment's state is in_wallet. A US payee who moves it on reaches claimed, then at_bank.
  • In Deposit View, Payouts, the panel Payments by email this month shows the same list.
  • Events: payable_payment.in_wallet; for a US payee later, payable_payment.claimed and payable_payment.at_bank.

If it fails

  • 400 email_invalid, 400 chain_invalid, 400 amount_invalid: the email, network or amount is not valid.
  • 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.
  • 404 payee_unknown: no such payee for your account.
  • 409 payment_not_claimable: the address is not a wallet SET created; nothing to report.
  • 409 payment_not_found, 409 payment_failed, 409 payment_mismatch: the transaction is not on chain yet, failed, or does not pay 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, 400 tx_hash_invalid, 502 chain_unavailable: the transaction was reported for another account, is malformed, or the chain could not be read.
  • 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-16: Every use case step by step, by API and in the console.