Get campaign financials
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/financials \
--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/campaigns/{cid}/financials', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/campaigns/{cid}/financials"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"financials": {
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"summary": {
"currency": "AED",
"budgetMinor": 123,
"allocatedMinor": 123,
"paidMinor": 123,
"requestedMinor": 123,
"inProgressMinor": 123,
"remainingMinor": 123,
"remainingPercent": 123,
"unconvertedCurrencies": [
"<string>"
]
},
"creators": [
{
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"creatorProfileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"handle": "<string>",
"avatarUrl": "<string>",
"rateMinor": 123,
"rateCurrency": "AED",
"canceled": true
}
],
"payouts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"routing": "partner",
"status": "<string>",
"date": "<string>",
"paymentDate": "<string>",
"createdAt": "<string>",
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"creatorProfileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"handle": "<string>",
"avatarUrl": "<string>",
"amountMinor": 123,
"currency": "<string>",
"methodType": "<string>",
"note": "<string>",
"refunded": true
}
],
"payIns": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoiceNumber": "<string>",
"amountMinor": 123,
"currency": "<string>",
"status": "requested",
"paymentDate": "<string>",
"note": "<string>",
"createdAt": "<string>"
}
],
"notes": "<string>"
}
}Campaign financials
Get campaign financials
Budget overview for the campaign plus the rows behind it. summary totals are in the campaign currency: allocated is the sum of creator rates on activations that are not canceled, plus anything paid or requested for creators who aren’t active on it (canceled or removed); paid counts payouts sent or settled, requested counts payout requests not paid yet, and in-progress is allocated minus both. payouts lists creator payouts linked to the campaign (CreatorCore Pay payouts and logged off-platform payouts); payIns lists pay-ins (agency organizations).
GET
/
api
/
v2
/
campaigns
/
{cid}
/
financials
Get campaign financials
curl --request GET \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/financials \
--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/campaigns/{cid}/financials', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/campaigns/{cid}/financials"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"financials": {
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"summary": {
"currency": "AED",
"budgetMinor": 123,
"allocatedMinor": 123,
"paidMinor": 123,
"requestedMinor": 123,
"inProgressMinor": 123,
"remainingMinor": 123,
"remainingPercent": 123,
"unconvertedCurrencies": [
"<string>"
]
},
"creators": [
{
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"creatorProfileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"handle": "<string>",
"avatarUrl": "<string>",
"rateMinor": 123,
"rateCurrency": "AED",
"canceled": true
}
],
"payouts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"routing": "partner",
"status": "<string>",
"date": "<string>",
"paymentDate": "<string>",
"createdAt": "<string>",
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"creatorProfileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"handle": "<string>",
"avatarUrl": "<string>",
"amountMinor": 123,
"currency": "<string>",
"methodType": "<string>",
"note": "<string>",
"refunded": true
}
],
"payIns": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoiceNumber": "<string>",
"amountMinor": 123,
"currency": "<string>",
"status": "requested",
"paymentDate": "<string>",
"note": "<string>",
"createdAt": "<string>"
}
],
"notes": "<string>"
}
}Authorizations
Was this page helpful?