Update an off-platform payout
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/financials/payouts/{payoutId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amountMinor": 123,
"paymentDate": "<string>",
"note": "<string>"
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
activationId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
amountMinor: 123,
paymentDate: '<string>',
note: '<string>'
})
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/financials/payouts/{payoutId}', 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/payouts/{payoutId}"
payload = {
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amountMinor": 123,
"paymentDate": "<string>",
"note": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"payout": {
"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
}
}Campaign financials
Update an off-platform payout
Changes the creator, amount, payment date, or note of a logged off-platform payout. The currency stays the one it was logged in, so it can’t move to a creator paid in a different currency (400 validation_error). Only logged off-platform payouts can be edited; CreatorCore Pay payouts return 404.
PATCH
/
api
/
v2
/
campaigns
/
{cid}
/
financials
/
payouts
/
{payoutId}
Update an off-platform payout
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/financials/payouts/{payoutId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amountMinor": 123,
"paymentDate": "<string>",
"note": "<string>"
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
activationId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
amountMinor: 123,
paymentDate: '<string>',
note: '<string>'
})
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/financials/payouts/{payoutId}', 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/payouts/{payoutId}"
payload = {
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amountMinor": 123,
"paymentDate": "<string>",
"note": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"payout": {
"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
}
}Authorizations
Body
application/json
Was this page helpful?