DigitalPayChargePaymentAgreementRequest

public protocol DigitalPayChargePaymentAgreementRequest

The JSON request structure of the Charge Payment Agreement endpoint.

  • Transaction type containers to use for all instruments.

    Declaration

    Swift

    var transactionType: DigitalPayTransactionType { get }
  • A merchant application specific reference number.

    This number should uniquely identify the transaction in the merchant’s system.

    Declaration

    Swift

    var clientReference: String { get }
  • A merchant application specific reference number.

    This number should uniquely identify the customer in the merchant’s system.

    Declaration

    Swift

    var customerRef: String? { get }
  • The merchant order number of the transaction.

    Declaration

    Swift

    var orderNumber: 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 }
  • The amount that will be charged against the payment instrument linked to the payment agreement.

    Declaration

    Swift

    var amount: Decimal { get }
  • Digital Pay fraud payload

    Declaration

    Swift

    var fraudPayload: DigitalPayFraudPayload? { get }