Commissions
Retrieve Commission
tolt.js
Guides / How To
Customers
Clicks
Commissions
Transactions
Commissions
Retrieve Commission
This endpoint retrieves a commission.
GET
/
v1
/
commissions
/
:id
curl -X GET 'https://api.tolt.com/v1/commissions/comm_eK9bzRGn46BhVgNFHD6fDgXW' \
-H 'Authorization: Bearer <API_KEY>'
{
"success": true,
"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"
}
}
Base URL https://api.tolt.com
Query Parameters
Specify which related objects to include in the response. Valid values are ‘partner’, ‘program’, and ‘customer’. Use expand[]=partner, expand[]=program, or expand[]=customer to include the related objects.
Response
Whether the request was successful
Unique identifier for the commission
Commission amount in cents
ID of the associated customer
Associated transaction identifier
Associated charge identifier
Source of the commission
Commission status
Revenue amount in cents
ISO 8601 timestamp of creation
ISO 8601 timestamp of update
Program ID the commission belongs to
Organization ID
curl -X GET 'https://api.tolt.com/v1/commissions/comm_eK9bzRGn46BhVgNFHD6fDgXW' \
-H 'Authorization: Bearer <API_KEY>'
{
"success": true,
"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"
}
}
curl -X GET 'https://api.tolt.com/v1/commissions/comm_eK9bzRGn46BhVgNFHD6fDgXW' \
-H 'Authorization: Bearer <API_KEY>'
{
"success": true,
"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"
}
}