Get a balance
curl --request GET \
--url https://beta.creatorcore.co/api/v2/pay/balance/{id} \
--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/balance/{id}', 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/balance/{id}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"balance": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"currency": "AED",
"amountMinor": 123,
"minimumAllowedMinor": 123,
"isDefault": true,
"archivedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"payoutsBlockedReason": "<string>"
}
}Payouts
Get a balance
Returns one prefunded wallet this organization pays from, by id. Requires Create Payouts or Create Payment Requests, otherwise 403 (View Only and roles with neither permission). API keys need the payout_balances.read grant.
GET
/
api
/
v2
/
pay
/
balance
/
{id}
Get a balance
curl --request GET \
--url https://beta.creatorcore.co/api/v2/pay/balance/{id} \
--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/balance/{id}', 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/balance/{id}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"balance": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"currency": "AED",
"amountMinor": 123,
"minimumAllowedMinor": 123,
"isDefault": true,
"archivedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"payoutsBlockedReason": "<string>"
}
}Authorizations
Was this page helpful?