Skip to main content

List Agreements

GET 

/v1/agreements

List stored agreements visible to the authenticated principal. Returns the brief view (no attached orders).

Required permission: agreements_read.

Request

Query Parameters

    items integer

    Possible values: >= 1 and <= 100

    id uuid

    Filter by internal UUID.

    agreement_id string

    Filter by the merchant-assigned agreement identifier.

    type string

    Possible values: [unscheduled, recurring, registered, installment]

    variability string

    Possible values: [fixed, variable]

    active boolean

    Filter to active (true) or disabled (false) agreements.

    created_at[gte] date-time
    created_at[lte] date-time

Responses

Paginated list of agreements (brief view).

Schema

    agreements

    object[]

    required

  • Array [

  • id stringrequired

    Merchant-chosen agreement identifier (the id supplied in new_agreement.id at creation). Use this value as agreement_id on follow-up transactions.

    type stringrequired

    Possible values: [unscheduled, recurring, registered, installment]

    first_order_id uuid

    A 36-character UUIDv7 identifier. When used as an idempotency key on write endpoints, the client is responsible for generating a fresh UUID for each logical operation and retaining it across retries.

    max_use integernullable
    variability stringrequired

    Possible values: [fixed, variable]

    expiry datenullable
    active booleanrequired

    false once the agreement has been disabled via PUT /v1/agreements/:id/disable. Disabled agreements reject new transactions.

    created_at date-timerequired

    ISO 8601 UTC timestamp with time zone designator.

    updated_at date-timerequired

    ISO 8601 UTC timestamp with time zone designator.

  • ]

  • meta

    object

    required

    Cursor-style pagination metadata. next_page and prev_page are null at the boundaries. Total counts are intentionally omitted for performance on large result sets (countless pagination).

    current_page integerrequired

    Possible values: >= 1

    next_page integernullablerequired
    prev_page integernullablerequired
Loading...