A payment SDK is a software development kit (SDK) published by a payment provider so that developers can add payment acceptance to a mobile app or website without building it from scratch. It packages ready-made screens and code libraries for collecting card details, offering digital wallets such as Apple Pay and Google Pay, running 3-D Secure (3DS) authentication and handling the provider's responses.
What sets a payment SDK apart from a general-purpose SDK is its role in security. Card numbers are typed into fields controlled by the provider and replaced with a token before they reach the merchant's servers, an application of payment tokenisation. This keeps most card data outside the merchant's systems and can shrink the scope of its PCI compliance work. On the web, an SDK is one alternative to redirecting shoppers to a hosted payment page (HPP); on phones, mobile SDKs are the usual route for an in-app payment.