Credits

List team credit transactions

Retrieve a list of all credit transactions for a specific team with optional filtering. Admin sessions also receive notes, created_by, and user_id on each record.

get/teams/{team_id}/credits

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/teams/{team_id}/credits
  • Auth: HTTP bearer

Path parameters

team_idstring uuid required
Example:4847749b-0721-4ee3-8d97-bb8f84d561a7

Query parameters

limitnumber nullable
pagenumber nullable
order_by'asc' | 'desc'
sort_bystring
include_archived'true' | 'false'
skip_pagination'true' | 'false'
type'DEBIT' | 'CREDIT'
reasonstring
entity_typestring
entity_idstring uuid

Response

Team credits retrieved successfully

total_pagesnumber required
current_pagenumber required
next_pagenumber nullable required
previous_pagenumber nullable required
total_recordsnumber required

Example response

{
  "records": [
    {
      "amount": 280,
      "type": "CREDIT",
      "reason": "referral_commission",
      "entity": "order_items",
      "entity_id": "123e4567-e89b-12d3-a456-426614174000"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.