PayRetailers
Quick Start
- Sign up at payretailers.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
PayRetailers payment integration
| Provider ID | payretailers |
| Category | Local Payment Methods |
| Website | payretailers.com |
Authentication
- Method: Bearer token
- Base URL:
https://api.payretailers.com/
Configuration
Required Parameters
| Parameter | Description |
|---|---|
api_key | API Key |
secret_key | Secret Key |
commerce_id | Commerce ID |
Example Configuration
{
"provider": "payretailers",
"provider_params": {
"api_key": "your_api_key_here",
"secret_key": "your_secret_key_here",
"commerce_id": "your_commerce_id_here"
}
}
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
COMPLETED | charged | |
APPROVED | charged | |
PENDING | charging | |
PROCESSING | charging | |
EXPIRED | failed | |
REFUNDED | refunded | |
PARTIALLY_REFUNDED | refunding | |
REJECTED | rejected | |
CANCELLED | rejected | |
ERROR | rejected |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | api/v1/payments | |
| GET | api/v1/payments/#{payment_id} | |
| POST | api/v1/payments/#{payment_id}/refunds |