Skip to main content
GET
/
v1
/
payment-intents
curl "https://api.stablegenius.co/v1/payment-intents?merchant_id=mer_abc123&status=confirmed&limit=10" \
  -H "Authorization: Bearer sk_test_abc123"
{
  "object": "list",
  "data": [
    {
      "id": "pi_xyz789",
      "object": "payment_intent",
      "status": "confirmed",
      "amount": 4.50,
      "currency": "usd",
      "net_amount": 4.455,
      "fee": 0.045,
      "merchant_id": "mer_abc123",
      "tx_hash": "0xabc123...def456",
      "chain": "base",
      "token": "USDC",
      "confirmed_at": "2026-04-01T20:00:12Z",
      "metadata": { "order_id": "order_456" },
      "created_at": "2026-04-01T20:00:00Z"
    },
    {
      "id": "pi_abc456",
      "object": "payment_intent",
      "status": "confirmed",
      "amount": 12.00,
      "currency": "usd",
      "net_amount": 11.88,
      "fee": 0.12,
      "merchant_id": "mer_abc123",
      "tx_hash": "0xdef789...abc012",
      "chain": "base",
      "token": "USDC",
      "confirmed_at": "2026-04-01T19:45:30Z",
      "metadata": { "order_id": "order_455" },
      "created_at": "2026-04-01T19:45:00Z"
    }
  ],
  "has_more": true,
  "total_count": 142
}

List Payment Intents

Returns a paginated list of payment intents, optionally filtered by merchant, status, or date range.

Query Parameters

merchant_id
string
Filter by merchant ID. Required unless your API key is scoped to a single merchant.
status
string
Filter by status. One of: awaiting_payment, confirmed, expired, cancelled, settled.
created_after
string
ISO 8601 timestamp. Only return intents created after this time.
created_before
string
ISO 8601 timestamp. Only return intents created before this time.
limit
integer
Number of results per page. Default: 25. Max: 100.
starting_after
string
Cursor for forward pagination. Pass the id of the last item in the previous page.
curl "https://api.stablegenius.co/v1/payment-intents?merchant_id=mer_abc123&status=confirmed&limit=10" \
  -H "Authorization: Bearer sk_test_abc123"
{
  "object": "list",
  "data": [
    {
      "id": "pi_xyz789",
      "object": "payment_intent",
      "status": "confirmed",
      "amount": 4.50,
      "currency": "usd",
      "net_amount": 4.455,
      "fee": 0.045,
      "merchant_id": "mer_abc123",
      "tx_hash": "0xabc123...def456",
      "chain": "base",
      "token": "USDC",
      "confirmed_at": "2026-04-01T20:00:12Z",
      "metadata": { "order_id": "order_456" },
      "created_at": "2026-04-01T20:00:00Z"
    },
    {
      "id": "pi_abc456",
      "object": "payment_intent",
      "status": "confirmed",
      "amount": 12.00,
      "currency": "usd",
      "net_amount": 11.88,
      "fee": 0.12,
      "merchant_id": "mer_abc123",
      "tx_hash": "0xdef789...abc012",
      "chain": "base",
      "token": "USDC",
      "confirmed_at": "2026-04-01T19:45:30Z",
      "metadata": { "order_id": "order_455" },
      "created_at": "2026-04-01T19:45:00Z"
    }
  ],
  "has_more": true,
  "total_count": 142
}