T R U S T R O P A Y

Easy Integration

Seamless Integration

Get Started in Minutes

Integrate Trustropay with your platform quickly and easily using our comprehensive APIs, SDKs, and plugins.

RESTful API

Complete API documentation with code samples in multiple programming languages. Build custom integrations tailored to your needs.

Learn More

Platform Plugins

Ready-to-use plugins for WooCommerce, Shopify, Magento, and other popular e-commerce platforms. Install in minutes.

Learn More

SDK Libraries

Official SDKs for PHP, Python, Node.js, Java, Ruby, and .NET. Simplify integration with pre-built functions.

Learn More
4 Simple Steps

How to Integrate

1

Sign Up

Create your merchant account and complete KYC verification

2

Get API Keys

Access your dashboard to retrieve API credentials and documentation

3

Integrate

Choose your integration method and implement using our guides

4

Go Live

Test in sandbox, then switch to production and start accepting payments

RESTful API

Our powerful RESTful API gives you complete control over payment processing. Build custom checkout experiences, manage subscriptions, process refunds, and access detailed analytics.

  • Complete JSON-based REST API
  • OAuth 2.0 authentication
  • Webhook notifications for events
  • Comprehensive error handling
  • Rate limiting and throttling
View API Docs
// Create a payment
curl -X POST https://api.trustropay.com/v1/payments \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 1000,
    "currency": "USD",
    "payment_method": "card",
    "customer": {
      "email": "customer@example.com",
      "name": "John Doe"
    },
    "description": "Order #12345"
  }'

// Response
{
  "id": "pay_abc123xyz",
  "status": "succeeded",
  "amount": 1000,
  "currency": "USD",
  "created": 1702339200
}
E-Commerce Platforms

Ready-to-Use Plugins

WooCommerce

WordPress plugin

Download

Shopify

Shopify app

Download

Magento

Magento 2 extension

Download

PrestaShop

PrestaShop module

Download

OpenCart

OpenCart extension

Download

Joomla

Joomla plugin

Download

Drupal

Drupal module

Download

BigCommerce

BigCommerce app

Download
Developer Libraries

Official SDKs

Use our official SDKs to integrate faster with pre-built functions and methods.

PHP SDK

composer require trustropay/php-sdk
View Documentation

Python SDK

pip install trustropay
View Documentation

Node.js SDK

npm install trustropay-node
View Documentation

Java SDK

Maven: com.trustropay:java-sdk
View Documentation

Ruby SDK

gem install trustropay
View Documentation

.NET SDK

NuGet: Install-Package Trustropay
View Documentation

Real-Time Webhooks

Stay updated with instant notifications for payment events. Configure webhook endpoints to receive real-time updates about payments, refunds, disputes, and more.

  • Payment success/failure notifications
  • Refund and chargeback alerts
  • Subscription lifecycle events
  • Settlement confirmations
  • Automatic retry mechanism
WEBHOOK PAYLOAD EXAMPLE
{
  "event": "payment.succeeded",
  "data": {
    "id": "pay_abc123xyz",
    "amount": 1000,
    "currency": "USD",
    "status": "succeeded",
    "customer": {
      "id": "cus_xyz789",
      "email": "customer@example.com"
    },
    "created": 1702339200
  },
  "timestamp": 1702339205
}
Developer Tools

Everything You Need

API Documentation

Complete reference guide

Explore

Sandbox Environment

Test without real money

Access

Code Examples

Sample implementations

Browse

Developer Support

24/7 technical assistance

Get Help

Ready to Start Integrating?

Sign up for a free account and get access to our sandbox environment, documentation, and support.