Skip to main content
POST
Use UPI ID verification before you send money to a UPI ID or save it as a payout destination. One call tells you whether the UPI ID exists and returns the name registered against it, so you can compare it with the name you hold. No deposit is made.

Environments

How to read the result

  • status is success for every completed check, found or not. Branch on error_code, never on status.
  • error_code: null with data present: the UPI ID exists. data.vpa_holder_name is the registered name and data.is_valid is always true.
  • error_code: "IDTO_202" with data: null: the UPI ID does not exist. This is a definitive answer and is billed.
  • billed tells you whether this call was charged. It is true for both outcomes above, and false on every error.
  • name in the request is optional. data.name_match and data.name_match_score can be null even when you send it, so compare data.vpa_holder_name yourself when they are null.
  • data.extras can carry extra details such as ifsc. It is often an empty object.
  • The request field is vpa; upi_id is accepted as an alias.
Send an Idempotency-Key header (up to 255 characters) on every call. If a network error makes you retry with the same key and the same body, you get the first result back and are not charged again. See Idempotency.

Errors

A missing or wrong X-Client-ID / X-API-Key pair returns 401 with a detail string and is not billed. The full code list is in v2 error codes.

Test scenarios

Input rules: vpa is 5 to 80 characters, a handle of letters, digits, ., _ or -, then @, then at least two letters (rahul.sharma@upi). Questions about bank and UPI checks are answered in the Bank FAQ. Was this page helpful? Email us at tech@idto.ai with the page link.

Authorizations

X-Client-ID
string
header
default:<client-id>
required

The Client ID shown on the API Credentials page of the idto dashboard. It is not your account or customer ID, which returns 401. Send it on every server-to-server request together with X-API-Key. Staging and production client IDs are different.

X-API-Key
string
header
default:<api-key>
required

Your API key from the idto dashboard (API credentials). Keep it on your server; never ship it in a browser or mobile app. Send it on every server-to-server request together with X-Client-ID.

Headers

Idempotency-Key
string

Make retries of this exact request safe. If the same key is replayed with an identical request body, the original result is returned without re-running the verification or billing again. If the same key is replayed with a different body, the request is rejected with IDTO_010 (422). Omitting this header runs every request as new.

Maximum string length: 255

Body

application/json
vpa
string
required

The UPI ID to verify, in the form rahul.sharma@upi. upi_id is accepted as an alias for this field.

Required string length: 5 - 80
Pattern: ^[A-Za-z0-9._-]+@[A-Za-z]{2,}$
Example:

"rahul.sharma@upi"

name
string

Optional name you expect on the UPI ID. When the check supports name matching, data.name_match and data.name_match_score are filled; otherwise they stay null.

user_id
string

Your own reference for the end user. Stored against this call.

workflow_session_token
string

Session token when the call is part of an idto workflow session. Omit for standalone calls.

Response

The UPI lookup ran to completion.

status
enum<string>
required
Available options:
success
message
string
required
error_code
string | null
required

null when the UPI ID exists, IDTO_202 when it does not. Both are billed.

data
object | null
required
billed
enum<boolean>
required
Available options:
true
chargeble
string

Legacy string flag mirroring billed.

Legacy string flag mirroring billed.

tranx_id
string | null
timestamp
string | null
Last modified on December 1, 2026