Driftwatch

APIs / Adyen

Adyen API changes

Breaking changes, deprecations and new fields in the Adyen API, as they ship.

AdyenAdyen Checkout API v72 · 7280e1fd6 breaking2 additive
  • Breakingdirection flip: their tools call this safe

    value can now return "exceeded", "notExceeded"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    SublimitStatus · reachable from 1 operation
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "exceeded"
      // no branch for "notExceeded"
      default:
        throw new Error("unexpected value");
    }
  • Breaking

    value no longer accepts "EXCEEDED", "NOT_EXCEEDED"

    A value you may have hardcoded is now rejected.

    SublimitStatus · reachable from 1 operation
    Code that breaks
    // sending "EXCEEDED" for undefined is now rejected
    // sending "NOT_EXCEEDED" for undefined is now rejected
  • Breaking

    value no longer accepts "LRS_TCS"

    A value you may have hardcoded is now rejected.

    CalculationType · reachable from 1 operation
    Code that breaks
    // sending "LRS_TCS" for undefined is now rejected
  • Breakingdirection flip: their tools call this safe

    value can now return "lrsTcs"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    CalculationType · reachable from 1 operation
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "lrsTcs"
      default:
        throw new Error("unexpected value");
    }
  • Breaking

    value no longer accepts "DIGITAL", "EDUCATION", "TOUR_PROGRAMME", "TRAVEL_NON_TOUR"

    A value you may have hardcoded is now rejected.

    RemittancePurpose · reachable from 1 operation
    Code that breaks
    // sending "DIGITAL" for undefined is now rejected
    // sending "EDUCATION" for undefined is now rejected
    // sending "TOUR_PROGRAMME" for undefined is now rejected
    // sending "TRAVEL_NON_TOUR" for undefined is now rejected
  • Breakingdirection flip: their tools call this safe

    value can now return "digital", "education", "tourProgramme", "travelNonTour"

    Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

    RemittancePurpose · reachable from 1 operation
    Code that breaks
    switch (response) {
      // existing branches …
      // no branch for "digital"
      // no branch for "education"
      // no branch for "tourProgramme"
      // no branch for "travelNonTour"
      default:
        throw new Error("unexpected value");
    }
2 new request properties
  • CardDetailsRequest.shopperReference
  • CardDetailsRequest.storedPaymentMethodId
AdyenAdyen Checkout API v72 · 614b01ed6 additive
5 new request properties
  • CardDetails.storeClickToPayProfile
  • CardDonations.storeClickToPayProfile
  • ExternalTokenDetails.storeClickToPayProfile
  • PaymentRequest.shopperTaxIdentification
  • PaymentRequest.taxCalculation
AdyenAdyen Checkout API v72 · 9969492d7 additive
3 new response fields
  • TokenMandate.previousMandateId
  • TokenMandate.purposeCode
  • CreateCheckoutSessionResponse.enhancedSchemeData
2 new request properties
  • CreateCheckoutSessionRequest.enhancedSchemeData
  • KlarnaNetworkDetails.subtype
AdyenAdyen Checkout API v72 · 0d81c1d412 additive
7 new response fields
  • LineItem.riskCategory
  • PaymentResponse.opi
  • StoredPaymentMethodResource.opi
  • CheckoutForwardResponse.accountUpdate
  • CheckoutForwardResponse.networkToken
  • CreateCheckoutSessionResponse.payable
  • PaymentDetailsResponse.opi
5 new request properties
  • LineItem.riskCategory
  • CreateCheckoutSessionRequest.payable
  • KlarnaNetworkDetails.klarnaNetworkPaymentAccountId
  • PaymentRequest.opi
  • StoredPaymentMethodRequest.opi
AdyenAdyen Checkout API v72 · 425d65d11 additive
AdyenAdyen Checkout API v72 · 4aba78c21 breaking
  • Breaking

    type no longer accepts "gopay_wallet"

    A value you may have hardcoded is now rejected.

    PaymentDetails.type · reachable from 1 operation
    Code that breaks
    // sending "gopay_wallet" for type is now rejected
AdyenAdyen Checkout API v72 · c2ff06371 breaking29 additive
  • Breaking

    type no longer accepts "paybright"

    A value you may have hardcoded is now rejected.

    PaymentDetails.type · reachable from 1 operation
    Code that breaks
    // sending "paybright" for type is now rejected
10 new response fields
  • LineItem.shippingMethod
  • LineItem.trackingNumber
  • LineItem.trackingUri
  • LineItem.returnShippingCompany
  • LineItem.returnTrackingNumber
  • LineItem.shippingCompany
  • LineItem.returnTrackingUri
  • CardBrandDetails.healthcare
  • StoredPaymentMethod.externalToken
  • CreateCheckoutSessionResponse.thirdPartyTokenRedundancyInfo
19 new request properties
  • LineItem.returnShippingCompany
  • LineItem.returnTrackingNumber
  • LineItem.returnTrackingUri
  • LineItem.shippingCompany
  • LineItem.shippingMethod
  • LineItem.trackingNumber
  • LineItem.trackingUri
  • EnhancedSchemeData.carRental
  • EnhancedSchemeData.healthcare
  • EnhancedSchemeData.lodging
  • EnhancedSchemeData.temporaryServices
  • CreateCheckoutSessionRequest.shopperConversionId
  • CreateCheckoutSessionRequest.thirdPartyTokenRedundancyInfo
  • KlarnaDetails.merchantData
  • PaymentRequest.thirdPartyTokenRedundancyInfo
  • PaypalUpdateOrderRequest.discountAmount
  • PaypalUpdateOrderRequest.shippingAmount
  • RivertyDetails.merchantData
  • PaypalUpdateOrderRequest.deliveryAddress
AdyenAdyen Checkout API v72 · 74fabab01 breaking5 additive
  • Breaking

    holderName is now required

    Partial payloads are rejected.

    DirectDebitAuDetails.holderName · reachable from 1 operation
    Code that breaks
    await client.post("/…", {
      // …
      holderName: /* now required */,
    });
3 new response fields
  • ResponseAdditionalDataCommon.transactionLinkId
  • AdditionalDataCommon.transactionLinkId
  • StoredPaymentMethod.cashtag
2 new request properties
  • AdditionalDataCommon.transactionLinkId
  • DirectDebitAuDetails.holderName
AdyenAdyen Checkout API v72 · c17deb731 breaking1 additive
  • Breakingdirection flip: their tools call this safe

    Response values are no longer constrained

    The documented set of values is gone, so anything can appear. Every exhaustive switch and generated enum over this field is now incomplete.

    ResponseAdditionalDataCard.cardProductId · reachable from 6 operations
  • Additive

    Request property transactionLinkIdPaths added

    No action needed unless it is required.

    CheckoutForwardRequestOptions.transactionLinkIdPaths · reachable from 1 operation