Skip to main content

Payment Status Report (PAIN.002)

The PaymentStatusReport class represents a Payment Status Report (PAIN.002) in the PAIN.002 format. This class encapsulates the data and functionality related to ingesting updates about the status of a previously sent payment instruction.

Usage

To create a PaymentStatusReport instance from a raw XML string:
A PaymentStatusReport has a list of StatusInformation elements, each of which has a type and a status field. The first StatusInformation element in the list is also accessible as paymentStatusReport.type and paymentStatusReport.status.

Example