Generating access token for B2B API