v4

latestOpenAPI 3.0.22026-08-02109239415.7 KB
manage

Retrieve user spend commit information

get/manage/api/spend_commit

Query parameters

organization_idstring required

Base64 encoded organization ID to filter spend commit information for a specific organization

postpaid_onlyboolean

Whether to only return postpaid commits. Defaults to true.

Response

User spend commit information retrieved successfully

Example response

{
  "commits": [
    {
      "commit_start_time": "2000-01-23T04:56:07+00:00",
      "is_postpaid_commit": true,
      "commit_amount_spent": {
        "amount": 1050,
        "currency_code": "USD"
      },
      "commit_amount": {
        "amount": 1050,
        "currency_code": "USD"
      },
      "commit_end_time": "2000-01-23T04:56:07+00:00"
    },
    {
      "commit_start_time": "2000-01-23T04:56:07+00:00",
      "is_postpaid_commit": true,
      "commit_amount_spent": {
        "amount": 1050,
        "currency_code": "USD"
      },
      "commit_amount": {
        "amount": 1050,
        "currency_code": "USD"
      },
      "commit_end_time": "2000-01-23T04:56:07+00:00"
    }
  ]
}