Centpays
Quick Start
- Sign up at centpays.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
Centpays payment integration
| Provider ID | centpays |
| Category | Card Processors |
| Website | centpays.com |
Authentication
- Method: Bearer token
- Base URL:
https://gate.centpays.com/api/v1
Configuration
Required Parameters
| Parameter | Description |
|---|---|
api_key | API Key |
merchant_id | Merchant ID |
Example Configuration
{
"provider": "centpays",
"provider_params": {
"api_key": "your_api_key_here",
"merchant_id": "your_merchant_id_here"
}
}
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
completed | charged | |
pending | charging | |
refunded | refunded | |
failed | rejected |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | /orders | |
| GET | /orders/#{URI.encode(order_id)} | |
| POST | /orders/#{URI.encode(order_id)}/refunds |