An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Perfect Stripe API



Get Involed with Perfect!



Star Perfect On Github


Stack Overflow


Follow Perfect on Twitter


Join the Perfect Slack



Swift 4.0


Platforms OS X | Linux


License Apache


PerfectlySoft Twitter


Slack Status

## 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).