Data types related to payment status
PaymentStatusReport
has a single StatusInformation
element, but some banks may return multiple elements. This class
handles both cases.
Property | Type | Description |
---|---|---|
originalMessageId | string | The original message ID associated with the group. |
'group'
| 'payment'
| 'transaction'
Code | Description |
---|---|
RJCT | Rejected |
ACCP | Partially Accepted |
PNDG | Pending |
ACCP | Accepted |
ACSP | Accepted Settlement In Progress |
ACSC | Accepted Credit Settlement Completed |
ACSC | Accepted Settlement Completed |
ACTC | Accepted Technical Validation |
PaymentStatusCode
.
Property | Type | Description |
---|---|---|
type | StatusType | The type of status (group, payment, or transaction). |
status | PaymentStatus | The status value. |
reason? | object | Optional reason for the status. |
reason.code? | string | Optional reason code. |
reason.additionalInformation? | string | Optional additional information about the reason. |
BaseStatusInformation
.
Property | Type | Description |
---|---|---|
type | ’group’ | The type is always ‘group’ for GroupStatus. |
originalMessageId | string | The original message ID associated with the group. |
BaseStatusInformation
.
Property | Type | Description |
---|---|---|
type | ’payment’ | The type is always ‘payment’ for PaymentStatus. |
originalPaymentId | string | The original payment ID associated with the payment. |
BaseStatusInformation
.
Property | Type | Description |
---|---|---|
type | ’transaction’ | The type is always ‘transaction’ for TransactionStatus. |
originalEndToEndId | string | The original end-to-end ID associated with the transaction. |
GroupStatusInformation
PaymentStatusInformation
TransactionStatusInformation