Skip to main content
GET
Payments log (tenant-wide payment attempts)
Returns every gateway payment attempt for the tenant, newest first, paginated, with an optional status filter. Each row carries its invoice number, so the response reads as the operator’s failed-payments log without a second lookup. A payment attempt is one try at settling an invoice through a gateway — a card charge, an ACH debit, a UPI mandate collection. An invoice can have several (a card’s failed → succeeded, or an ACH debit’s initiated → processing → succeeded → returned); the invoice’s own amount_paid reflects only the ones that settled. See Explain any number for how attempts relate to invoices and the ledger.

Query Parameters

Example Request

Response

Attempt Fields

Read-only. Offline payments recorded by hand live under List Offline Payments, not here.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Query Parameters

status
enum<string>
Available options:
initiated,
processing,
succeeded,
failed,
returned
q
string

Case-insensitive substring search on the attempt's invoice_number or gateway payment reference (tenant-scoped), newest first. Backs the command-palette payment lookup; the status filter is ignored on the search path.

page
integer
default:1

1-based page number.

Required range: x >= 1
per_page
integer
default:50

Records per page (capped at 250).

Required range: 1 <= x <= 250
limit
integer

Alias of per_page (default 50, max 250); when both are sent limit wins.

Required range: 1 <= x <= 250
offset
integer

Row offset (default 0). Overrides the offset computed from page.

Required range: x >= 0

Response

200 - application/json

The payments log page.

data
object[]
pagination
object