RedirectAction

public struct RedirectAction : Decodable

Describes an action in which the user is redirected to a URL.

  • url

    The URL to which to redirect the user.

    Declaration

    Swift

    public let url: URL
  • The server-generated payment data that should be submitted to the /payments/details endpoint.

    Declaration

    Swift

    public let paymentData: String
  • Initializes a redirect action.

    Declaration

    Swift

    public init(url: URL, paymentData: String)

    Parameters

    url

    The URL to which to redirect the user.

    paymentData

    The server-generated payment data that should be submitted to the /payments/details endpoint.