Which one? Both?

You're integrating a third-party payment library whose API is incompatible with your application's PaymentProcessor interface. You need to make the library conform to your existing interface without modifying either side. Which pattern applies?