GENERATE TOKEN

This API call is made to generate the access token used in all the requests.

                                                Method: POST
                                                URI: https://accounts.jambopay.com/auth/token

Header

 {
    "Content-Type": "application/x-www-form-urlencoded"
  }

The request body is as follows

{
    "grant_type": "client_credentials",
    "client_id": "your client key",
    "client_secret": "Your client secret"
  }
Value Type Description
grant_type string Type of grant which will be used to login i.e client_credentials in this case.
client_id string Your client key
client-secret string Your client secret

Success response sample

{
    "access_token": "Bearer bsStQfdd6M_i4OVBWwGCJkhUypXWD9e-soqy4BzgM_sAU5lSnG0JaRjuY5Jlv8t-7idJQx3sz74zXPRFxwtp9LHWErZvkdop2Fxu1DDF84aoLf5tpLORMod9-wd8QJOk8bXeLRKScChZna1O2Q6bf4ODarWGeTD83dgyr6M0YJ2PHJeEmDKX8rp2kYzM0MmmJuyHStFk3v0QeWTbd9gr-35H4Bsd..",
    "token_type": "Bearer",
    "expiry": "2w",
}    
Untitled