Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developer.quickei.io/llms.txt

Use this file to discover all available pages before exploring further.

Get started quickly with ready-to-use code examples.

Official Repository

Quickei Gateway Example

Complete integration examples in PHP/Laravel with authentication, payment creation, status checking, and webhook handling.

Quick Examples

<?php
// 1. Get access token
$client = new \GuzzleHttp\Client();
$auth = $client->post('https://quickei.io/pay/sandbox/api/v1/authentication/token', [
    'json' => [
        'client_id' => env('QUICKEI_CLIENT_ID'),
        'secret_id' => env('QUICKEI_SECRET_ID'),
    ],
]);
$token = json_decode($auth->getBody())->data->access_token;

// 2. Create payment
$payment = $client->post('https://quickei.io/pay/sandbox/api/v1/payment/create', [
    'headers' => ['Authorization' => "Bearer $token"],
    'json' => [
        'amount'       => '50.00',
        'currency'     => 'EUR',
        'return_url'   => 'https://yoursite.com/success',
        'product_name' => 'Premium Plan',
        'order_number' => 'ORD-' . uniqid(),
    ],
]);
$paymentUrl = json_decode($payment->getBody())->data->payment_url;

// 3. Redirect customer
return redirect($paymentUrl);

POS Integration Example

// Create a POS order with QR code
$response = Http::withBasicAuth($clientId, $clientSecret)
    ->post('https://quickei.io/merchant-api/pos/v1/orders', [
        'amount'         => 25.00,
        'currency'       => 'EUR',
        'payment_method' => 'both',
        'reference'      => 'TABLE-5',
        'terminal_id'    => 'counter-a',
        'callback_url'   => 'https://yoursite.com/pos/webhook',
        'expires_in'     => 300,
    ]);

$qrData = $response['data']['qr_data'];       // For QR code display
$paymentUrl = $response['data']['payment_url']; // For payment page redirect