OPay
Quick Start
- Sign up at opayweb.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
OPay payment integration
| Provider ID | opay |
| Category | Local Payment Methods |
| Website | opayweb.com |
Authentication
- Method: Bearer token
- Base URL:
https://sandboxapi.opaycheckout.com/api/v1
Configuration
Required Parameters
| Parameter | Description |
|---|---|
merchant_id | Merchant ID |
public_key | Public Key |
private_key | Private Key |
Example Configuration
{
"provider": "opay",
"provider_params": {
"merchant_id": "your_merchant_id_here",
"public_key": "your_public_key_here",
"private_key": "your_private_key_here"
}
}
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
SUCCESS | charged | |
PENDING | charging | |
REFUND | refunded | |
FAILED | rejected |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | /international/cashier/create | |
| POST | /international/cashier/query | |
| POST | /international/cashier/refund |