Skip to main content

Create payout quote

POST/partner/v1/payout-quotes
Auth Bearer tokenScope partner.write

Prices a payout for a fixed target amount: what the recipient receives, in the destination currency. The quote tells you how much you pay in the source currency, at what rate, and until when that price holds.

You name the corridor and the amount; nothing else. A corridor is one of the routes ryno has set up for your account: a source currency paid out as a destination currency in a destination country. ryno derives the currencies, the country, the payout rail and the provider from the corridor, so you cannot ask for a rail that is not configured for you. Get the ids from List payout corridors, which returns only the corridors you can price right now.

A quote holds a price; it does not move money. Payout creation is not yet on the Partner API; when it is, it will take the quoteId from this call as the only accepted price.

A quote is paid from one network, the corridor's, given as sourceChainId and sourceChainName. Only sourceCurrency held on that network can fund it; Get payout quote funding tells you whether yours does.

Headers​

Idempotency-Keystringheaderrequired

A key you generate per quote request, at most 255 characters. Sending the same key with the same body returns the same quote, so retry a timed-out call with the key you already used. Sending the same key with a different body is 409 PayoutQuote.IdempotencyConflict.

A replay returns the original quote even after it has expired. Use a new key to get a fresh price.

Body​

corridorIduuidrequired

A corridorId from List payout corridors. It fixes the source currency, the destination currency and country, and the payout rail. An id that is not one of your corridors, or whose route is switched off, is 422 PayoutQuote.CorridorUnavailable.

targetAmountnumberrequired

The amount the recipient receives, in the corridor's destination currency. Greater than zero, at most 18 decimal places.

Response​

quoteIduuid

ryno's id for this quote. Keep it; it is the price a payout will reference.

sourceCurrencystring

The currency you pay in, from the corridor, for example USDT.

sourceChainIdstring | null

The network this payout is paid from, as a CAIP-2 id, for example tron:0xcd8690dc. It is the corridor's chainId at the time of the quote and does not change for the life of the quote. Always set for a corridor paid in a stablecoin. null only for a corridor whose source currency is fiat, which has no network to fund from.

sourceChainNamestring | null

The network's name to show, for example Tron, or Tron Nile on sandbox. Show this, not sourceNetwork. null when sourceChainId is null; if ryno's catalog has no name for the network, this is the chain id.

sourceNetworkstring | null

The payout provider's own code for the same network, for example TRX. Kept for compatibility; use sourceChainId and sourceChainName instead.

destinationCurrencystring

The currency the recipient receives, from the corridor.

destinationCountrystring

The recipient's country, ISO 3166-1 alpha-3, from the corridor.

railstring

How the recipient is paid, chosen by ryno for this corridor. One of Wire, ACH, BankTransfer, OnChain, MobileMoney, SEPA, SWIFT, FasterPayments, PIX, RTGS, EFT, Interac, UPI, NEFT, IMPS, NIP, Stablecoin, Card, CNAPS, FPS.

targetAmountnumber

What the recipient receives, as you requested it.

sourceAmountnumber

What you pay, in sourceCurrency, including ryno's fees.

exchangeRatenumber

Units of destinationCurrency per one unit of sourceCurrency, exactly targetAmount / sourceAmount at full precision. Round it only for display.

expiresAtUtcdatetime

When the price stops being honoured, in UTC. Quotes are short-lived; request a new one rather than reusing an expired quote.

Errors​

CodeHTTPMeaning
idempotency.key_required400No Idempotency-Key header, or it is blank.
idempotency.key_invalid400More than one Idempotency-Key header, or the key is longer than 255 characters.
PayoutQuote.InvalidRequest400corridorId is missing or not a UUID, or targetAmount is missing, zero, negative or too precise.
Request.Invalid400The body is not valid JSON.
Auth.Unauthorized401The token is missing or invalid.
Auth.Forbidden403The token is not a partner credential, or lacks partner.write.
PayoutQuote.CustomerInactive403Your account is not active. Contact support.
PayoutQuote.CustomerNotFound404Your account could not be found. Contact support.
PayoutQuote.IdempotencyConflict409The Idempotency-Key was already used with a different body. Use a new key.
PayoutQuote.ChainUnavailable409The network this corridor is paid from is paused, switched off or not available right now. Retry later; the same key is fine, because a failed request is not stored. Nothing to change on your side.
PayoutQuote.AmountOutsideRouteLimits422targetAmount is below the minimum or above the maximum for this corridor.
PayoutQuote.CorridorUnavailable422corridorId is not one of your corridors, or no active payout route is configured for it. Do not retry unchanged; refresh List payout corridors and use an id from it.
PayoutQuote.Unavailable422Pricing for this corridor is not set up, or not viable right now. Do not retry unchanged.
PayoutQuote.Unavailable503A pricing dependency is down. Retry with backoff, using the same key.
PayoutQuote.ChainNotConfigured503The corridor's route has no network set, or one its provider does not support. Not fixable on your side; contact support if it persists.

The 401, 429 and 503 responses from the API gateway use a different body. See Errors.