post https://in.staging.decentro.tech/v2/payments/vpa/validate
Important Note
Please use only Staging Credentials on each API Reference page to test the APIs directly from our Documentation.
API Endpoints
Environment | Endpoint |
---|---|
Staging / Sandbox | https://in.staging.decentro.tech/v2/payments/vpa/validate |
Production | https://in.decentro.tech/v2/payments/vpa/validate |
Check if a particular UPI-ID (Virtual Payment Address) is valid or not.
Note : Currently Available only with Cosmos and ICICI as a provider. More providers are being added.
Simulation Data
Decentro provides the test data which will simulate various scenarios of the API when a transaction takes place.
Note: This test data is only valid in the Staging environment. Please use valid client id, client secret and module secret. Use UPI_ID parameter in the request payload to check the various test cases of this API.
Important: Please refer to the Simulation Data guide Click here
Simulation Data
Steps to use this data:
- Take the UPI ID from values shared below depending on the scenario to be tested.
- Trigger the validate VPA API with that UPI ID with the required type - basic or advance.
- API response will state the validation of the VPA (valid or invalid)
- The information about the UPI ID depends on the the type param passed in the request payload.
UPI ID | Validation status | Test case |
---|---|---|
charles.babbage@okhdfc | VALID | When VPA is valid |
alan.turing@oksbi | INVALID | When VPA is invalid |