https://github.com/perfectlysoft/perfect-stripe
Server Side Swift 3 Stripe API
https://github.com/perfectlysoft/perfect-stripe
payment-gateway payment-integration server-side-swift stripe swift
Last synced: 10 months ago
JSON representation
Server Side Swift 3 Stripe API
- Host: GitHub
- URL: https://github.com/perfectlysoft/perfect-stripe
- Owner: PerfectlySoft
- License: apache-2.0
- Created: 2017-05-16T18:39:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-20T21:17:43.000Z (almost 8 years ago)
- Last Synced: 2025-05-25T12:02:00.872Z (about 1 year ago)
- Topics: payment-gateway, payment-integration, server-side-swift, stripe, swift
- Language: Swift
- Homepage:
- Size: 168 KB
- Stars: 10
- Watchers: 5
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Perfect Stripe API
## Perfect Stripe API
**Note:** This is a work in progress and will grow to 100% API coverage over time. Your pull requests will help this!
This API will connect your Server Side Swift application with the [Stripe](https://stripe.com) payment gateway.
## Compatibility with Swift
The master branch of this project currently compiles with **Xcode 9.3** or the **Swift 4.1** toolchain on macOS and Ubuntu.
Version 4 of Perfect-Stripe is not a drop-in update from version 3. It is a significant refactor to leverage Swift 4's Codable features.
## Usage
Import the module by including in your Package.swift file.
``` swift
.Package(
url: "https://github.com/PerfectlySoft/Perfect-Stripe.git",
majorVersion: 4
)
```
Then use in your file by importing:
``` swift
import PerfectStripe
```
## Configuration
Obtain a Stripe API key, and set this for use:
``` swift
Stripe.apiKey = ""
```
## Documentation
Usage documentation can be found at [https://github.com/iamjono/Perfect-Stripe/wiki](https://github.com/iamjono/Perfect-Stripe/wiki)
## Further Information
For more information on the Perfect project, please visit [perfect.org](http://perfect.org).