DigitalPayTransactionCompletionResponse

public protocol DigitalPayTransactionCompletionResponse

Undocumented

  • Container reference in the transaction logs.

    This number uniquely identifies the credit card transaction in the container.

    Declaration

    Swift

    var paymentTransactionRef: String { get }
  • Container reference in the transaction logs.

    This number uniquely identifies the completion transaction in the container.

    Declaration

    Swift

    var completionTransactionRef: String { get }
  • The amount processed in the completion.

    Declaration

    Swift

    var amount: Decimal { get }
  • The error code. Only present if an error occurred during payment.

    Declaration

    Swift

    var errorCode: String? { get }
  • The error message. Only present if an error occurred during payment.

    Declaration

    Swift

    var errorMessage: String? { get }
  • The error detail. Only present if an error occurred during payment.

    Declaration

    Swift

    var errorDetail: String? { get }
  • The external service code (from eg. Webpay).

    This property is only included in the response if it is enabled in the consumers API configuration.

    Declaration

    Swift

    var externalServiceCode: String? { get }
  • The external service message (from eg. Webpay).

    This property is only included in the response if it is enabled in the consumers API configuration.

    Declaration

    Swift

    var externalServiceMessage: String? { get }