Session API

This is a Server-to-Server API which accepts order parameters as an input to create order in the Juspay system, and returns payment links.

The parameters you need to pass might vary depending on the lender requirements. Therefore, it is always recommended to consult the Juspay team for the required parameters before generating a session.

‘Metadata’ is used to send custom params to the payment aggregators, irrespective of default parameters.

API Endpoints
Sandbox Link
POST
https://sandbox.juspay.in/session
Production Link
POST
https://api.juspay.in/session
Authorization Header
Headers
Body
200 : Success
400 : Invalid Input data
401 : Authentication Failed
404 : Not Found
500 : Unexpected Error
Last updated 5 months ago