post https://staging.api.decentro.tech/v3/payments/vpa/validate
This API allows merchants to validate Individual as well as merchant VPAs and fetch their details.
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 | https://staging.api.decentro.tech/v3/payments/vpa/validate |
Production | https://api.decentro.tech/v3/payments/vpa/validate |
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.
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.
- 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 | Status | Test case |
---|---|---|
charles.babbage@okhdfc | VALID | When VPA is valid |
alan.turing@oksbi | INVALID | When VPA is invalid |