Skip to main content
POST
/
gateway
/
quote
Exchange Rate
curl --request POST \
  --url https://api.stag.songhaiexchange.io/gateway/quote \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "destinationCountry": "<string>",
  "fromCurrency": "<string>",
  "mobileOperator": "<string>",
  "transactionAmountCurrency": "<string>",
  "transactionType": "<string>"
}
'
{
  "walletAmount": 123,
  "walletCurrency": "<string>",
  "transactionAmount": 123,
  "fxRate": 123,
  "fee": 123,
  "total_amount": 123
}

Headers

Authorization
string
required

Bearer token

Body

application/json
destinationCountry
string
fromCurrency
string
mobileOperator
string
transactionAmountCurrency
string
transactionType
string

Response

200 - application/json

Quote generated

walletAmount
number
walletCurrency
string
transactionAmount
number
fxRate
number
fee
number
total_amount
number