BaseRequestPayload

public struct BaseRequestPayload : AuthorizingPayload

A payload structure for handling payment requests.

  • accessToken: The authorization access token used to authenticate the payment request.
  • hostedPaymentPresenterVC: A closure that returns a UIViewController? to present the hosted payment UI.
  • Undocumented

    Declaration

    Swift

    public let accessToken: AccessToken
  • Undocumented

    Declaration

    Swift

    public let paymentIntentId: String
  • Initializes a new instance of PaymentRequestPayload.

    Declaration

    Swift

    public init(
        accessToken: AccessToken,
        paymentIntentId: String
    )

    Parameters

    accessToken

    The authorization access token used to authenticate the payment request.

    merchantPaymentRequest

    The payment request containing necessary payment details.