post https://api-sandbox.setel.com/v1/account/sessions/otp
This API endpoint creates an access token from the authentication server once the OTP is verified.
Successful response payload data
Parameter name | Data type | Description |
---|---|---|
accessToken | string | The user's access-token to access Setel's API. |
refreshToken | string | The token to refresh the session without re-entering credentials. |
expiresIn | integer | The remaining time (in seconds) before the accessToken expires. |
distinctId | string | The mixpanel distinct_id associated with the user. |
sessionState | string | The session ID of the payment. |
scope | string | The permission granted by the user. |