paysafecard
Quick Start
- Sign up at paysafecard.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
paysafecard payment integration
| Provider ID | paysafecard |
| Category | Local Payment Methods |
| Website | paysafecard.com |
Authentication
- Method: Basic Auth (Base64)
- Base URL:
https://api.paysafecard.com/v1
Configuration
Required Parameters
| Parameter | Description |
|---|---|
api_key | API Key |
Example Configuration
{
"provider": "paysafecard",
"provider_params": {
"api_key": "your_api_key_here"
}
}
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
SUCCESS | charged | |
AUTHORIZED | charged | |
INITIATED | charging | |
FAILED | rejected | |
EXPIRED | rejected |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | /payments | |
| GET | /payments/#{URI.encode(payment_id)} | |
| POST | /payments/#{URI.encode(payment_id)}/refunds |