post http://{domain}/v1/api/oauth/token
This is an alternative API to fetch the User Access Token, this method is mostly used after a user's initial successful subscription, as the Unique User ID (UUID) is obtained through the CREATE notification sent on successful creation of a new user and, also, obtained in the redirect URL after completing the purchase flow in the Prepare Purchase API as a query parameter "uuid=" .
How to use:
- Go to the Params tab,
- Fill in client_id and client_secret and uuid (This unique user id (uuid) value should be obtained from notification received upon first successful subscription, and MIGHT be included in the redirect as a query parameter "uuid=" as this parameter is not available on all operators in the redirect.)
- Grab the access_token from the response of this request to be used later in any of the APIs in the Subscription Management section.
Token Validity period
The generated User Access Token will be valid for 12 hours with unlimited usage. The partner/merchant/client is expected to use the same User Access Token for the whole duration of its validity.