API Reference
Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…

This is the second step after using the Create Subscription API that is authorized using the Client Access Token obtained from the response of the Client Access Token API.

This API returns a code that can be used later in the User Access Token (Using Authorization Code) API in order to obtain the User Access Token needed to use the Subscription Management section's APIs.

How to use:

  1. Fill in Authorization header: Bearer C1234abcde-1234-abcd-1234-abcd1234abcd (Replace with access_token that starts with letter C obtained from response of Client Access Token API request).
  2. Change the "pin" as per the user's input on the frontend PIN code input page and "purchaseToken" in the reqeust body as per the response of the Create Subscription API
Body Params
string
Defaults to 1234

PIN sent on user's mobile.

string
Defaults to 682e2811-b20f-419c-b8f9-0f491dc2ba71

An unique token representing the purchase request, returned in the successful response of create subscription request,

Headers
string
Defaults to application/json

!DO NOT CHANGE OR REMOVE!

string
Defaults to application/json

!DO NOT CHANGE OR REMOVE!

string
Defaults to Bearer C1234abcde-1234-abcd-1234-abcd1234abcd

This field is mandatory and should follow the format: Bearer then single space then Client Access Token that starts with letter C (obtained from response of Client Access Token API.)

Responses

Language
Credentials
OAuth2
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain