Skip to content

Releases: authorOd/monobank-acquiring

v1.4.0 - Production-ready Monobank Acquiring client

Choose a tag to compare

@authorOd authorOd released this 03 Jul 09:22

Highlights

  • Added a replaceable HTTP layer via HttpClientInterface and default CurlHttpClient.
  • Added structured exceptions for API, transport, JSON, and webhook failures.
  • Added webhook verification and parsing helpers for X-Sign, public-key fetching, typed payload accessors, event keys, and stale-event checks.
  • Added safe payload sanitization for application logs.
  • Expanded invoice support with ccy, validity, paymentType, qrId, code, agentFeePercent, and tipsEmployeeId.
  • Added invoice invalidation, hold finalization, merchant details, and statement submerchant code support.
  • Added source-level regression tests and live smoke scripts for API verification.

Compatibility

Existing v1.x usage remains supported, including new MonoClient($key), invoices()->createInvoice(), invoice status checks, subscriptions, and current model constructors.

Verification

  • composer validate --strict
  • composer test
  • PHP syntax checks for src and tests
  • Live smoke checks for public key, merchant details, invoice creation, and subscription creation
  • Composer archive check with source-only package contents