Exchange Rates
Update exchange rate
PUT
/api/v1/products/exchange-rates/:idUpdates the rate value for an existing pair. Staff-only.
Requires Authorization
ADMIN, SUPPORT only
Authenticated action
Path parameters
idstringrequired | Exchange rate ID. |
Body parameters
ratenumberrequired | Must be greater than 0. |
Request
curl --request PUT \
--url https://api.swiftgoma.com/api/v1/products/exchange-rates/:id \
--header 'Authorization: Bearer <access_token>' \
--header 'Content-Type: application/json' \
--data '{
"rate": "<rate>"
}'200Example response
{
"success": true,
"data": {
"id": "fx_1a2b3c",
"fromCurrency": "USD",
"toCurrency": "CDF",
"rate": "2800",
"updatedBy": "admin_9f8e7d",
"updatedAt": "2026-02-01T08:00:00.000Z"
}
}