curl -X POST 'https://api.tolt.com/v1/commissions' \ -H 'Authorization: Bearer <API_KEY>' \ -H 'Content-Type: application/json' \ -d '{ "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" }'
{ "success": true, "data": [ { "id": "comm_eK9bzRGn46BhVgNFHD6fDgXW", "revenue": null, "charge_id": "ch_9bzRGn46BhVgNFHD6fDgXW", "charge_status": null, "source": "stripe", "status": "pending", "type": null, "currency": null, "program_id": "prg_YRsbPDAKhWfdqJbFACheh", "organization_id": "org_JE3mfYNL9ci7sFaJazAv2", "transaction_id": "txn_7mbzRGn46BhVgNFHD6fDgXW", "customer_id": "cust_dK9bzRGn46BhVgNFHD6fDgXW", "payout_id": null, "created_at": "2025-01-15T14:30:00.000Z", "updated_at": "2025-01-15T14:30:00.000Z", "amount": "1999", "scheduled_approval_date": null, "approval_type": "manual", "flow_id": null } ] }
This endpoint creates a commission.
Documentation IndexFetch the complete documentation index at: https://docs.tolt.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.tolt.com/llms.txt
Use this file to discover all available pages before exploring further.
https://api.tolt.com
Hide properties