Get redirectUrl
Environment
| Environment | HTTP Method | API |
| Sandbox | GET | https://api-testing.phonepe.com/apis/b2b-pg/enach/ui/v1/redirect-url |
| Production | GET | https://api.phonepe.com/apis/pg/enach/ui/v1/redirect-url |
Request
| Header Name | Header Value | Description |
| Content-Type | application/json | |
| Authorization | O-Bearer <access_token> | Pass access_token received in Authorization call |
Response
Sample Response
{
"redirectUrl": "http://merchant-defined-redirect-url"
}