Lookups

List and retrieve digital receipt lookups for accessible organisations.

Base URL: https://api.chargebackstop.com/v1/lookups/

Authentication: Bearer token via API key.

Required abilities:

  • lookups:read for GET endpoints

Access scope model:

  • Organisation-level keys can access lookups for their own organisation only.

  • Admin partner-group keys can access lookups across all organisations for their partner.

  • Non-admin partner-group keys can access lookups only for organisations assigned to their group.

GET /v1/lookups - list lookups

Returns a paginated list of lookup records accessible to the authenticated key.

API level: Organisation-level and partner-level Authentication: lookups:read

Query parameters

Parameter
Type
Description

organisation_id

string

Filter by organisation ID

enrollment_id

string

Filter by enrollment ID

type

string

Filter by lookup type

parent_lookup_id

string

Filter by parent lookup ID

lookup_status

string

Filter by lookup status: PENDING, SUCCEEDED, FAILED, TIMEOUT

deflection_status

string

Filter by deflection status: NOT_ATTEMPTED, PENDING, SUCCEEDED, FAILED

created_at_gte

datetime

Include lookups created at or after this timestamp (ISO 8601, inclusive)

created_at_lte

datetime

Include lookups created at or before this timestamp (ISO 8601, inclusive)

sort

string

Sort field: -created_at (default) or created_at

limit

integer

Number of results per page

offset

integer

Number of results to skip

Important behaviour

  • If both created_at_gte and created_at_lte are sent, created_at_gte must be less than or equal to created_at_lte.

  • Default sort order is newest lookup first (-created_at).

  • Responses use the same lookup object shape as lookup webhooks.

Example request

Example response


GET /v1/lookups/{lookup_id} - get lookup by ID

Returns one lookup if it is visible to the authenticated key.

API level: Organisation-level and partner-level Authentication: lookups:read

URL parameters

Parameter
Type
Description

lookup_id

string

Lookup ID

Important behaviour

  • The same access rules as list lookups apply.

  • Non-existent or inaccessible lookups return 404 Not found.

Example request

Example response


Error examples

chevron-rightExample: unauthorisedhashtag
chevron-rightExample: forbiddenhashtag
chevron-rightExample: not foundhashtag
chevron-rightExample: invalid date rangehashtag

Was this helpful?