Pay an exact dollar amount to a payee's bank, once per reference (UC-D-04)
Status: current as of 2026-11-17.
Who this is for
A platform that promises a payee an exact amount in their bank and must never pay the same job twice, even after a retry or a double click. You ask what to send for the amount promised, reserve the payout under your own reference, pay once, and put the reference on the payment.
Before you start
- Account: a platform account (a business account is refused with
403 merchant_no_direct_deposit). - Plan: SET Direct Deposit, or the SET API on a platform account.
- Key: your partner key (
set_partner_…) withreadandwrite, or a SET API key with thedirect_depositandwritescopes. - Must already exist: a sending wallet you registered (
POST /api/partner/senders), and the payee's Cash-Out Address or Threshold Address, or a Payable EmailpayeeId.
By API
Send Authorization: Bearer <your key> on every call, and an Idempotency-Key on every POST.
- Ask what to send so the payee's bank receives the amount promised.
GET /api/partner/quote?netUsd=100.00&chain=base&address=0x…
Response fields the next step uses: amountUsdc (the least whole-cent amount that reaches at least netUsd after any fee on that address), netToBankUsd, belowMinimum, kind.
- Reserve the payout under your own reference, for that amount.
POST /api/partner/payout_intents · Idempotency-Key: …
``json { "reference": "…", "amountUsdc": "…", "chain": "base", "address": "0x…" } ``
Send payeeId (pye_…) instead of address for a Payable Email payee.
Response fields: id (poi_…), state (open), address, destination (bank, wallet or threshold), amountUsdc. A second intent for the same reference answers 409 already_intended (or 409 already_paid) with the first one under intent: pay that one, never a new one.
- Pay
amountUsdcto the intent'saddressonce, from your registered wallet. This happens in your own wallet; there is no SET call.
- Put the reference on the payment. The open intent with that reference becomes
paid.
POST /api/partner/references · Idempotency-Key: …
``json { "chain": "base", "txHash": "0x…", "to": "0x…", "reference": "…" } ``
Response fields: reference, txHash, to, updatedAt. Without to, the reference covers every recipient in the transaction.
To give a reference back while its intent is still open, cancel the intent: POST /api/partner/payout_intents/{id}/cancel. The reference can then be used again.
How to read the answers:
- The quote takes
amountUsdcornetUsd, not both. It is an estimate; the provider's receipt for the payout is final. - The Direct Deposit API adds no fee to a payout to a Cash-Out Address; the quote shows SET's 0.75%, withheld once at the payee's Cash-Out Address.
- Payout intents are on Base or Ethereum.
- A reference is 1 to 64 visible ASCII characters: your own id, never a name or an email. SET stores it encrypted.
In SET Console
- Ask what to send for a bank amount: Console: not available. Use the API call. (In Deposit View, Developers and team, Fee preview takes an amount in USDC and shows what the bank receives for it.)
- In Deposit View, open Workflows, then Pay an exact amount once (admins only). Fill in Your reference, Amount (USDC), Payee's address and Network (
baseorethereum), then Review and Confirm. The receipt shows Payout intent and State, as the API answers. - Pay the address from your own registered wallet, outside SET.
- In Workflows, open Put your reference on a payout. Fill in Transaction hash, Your reference and Network, then Review and Confirm. The receipt shows Transaction and Reference.
- Cancel an open intent: Console: not available. Use the API call.
Check it worked
GET /api/partner/payout_intents/{id}, or by your reference withGET /api/partner/payout_intents?reference=…:stateispaid, withtxHashandpaidAt.- Event:
payout_intent.paid. In Deposit View, Developers and team, Events and webhook lists it, and Payouts shows the payout with Your reference. - When the payee's bank receives it:
payout.payment_processed.
If it fails
400 amount_invalid: both or neither ofamountUsdcandnetUsd, or not a positive amount.400 amount_out_of_range: more than a Cash-Out Address takes in one payout.400 chain_invalid: the network is not offered here (payout intents: Base or Ethereum only).400 address_invalid: the address is not valid for that network.404 address_unknown: the address does not take Direct Deposit payouts; ask the payee for their current Cash-Out Address.400 reference_invalid: the reference is not 1 to 64 visible ASCII characters.400 destination_invalid: neitheraddressnorpayeeIdwas sent.404 payee_unknown: no such payee for your account.422 below_minimum: the amount would not reach the bank after fees.409 payee_not_payable: the payee cannot be paid yet; resolve them again later.409 already_intended,409 already_paid: the reference already has an intent; the answer carries it.404 intent_unknown: no such payout intent.409 intent_closed: the intent is already canceled.400 tx_hash_invalid,400 to_invalid: the transaction ortoaddress is malformed.503 references_unconfigured: references and payout intents are not configured 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.
Related
- Paying an exact amount to the bank
- Paying each reference once
- Recipe: exact-net payout
- Preview the fee
- Amounts below the minimum
- Idempotency
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.