List events for a payment method

Get a list of events for a specific payment method.

Response Format

The response format varies by event type:

  • AddPaymentMethod events are returned as transaction objects with embedded payment method data
  • All other events are returned as payment_method_event objects
Path Params
string
required

The token of the payment method

Query Params
string

The order of the returned list. Default is asc, which returns the oldest records first. To list newer records first, use desc.

string

The token of the item to start from (e.g., the last token received in the previous list if iterating through records)

string

The number of events to return. By default returns 20, maximum allowed is 100.

boolean

Whether to include gateway transactions alongside events. Default is false. When true, returns a unified timeline of events and transactions sorted by creation time.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Basic
base64
:
Response
Choose an example:
List events
List events with transactions
application/json