biqli/sdk requires PHP 8.1 or newer and a secret workspace API key.
Constructor options
Pass options as the second constructor argument:Methods
idempotencyKey and requestId.
Inputs match the lead and sale API schemas. Results are associative arrays matching the endpoint responses.
Exceptions
BiqliException exposes:
$errorCode$status$requestId$details$retryable$attempts
408, 425, 429, and 5xx. It honors a valid Retry-After response up to 60 seconds.
For durable replay across processes, supply a lead eventId or a sale paymentProcessor plus invoiceId.
See PHP and Laravel for a complete implementation.
