Skip to main content
POST
/
transfers
/
rates
Rate conversion
curl --request POST \
  --url https://developersandbox-api.flutterwave.com/transfers/rates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source": {
    "currency": "NGN"
  },
  "destination": {
    "currency": "NGN",
    "amount": 1200.56
  },
  "precision": 5
}
'
{
  "status": "success",
  "message": "<string>",
  "data": {
    "id": "rte_r2B1d3",
    "rate": "1200.56",
    "source": {
      "amount": "1200.56",
      "currency": "NGN"
    },
    "destination": {
      "amount": "1200.56",
      "currency": "NGN"
    },
    "created_datetime": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Trace-Id
string

A unique identifier to track this operation. It must be between 12 and 255 characters in length.

Required string length: 12 - 255
X-Idempotency-Key
string

A unique identifier to prevent duplicate requests. It must be between 12 and 255 characters in length.

Required string length: 12 - 255

Body

application/json
source
object
required
destination
object
required
precision
integer

This is used to signify how many decimal places you want amount returned. if no precision is set, 6 will be used

Required range: 2 <= x <= 9

Response

OK

status
enum<string>
Available options:
success,
failed
message
string
data
object