Inpay
Quick Start
- Sign up at inpay.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
Inpay payment integration
| Provider ID | inpay |
| Category | Bank Transfers |
| Website | inpay.com |
Authentication
- Method: Basic Auth (Base64)
- Base URL:
https://product.inpay.com/api/v2
Configuration
Required Parameters
| Parameter | Description |
|---|---|
username | Username |
api_key | API Key |
merchant_id | Merchant ID |
Example Configuration
{
"provider": "inpay",
"provider_params": {
"username": "your_username_here",
"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 | /checkout/create | |
| GET | /checkout/#{URI.encode(checkout_id)} | |
| POST | /checkout/#{URI.encode(checkout_id)}/refund |