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 aUIViewController?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
accessTokenThe authorization access token used to authenticate the payment request.
merchantPaymentRequestThe payment request containing necessary payment details.