Quotes
Create a quote
Changed onCreate a quote. Use the Idempotency-Key header to prevent duplicate creation.
post/v1/quotes
Request
- Base URLhttps://sandbox.api.infinite.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring
Idempotency key for preventing duplicate requests
X-API-Keystring
API key
Request body
Example request
{
"sourceAmount": {
"currency": "USD",
"rawValue": "1000000"
},
"destinationAmount": {
"currency": "USD",
"rawValue": "1000000"
},
"sourceCurrency": "USD",
"destinationCurrency": "USDC",
"destinationCountry": "US",
"payinMethod": "base",
"payoutMethod": "fast_sg",
"stablecoinParity": true,
"onBehalfOf": "cus_abc123",
"developerFeeFixed": 100,
"developerFeePercent": 0.015
}Response
Quote created successfully
Example response
{
"id": "quote_abc123",
"sourceAmount": {
"currency": "USD",
"exponent": 2,
"value": "12345",
"displayValue": "123.45"
},
"destinationAmount": {
"currency": "USD",
"exponent": 2,
"value": "12345",
"displayValue": "123.45"
},
"exchangeRate": "1.00500",
"sourceRail": "ACH",
"destinationRail": "SWIFT",
"expiresAt": "2026-09-15T10:35:00Z",
"createdAt": "2026-09-15T10:30:00Z",
"lockable": true,
"route": {
"supported": true,
"flow": "CRYPTO_TO_SWIFT",
"summary": "USDC → USD",
"totalFeeBps": 2,
"estimate": {
"estimatedReceiveAt": "2026-09-17T10:30:00Z",
"estimatedMinutes": 2880,
"nextCutoff": "2026-09-15T15:00:00Z",
"cutoffTimezone": "Asia/Singapore"
},
"minimumAmount": {
"currency": "USD",
"exponent": 2,
"value": "12345",
"displayValue": "123.45"
},
"legs": [
{
"type": "payout_fiat",
"inputCurrency": "USDC",
"outputCurrency": "USD",
"inputRail": "ETHEREUM",
"outputRail": "SWIFT",
"feeBps": 2,
"settlementType": "T+2"
}
]
}
}Changes
- info
added the new
CNAPSenum value to the request property - info
added the new
CNAPSenum value to the request property
- info
- info
added the new
USDGenum value to the request property - info
added the new
USDGenum value to the request property
- info