PaymentStatus
data class PaymentStatus(val referenceId: String? = null, val status: StatusTypes? = null, val financialTransactionId: String? = null, val reason: ApiErrorResponses? = null)
Represents the status of a Collection payment, returned by getPaymentStatus.
status is the typed StatusTypes enum and reason is the typed ApiErrorResponses enum. Every field is optional so partial payloads never break deserialization.
Constructors
Link copied to clipboard
constructor(referenceId: String? = null, status: StatusTypes? = null, financialTransactionId: String? = null, reason: ApiErrorResponses? = null)
Properties
Link copied to clipboard
A transaction id associated with this payment.
Link copied to clipboard
The failure reason (ApiErrorResponses, e.g. PAYEE_NOT_FOUND) when the payment did not succeed.
Link copied to clipboard
The reference id for this payment.
Link copied to clipboard
The payment lifecycle status.