SET Crypto API Suite · With a Direct Deposit key
Preview the fee
GET/api/partner/quote
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
amountUsdcdecimal string- The USDC you mean to pay. Send this or
netUsd. netUsddecimal 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. addressstring- A payee's 0x address.
chain"base" | "ethereum"- With
address.
Notes
- With
netUsdthe 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
addressthe answer hasplans: one line,payg, at SET's fee on a Cash-Out Address. - A Threshold Address answers
kind: "threshold_address"withthresholdUsdand no partner share.
Errors
400 amount_invalid400 amount_out_of_range400 chain_invalid400 address_invalid404 address_unknown401 partner_key_required401 partner_key_invalid401 api_key_expired403 scope_missing403 ip_not_allowed403 merchant_no_direct_deposit429 rate_limited503 direct_deposit_disabled