BraintreePaymentToken

open class BraintreePaymentToken : PaymentMethod

Payment using a Braintree payment token

  • The payment data to be sent to the API

    Declaration

    Swift

    public var paymentData: [String : Any] { get }
  • Initialise the payment method with a braintree payment token and custom fields to apply to the payment

    Declaration

    Swift

    public init(initWithPaymentToken paymentToken: String, withCustomFields customFields: [String: String]? = nil)