---
title: Unified Payment Gateway API — Truto Unified API
slug: payment-gateway
canonical: "https://truto.one/unified-apis/payment-gateway/"
---

# Payment Gateway Unified API

Integrate Payment Gateway data across 4 providers with one API. 3 normalized resources, real-time pass-through, fully customizable.

**Base URL:** `https://api.truto.one/unified/payment-gateway`  
**Resources:** 3  
**Integrations:** 4

## Resources

### Customers

The customer represents a customer in Payment Gateway. (6 fields)

- `id` (string) — Unique identifier for the customer
- `name` (string) — Name of the customer
- `email` (string) — Email of the customer
- `phone` (string) — Phone number of the customer
- `created_at` (string) — Date and time when the customer was created
- `updated_at` (string) — Date and time when the customer was last updated

### Orders

The order represents an order in Payment Gateway. (8 fields)

- `id` (string) — Unique identifier for the order
- `amount` (number) — Amount of the order
- `currency` (string) — Currency of the order
- `created_at` (string) — Date and time when the order was created
- `updated_at` (string) — Date and time when the order was last updated
- `status` (string) — Status of the order
- `customer` (object) — Customer associated with the order
- `payment` (object) — Payment associated with the order

### Payments

The payment represents a payment in Payment Gateway. (14 fields)

- `id` (string) — Unique identifier for the payment
- `amount` (string) — Amount of the payment
- `currency` (string) — Currency of the payment
- `transaction_fee` (string) — Transaction fee on a payment
- `refund_amount` (string) — Refund amount of the payment
- `status` (string) — Status of the payment. In case there is no clear mapping, the raw status is passed.
- `customer` (object) — 
- `description` (string) — Description of the payment
- `payment_method` (object) — 
- `created_at` (string) — Date and time when the payment was created
- `expires_on` (string) — Date and time when the payment expires
- `reference_id` (string) — Reference ID of the payment. This can be used to lookup payments in the system.
- `order_id` (string) — Unique identifier for the order related to this payment.
- `metadata` (object) — 

## Supported integrations

- [Checkout](https://truto.one/integrations/detail/checkout/)
- [Juspay](https://truto.one/integrations/detail/juspay/)
- [Razorpay](https://truto.one/integrations/detail/razorpay/)
- [Stripe](https://truto.one/integrations/detail/stripe/)
