Cashfree
Quick Start
- Sign up at cashfree.com and obtain API credentials
- Create a terminal in the Admin Console with the parameters below
- Start processing — the adapter is pre-built and ready to use
Overview
Cashfree payment integration
| Provider ID | cashfree |
| Category | Card Processors |
| Website | cashfree.com |
Configuration
Required Parameters
| Parameter | Description |
|---|---|
app_id | Application ID |
secret_key | Secret Key |
client_id | Client Id |
client_secret | Client Secret |
Example Configuration
{
"provider": "cashfree",
"provider_params": {
"app_id": "your_app_id_here",
"secret_key": "your_secret_key_here",
"client_id": "your_client_id_here",
"client_secret": "your_client_secret_here"
}
}
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
SUCCESS | charged | |
PAID | charged | |
PENDING | charging | |
ACTIVE | charging | |
EXPIRED | failed | |
TERMINATED | failed | |
NOT_ATTEMPTED | new | |
FAILED | rejected | |
USER_DROPPED | rejected | |
VOID | rejected | |
CANCELLED | rejected |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | orders | |
| GET | orders/#{outer_id} | |
| POST | orders/#{outer_id}/refunds |