Search by

circlepandaa / pandascrow-php-sdk

pandascrow

Minimal PHP SDK for the Pandascrow v3 API (escrow, wallets, payouts, KYC, invoices, payment links)

Package info

github.com/Circlepandaa/pandascrow-php-sdk

pkg:composer/circlepandaa/pandascrow-php-sdk

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-07-06 10:32 UTC

This package is auto-updated.

Last update: 2026-10-06 07:51:15 UTC


README

Minimal, dependency-free PHP SDK (PHP 7.4+, ext-curl) for the Pandascrow v3 API.

composer require pandascrow/pandascrow-php   # or require src/ via any PSR-4 autoloader
$ps = new Pandascrow\Client($apiKey, ['sandbox' => true]); // false => https://api.pandascrow.io
$ps->wallet->balance($uuid, '1month');
$ps->bank->validate($uuid, '058', '0123456789');
$ps->escrow->createOnetime([...]);

Every call returns the response's data array and throws Pandascrow\PandascrowException (->getMessage(), ->httpStatus, ->docUrl, ->response) when status is false or HTTP >= 400.

Property Methods
auth login
escrow createOnetime, createMilestone, complete, payNextMilestone, completeMilestone, all, find, resendReleaseOtp, dispute
wallet list, balance, transactions, fund, payout
bank banks, validate, transfer
virtualAccounts createDynamic, createStatic, confirmPayment
invoices create, all, find
paymentLinks create, all, payments, initiatePayment
kyc bvn, nin

Anything not wrapped: $ps->request('GET', '/path', $query, $body).

Webhooks:

$event = Pandascrow\Webhook::verify($secretKey);   // reads php://input + X-Pandascrow-Signature
http_response_code(200);
echo json_encode(['status' => true]);              // must return status true or Pandascrow retries

Not covered (docs were inaccessible or ambiguous when written)

Login OTP, email verification, recurring escrow + join contributors, KYC (CAC, CAC by name, NUBAN, driver's license, TIN), and the slug-availability endpoint. Use request() for these.