Klasha
Quick Start
- Sign up at klasha.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
Klasha payment integration
| Provider ID | klasha |
| Category | Local Payment Methods |
| Website | klasha.com |
Authentication
- Method: Bearer token
- Base URL:
https://gate.klasha.com/
Configuration
Required Parameters
| Parameter | Description |
|---|---|
api_key | API Key |
encryption_key | Encryption Key |
Example Configuration
{
"provider": "klasha",
"provider_params": {
"api_key": "your_api_key_here",
"encryption_key": "your_encryption_key_here"
}
}
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
cancelled | cancelled | |
successful | charged | |
success | charged | |
pending | charging | |
failed | rejected | |
abandoned | rejected |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | api/v1/payments | |
| GET | api/v1/payments/#{outer_id}/verify | |
| POST | api/v1/payments/#{outer_id}/refund |