Find payments
Find payments
On API version 1 (without the X-API-Version: 2.0.0 header), GET /payments and GET /payments/opensearch accept an optional raw OpenSearch query object in the request body. Exact term, terms, and exists predicates, and ordinary queries, keep working. A body that uses a non-exact predicate (prefix, wildcard, regexp, range, fuzzy, intervals with use_field, and similar forms, including inside bool must, must_not, filter, or should) on a card number, a card security code, or a wallet token is refused with HTTP 400. The error message is: search body must not sort, collapse, aggregate, or use a non-exact query on a card number, card security code, network-token number, or wallet token.
A body that references network_token fields is refused with HTTP 400. The error message is: query body must not reference network_token fields.
Authorizations
Authentication header of the form api key, where api key is your organization api key.
Headers
Specifies the version of the API to use
1.0.0 Query Parameters
Minimum payment amount
Maximum payment amount
ISO currency code (e.g., USD, EUR)
AED, AFN, ALL, AMD, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLP, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HTG, HUF, IDR, ILS, IMP, INR, IQD, IRR, ISK, JEP, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLE, SOS, SRD, SSP, STD, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, BOV, COU, CHE, CHW, MXV, UGX, VES, VND, VUV, XAF, XCD, XCG, XOF, XPF, YER, USD Only payments created on or after this time. Accepts YYYY-MM-DD (from 00:00:00 UTC),
YYYY-MM-DD HH:MM[:SS] with a space or T and no time zone (read as UTC),
or RFC 3339 with a time zone (2026-10-01T14:30:00Z).
Works without to. A value that can't be read is ignored; to still applies.
Number of items per page
1 <= x <= 1000Sort order
asc, desc Page number for paginated results
x >= 1Filter by payment status
PENDING, FAILED, AUTHORIZED, SETTLING, SETTLED, DECLINED, BLOCKED, CANCELLED PENDING, FAILED, AUTHORIZED, SETTLING, SETTLED, DECLINED, BLOCKED, CANCELLED PENDING, FAILED, AUTHORIZED, SETTLING, SETTLED, DECLINED, BLOCKED, CANCELLED Comma-separated list of failure reason messages. Both failure_reason_in and decline_message_in are independent filters applied together: a payment is returned only if it matches both. A payment has a single message, so two different messages used together return no payments; the same message in both returns payments with that message. Previously the two lists were combined as a union.
Comma-separated list of failure reason messages to exclude. Payments carrying any excluded message are removed; payments without a message are kept.
Comma-separated list of decline messages. Both failure_reason_in and decline_message_in are independent filters applied together: a payment is returned only if it matches both. A payment has a single message, so two different messages used together return no payments; the same message in both returns payments with that message. Previously the two lists were combined as a union.
Comma-separated list of decline messages to exclude. Payments carrying any excluded message are removed; payments without a message are kept.
Keyword to search across fields
Timestamp of the data snapshot
Field to sort by
Statement descriptor filter
Only payments created on or before this time. Accepts YYYY-MM-DD (covers that whole UTC day),
YYYY-MM-DD HH:MM[:SS] with a space or T and no time zone (read as UTC),
or RFC 3339 with a time zone (2026-10-01T14:30:00Z).
Works without from. A value that can't be read is ignored; from still applies.