Main Wallet Balance

Check balance of your Pay2New Business Wallet.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Check the current balance of your Pay2New business wallet.

Endpoint

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

Headers

HeaderRequiredValue / description
secretYesYour Pay2New API secret. Keep it on your server.
AcceptOptionalapplication/json

📘

Authentication

Use an active Pay2New partner account with verified KYC, an active wallet and API access. Send requests from your registered IP address. Enable the relevant service where applicable; offer services may also require an active plan.

Request

This endpoint does not require a request body.

Request example

📘

Illustrative values

All identifiers, identity data, amounts and IP addresses in these examples are synthetic. Replace the secret, product/customer references and sample inputs with the values for your integration before sending a request.

curl --request GET \
  --url 'https://pay2new.in/apis/v1/balance' \
  --header 'secret: <YOUR_PAY2NEW_SECRET>'

Response fields

FieldTypeDescription
statusinteger1: successful operation; 2: failed/rejected operation; 3: pending or indeterminate where returned.
messagestringHuman-readable result or error message.
balancestringWallet balance as a formatted string; may contain commas.

Response example

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

📘

Integration notes

Formatted monetary fields are strings with two decimal places and may use Indian comma grouping, for example 1,23,456.78. Remove grouping separators before numeric calculations. Illustrative balances or charges are not pricing commitments.

Errors

Application failures return status: 2 and a message. Invalid fields can also be identified in an errors object. Authentication, IP registration, service access and product availability can prevent processing. Other response fields may be absent when processing fails before a transaction is created. Evaluate the JSON result even when the HTTP request completes successfully. Preserve your request and order references when an outcome is pending or indeterminate.

{
  "status": 2,
  "message": "Secret Header not found!"
}
Headers
string
required

Your Pay2New API secret.

Response

Language
LoadingLoading…
Response
Choose an example:
application/json