Skip to main content
This guide walks you through the essential first steps to integrate with Cashii: setting up your accounts and making your first API calls to create and check payments. For a deeper understanding, refer to:

1. Account Setup

Before you can use the API, you need the correct Cashii accounts.
First, ensure you have a verified Cashii personal account. Follow the steps outlined in the account creation video if you don’t have one.
Next, you need a commercial account to generate API keys. Request one from your personal account using this guide:
Once your commercial account is approved, you can proceed to generate an API key as described in the Authentication 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:
Successful Response (201 Created): Cashii returns the unique id for this payment request.
You’ll use this 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.
Successful Response (200 OK): Returns the full details of the Remote Payment, including the crucial status.
This call is essential for server-side verification of the payment status. See Payment Flow.

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.