Dotpay
Quick Start
- Sign up at dotpay.pl 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
Dotpay payment integration
| Provider ID | dotpay |
| Category | Local Payment Methods |
| Website | dotpay.pl |
Authentication
- Method: Basic Auth (Base64)
- Base URL:
https://ssl.dotpay.pl/t2/register_payment/
Configuration
Required Parameters
| Parameter | Description |
|---|---|
id | Shop ID |
pin | PIN |
Example Configuration
{
"provider": "dotpay",
"provider_params": {
"id": "your_id_here",
"pin": "your_pin_here"
}
}
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
completed | charged | |
pending | charging | |
refunded | refunded | |
rejected | rejected |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| GET | /payments/?control=#{URI.encode(outertxid)} | |
| POST | /payments/#{URI.encode(outertxid)}/refund/ |