Skip to navigation
Getting startedRelease notesSDK

PHP SDK - 5.1.0

October 1, 2026

Added

Extended Preauthorization feature to rename Deposit Preauthorization

New ApiExtendedPreauthorizations API (exposed as $api->ExtendedPreauthorizations), renaming the existing Deposit Preauthorization API, now deprecated (API release note). It provides:

New ExtendedPreauthorization, PayPalExtendedPreauthorization, and CreatePreAuthorizedExtendedPayIn entities and an ExtendedPreauthorizationStatus enum (CREATED, SUCCEEDED, FAILED) were added. Get(), Update(), and GetAllForUser() return a PayPalExtendedPreauthorization when the underlying preauthorization was created via PayPal, otherwise an ExtendedPreauthorization.


Added

Extended Preauthorized PayIn

New method ApiPayIns::CreatePayInExtendedPreauthorized(CreatePreAuthorizedExtendedPayIn $payIn), backed by POST Create an Extended Preauthorized PayIn, to create a PayIn from an extended preauthorization.


Added

Transaction::$ExtendedPreauthorizationId

New property on Transaction, replacing the now-deprecated $DepositId.


Added

Extended Preauthorization event types

New EventType constants, mirroring the Extended Preauthorization webhook events:

  • EXTENDED_PREAUTHORIZATION_CREATED
  • EXTENDED_PREAUTHORIZATION_PAYMENT_WAITING
  • EXTENDED_PREAUTHORIZATION_PAYMENT_VALIDATED
  • EXTENDED_PREAUTHORIZATION_PAYMENT_FAILED
  • EXTENDED_PREAUTHORIZATION_FAILED
  • EXTENDED_PREAUTHORIZATION_PAYMENT_CANCEL_REQUESTED
  • EXTENDED_PREAUTHORIZATION_PAYMENT_CANCELED
  • EXTENDED_PREAUTHORIZATION_PAYMENT_EXPIRED

Added

Settlement event types

New EventType constants, mirroring the Settlement webhook events:

  • SETTLEMENT_CREATED
  • SETTLEMENT_UPLOADED
  • SETTLEMENT_PENDING_UPLOAD
  • SETTLEMENT_PENDING_FUNDS_RECEPTION
  • SETTLEMENT_RECONCILED
  • SETTLEMENT_PARTIALLY_MATCHED
  • SETTLEMENT_UNMATCHED
  • SETTLEMENT_INSUFFICIENT_FUNDS
  • SETTLEMENT_CANCELLED
  • SETTLEMENT_FAILED

Added

ProfilingAttemptReference on users

New optional ProfilingAttemptReference property on UserNaturalSca and UserLegalSca.


Deprecated

Deposit Preauthorization feature deprecated

The following are deprecated and will be removed in a future major version:

  • ApiDeposits ($api->Deposits) – use ApiExtendedPreauthorizations ($api->ExtendedPreauthorizations) instead.
  • DepositStatus – use ExtendedPreauthorizationStatus instead.
  • Transaction::$DepositId – use Transaction::$ExtendedPreauthorizationId instead.
  • ApiPayIns::CreatePayInDepositPreauthorizedWithoutComplement() – use ApiPayIns::CreatePayInExtendedPreauthorized() instead.