A native Python SDK for the Payment Rails API
For Python
- Python
- requests
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)
All URIs are available at http://docs.paymentrails.com/
All URIs are relative to https://api.paymentrails.com/v1
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 |
- Type: Authorization
- Authorization parts: public key, secret key
- Location: HTTP header