Security considerations
- All API requests must be made over HTTPS. Calls made over plain HTTP will fail.
- API requests without Authentication will also fail.
- You will be able to hit our APIs only from the IPs you have previously whitelisted on Pandablue Connect.
Environments
All the integration must be performed on our Staging environment, where you can perform your tests freely without risks of any kind. When you sign up with us, we will generate you an account on our STG environment where you will be able to:- See the transactions created
- Approve and cancel transactions
- Retrieve your API Keys
- Whitelist your IPs, and more
Endpoint domains
Each environment has its own domain. The path of the endpoints doesn’t change.API Keys
In order to authenticate, our Cashouts APIs uses API Keys in all of the requests to authenticate. Your API Keys can be retrieved from Pandablue Connect by going to Operations ➡️ Accounts ➡️ API Access ➡️ Cashout Credentials.The API Keys between the STG and PROD environments are different.
- Your user:
API Key - Your password:
API Passphrase - Your secret key to generate the signatures:
API Signature
API Key and API Passphrase fields on the body of the request.
Your API Keys, along with your IP Addresses are your way to authenticate yourself, therefore, do not share your credentials in publicly accessible areas such as GitHub, client-side code and so forth.
Headers
All requests sent through Cashouts v3 API must have the following headers.| Header | Format | Mandatory | Description |
|---|---|---|---|
| Payload-Signature | String | Yes | HMAC256 of the whole JSON Payload using your API Signature |
| Content-Type | String | Yes | application/json |
| User-Agent | String | Yes | Server client user agent |
IP Whitelisting
For security purposes, you need to whitelist the IPs from where you will call our API. In order to whitelist your IPs and make the process as smoother as possible, you should go to Operations -> Accounts -> API Access and add the list of IPs you will possibly use under the Cashouts IP Address section. Reach out to your account manager if you need to whitelist our servers IPs on your firewall.Best practices
We recommend you follow this list of technical and security practices to maximize the security of the information end-to-end.- Always ensure to verify the Signatures control string sent in the notifications to validate its veracity.
- We convert all the data we receive to UTF-8. Make sure you are also converting it into UTF-8 to make sure both parties have the same details.