MuchBetter
Quick Start
- Sign up at muchbetter.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
MuchBetter payment integration
| Provider ID | muchbetter |
| Category | E-Wallets |
| Website | muchbetter.com |
Authentication
- Method: HMAC Signature
- Base URL:
https://gateway.muchbetter.com/merchant
Configuration
Required Parameters
| Parameter | Description |
|---|---|
api_key | API Key |
secret_key | Secret Key |
Example Configuration
{
"provider": "muchbetter",
"provider_params": {
"api_key": "your_api_key_here",
"secret_key": "your_secret_key_here"
}
}
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
settled | charged | |
pending | charging | |
refunded | refunded | |
failed | rejected |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | /payment | |
| GET | /payment/#{URI.encode(transaction_id)} | |
| POST | /payment/#{URI.encode(transaction_id)}/refund |