SET Direct Deposit API · Payout intents
Reserve one payout for a reference
POST/api/partner/payout_intents
Answers where to pay an amount, once per reference (your bounty, contest or invoice id). A second intent for the same reference is refused with the first one in the answer, so a retry, a double click or a second worker never pays twice. Pay the address, then set the reference on the payment (POST /api/partner/references) and the intent is paid: event payout_intent.paid.
Body
referencestringrequired- Your own id: 1–64 visible ASCII characters, never a person's name or email.
amountUsdcdecimal stringrequired- The USDC you mean to pay.
chain"base" | "ethereum"- Default
base. addressstring- A payee's Cash-Out or Threshold Address. Send this or
payeeId. payeeIdstring- A Payable Email payee (
pye_…), resolved now with this amount.
Notes
409 already_intended(an open intent) and409 already_paidcarry the first intent asintent: pay that one, or nothing.- An amount that would not reach the bank after SET's fee is
422 below_minimumrather than an address. See Paying each reference once. - The reference is kept as a keyed hash (to find it) and sealed (to show it back), never in clear.
Errors
400 body_invalid400 reference_invalid400 chain_invalid400 amount_invalid400 amount_out_of_range400 destination_invalid404 payee_unknown404 address_unknown409 already_intended409 already_paid409 payee_not_payable422 below_minimum503 references_unconfigured401 partner_key_required401 partner_key_invalid403 ip_not_allowed429 rate_limited503 direct_deposit_disabled