ApplePayRequestPayload

public struct ApplePayRequestPayload : AuthorizingPayload

A payload structure for handling payment requests.

  • accessToken: The authorization access token used to authenticate the payment request.
  • paymentIntentId: The unique identifier for the payment intent.
  • orderInfo: The order details including country code, currency, total amount, and label.
  • The authorization access token used to authenticate the payment request.

    Declaration

    Swift

    public let accessToken: AccessToken
  • The unique identifier for the payment intent.

    Declaration

    Swift

    public let paymentIntentId: String
  • The order details required for the Apple Pay transaction.

    Declaration

    Swift

    public let orderInfo: ApplePayOrderData
  • Initializes a new instance of ApplePayRequestPayload.

    Declaration

    Swift

    public init(
        accessToken: AccessToken,
        paymentIntentId: String,
        orderInfo: ApplePayOrderData
    )

    Parameters

    accessToken

    The authorization access token used to authenticate the payment request.

    paymentIntentId

    The unique identifier for the payment intent.

    orderInfo

    The order details required for the Apple Pay transaction.