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 API

SET API · Payee details and top-ups

Quote a payout's conversion: indicative, or locked where the provider offers it

POST/v1/quotes

Key scope: read · Success: 201

lock false (default): the provider's current rate as an estimate (rateLocked false, expiresAt null); it guarantees nothing, and read (or payouts:read) is enough. lock true needs write (or payouts:write) and customer: the rate is locked at the provider that would send that customer's payout, only if that provider offers locked rates (RFQ). The primary provider does not: it answers 409 rate_lock_not_supported and nothing is written. A locked quote pays one payout of exactly its amount and currency for that customer, before expiresAt (POST /v1/payouts quoteId).

From the OpenAPI document This page is written from the wallet's OpenAPI document (release 2026-11-23): its summary, scope, account type and fields.

Headers

Idempotency-Key string
Any unique string, so a retry runs once. See Idempotency.

Body

targetCurrency "eur" | "gbp" | "mxn" | "brl" | "cop"required
amount stringrequired
USDC in dollars and cents, for example "250.00".
sourceCurrency "usdc" | "usd"
usdc (default); usd is taken as the same dollar amount.
customer string
cus_…; required with lock true.
lock boolean

Errors

  • 400 amount_invalid
  • 400 body_invalid
  • 400 currency_invalid
  • 400 customer_required
  • 400 lock_invalid
  • 404 customer_unknown
  • 409 rate_lock_not_supported
  • 502 rate_unavailable
  • 503 provider_unavailable

All codes: Errors.