DigitalPayPaymentAgreementResponse

public protocol DigitalPayPaymentAgreementResponse

The JSON response structure of the Create and Update Payment Agreement endpoints.

  • Container reference in the transaction logs.

    This number uniquely identifies the transaction in the container.

    Declaration

    Swift

    var transactionReceipt: String { get }
  • The payment token of the payment agreement.

    The payment token is a unique identifier for the payment agreement.

    Declaration

    Swift

    var paymentToken: String? { get }
  • Detail of the payment agreement that has been created or updated

    Declaration

    Swift

    var paymentAgreement: DigitalPayResponsePaymentAgreement { get }
  • Fraud response

    Declaration

    Swift

    var fraudResponse: DigitalPayFraudResponse? { get }
  • Extended transaction data object

    Declaration

    Swift

    var extendedTransactionData: [DigitalPayExtendedTransactionData]? { 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 }