Zotapay
Quick Start
- Sign up at zotapay.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
Zotapay payment integration
| Provider ID | zotapay |
| Category | Card Processors |
| Website | zotapay.com |
Authentication
- Method: HMAC Signature
- Base URL:
https://api.zotapay.com/api/v1
Configuration
Required Parameters
| Parameter | Description |
|---|---|
merchant_id | Merchant ID |
merchant_secret_key | Merchant Secret Key |
endpoint_id | Endpoint ID |
Example Configuration
{
"provider": "zotapay",
"provider_params": {
"merchant_id": "your_merchant_id_here",
"merchant_secret_key": "your_merchant_secret_key_here",
"endpoint_id": "your_endpoint_id_here"
}
}
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
APPROVED | charged | |
PENDING | charging | |
REFUNDED | refunded | |
DECLINED | rejected |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | /deposit/init/#{URI.encode(endpoint_id)} | |
| POST | /query/order/#{URI.encode(endpoint_id)} | |
| POST | /refund/init/#{URI.encode(endpoint_id)} |