Authentication: Configuring Your Keys
Introduction
Before a merchant can start using the APIs or the SDK, authentication credentials must be set up. This process involves using your email and client secret to obtain an access token.
Receiving Credentials
You will receive the following credentials from Swiftramp:
email
- Your registered email addressclient_secret
- Your authentication secret
Obtaining Access Token
To authenticate your requests, you need to:
- Use your email and client secret to hit the login endpoint
- Upon successful authentication, you will receive an access token in cookies
- This access token will be used for subsequent API requests
Contact your Swiftramp representative to get your credentials.
Using the Access Token
The access token received in cookies will be automatically included in all API requests. You don’t need to manually handle the token as it’s managed through cookies.