curl --request POST \
--url https://api.pcxpay.com/v1/organizations/admin/add-active-rate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rate_data": {
"org_id": "<string>",
"from_currency": "<string>",
"to_currency": "<string>",
"rate": 123,
"provider": "<string>"
},
"rate_config": {
"spread": 123,
"provider": "<string>"
}
}
'