Skip to main content

OAuth 2.0 framework

Peddler utilises the OAuth 2.0 Authorization Framework. The OAuth 2.0 authorization framework enables a third-party application to obtain limited access to the Peddler HTTP services, on behalf of a resource owner (a carrier enterprise) by orchestrating an approval interaction between the resource owner and the HTTP service, or by allowing the third-party application to obtain access on its own behalf.

Client authentication

For third party application for enterprise shipping services, we recommend our secure token based client authentication.

The parameters required for client authentication are:

ParameterDescription
grant_typeSet this to client_credentials
client_idYour application's Client ID
client_secretYour application's Client Secret
scopeThe scope of the token. Includes DEFAULT, authenticated , CARRIER_ID
Security

The client_secret should be stored securely in encrypted format or using key management tool.

Authentication flow

Client authentication