Create a payout quote
curl --request POST \
--url https://beta.creatorcore.co/api/v2/pay/payout/quote \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"recipientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"balanceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"grossRateMinor": 123
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
recipientId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
balanceId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
grossRateMinor: 123
})
};
fetch('https://beta.creatorcore.co/api/v2/pay/payout/quote', 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/payout/quote"
payload = {
"recipientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"balanceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"grossRateMinor": 123
}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"quote": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"recipientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"creatorProfileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"routedFromRecipientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"balanceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rateCurrency": "AED",
"grossRateMinor": 123,
"commissionPercent": "<string>",
"netRateMinor": 123,
"speed": "standard",
"feeBearer": "organization",
"instantFeeBearer": "organization",
"currency": "AED",
"rateToBalanceFx": "<string>",
"amountMinor": 123,
"amountUsdMinor": 123,
"feeStructureId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"feeMinor": 123,
"instantFeeMinor": 123,
"railFeeMinor": 123,
"railFeeStructureId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"destinationCurrency": "AED",
"destinationAmountEstimateMinor": 123,
"fxRate": "<string>",
"balanceToUsdFx": "<string>",
"fxSource": "<string>",
"expiresAt": "<string>",
"createdAt": "<string>"
}
}Payouts
Create a payout quote
Quotes always belong to a payout. Freezes commission, FX, and the matching platform fee for 60 seconds. feeBearer is set by the most specific active fee rule for the rail and corridor (organization- or recipient-paid); a rail no rule names is billed at the org’s default rate, to the recipient unless the organization has chosen to pay its default fees itself (the instant bank surcharge always stays the recipient’s). When that rule bills the organization and leaves the recipient’s own rail fee in place, the recipient’s share is quoted separately as railFeeMinor and both are included in feeMinor. Pass the returned quote.id to POST /api/v2/pay/payout, or skip this call and set autoQuote: true there.
POST
/
api
/
v2
/
pay
/
payout
/
quote
Create a payout quote
curl --request POST \
--url https://beta.creatorcore.co/api/v2/pay/payout/quote \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '
{
"recipientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"balanceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"grossRateMinor": 123
}
'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
recipientId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
balanceId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
grossRateMinor: 123
})
};
fetch('https://beta.creatorcore.co/api/v2/pay/payout/quote', 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/payout/quote"
payload = {
"recipientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"balanceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"grossRateMinor": 123
}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"quote": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"recipientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"creatorProfileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"routedFromRecipientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"balanceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"activationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rateCurrency": "AED",
"grossRateMinor": 123,
"commissionPercent": "<string>",
"netRateMinor": 123,
"speed": "standard",
"feeBearer": "organization",
"instantFeeBearer": "organization",
"currency": "AED",
"rateToBalanceFx": "<string>",
"amountMinor": 123,
"amountUsdMinor": 123,
"feeStructureId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"feeMinor": 123,
"instantFeeMinor": 123,
"railFeeMinor": 123,
"railFeeStructureId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"destinationCurrency": "AED",
"destinationAmountEstimateMinor": 123,
"fxRate": "<string>",
"balanceToUsdFx": "<string>",
"fxSource": "<string>",
"expiresAt": "<string>",
"createdAt": "<string>"
}
}Authorizations
Body
application/json
Available options:
AED, ARS, AUD, BRL, CAD, CHF, CLP, CNY, COP, CZK, DKK, EGP, EUR, GBP, HKD, HUF, IDR, ILS, INR, JPY, KES, KRW, MAD, MXN, MYR, NGN, NOK, NPR, NZD, PEN, PHP, PLN, RON, SEK, SGD, THB, TRY, USD, UYU, VND, ZAR, AMD, AOA, AWG, AZM, AZN, BAM, BBD, BDT, BHD, BMD, BND, BOB, BSD, BTN, BWP, BZD, CRC, CVE, DJF, DOP, ERN, ETB, FJD, FKP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HNL, HTG, JMD, JOD, KGS, KHR, KWD, KYD, KZT, LAK, LKR, LRD, LSL, MDL, MGA, MNT, MOP, MRO, MRU, MUR, MVR, MWK, MZM, MZN, NAD, NIO, OMR, PAB, PGK, PKR, PYG, QAR, RWF, SAR, SBD, SCR, SHP, SLE, SLL, SRD, SRG, STD, STN, SZL, TJS, TMT, TOP, TTD, TWD, TZS, UAH, UGX, UZS, VUV, WST, XAF, XCD, XOF, XPF, ZMK, ZMW, ZWD, ZWG, null Available options:
AED, ARS, AUD, BRL, CAD, CHF, CLP, CNY, COP, CZK, DKK, EGP, EUR, GBP, HKD, HUF, IDR, ILS, INR, JPY, KES, KRW, MAD, MXN, MYR, NGN, NOK, NPR, NZD, PEN, PHP, PLN, RON, SEK, SGD, THB, TRY, USD, UYU, VND, ZAR, AMD, AOA, AWG, AZM, AZN, BAM, BBD, BDT, BHD, BMD, BND, BOB, BSD, BTN, BWP, BZD, CRC, CVE, DJF, DOP, ERN, ETB, FJD, FKP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HNL, HTG, JMD, JOD, KGS, KHR, KWD, KYD, KZT, LAK, LKR, LRD, LSL, MDL, MGA, MNT, MOP, MRO, MRU, MUR, MVR, MWK, MZM, MZN, NAD, NIO, OMR, PAB, PGK, PKR, PYG, QAR, RWF, SAR, SBD, SCR, SHP, SLE, SLL, SRD, SRG, STD, STN, SZL, TJS, TMT, TOP, TTD, TWD, TZS, UAH, UGX, UZS, VUV, WST, XAF, XCD, XOF, XPF, ZMK, ZMW, ZWD, ZWG, null Was this page helpful?