Generate a Quote
This endpoint is used for generating a quote. Quotes are used to initiate conversions, cross-currency payout, or cross-currency checkout (coming soon).
post/quotes/generate
Request
- Base URLhttps://sandboxapi.fincra.com
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
200
Example response
{
"success": true,
"message": "Quote generated successfully",
"data": {
"sourceCurrency": "KES",
"destinationCurrency": "USD",
"sourceAmount": 10000,
"destinationAmount": 93,
"action": "send",
"transactionType": "conversion",
"initialAmount": 10000,
"quotedAmount": 93,
"rate": 0.0093,
"amountToCharge": 10000,
"amountToReceive": 93,
"reference": "5abe864c-0137-493e-b6ce-e51d424243e2",
"expireAt": "2024-10-10T07:57:05.923Z",
"settlementDate": "2024-10-10T07:55:05.000Z"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.