Rev

List

Retrieve a paginated list of Rev records. Supports filtering, sorting, and search.

get/api/cp/rev

Query parameters

rounding_method'up' | 'down' | 'half-up' | 'half-down'

Filter by Rounding Method

duration_rounding_method'up' | 'down' | 'half-up' | 'half-down'

Filter by Duration Rounding Method

storage'live' | 'archive' | 'archiving' | 'archiving-deleting' | 'making-live'

Filter by Storage

Response

Successful response

idinteger

Id

card_idstring

Card Id (references card.id)

namestring

Name

tsstring date-time

Ts

revisioninteger

Revision

presentationstring

Presentation

externalinteger

External

expirestring date-time

Expire

staleinteger

Stale

currencystring

Currency

date_livestring date-time

Date Live

countinteger

Count

live_rev_idinteger

Live Rev Id

billing_precisioninteger

Billing Precision

rounding_method'up' | 'down' | 'half-up' | 'half-down'

Rounding Method

duration_rounding_method'up' | 'down' | 'half-up' | 'half-down'

Duration Rounding Method

origin_billing_sourcestring

Origin Billing Source

origin_billing_destinationstring

Origin Billing Destination

storage'live' | 'archive' | 'archiving' | 'archiving-deleting' | 'making-live'

Storage

archiving_atstring date-time nullable

Archiving At

archive_rule_countinteger

Archive Rule Count

archive_sha256string

Archive Sha 256

archive_sizeinteger

Archive Size

archive_created_atstring date-time nullable

Archive Created At

archive_deleted_atstring date-time nullable

Archive Deleted At

archive_errorstring

Archive Error

Example response

[
  {
    "id": 12345,
    "card_id": 1,
    "name": "Example Name",
    "ts": "2025-01-17T10:30:00Z",
    "revision": 123,
    "presentation": "example_presentation",
    "external": 1,
    "expire": "2025-01-17T10:30:00Z",
    "stale": 1,
    "currency": "USD",
    "date_live": "2025-01-17T10:30:00Z",
    "count": 10,
    "live_rev_id": 1,
    "billing_precision": 1,
    "rounding_method": "up",
    "duration_rounding_method": "up",
    "origin_billing_source": "example_origin_billing_source",
    "origin_billing_destination": "example_origin_billing_destination",
    "storage": "live",
    "archiving_at": "2025-01-17T10:30:00Z",
    "archive_rule_count": 10,
    "archive_sha256": "example_archive_sha256",
    "archive_size": 1000000,
    "archive_created_at": "2025-01-17T10:30:00Z",
    "archive_deleted_at": "2025-01-17T10:30:00Z",
    "archive_error": "Sample archive_error text content"
  }
]

Changes

No recorded changes to this endpoint across all 1 revision of this API.