Official PHP SDK
PHP SDK
Official PHP SDK for the Quickpay.ge REST API. Zero external runtime dependencies, requires PHP 8.1+.
Install
composer require quickpayge/php-sdk
Package: quickpayge/php-sdk
Quick Start
use Quickpay\QuickpayClient;
$client = new QuickpayClient('qpk_live_your_api_key_here');
$payment = $client->payments->create([
'amount' => 99.99,
'currency' => 'GEL',
'description' => 'Order #1234',
'customer' => [
'name' => 'John Doe',
'email' => '[email protected]',
],
]);
header('Location: ' . $payment->paymentUrl);
exit;
Resources
| Resource | Methods |
|---|---|
| $client->payments | create(), get(), list(), refund() |
| $client->checkoutLinks | create(), get(), list() |
| $client->products | create(), get(), list(), update() |
| $client->gateways | list() |
Highlights
- Typed request/response DTOs for every endpoint
- Built-in webhook signature verification (WebhookVerifier)
- Automatic retries on 5xx errors with exponential backoff
- Typed exceptions per HTTP status (AuthException, ValidationException, RateLimitException, NotFoundException)