List commissions
Changed onList commissions for the authenticated developer
Returns a paginated list of commissions with optional filters using cursor-based pagination. Pass the endCursor from a previous response as after to fetch the next page, or the startCursor as before to fetch the previous page. Specifying both after and before returns 422.
Request
- Base URLhttps://staging.api.rye.com
- URLhttps://staging.api.rye.com/api/v1/commissions
- AuthAPI key in header Authorization
Query parameters
Maximum number of results to return (default 100)
Cursor from a previous response's pageInfo.endCursor
Cursor from a previous response's pageInfo.startCursor
Type of commission earned on an order. Canonical definition used by both the API contract and the internal @rye-com/ci-commissions package.
Lifecycle status of a commission record.
Response
Paginated commissions response
Example response
{
"data": [
{
"ryeFee": {
"currencyCode": "USD",
"amountSubunits": 1500
},
"developerCommission": {
"currencyCode": "USD",
"amountSubunits": 1500
}
}
]
}Changes
- info
the security scope
billing:readwas added to the endpoint's security schemebearerAuth
- info
- breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - info
added the new optional
queryrequest parametercheckoutIntentId - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking