API Documentation
Simple, powerful, and secure UPI integration for your platform.
Introduction
Welcome to the Green Pay API. Our REST API allows you to initiate payments, track transactions, and manage settlements programmatically. We use standard HTTP methods and return JSON responses.
Base URL
https://upi.smmizo.com/api/v1/
Authentication
Authenticate your requests by including your user_token in the request body. You can find your API keys in the Merchant Dashboard.
Create Order
Initiate a new payment transaction. This returns a payment_url where you should redirect your customer.
POST
/create-order
| Parameter | Description |
|---|---|
| user_token String | Your unique merchant API token. |
| amount Number | Transaction amount in INR (Min: 1.00). |
| order_id String | Unique identifier for the transaction in your system. |
| redirect_url String | URL to redirect after payment completion. |
{
"user_token": "your_api_token_here",
"amount": 499.00,
"order_id": "ORD_12345",
"customer_mobile": "9876543210",
"redirect_url": "https://yoursite.com/success"
}
Check Status
Verify the status of a specific transaction using your internal Order ID.
POST
/check-status