Get developer fee balance
Returns your organization's current developer fee balance. This balance accumulates from fees charged on customer deposits and can be claimed to your organization's wallet.
Returns your organization's current developer fee balance. This balance accumulates from fees charged on customer deposits and can be claimed to your organization's wallet.
Authorization
bearerAuth Organization API key obtained from PropelAuth
In: header
Response Body
application/json
application/json
application/json
curl -X GET 'https://compose.finance/api/v2/developer-fees' \ -H 'Authorization: Bearer YOUR_API_KEY'{
"balance": "1250.50",
"pendingClaims": "0",
"availableBalance": "1250.50",
"currencyId": "usdc_base",
"currency": "usdc"
}{
"error": "Unauthorized - Invalid or missing API key or session"
}{
"error": "Invalid request data"
}Get customer developer fees GET
Returns the current developer fee configuration for the customer. Developer fees are charged by your organization on customer transactions and accumulate in your developer fee balance.
Update customer developer fees PATCH
Updates the developer fee configuration for the customer. These fees are deducted from customer deposits before USDC is sent to their wallet. **Fee Types** - `developerSpreadFeeBps`: Spread fee in basis points (0-2500, max 25%). Applied to the USDC amount. **Fee Calculation** ``` spreadFee = amount × spreadFeeBps / 10000 customerReceives = amount - spreadFee ``` **Example:** 1000 USDC deposit with 1% spread (100 bps) → customer receives 990 USDC