Get your staging credentials

Every call to Adfin’s Payments API must be authenticated with an OAuth 2.0 access token. You can’t fetch a token until you have a client ID and client secret.

Email our support team

Send a message to [email protected] with the subject line “Request for API credentials” and include:

Required infoExampleNotes
Your company name & websiteAcme Co – acme.ioYour registered company name
Desired environment accessStaging or productionWe will provision staging initially
Primary tech contactDev Lead 1 – [email protected]Please designate a generic mailbox or lead person to let us know how to keep in contact
Redirect URIwww.acme.com/callbackYour redirect URI needs to be in line with the OAuth2 spec. You may have 2 registered per environment.

Copy and paste the following block to get started

To: [email protected]
Subject: "Request for API credentials"

Body:

Company name & website: [replace]
Desired environment: [replace]
Primary tech contact: [replace]
Redirect URI: [replace]

Store the credentials safely

Treat the client_secret like a password:

# Never commit secrets to source control
export ADFIN_CLIENT_ID="ZvumGwWYwjizsuieSCfDPxqz67AnbaXa"
export ADFIN_CLIENT_SECRET="••••••••••"