USAePay
For seamless integration with USAePay, following settings must be configured within the paymentGateways.usaepay section of the configuration file.
Configuration parameters​
| Field | Description |
|---|---|
| apiKey | USAePay API Key |
| apiPin | USAePay API PIN |
| enabled | Is integration enabled |
| sandbox | Is sandbox mode enabled |
| paymentAccountsId | JeraSoft Payment Account ID to use |
| amountOptions | List of allowed top up amounts |
| allowCustom | Are custom amounts allowed |
| currencyCode | Currency (code) to charge payments in |
| currenciesId | Respective Currency ID in JeraSoft Billing |
Sample config​
/opt/jerasoft/vcs-data/conf/cp-customer-params.json
{
"default": {
...
"paymentGateways": {
"usaepay": {
"apiKey": "your-api-key",
"apiPin": "your-api-pin",
"enabled": true,
"sandbox": false,
"paymentAccountsId": 1,
"amountOptions": [
10, 20, 50, 100
],
"allowCustom": true,
"currencyCode": "USD",
"currenciesId": 26
}
},
...
}
}