Merchant API
Payment Intents

List payment intents

List payment intents for the authenticating merchant in the key's environment, ordered most-recent-first. Walk pages via `next_cursor`. Filters narrow the set; cursor and filters are independent; apply the filters again on each page request.

GET
/payment_intents

List payment intents for the authenticating merchant in the key's environment, ordered most-recent-first. Walk pages via next_cursor. Filters narrow the set; cursor and filters are independent; apply the filters again on each page request.

AuthorizationBasic <token>

Merchant API key pair. Send as Authorization: Basic base64(publicKey:secretKey) — username is the public key (pk_live_… / pk_test_…), password is the secret key (sk_live_… / sk_test_…). The public key prefix determines the environment of every order created by the request — there is no body, query, or header override.

In: header

Query Parameters

country?string

ISO 3166-1 alpha-2 country code, e.g. "MY".

created_after?string

Inclusive lower bound on createdAt, ISO-8601 with offset.

created_before?string

Exclusive upper bound on createdAt, ISO-8601 with offset.

currency?string

ISO 4217 currency code (e.g. "MYR", "USD") or a 3–6 letter token symbol. Uppercase.

cursor?string

Opaque pagination cursor returned by the previous page as next_cursor. Omit on the first page.

merchant_reference?string

Exact-match filter on the merchant-supplied reference. Use to look up an intent by your own id.

limit?integer

Page size, 1-100. Defaults to 25. Walk pages via next_cursor rather than raising this.

status?||array<>

Filter to one or more lifecycle states. Pass a single value or a comma-separated list (e.g. requires_action,succeeded).

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/payment_intents"
{
  "data": [
    {
      "amount": "10000",
      "country": "MY",
      "created_at": "2026-05-09T12:34:00.000Z",
      "currency": "MYR",
      "environment": "test",
      "failure_code": null,
      "failure_message": null,
      "id": "dord_01HZYABCDXYZ",
      "merchant_reference": "order-2026-05-09-0001",
      "next_action": {
        "expires_at": "2026-05-09T12:49:00.000Z",
        "type": "redirect_to_url",
        "url": "https://checkout.example/pay/dord_01HZYABCDXYZ"
      },
      "object": "payment_intent",
      "payment_method": "FPX",
      "status": "requires_action",
      "updated_at": "2026-05-09T12:34:02.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "eyJ0IjoiMjAyNi0wNS0wOFQyMjoxNDowMC4wMDBaIiwiaWQiOiJkb3JkXzAxSEFCQyJ9"
}
{
  "error": {
    "code": "validation_failed",
    "message": "Currency XYZ is not enabled for this merchant."
  }
}
{
  "error": {
    "code": "validation_failed",
    "message": "Currency XYZ is not enabled for this merchant."
  }
}
{
  "error": {
    "code": "validation_failed",
    "message": "Currency XYZ is not enabled for this merchant."
  }
}
{
  "error": {
    "code": "validation_failed",
    "message": "Currency XYZ is not enabled for this merchant."
  }
}