UAPay
Quick Start
- Sign up at uapay.ua 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
UAPay payment integration
| Provider ID | uapay |
| Category | Card Processors |
| Website | uapay.ua |
Authentication
- Method: Basic Auth (Base64)
- Base URL:
https://api.uapay.ua/api/v1
Configuration
Required Parameters
| Parameter | Description |
|---|---|
login | Login |
password | Password |
merchant_id | Merchant ID |
Example Configuration
{
"provider": "uapay",
"provider_params": {
"login": "your_login_here",
"password": "your_password_here",
"merchant_id": "your_merchant_id_here"
}
}
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
paid | charged | |
created | charging | |
refunded | refunded | |
failed | rejected | |
expired | rejected |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | /invoice/create | |
| GET | /invoice/#{URI.encode(invoice_id)} | |
| POST | /invoice/#{URI.encode(invoice_id)}/refund |