Skip to content

Adyen Go API Library v8.0.0

Compare
Choose a tag to compare
@AdyenAutomationBot AdyenAutomationBot released this 07 Nov 13:34
· 105 commits to main since this release
07009b3

What's Changed

This major version contains mainly service updates.

service from to details
Checkout v70 v71 Release Notes
Management (and Webhooks) v1 v3 Release Notes
Transfers (and Webhooks) v3 v4 Release Notes

You can see the complete list of supported versions and their respective webhook versions.

Checkout API v71

Multiple models have been renamed.

  • CreatePaymentCaptureRequest -> PaymentCaptureRequest
  • CreateStandalonePaymentCancelRequest -> StandalonePaymentCancelRequest
  • CreatePaymentRefundRequest -> PaymentRefundRequest
  • CreatePaymentReversalRequest -> PaymentReversalRequest
  • DetailsRequest -> PaymentDetailsRequest
  • CreatePaymentLinkRequest -> PaymentLinkRequest
  • CheckoutUtilityRequest -> UtilityRequest
  • CheckoutBalanceCheckRequest -> BalanceCheckRequest
  • CheckoutCreateOrderRequest -> CreateOrderRequest
  • CheckoutCancelOrderRequest -> CancelOrderRequest

Classic Payments Integration v68

The group General has been renamed to Payments. From:

service := client.Payments()
req := service.GeneralApi.AuthoriseInput().PaymentRequest(body)
service.GeneralApi.Authorise(context.Background(), req)

To:

service := client.Payments() 
req := service.PaymentsApi.AuthoriseInput().PaymentRequest(body)
service.PaymentsApi.Authorise(context.Background(), req)

Disputes API v30

Service API and models have been rebuilt into the v7 format. They have getters/setters and use pointers for optional fields. Example:

req := service.RetrieveApplicableDefenseReasonsInput().DefenseReasonsRequest(disputes.DefenseReasonsRequest{
	DisputePspReference: pspReference,
	MerchantAccountCode: merchantAccount,
})
res, httpRes, err := service.RetrieveApplicableDefenseReasons(context.Background(), req)

Removed /downloadDisputeDefenseDocument endpoint.

Breaking Changes 🛠

New Features 💎

Other Changes 🖇️

Full Changelog: v7.3.1...v8.0.0