USAePay
In this step you will first use a special Paytram Flow to convert your API key and PIN into a special encoded format for use with Paytram, create an External credentials, and create a Named credential.
Important: When creating your credentials, use the exact spelling and capitalization indicated and follow the credential creation and Flow run in order.
Retrieve or create your API keys from the Gateway
You will need your API Key and Pin Copy these to a separate document so you can reference them in a later step.

Convert your API Key and Pin to an encoded format
- Go to App Launcher > Paytram UsaEpay Settings 

- Enter your Usaepay API key and PIN number (Pin is required) and click Generate. You can get these values in Usaepay portal > Settings > API Keys 
- Copy the generated encoded string (staring with the word "Basic") to your clipboard for use in the next step. You will use this value in Paytram, not the original API key/pin  
External Credentials
Navigate to the External Credential tab.
- Click New. 
- Enter the following values: 
- Label and Name: usaepayExternal 
- Authentication Protocol: No Authentication 
 
- Click Save. 
Named Credentials
From Setup, navigate to Named Credentials.
In the Named Credentials tab:
- Click New and complete the following field values: 
- Label and Name: ‘usaepay’. 
- URL field: - Depends on whether you are accessing the Production Enviroment of the Gateway, or the Sandbox enviroment: - Production: https://usaepay.com/api/v2/ 
- Sandbox: https://sandbox.usaepay.com/api/v2/ 
 
 
- Enabled for Callouts: true. 
- For the External Credential, select the ‘usaepayExternal’ credential you previously created. 
- Select all Callout Options. 
- Allowed Namespaces for Callouts: ‘paytram’. 
 
- Click Save. 
- In the newly created record, scroll down to the Custom Headers section and click New. 
- Complete the following field values: 
- Name: Authorization 
- Value: paste the ‘Basic’ character string that you copied earlier from the Token Generator Flow. 
- Sequence Number: 1 
 
- Click Save. 
Permissions
Continue to set permissions
Last updated