Skip to main content
GET
/
api
/
v1
/
events
List events
curl --request GET \
  --url https://api-beta.pepay.io/api/v1/events \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "data": {
    "object": "list",
    "data": [
      {
        "id": "evt_1700000000000-123",
        "object": "event",
        "api_version": "2025-12-16",
        "created": 1700000000,
        "type": "invoice.updated",
        "livemode": false,
        "pending_webhooks": 0,
        "request": {
          "id": "<string>",
          "idempotency_key": "<string>"
        },
        "data": {
          "object": {
            "object": "invoice",
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "merchant_id": 123,
            "status": "paid",
            "invoice_type": "standard",
            "currency": "usd",
            "amount": 10000,
            "amount_decimal": "10.000",
            "amount_paid": 10000,
            "amount_paid_decimal": "10.000",
            "amount_remaining": 0,
            "amount_remaining_decimal": "0.000",
            "amount_unit": "usd_millis",
            "customer_id": "<string>",
            "payer_wallet_address": "<string>",
            "payer_wallet_network": "<string>",
            "commerce_order_id": "<string>",
            "environment": "devnet",
            "expires_at": "2023-11-07T05:31:56Z",
            "created_at": "2023-11-07T05:31:56Z",
            "paid_at": "2023-11-07T05:31:56Z",
            "last_payment_at": "2023-11-07T05:31:56Z",
            "metadata": {}
          },
          "previous_attributes": {}
        }
      }
    ],
    "has_more": false
  }
}

Authorizations

x-api-key
string
header
required

API key for server-to-server operations (scope=merchant or commerce)

Query Parameters

type
string

Comma-separated list of event types (supports wildcards like invoice.*)

created[gte]
integer
created[lte]
integer
limit
integer
Example:

50

starting_after
string
ending_before
string
invoice_id
string
order_id
string
customer_id
string
environment
enum<string>
Available options:
devnet,
mainnet

Response

200 - application/json

List response

success
boolean
Example:

true

data
object