Base URL https://api.tolt.com
Query Parameters
The program ID from where you want to list the commissions
Only return commissions from this partner
Only return commissions for this customer
Only return commissions for this transaction
The order of the commissions to return by created_at. Default is desc
Specify which related objects to include in the response. Valid values are
‘partner’ , ‘program’ , ‘customer’ , and ‘transaction’ . Use
expand[]=partner , expand[]=program , expand[]=customer , or
expand[]=transaction to include the related objects.
Only return commissions created after this date
Only return commissions created before this date
A limit on the number of commissions to return. Default is 10, max is 100
A cursor for use in pagination. starting_after is an object ID that defines
your place in the list
A cursor for use in pagination. ending_before is an object ID that defines
your place in the list
Response
Whether the request was successful
Whether there are more pages of results available
Total number of commissions matching the query
Unique identifier for the commission
Commission amount in cents
ID of the associated customer
Associated transaction identifier
Associated charge identifier
ISO 8601 timestamp of creation
ISO 8601 timestamp of update
Program ID the commission belongs to
curl -X GET 'https://api.tolt.com/v1/commissions?program_id=prg_YRsbPDAKhWfdqJbFACheh' \
-H 'Authorization: Bearer <API_KEY>'
{
"success" : true ,
"has_more" : true ,
"total_count" : 45 ,
"data" : [
{
"id" : "comm_eK9bzRGn46BhVgNFHD6fDgXW" ,
"amount" : 1999 ,
"customer_id" : "cust_dK9bzRGn46BhVgNFHD6fDgXW" ,
"transaction_id" : "txn_7mbzRGn46BhVgNFHD6fDgXW" ,
"charge_id" : "ch_9bzRGn46BhVgNFHD6fDgXW" ,
"source" : "stripe" ,
"status" : "pending" ,
"revenue" : 9999 ,
"created_at" : "2025-01-15T14:30:00.000Z" ,
"updated_at" : "2025-01-15T14:30:00.000Z" ,
"program_id" : "prg_YRsbPDAKhWfdqJbFACheh" ,
"organization_id" : "org_JE3mfYNL9ci7sFaJazAv2"
}
]
}