API Reference

Get logout options for logged in users. Requires a user-token. A flow is started by posting an
empty JSON body to handlerUrl.
Get logout options for logged in users.

ONCE THE USER IS LOGGED IN, WE RECEIVE A USER TOKEN.
THIS USER TOKEN IS USED WHEN THE USER CHOOSES TO LOG OUT.

To log out, follow these steps:


1. Set the Request Details

  • URL: <https://public-gateway.aws.stg.mondia.io/api/marketplace/auth/session/logout>

2. Add the Required Headers

HeaderValue
x-api-keyYour API Key
AuthorizationYour User Id

3. Prepare the Request Body

Request BodyDescriptionRequired
redirectionUrlThe URL to redirect to after a user subscription paymentYes
langThe two-letter ISO-639-1 language code - defaults to client's default languageYes

4. Make the Request

Once you’ve set the URL, headers, and body, make a request.



Language
URL
Click Try It! to start a request and see the response here!