Skip to content

Unified API

Unified Payment Gateway API

One standardized interface to read and write payment gateway data across every provider. 3 unified resources, 4 supported integrations, zero provider-specific code.

https://api.truto.one/unified/payment-gateway
Start integrating API docs
3

Unified resources

4

Supported integrations

Pass‑through

Real-time, no data storage

Data Model

Payments resources

Every resource is normalized across providers. Use the same schema whether your customer is on Checkout or Juspay.

Customers

The customer represents a customer in Payment Gateway.

6 fields Docs →
Customers fields
id string
name string
email string
phone string
created_at string
updated_at string

Orders

The order represents an order in Payment Gateway.

8 fields Docs →
Orders fields
id string
amount number
currency string
created_at string
updated_at string
status string
customer object
payment object

Payments

The payment represents a payment in Payment Gateway.

14 fields Docs →
Payments fields
id string
amount string
currency string
transaction_fee string
refund_amount string
status string
customer object
description string
payment_method object
created_at string
expires_on string
reference_id string
order_id string
metadata object

Integrations

4 integrations, one API

Connect to any of these providers through the Unified Payment Gateway API. Same resources, same schema, same code.

How It Works

From zero to integrated

Go live with the Unified Payment Gateway API in under an hour. No boilerplate, no maintenance burden.

01

Connect your customer’s account

Use Truto’s pre-built auth flows to connect any payment gateway provider. OAuth, API keys, and custom auth — all handled.

02

Query the unified API

Read and write data through a single, normalized REST API. Same endpoints, same schema, regardless of the underlying provider.

03

Customize with JSONata

Need a field the unified model doesn’t cover? Extend the schema with declarative JSONata mappings — no code deploys, no waiting on us.

Unified Payment Gateway API

Start building with the Unified Payment Gateway API

4 integrations. 3 unified resources. Zero provider-specific code. Ship payment gateway integrations in hours, not months.

Talk to us