v1.0.0
As part of an ongoing effort to improve the consistency and usability of our SDKs, we’ve updated the SDK generation process. This update introduces breaking changes to the SDK. All breaking changes affect only method signatures and namespacing, not core record types or properties. SDK initialization, configuration, business logic, and workflows remain unchanged. For more information on precise method signatures and example usage, please see the SDK reference on GitHub.
Request body wrapper structs removed
The following structs are deleted. Their fields are now on the parent request struct directly.
Removed structs and their replacements
Required Method field on payment types
PayMethodCredit.Method and RequestCreditPaymentMethod.Method are now required. Both fields were previously absent; omitting them caused an API validation error at runtime.
Field and element type changes
Full list
Boarding type changes
ApplicationDataPayInServicesAch renamed to AchSetup; ApplicationDataPayInServicesCard renamed to CardSetup.
The Contacts and Ownership slice fields on ApplicationDataPayIn changed from concrete pointer slices to interface slices. The implementing types are *payabli.Contacts and *payabli.Owners respectively:
MoneyOutTypesRequestOutAuthorize renamed
Renamed to RequestOutAuthorize. The body() wrapper field is removed. All fields are now top-level.
Query.ListBatchDetailsOrg return type changed
Return type changed from *payabli.QueryResponseSettlements to *payabli.QueryBatchesDetailResponse. ListBatchDetails (per-entrypoint) already returned *QueryBatchesDetailResponse in both SDKs.