> For the complete documentation index, see [llms.txt](https://peterberkenbosch.gitbook.io/affirm-ruby-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://peterberkenbosch.gitbook.io/affirm-ruby-api/master.md).

# Welcome

Clean, fast and pure Ruby implementation for the [Affirm API](https://docs.affirm.com/affirm-developers/reference)

This is using the new Transaction API and is not compatible with the Charge API. Also see the [Affirm Changelog](https://docs.affirm.com/affirm-developers/changelog/transactions-api)

[![Gem Version](https://badge.fury.io/rb/affirm-ruby-api.svg)](https://badge.fury.io/rb/affirm-ruby-api) ![Tests](https://github.com/peterberkenbosch/affirm-ruby-api/workflows/Tests/badge.svg) ![StandardRB](https://github.com/peterberkenbosch/affirm-ruby-api/workflows/StandardRB/badge.svg)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'affirm-ruby-api'
```

And then execute:

```bash
$ bundle install
```

Or install it yourself as:

```bash
$ gem install affirm-ruby-api
```
