Response in Return URL

Existing details about the parameters that will be posted to returnUrl can be seen here:

In addition to this, there will be 3 extra parameters.

  • mandate_token - This is a mandate token which needs to be used for recurring payment API. This is a 32 digit alphanumeric unique value.
  • mandate_id - This is a reference Id which can be used for communication between merchant and Juspay.
  • mandate_status - Based on the authenticated transaction status, this status can be ACTIVE, FAILURE, CREATED.

Order status

Mandate status

Remark

PENDING_AUTHENTICATION

CREATED

Awaiting for status from PG. This can either move to any of the below 4 status

AUTENTICATION_FAILED

FAILURE

User drop off or not initiated

AUTHORIZATION_FAILED

FAILURE

Terminal state

AUTHORIZING

CREATED

Pending - awaiting for terminal state

CHARGED

ACTIVE

Terminal state

Sample Response

https://sandbox.juspay.in/?status_id=21&status=CHARGED&order_id=guest-test-26&mandate_id=h439sfj3430&mandate_token=0ed6dd3dc5984db090b535294b662d01&mandate_status=ACTIVE&signature=wCFja5ZtDzm687LUxkqlw1NQYraC%2Bz540CitnlCouYI%3D&signature_algorithm=HMAC-SHA256

The mandate details will also be provided in order status API and webhook.