- Authentication: Generating and using API keys.
- Core Concepts: Understanding Remote Payments and workflows.
- Payment Flow: Handling user redirection and callbacks.
1. Account Setup
Before you can use the API, you need the correct Cashii accounts.Creating a personal account
Creating a personal account
First, ensure you have a verified Cashii personal account. Follow the steps outlined in the account creation video if you don’t have one.
Request a commercial account
Request a commercial account
Next, you need a commercial account to generate API keys. Request one from your personal account using this guide:
2. Basic API Calls
With your API key, you can now interact with the Remote Payments API.Create a Remote Payment
This is the fundamental step to initiate a payment request. Endpoint:POST /api/v1/remote-payments
Host: https://api.cashii.app
Headers: Authorization: Bearer YOUR_API_KEY
Request Body:
id for this payment request.
id to redirect the user. See Payment Flow.
Retrieve Remote Payment Information
Use this endpoint to check the status and details of a payment request, especially after the user returns to your site. Endpoint:GET /api/v1/remote-payments/{paymentId}
Host: https://api.cashii.app
Headers: Authorization: Bearer YOUR_API_KEY
Path Parameter:
paymentId: The 16-digit ID obtained when creating the payment.
status.
Next Steps
- Explore the full API Reference for all available endpoints and details.
- Review the Payment Flow guide for handling user redirection.
- Consult the Glossary for term definitions.