Xendit Ruby library

This is the Unofficial Ruby API client/library for Xendit API.

API Documentation

Please check Xendit API Reference.

Requirements

  • Ruby 2.5+

Installation

Using Gemfile

Install the gem and add to the application's Gemfile by executing:

bundle add xendit-client

Or add gem xendit-client to Gemfile

gem 'xendit-client'

Run this command in your terminal

bundle install

Usage

Get your API key from Xendit Dashboard.

Add your API key to the initializer.

require 'xendit'

Xendit.api_key = 'xnd_...'