Skip to main content
biqli/sdk requires PHP 8.1 or newer and a secret workspace API key.

Constructor options

Pass options as the second constructor argument:

Methods

The optional request array accepts 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
The SDK retries network errors and HTTP 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.