Guavapay
Quick Start
- Sign up at guavapay.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
Guavapay payment integration
| Provider ID | guavapay |
| Category | Card Processors |
| Website | guavapay.com |
Authentication
- Method: Bearer token
- Base URL:
https://api.guavapay.com/v1
Configuration
Required Parameters
| Parameter | Description |
|---|---|
api_key | API Key |
merchant_id | Merchant ID |
Example Configuration
{
"provider": "guavapay",
"provider_params": {
"api_key": "your_api_key_here",
"merchant_id": "your_merchant_id_here"
}
}
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
success | charged | |
pending | charging | |
refunded | refunded | |
failed | rejected |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | /payment/create | |
| GET | /payment/#{URI.encode(payment_id)} | |
| POST | /payment/#{URI.encode(payment_id)}/refund |