v2.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 types removed
The following types are deleted. Their fields are now on the parent request struct directly.
Removed types and their replacements
The money_out.authorize_out method also gains allow_duplicated_bills, do_not_create_bills, and force_vendor_creation as direct fields on RequestOutAuthorize.
The payout_subscription.create_payout_subscription method changes its request type from PayoutSubscriptionRequestBody to RequestPayoutSchedule.
PayMethodCredit.method is now a required typed enum
Affects MoneyIn::getpaid, getpaidv_2, authorize, authorizev_2, Subscription::new_subscription, and TokenStorage::add_method.
Field type changes
Full list
Boarding structs changed to tuple newtypes
ApplicationDataPayInServicesAch and ApplicationDataPayInServicesCard changed from named-field structs to tuple structs. ApplicationDataPayInContactsItem and ApplicationDataPayInOwnershipItem follow the same pattern.