Error handling ways

Q)How error handling are tackled in different request paths, like how different flows work if I receive 404 or 401 code at backend against my request through the paybook widget?

Hi @demoprod

We always send a response with the error code and a rid:

    "rid": "94e69e6f-9254-462c-964a-4466af03c3be",
    "code": 401,
    "errors": null,
    "status": false,
    "message": "Unauthorized",
    "response": null