Bank Account Verification

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

Verify a bank account and IFSC and retrieve the available beneficiary information.

Endpoint

POST https://pay2new.in/apis/v1/verification/bankAccount

Headers

HeaderRequiredValue / description
secretYesYour Pay2New API secret. Keep it on your server.
Content-TypeYes for JSON requestsapplication/json
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 body

FieldTypeRequiredDescription
account_numberstringYesBank account number. Send as a string to preserve leading zeroes.
ifscstringYesBank IFSC. Required to verify the account.
latitudedecimal stringYesCustomer/outlet latitude as a decimal value.
longitudedecimal stringYesCustomer/outlet longitude as a decimal value.
terms_agreestringYesCustomer consent. Send Y.
request_idstringYesUnique client reference for this request. Store it for reconciliation and support. Minimum 8 characters.
product_codestringNoOptional; the verification product is selected automatically. You can omit this field. Use numeric characters.
ipstringYesEnd-user IPv4 address.

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 POST \
  --url 'https://pay2new.in/apis/v1/verification/bankAccount' \
  --header 'secret: <YOUR_PAY2NEW_SECRET>' \
  --header 'Content-Type: application/json' \
  --data '{
  "account_number": "1234567890",
  "ifsc": "ABCD0123456",
  "latitude": "19.0760",
  "longitude": "72.8777",
  "terms_agree": "Y",
  "request_id": "EXAMPLE202609260001",
  "ip": "203.0.113.10"
}'

Response fields

FieldTypeDescription
statusinteger1: successful operation; 2: failed/rejected operation; 3: pending or indeterminate where returned.
messagestringHuman-readable result or error message.
order_idstringPay2New transaction/order reference. Store it for reconciliation.
txn_valuestringVerification transaction value/charge as a formatted string.
balancestringWallet balance as a formatted string; may contain commas.
request_idstringClient request reference associated with the operation.
api_idnumber / stringProvider identifier when returned. It is not needed to initiate verification.
beneobject / nullBeneficiary details when available; can be absent or null.
bank_referencestring / nullBank/provider reference when available; can be absent or null.

Response example

{
  "status": 1,
  "message": "Transaction Successful!",
  "order_id": "P2N_EXAMPLE_ORDER",
  "txn_value": "2.00",
  "balance": "1,000.00",
  "request_id": "EXAMPLE202609260001",
  "api_id": "EXAMPLE_PROVIDER",
  "bene": {
    "name": "SAMPLE CUSTOMER"
  },
  "bank_reference": "EXAMPLE_REFERENCE"
}

📘

Integration notes

Send IFSC and consent along with the account number. The verification product is selected automatically, so product_code can be omitted. A repeated verification request can create a new chargeable verification; do not assume duplicate request IDs are idempotent for this operation.

📘

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": "Invalid Parameters",
  "errors": {
    "account_number": "Illustrative field validation message"
  }
}
Body Params
string
required

Bank account number. Send as a string to preserve leading zeroes.

string
required

Bank IFSC. Required to verify the account.

string
required

Customer/outlet latitude as a decimal value.

string
required

Customer/outlet longitude as a decimal value.

string
required

Customer consent. Send Y.

string
required

Unique client reference for this request. Store it for reconciliation and support. Minimum 8 characters.

string

Optional; the verification product is selected automatically. You can omit this field. Use numeric characters.

string
required

End-user IPv4 address.

Headers
string
required

Your Pay2New API secret.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json