Generating your API key
Before generating an API key, ensure you have set up your Cashii accounts:1. Create a personal account
1. Create a personal account
If you haven’t already, you must have a verified Cashii personal account. Follow the steps outlined in the account creation video to set up your account.
2. Request a commercial account
2. Request a commercial account
API keys are associated with commercial accounts. After creating a personal account, request a commercial account. Refer to the commercial account setup guide for detailed instructions.
- Log in to the Cashii app and switch to your commercial account.
- Open the navigation menu.
- Navigate to Manage Users.
- Select Manage API Keys.
- Click Add API Key.
- Enter a descriptive reference name for the API key (e.g., “My Web App Integration”).
- Important: Copy the generated API key immediately and store it securely. You will not be able to view it again after this step.
- Enable the necessary permissions for this key. For payment integrations, ensure Manage Remote Payments is checked.
- Click Save.
Keep your API keys confidential. Do not share them publicly or embed them directly in client-side code.
Using Your API Key
Include your API key in theAuthorization header of your API requests, using the Bearer authentication scheme:
YOUR_API_KEY with the actual key you generated.