StripeAPI 0.0.7

StripeAPI 0.0.7

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Dec 2017
SPMSupports SPM

Maintained by 1amageek.



 
Depends on:
APIKit~> 3.1.1
Stripe~> 11.3.0
 

StripeAPI 0.0.7

StripeAPI is a Framework that can handle Stripe type-safely.

Installation

CocoaPods

  • Inset pod 'StripeAPI' to your Podfile.
  • Run pod install

 ⚠️Attention⚠️

All model definitions and API definitions have not been completed.

Usage

The Stripe API is faithfully made to the document.

Set your secret-key

let configure: Configuration = Configuration(secretKey: "sk_test_xxxxxxxx")

Call

Customer.Create().send { (result) in
    case .success(let response): print(response)
    case .failure(let error): print(error)
}