The Pay2New Developer Hub

Authentication, request conventions, service guides, and transaction handling for Pay2New API integrations.

Integrate Pay2New wallet, recharge, bill payment, verification, onboarding, AePS, DMT, UPI ATM, and payout services using the reference pages in this developer hub.

Before you start

StepRequirement
1. Activate your accountYour partner account, KYC, wallet, and API access must be active.
2. Enable your servicesActivate the services needed for your integration. Access is checked for the requested service.
3. Register your source IPRegister the public IP address of the backend that will call Pay2New.
4. Obtain your credentialUse the secret supplied for your Pay2New partner account.
5. Read the endpoint contractUse that page's exact method, path, headers, required fields, and response handling.

📘

Call from your backend

Keep the secret on your server. Send it exactly as issued. The JSON ip field represents the customer/outlet IP where requested; it does not replace the registered source-IP check.

Authentication and request headers

HeaderRequirementValue
secretRequiredYour issued Pay2New API secret.
Content-TypeFor JSON request bodiesapplication/json
AcceptRecommendedapplication/json
outletIdEndpoint-specificPay2New customer/outlet ID where the endpoint requires it.

Some services require outletId in a header; others require it in the JSON body. Follow the individual endpoint table. Do not substitute an upstream provider's outlet ID.

First request: wallet balance

GET https://pay2new.in/apis/v1/balance

curl --request GET \
  --url 'https://pay2new.in/apis/v1/balance' \
  --header 'secret: YOUR_PAY2NEW_SECRET' \
  --header 'Accept: application/json'

Illustrative successful response:

{
  "status": 1,
  "message": "Transaction Successful!",
  "balance": "1,000.00"
}

Balance and transaction-value fields formatted by the service are strings and may contain grouping separators. See Main Wallet Balance for its contract.

Understand the result

ResultHow to interpret it
HTTP responseIndicates the transport result. Always inspect the JSON body as well.
Top-level statusDescribes the requested operation. Its meaning depends on the endpoint.
Transaction status1: success, 2: failure, 3: pending/unresolved where a transaction is being reported.
Status lookupTop-level success means the lookup succeeded. Read order.status for the payment result.
DigiLocker statusRead data.status and consented documents before fetching documents.
DMT onboardingOTP and next-action states are possible; follow the DMT endpoint instructions.
UPI ATM Generate QRCreating a QR is not completion of the withdrawal. Check the QR/transaction status before disbursing cash.

🚧

Do not infer payment success from HTTP 200

Authentication and validation failures can be returned as JSON application failures. Keep request_id and any returned order_id. If a chargeable request times out or remains unresolved, check its status before submitting another transaction.

Choose a service

ServiceStart here
Available services and productsServices List · Product / Operator List
RechargeMobile & DTH Recharges
Bill paymentsBill Fetch · Bill Payment
Identity verificationVerification Integration Guide
DigiLockerDigiLocker API overview
UPI ATMUPI ATM Integration Guide
DMTIntroduction
PayoutsBank Account · UPI Payment
ReconciliationTransaction Status · Webhooks

Integration support

Contact [email protected] for account activation, IP registration, environment/test-access details, and service support. Include the endpoint and transaction references; exclude secrets and sensitive customer data.