POST
/
v1
/
commissions
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
    }
  ]
}

Base URL https://api.tolt.com


Body Parameters

amount*
number

The commission amount in cents

customer_id*
string

The ID of the customer associated with this commission

transaction_id
string - optional

Associated transaction identifier

charge_id
string - optional

Associated charge identifier

source
string - optional

Source of the commission

status
string - optional

Commission status. Valid values are: ‘pending’, ‘approved’, ‘paid’, ‘rejected’, ‘refunded’

revenue
number - optional

The revenue amount in cents

created_at
string - optional

ISO 8601 timestamp of when the commission was created

Response

success
boolean

Whether the request was successful

data
array[object]
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
    }
  ]
}