Skip to main content
GET
List all subscription grants

Authorizations

X-SALESBRICKS-KEY
string
header
required

API key for authentication

Path Parameters

subscription_id
string
required
Pattern: ^([a-zA-Z\d\-]+)$

Query Parameters

brick_id
string

Only grants with a line for this brick.

grant_type
enum<string>

Only grants of this type: TOP_UP or ROLLOVER.

Available options:
ROLLOVER,
TOP_UP
status
enum<string>

Only grants with this status. EXPIRED returns only grants that became active; one never activated stays PENDING.

Available options:
ACTIVE,
EXPIRED,
PENDING,
VOIDED

Response

Output serializer for the subscription grants list.

grants
object[]
required

The subscription's grants, newest first.