STPAPIClient

@objc
public class STPAPIClient : NSObject

A client for making connections to the Stripe API.

Initializers

  • Initializes an API client with the given publishable key.

    Declaration

    Swift

    @objc(initWithPublishableKey:)
    public convenience init(publishableKey: String)

    Parameters

    publishableKey

    The publishable key to use.

    Return Value

    An instance of STPAPIClient.