Worldpay Payment Queries API — query payment history.
This is an aggregation service with up to 60 seconds of latency. Not suitable for real-time status checks immediately after payment.
Query modes
- By date range (from 25 Jun 2024 onward; paginated)
- By
transactionReference - By
paymentId(single payment, full detail) - Historical (pre-Jun 2024; minimal fields; requires
entityReference)
Summary
Functions
Query payments by date range.
Retrieve a single payment by paymentId (full detail).
Query payments by transaction reference.
Functions
@spec by_date_range(String.t(), String.t(), Worldpay.Config.t(), keyword()) :: {:ok, map()} | {:error, Worldpay.Error.t()}
Query payments by date range.
@spec by_id(String.t(), Worldpay.Config.t()) :: {:ok, map()} | {:error, Worldpay.Error.t()}
Retrieve a single payment by paymentId (full detail).
@spec by_transaction_reference(String.t(), Worldpay.Config.t(), keyword()) :: {:ok, map()} | {:error, Worldpay.Error.t()}
Query payments by transaction reference.