Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

token

token

VendorAccessTokenInfo token ( String client_idGrantType grant_type, String code, String client_secret, String refresh_token ) throws AccountAPINGException

Generate web vendor session based on a standard session identifiable by auth code, vendor secret and app key

Parameter name

Type

Required

Description

client_id

String

The vendor's vendorId

grant_type

GrantType

Whether the vendor is using an authorisation code or a refresh token to get a session

code

String

 

The authorisation code used to lookup the session to be returned

client_secret

String

The vendor's private key used to verify their identity

refresh_token

String

 

The vendor's refresh token if the grant_type is refresh_token

Return type

Description

VendorAccessTokenInfo

Response object containing VendorAccessToken, RefreshToken and optionally a Subscription Token if one was created

Throws

Description

AccountAPINGException

 

Since 1.0.0

 


  • No labels