Delete a campaign pay-in
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/financials/pay-ins/{payInId} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/financials/pay-ins/{payInId}', 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/pay-ins/{payInId}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Campaign financials
Delete a campaign pay-in
Removes a pay-in. Agency organizations only.
DELETE
/
api
/
v2
/
campaigns
/
{cid}
/
financials
/
pay-ins
/
{payInId}
Delete a campaign pay-in
curl --request DELETE \
--url https://beta.creatorcore.co/api/v2/campaigns/{cid}/financials/pay-ins/{payInId} \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'DELETE',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/campaigns/{cid}/financials/pay-ins/{payInId}', 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/pay-ins/{payInId}"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)Authorizations
Response
Deleted
Was this page helpful?