Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CheckAPI PHP SDK

License: MIT

Official PHP SDK for CheckAPI — Ukrainian bank receipt verification API.

Send a photo of a bank receipt, get verified: true/false in ~1 second. Supports PrivatBank, monobank, OTP Bank, A-Bank, Raiffeisen and more.

Requirements

PHP 8.1+ with cURL and JSON extensions (standard on most setups).

Install

composer require sarmkadan/checkapi

Quick start

<?php
require __DIR__ . '/vendor/autoload.php';

use CheckApi\CheckApiClient;

$client = new CheckApiClient('YOUR_API_KEY');

$result = $client->verify('receipt.jpg', 2450.00, '7731');

echo $result['verified'];        // true
echo $result['detectedAmount'];  // 2450.0
echo $result['reason'];          // "confirmed"
echo $result['durationMs'];      // 870

Error handling

use CheckApi\CheckApiException;

try {
    $result = $client->verify('receipt.jpg', 1000, '1234');
} catch (CheckApiException $e) {
    echo "Error {$e->getStatusCode()}: {$e->getResponseBody()}";
}

Pricing

Plan Price Checks Per check
Start $30 1,000 $0.03
Business $200 10,000 $0.02
Custom from $500 negotiable individual

No subscription. Pay with USDT or bank transfer.

Links

License

MIT — see LICENSE.

About

Official PHP SDK for CheckAPI — Ukrainian bank receipt verification API

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages