Get FX rates
curl --request GET \
--url https://beta.creatorcore.co/api/v2/pay/fx/rates \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/pay/fx/rates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/pay/fx/rates"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"base": "USD",
"rates": {},
"updated": "<string>",
"source": "fastforex"
}Payouts
Get FX rates
USD mid-market rates for the requested currencies.
GET
/
api
/
v2
/
pay
/
fx
/
rates
Get FX rates
curl --request GET \
--url https://beta.creatorcore.co/api/v2/pay/fx/rates \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/pay/fx/rates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/pay/fx/rates"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"base": "USD",
"rates": {},
"updated": "<string>",
"source": "fastforex"
}Authorizations
Was this page helpful?