AmpleTrails, Gurugram · since 2012 +91 93154 41053 WhatsApp info@ampletrails.com Developer guide · Guides
Products
Identity verificationBusiness verification (KYB)Bank, income & creditFace match & OCRVideo KYC, eSign & flowsCompliance & riskPayouts & messagingAll 52 APIs
Use cases
Customer onboarding (KYC)Merchant & seller onboarding (KYB)Vendor & supplier verificationEmployee background checksGig and field worker onboardingLoan underwritingPayout and refund validationDuplicate and synthetic identity detection
Industries
Fintech & Digital LendingBanks & NBFCsInsuranceBroking, Mutual Funds & WealthCrypto & VDA PlatformsReal-money GamingE-commerce & MarketplacesStaffing, Gig & HRTelecomMobility & LogisticsReal Estate & RentalsB2B & Procurement
Resources
GuidesGlossaryFAQSecurity & data
DevelopersPricingAbout
Theme
Get API keysCall +91 93154 41053

Payment Gateway

Creates a payment order and returns a hosted checkout link and a UPI intent link. You get the payment status by webhook once the customer pays.

Payouts verified accounts only NameAccountAmount Ravi KumarXX4521₹12,400PaidPriya SharmaXX0937₹8,750PaidMohd. IrfanXX2210₹15,000Pending 1 payout held: name did not match the bank
Source
RBI-authorised payment aggregator partners
Turnaround
Payment status in real time; settlement as per the aggregator's cycle
Endpoint
POST /v1/payments/orders
Who can use it
Registered businesses approved by the aggregator partner, outside restricted categories.

Overview

If you're already verifying customers with us, you can collect from them here too. Create an order and send the customer to a hosted checkout, or use the UPI intent link for a UPI-first flow. You get a webhook when they pay. Payments are processed by RBI-authorised payment aggregator partners; we provide the integration and support.

Good to know

Approval and pricing are decided by the aggregator partner. Some business categories won't be accepted.

What you get

  • UPI firstUPI intent and QR for mobile users, plus cards, net banking and wallets.
  • Hosted checkoutSend customers to a hosted page so card data never touches your servers.
  • Webhooks and status APIKnow as soon as an order is paid, and query any order's status later.
  • One support teamThe same team helps with verification and payment questions.

Request

POST https://api.ampletrails.com/v1/payments/orders

FieldTypeStatusDescription
amountnumberRequiredAmount in ₹
currencystringOptionalCurrency code
order_idstringRequiredYour unique order reference
customer_namestringOptionalCustomer name
customer_mobilestringOptionalCustomer mobile
return_urlstringRequiredWhere to send the customer after payment

Response

Fields inside data. Every response also carries status, request_id and, on errors, message. See error codes.

FieldMeaningExample
payment_order_idGateway order identifierpg_ord_4c11e2
checkout_urlHosted checkout linkhttps://pay.example/…
upi_intentUPI deep link / QR payload for UPI-first flowsupi://pay?…
statuscreated, paid, failed or expiredcreated
payment_methodMethod used once paidnull

Example

curl -X POST https://api.ampletrails.com/v1/payments/orders \
  -H "Authorization: Bearer $AMPLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount": 1499, "currency": "INR", "order_id": "ORD-2026-55120", "customer_name": "Ravi Kumar", "customer_mobile": "9876543210", "return_url": "https://example.com/payment/return"}'
Response · 200 OK
{
  "status": "success",
  "request_id": "req_7f3a9c21e4",
  "data": {
    "payment_order_id": "pg_ord_4c11e2",
    "checkout_url": "https://pay.example/…",
    "upi_intent": "upi://pay?…",
    "status": "created",
    "payment_method": null
  }
}

Example data. The exact field list for your account comes with your sandbox documentation.

Use cases

Processing and onboarding fees

Collect a processing fee or security deposit at the end of onboarding.

Subscription start

Take the first payment for a plan before setting up a mandate.

Rental deposits

Collect deposits from verified tenants.

Questions about this API

Is AmpleTrails a payment aggregator?

No. Payments are processed by RBI-authorised payment aggregator partners, who hold the merchant relationship and settle funds to you.

What do we need to sign up?

Business KYC documents, a current account and a website or app that meets the aggregator's requirements, such as visible terms, refund policy and contact details.

How quickly are funds settled?

Settlement timelines are set by the aggregator, usually a day or two after payment. Your agreement will state them.

Are some businesses not allowed?

Yes. Aggregators restrict certain categories, such as gambling and some financial products. Check with us before you apply.

Try the Payment Gateway API

Sandbox keys, the full field reference and a Postman collection, usually within a working day.