Skip to content

Releases: Adyen/adyen-go-api-library

Adyen Go API Library v7.0.0

14 Jun 14:20
aa3a6a4
Compare
Choose a tag to compare

What's Changed

This version is strictly based on our OpenAPI specifications.

Breaking Changes 🛠

  • Service versions have been upgraded to the latest ones (see supported versions)
  • Models have methods like constructors, getters and setters to assist with default/optional values, e.g.:
card := checkout.NewCardDetails()
card.SetEncryptedCardNumber("test_4111111111111111")
fmt.Println(card.GetEncryptedCardNumber(), card.GetType())
// Output: test_4111111111111111 scheme
  • Webhook handler is now a function webhook.HandleRequest instead of a method
  • The previous usage pattern (client.Checkout.PaymentMethods(&checkout.PaymentMethodsRequest{...})) has been removed in order to support features available in new services. Here it's the new pattern:
    1. Instantiate a service via it's respective "constructor": svc := client.Checkout()
    2. Create a request input object: req := svc.PaymentsApi.PaymentMethodsInput()
    3. Attach parameters:
    req = req.PaymentMethodsRequest(checkout.PaymentMethodsRequest{
        MerchantAccount: "your merchant account",
    })
    1. Send the request with a context:
    res, httpRes, err := svc.PaymentsApi.PaymentMethods(context.Background(), req)

New Features 💎

Other Changes 🖇️

New Contributors

Full Changelog: v6.0.1...v7.0.0

v6.0.1

22 Sep 08:22
835968e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.0.0...v6.0.1

v6.0.0

07 Jul 11:33
1076307
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.1.0...v6.0.0

v5.1.0

25 Mar 12:50
9f7b5ca
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.0.2...v5.1.0

v5.0.2

23 Mar 10:46
f00619a
Compare
Choose a tag to compare

Fix switch case fallthrough issue in the JSON Unmarshall methods for PaymentRequest.PaymentMethod and PaymentResponse.Action

Supported API versions:

  • Checkout API version: v67
  • Payments API version: v64
  • Recurring API version: v49
  • Payouts API version: v64
  • Account API version: v6
  • Fund API version: v6
  • Notification Configuration API version: v6

v5.0.1

15 Mar 10:58
dd32c9c
Compare
Choose a tag to compare

Patch release for bug fixes

  • Add JSON deserializers for PaymentRequest.PaymentMethod
  • Add JSON deserializers for PaymentResponse.Action
  • Fix version number of library
  • Fix issue with ResultCode serialization
  • Minor cleanup and improvements of generated models
  • Fix some model field types

Supported API versions:

  • Checkout API version: v67
  • Payments API version: v64
  • Recurring API version: v49
  • Payouts API version: v64
  • Account API version: v6
  • Fund API version: v6
  • Notification Configuration API version: v6

v5.0.0

09 Mar 15:18
bf40f69
Compare
Choose a tag to compare

Breaking:

  • Update API versions:
    • Checkout from 64 to 67

The related API release notes can be found here: https://docs.adyen.com/online-payments/release-notes#checkout-api-v67

Supported API versions:

  • Checkout API version: v67
  • Payments API version: v64
  • Recurring API version: v49
  • Payouts API version: v64
  • Account API version: v6
  • Fund API version: v6
  • Notification Configuration API version: v6

Adyen Go API Library v4.0.0

30 Nov 03:54
d5b8347
Compare
Choose a tag to compare

Feature:

  • Add Disputes API

Breaking:

  • Update API versions:
    • Marketpay from 5 to 6
    • Payments from 52 to 64
    • Checkout from 52 to 64

Supported API versions:

  • Checkout API version: v64
  • Payments API version: v64
  • Recurring API version: v49
  • Payouts API version: v64
  • Account API version: v6
  • Fund API version: v6
  • Notification Configuration API version: v6

Adyen Go API Library v3.0.0

16 Sep 09:41
800cc2b
Compare
Choose a tag to compare

Breaking changes:

  • SetIdempotencyKey method is removed and now it's available at the API level.

Adyen Go API Library v2.1.0

25 Jun 13:43
0a7f998
Compare
Choose a tag to compare

A major version update for import path to fix the issue with v2 release that was not being picked up by go get