Built for Developers

We built our platform to make integration easy for developers.

  • Modern REST API based on REST principles
  • SDKs in curl, JavaScript, Ruby, PHP, Python and C#
  • Full API Documentation

const paymentrails = require('paymentrails');
const client = paymentrails.connect({
  key: "YOUR-API-KEY",
  secret: "YOUR-API-SECRET",
  environment: "production",
});
// Async/Await version
async function main() {
  const recipient = await client.recipient.find("R-G7SXXpm6cs4aTUd9YhmgWC");
  console.log(recipient.id);
}
main();
// Promise version
client.recipient.find("R-G7SXXpm6cs4aTUd9YhmgWC").then(recipient => {
  console.log(recipient.id);
}).catch(err => {
  console.log("ERROR", err);
});


from paymentrails.configuration import Configuration
from paymentrails.recipients import Recipients
client = Configuration.gateway("YOUR-PUBLIC-API","YOUR-PRIVATE-API","production")
response = client.recipient.find("R-WJniNq7PUXyboAJetimmJ4")
print(response.id)


require 'payment_rails'

payments = [
  {recipient: 1, amount: 100, currency: "USD"},
  {recipient: 2, amount: 200, currency: "CAD"}
]

client = PaymentRails.connect(api_key: "")

client.batches.create(recipient)

// This line is for the Composer autoloader
require_once 'vendor/autoload.php';
// Or use this if installed via git clone
// require_once 'php-sdk/lib/autoload.php';
use PaymentRails;
// Configure API key authorization: merchantKey
PaymentRails\Configuration::environment('production');
PaymentRails\Configuration::publicKey(YOUR_PUBLIC_KEY);
PaymentRails\Configuration::privateKey(YOUR_PRIVATE_KEY);
try {
    $recipients = PaymentRails\Recipient::all();
    foreach ($recipients as $rcpt) {
      print_r($rcpt->id . "\n");
    }
} catch (Exception $e) {
    echo 'Exception when calling PaymentRails\\Recipient::all ', $e->getMessage(), PHP_EOL;
}


using paymentrails.Types;
using paymentrails;
class Program
{
    static void Main(string[] args)
    {
        // set your API key
        var client = new PaymentRails_Gateway("YOUR-API-KEY", "YOUR-SECRET-KEY", "production");
        Recipient response = client.recipient.find("R-4q7zxMa26hpZhx7ULApBGw");
        Console.WriteLine(response.id);
        
        Console.Read();
    }
}

International Payment Technology Built for Scale

From global mass payouts, to real-time currency conversions, our APIs can help you create a tailored solution that meets your unique payment needs. We’ve designed our APIs using RESTful architecture making it an easy and frictionless experience.

With our robust Payout API, you can be up and running within minutes and paying the world.

Request a demo
  • Connector.

    Making developers' lives easier

    Simple, well-documented and reliable API.

  • Connector.

    Easily scaled

    Robust support for companies growing rapidly.

  • Connector.

    Powerful toolkit

    Our solutions are great for any type of business.

  • Connector.

    Seamless security

    Trusted, secure and worry-free.

Easy Integration

With our robust Payout API, you can be up and running
within minutes and paying the world.

  • Connector.

    Payout API

    Built on REST principles, Payment Rails’ Mass Pay API enables businesses to send unlimited mass payouts across Payment Rails’ global payment network.

  • Connector.

    JS Widget

    With our plug and play JS widget, by embedding a single line of code on your website, you can simplify the recipient management process.

  • Connector.

    Web Dashboard

    Payment Rails’ web plaform provides a single interface for businesses to send unlimited mass payouts across Payment Rails’ global payment network, without the need for any technical integration. Be up and running in minutes

merchant dashboard
  • Connector.

    Payout API

    Built on REST principles, Payment Rails’ Mass Pay API enables businesses to send unlimited mass payouts across Payment Rails’ global payment network.

  • Connector.

    JS Widget

    With our plug and play JS widget, by embedding a single line of code on your website, you can simplify the recipient management process.

  • Connector.

    Web Dashboard

    Payment Rails’ web plaform provides a single interface for businesses to send unlimited mass payouts across Payment Rails’ global payment network, without the need for any technical integration. Be up and running in minutes

Power Your Platform


Automate Your FX

Buy and sell currencies instantly with live real-time FX rates, in 135+ currencies.

Global Reach

Send payments around the world for less. We support multiple payment routes all over the world in 220+ countries.

Expand Your Payment Capabilities

Scale your international payments in seconds, without the hassle of managing complicated banking rules.

Payment Automation

Automate your payouts to your suppliers. Use the JS Widget for fast plug and play integration, or our suite of API’s for deep automation.

Webhooks & Slack

Do you use Slack or Webhooks? If so, we’ve got you covered. Payment Rails can send notifications directly to your Slack channel or to Webhooks to keep you updated.

Developer Sandbox

Test out our APIs in our developer sandbox before deploying to production.