To use the PSP Braintree, registration in the PSP backend is required. After logging in to the backend, you can generate the necessary credentials.
The following credentials are stored as mandatory fields in COPAL:
- Environment
- MerchantAccountId
- MerchantId
- PrivateKey
- PublicKey
- Environment
For this mandatory field, 'sandbox' is entered in the sandbox environment, and 'production' in the live environment.
MerchantAccountId
The MerchantAccountID must be newly generated for each new currency. You can always reuse the other credentials you create. However, if the currency changes during creation, you must create a new MerchantAccountID each time. To do this, click on Business in the menu bar.
The field Merchant Account ID can be freely chosen. However, it is recommended to include the currency name in the designation. Select the desired currency and click Save.
In the following overview, you can see the created accounts with their respective currencies:
You can now enter the Merchant Account ID in COPAL. To generate the remaining credentials, click on the gear icon and then on API.
You will be taken to the Keys overview, click on + Generate New API Key there.
A new Public Key is generated. You can see this in the row under API Keys. Click on View in the row to display the Private Key and Merchant ID credentials.
You will be directed to the following overview:
Now you have generated all the necessary credentials.