Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET Crypto API Suite

SET Crypto API Suite · With a Direct Deposit key

Preview the fee

GET/api/partner/quote

Key scope: partner key

What the payee's bank receives for an amount. The API adds no fee to a payout to a Cash-Out Address; SET's fee is withheld at the payee's Cash-Out Address. With address (and chain): for that Cash-Out Address and its fee, or for a Threshold Address. Without: the payg line. With netUsd instead of amountUsdc, the other way round: the least amount to send so the bank receives at least that much. An estimate: the provider's receipt for the payout is final.

Query parameters

amountUsdc decimal string
The USDC you mean to pay. Send this or netUsd.
netUsd decimal string
What the payee's bank should receive, in whole cents. The line then gives amountUsdc: the least whole-cent amount to send for it, after SET's fee at the address. See Paying an exact amount to the bank.
address string
A payee's 0x address.
chain "base" | "ethereum"
With address.

Notes

  • With netUsd the answer is the amount to send so the payee's bank receives that net amount after SET's fee at the Cash-Out Address.
  • Without address the answer has plans: one line, payg, at SET's fee on a Cash-Out Address.
  • A Threshold Address answers kind: "threshold_address" with thresholdUsd and no partner share.

Errors

  • 400 amount_invalid
  • 400 amount_out_of_range
  • 400 chain_invalid
  • 400 address_invalid
  • 404 address_unknown
  • 401 partner_key_required
  • 401 partner_key_invalid
  • 401 api_key_expired
  • 403 scope_missing
  • 403 ip_not_allowed
  • 403 merchant_no_direct_deposit
  • 429 rate_limited
  • 503 direct_deposit_disabled

All codes: Errors.