BTAPIClient
@objcMembers
public class BTAPIClient : NSObject, BTHTTPNetworkTiming
This class acts as the entry point for accessing the Braintree APIs via common HTTP methods performed on API endpoints.
Note
It also manages authentication via tokenization key and provides access to a merchant’s gateway configuration.-
The TokenizationKey or ClientToken used to authorize the APIClient
Declaration
Swift
public var authorization: ClientAuthorization -
Client metadata that is used for tracking the client session
Declaration
Swift
public private(set) var metadata: BTClientMetadata { get }
View on GitHub