Skip to main content
POST
Create an FX quote

Authorizations

Authorization
string
header
required

An access token (at_test_… or at_live_…) from POST https://idp.talescria.com/oauth/token.

Headers

Idempotency-Key
string

Optional. A unique key for this operation, so a retry is applied once.

Required string length: 8 - 255
Pattern: ^[A-Za-z0-9_\-:.]+$

Body

application/json
fromAccountId
string
required

The account to pay from. Its currency is the quote's source currency.

toCurrency
string
required

What the recipient receives. Upper-cased for you.

amountFromMinorUnits
string

"Spend exactly this." Fix this or amountToMinorUnits, never both.

Pattern: ^\d+$
amountToMinorUnits
string

"Deliver exactly this." The side a send flow usually fixes.

Pattern: ^\d+$
Example:

"5000000"

Response

A locked rate.

quote
object