Payment Rails SDK in Python for v1 REST APIs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
paymentrails
test
.gitignore
ACKNOWLEDGEMENTS.md
LICENSE
README.md
requirements.txt
setup.py

README.md

Latest Stable Version

Payment Rails Python SDK

A native Python SDK for the Payment Rails API

Installation

For Python

To install the reference:

Dependencies

Getting Started

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)

Documentation for API Endpoints

All URIs are available at http://docs.paymentrails.com/

All URIs are relative to https://api.paymentrails.com/v1

Usage

Methods should all have Python Doc comments to help you understand their usage. As mentioned the full API documentation is the best source of information about the API.

For more information please read the Python API docs is available. The best starting point is:

Data Type SDK Documentation
Batch API Docs for Batch
Payment API Docs for Payment
Recipient API Docs for Recipient
Recipient Account API Docs for Recipient Account

Documentation for Authorization

merchantKey

  • Type: Authorization
  • Authorization parts: public key, secret key
  • Location: HTTP header