Skip to content

Ecomm Bridge Authentication

This page explains authentication for the get-purchases and process-returns endpoints of ecomm bridges.

How it works:

  1. You provide us during onboarding:
  2. OAuth Token URL
  3. Client ID
  4. Client Secret (encrypted at rest)
  5. We fetch an OAuth access token from your endpoint and cache it.
  6. API calls to your endpoints include:

text Authorization: Bearer {access_token}

  1. Tokens are refreshed automatically before expiry.

OAuth token endpoint must return:

{
  "access_token": "string",
  "expires_in": 3600 // optional, seconds
}

Bearer Token Authentication

How it works:

  1. You provide us during onboarding:
  2. Bearer Token
  3. API calls to your endpoints include:

text Authorization: Bearer {your_token}

  1. The token is sent with every request to authenticate your ecomm bridge endpoints.

This is a simpler authentication method where you provide a static token that we include in the Authorization header for all requests to your endpoints.


Questions? Ask our support team for help with onboarding or secure credential setup.