Skip to main content
GET
/
agency
/
billing
/
transactions
/
source
/
{sourceId}
List source transactions
curl --request GET \
  --url https://api.closebot.com/agency/billing/transactions/source/{sourceId} \
  --header 'X-CB-KEY: <api-key>'
[
  {
    "id": 123,
    "status": "<string>",
    "description": "<string>",
    "amount": 123,
    "currency": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "receiptUrl": "<string>",
    "usage": {
      "startTime": "2023-11-07T05:31:56Z",
      "endTime": "2023-11-07T05:31:56Z",
      "responses": 123,
      "libraryBytes": 123,
      "users": 123,
      "responseCost": 123,
      "libraryCost": 123,
      "userCost": 123
    }
  }
]

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

sourceId
string
required

The source ID.

Query Parameters

status
string

Filter by status when included. Statuses are: pending, succeeded, failed.

page
integer<int32>
default:1
pageSize
integer<int32>
default:20

Response

Success

id
integer<int32>
status
string | null
description
string | null
amount
integer<int64>
currency
string | null
createdAt
string<date-time>
receiptUrl
string | null
usage
object