diff --git a/src/pages/config.md b/src/pages/config.md
index e043466bb..58574fd13 100644
--- a/src/pages/config.md
+++ b/src/pages/config.md
@@ -16,8 +16,12 @@
- [2.4.8 Reference](/reference/graphql/2-4-8/index.md)
- [2.4.7 Reference](/reference/graphql/2-4-7/index.md)
- [2.4.6 Reference](/reference/graphql/2-4-6/index.md)
+ - [Payment Services SDK](/payment-services-sdk/index.md)
- subPages:
+ - [Payment Services SDK](/payment-services-sdk/index.md)
+ - [Instantiate the SDK](/payment-services-sdk/instantiating-the-sdk.md)
+ - [Payment lifecycle](/payment-services-sdk/payment-lifecycle.md)
- [Introduction](/get-started/index.md)
- API Security header
- [Input limiting](/get-started/api-security.md)
diff --git a/src/pages/contributors.json b/src/pages/contributors.json
index 7981b6681..dd149636f 100644
--- a/src/pages/contributors.json
+++ b/src/pages/contributors.json
@@ -1,11 +1,12 @@
{
- "total": 648,
+ "total": 649,
"offset": 0,
- "limit": 648,
+ "limit": 649,
"data": [
{
"page": "/",
"avatars": [
+ "https://avatars.githubusercontent.com/u/38460853?v=4",
"https://avatars.githubusercontent.com/u/12731225?v=4",
"https://avatars.githubusercontent.com/u/14320591?v=4",
"https://avatars.githubusercontent.com/u/98363870?v=4",
@@ -13,7 +14,7 @@
"https://avatars.githubusercontent.com/u/11652541?v=4",
"https://avatars.githubusercontent.com/u/57922?v=4"
],
- "lastUpdated": "11/5/2026"
+ "lastUpdated": "11/11/2026"
},
{
"page": "/_includes/accs/accs-early-access",
@@ -546,6 +547,7 @@
{
"page": "/config",
"avatars": [
+ "https://avatars.githubusercontent.com/u/38460853?v=4",
"https://avatars.githubusercontent.com/u/16409901?v=4",
"https://avatars.githubusercontent.com/u/98363870?v=4",
"https://avatars.githubusercontent.com/u/11652541?v=4",
@@ -555,7 +557,7 @@
"https://avatars.githubusercontent.com/u/12731225?v=4",
"https://avatars.githubusercontent.com/u/14320591?v=4"
],
- "lastUpdated": "10/26/2026"
+ "lastUpdated": "11/11/2026"
},
{
"page": "/get-started/",
@@ -920,12 +922,12 @@
{
"page": "/graphql/payment-services-extension/",
"avatars": [
+ "https://avatars.githubusercontent.com/u/38460853?v=4",
"https://avatars.githubusercontent.com/u/12731225?v=4",
"https://avatars.githubusercontent.com/u/14320591?v=4",
- "https://avatars.githubusercontent.com/u/11652541?v=4",
- "https://avatars.githubusercontent.com/u/38460853?v=4"
+ "https://avatars.githubusercontent.com/u/11652541?v=4"
],
- "lastUpdated": "6/1/2026"
+ "lastUpdated": "11/11/2026"
},
{
"page": "/graphql/payment-services-extension/mutations/",
@@ -1045,10 +1047,10 @@
{
"page": "/graphql/payment-services-extension/workflows/",
"avatars": [
- "https://avatars.githubusercontent.com/u/14320591?v=4",
- "https://avatars.githubusercontent.com/u/38460853?v=4"
+ "https://avatars.githubusercontent.com/u/38460853?v=4",
+ "https://avatars.githubusercontent.com/u/14320591?v=4"
],
- "lastUpdated": "5/27/2026"
+ "lastUpdated": "11/11/2026"
},
{
"page": "/graphql/payment-services-extension/workflows/cart-pdp",
@@ -1062,11 +1064,11 @@
{
"page": "/graphql/payment-services-extension/workflows/checkout",
"avatars": [
+ "https://avatars.githubusercontent.com/u/38460853?v=4",
"https://avatars.githubusercontent.com/u/12731225?v=4",
- "https://avatars.githubusercontent.com/u/14320591?v=4",
- "https://avatars.githubusercontent.com/u/38460853?v=4"
+ "https://avatars.githubusercontent.com/u/14320591?v=4"
],
- "lastUpdated": "6/1/2026"
+ "lastUpdated": "11/11/2026"
},
{
"page": "/graphql/payment-services-extension/workflows/minicart",
@@ -2650,16 +2652,6 @@
],
"lastUpdated": "9/11/2026"
},
- {
- "page": "/graphql/schema/cart/queries/pickup-locations",
- "avatars": [
- "https://avatars.githubusercontent.com/u/12731225?v=4",
- "https://avatars.githubusercontent.com/u/14320591?v=4",
- "https://avatars.githubusercontent.com/u/11652541?v=4",
- "https://avatars.githubusercontent.com/u/13662379?v=4"
- ],
- "lastUpdated": "6/24/2026"
- },
{
"page": "/graphql/schema/catalog-service/",
"avatars": [
@@ -4125,13 +4117,6 @@
],
"lastUpdated": "11/5/2026"
},
- {
- "page": "/graphql/schema/products/queries/source-availability",
- "avatars": [
- "https://avatars.githubusercontent.com/u/98363870?v=4"
- ],
- "lastUpdated": "9/4/2026"
- },
{
"page": "/graphql/schema/products/queries/url-resolver",
"avatars": [
@@ -4726,6 +4711,27 @@
],
"lastUpdated": "11/5/2026"
},
+ {
+ "page": "/payment-services-sdk/",
+ "avatars": [
+ "https://avatars.githubusercontent.com/u/38460853?v=4"
+ ],
+ "lastUpdated": "11/11/2026"
+ },
+ {
+ "page": "/payment-services-sdk/instantiating-the-sdk",
+ "avatars": [
+ "https://avatars.githubusercontent.com/u/38460853?v=4"
+ ],
+ "lastUpdated": "11/11/2026"
+ },
+ {
+ "page": "/payment-services-sdk/payment-lifecycle",
+ "avatars": [
+ "https://avatars.githubusercontent.com/u/38460853?v=4"
+ ],
+ "lastUpdated": "11/11/2026"
+ },
{
"page": "/reference/graphql/2-4-6/",
"avatars": [
diff --git a/src/pages/graphql/payment-services-extension/index.md b/src/pages/graphql/payment-services-extension/index.md
index 99e4a3dec..54408ec15 100644
--- a/src/pages/graphql/payment-services-extension/index.md
+++ b/src/pages/graphql/payment-services-extension/index.md
@@ -19,6 +19,8 @@ It provides powerful tools to give you the insight and control needed for creati
## Payment Services GraphQL
+For a JavaScript integration that renders payment controls on a custom frontend, see the [Payment Services SDK](../../payment-services-sdk/index.md).
+
[Payment Services for Adobe Commerce](https://commercemarketplace.adobe.com/magento-payment-services.html) 2.3.0 and higher provides enhanced payment method capabilities. With this extension, you can implement the following payment methods:
* Apple Pay with PayPal
diff --git a/src/pages/graphql/payment-services-extension/workflows/checkout.md b/src/pages/graphql/payment-services-extension/workflows/checkout.md
index 3a4809a46..a2246e522 100644
--- a/src/pages/graphql/payment-services-extension/workflows/checkout.md
+++ b/src/pages/graphql/payment-services-extension/workflows/checkout.md
@@ -12,6 +12,8 @@ keywords:
These steps describe the flow of requests and responses required to complete a typical [checkout](../../tutorials/checkout/index.md) authorization with Payment Services enabled.
+If you use the [Payment Services SDK](../../../payment-services-sdk/index.md), follow its [payment lifecycle](../../../payment-services-sdk/payment-lifecycle.md) instead of manually duplicating the payment requests managed by the SDK. Your application must still place the order after payment approval.
+
## Checkout workflow

diff --git a/src/pages/graphql/payment-services-extension/workflows/index.md b/src/pages/graphql/payment-services-extension/workflows/index.md
index 0c49e19e2..be04a018c 100644
--- a/src/pages/graphql/payment-services-extension/workflows/index.md
+++ b/src/pages/graphql/payment-services-extension/workflows/index.md
@@ -10,6 +10,8 @@ keywords:
The workflows described in this section provide detailed guides on various processes and workflows related to the Payment Services extension. These guides help you understand and implement different features and functionalities provided by the extension, ensuring seamless integration and optimal usage of Payment Services.
+For an SDK-managed payment interaction on a custom frontend, see the [Payment Services SDK payment lifecycle](../../../payment-services-sdk/payment-lifecycle.md). The SDK performs payment-related GraphQL requests, but your frontend still prepares the cart and places the order.
+
If you have installed [Payment Services for Adobe Commerce](https://commercemarketplace.adobe.com/magento-payment-services.html) 2.3.0 or higher, check the following workflows:
* [Checkout](checkout.md)---This workflow describes the flow of requests and responses required to complete a typical checkout authorization with the Payment Services extension enabled.
diff --git a/src/pages/index.md b/src/pages/index.md
index 2010c4cec..2cc39725b 100644
--- a/src/pages/index.md
+++ b/src/pages/index.md
@@ -12,7 +12,7 @@ keywords:
# Commerce Web APIs
-The Commerce Web APIs allow you to integrate third-party software and build headless applications for Adobe Commerce. The Web API documentation is divided into three guides: REST, GraphQL, and Getting Started.
+The Commerce Web APIs allow you to integrate third-party software and build headless applications for Adobe Commerce. This documentation covers REST, GraphQL, Getting Started, and the Payment Services SDK.
@@ -50,6 +50,12 @@ The REST API documentation describes the REST APIs that are available on the lat
GraphQL is a language for querying and manipulating data. It is widely viewed as more powerful, flexible, and efficient than REST for frontend development.
+
+
+[Payment Services SDK](payment-services-sdk/index.md)
+
+Learn how to render Payment Services payment methods on custom frontends without Commerce Storefront or drop-ins using the JavaScript SDK.
+
## Contributing to this documentation
We encourage you to participate in our open documentation initiative. If you have suggestions, corrections, additions, or deletions for this documentation, check out the source on [GitHub](https://github.com/adobedocs/commerce-webapi), and open a pull request.
diff --git a/src/pages/payment-services-sdk/index.md b/src/pages/payment-services-sdk/index.md
new file mode 100644
index 000000000..4c52bf04a
--- /dev/null
+++ b/src/pages/payment-services-sdk/index.md
@@ -0,0 +1,48 @@
+---
+title: Payment Services SDK
+description: Learn about the Payment Services JavaScript SDK for custom Adobe Commerce storefronts.
+keywords:
+ - Payments
+ - SDK
+---
+
+# Payment Services SDK
+
+
+
+The Payment Services SDK is version 0.x (pre-1.0) and is under active development.
+
+See the [Payment Services SDK alpha documentation](https://git.corp.adobe.com/pages/magento-payments/payments-js-sdk/alpha/) for the published SDK reference.
+
+The Payment Services JavaScript SDK renders [Adobe Commerce Payment Services](https://experienceleague.adobe.com/en/docs/commerce/payment-services/guide-overview) payment methods on a storefront: credit card fields, Apple Pay, Google Pay, and PayPal buttons. It can also save (vault) credit cards for later use.
+
+This guide is intended for developers building custom frontends without Edge Delivery Services Commerce Storefront or drop-ins, including Adobe Commerce as a Cloud Service (ACCS) customers evaluating a custom integration.
+
+
+
+ACCS compatibility is not verified by the SDK source documentation. Its requirements describe Adobe Commerce with the Payment Services extension, not ACCS-specific provisioning, endpoints, or authentication. Confirm SDK availability and support for your deployment with Adobe before implementing an ACCS integration.
+
+The SDK sends GraphQL requests to Adobe Commerce on behalf of the shopper to create a payment for the shopper's cart. After the shopper approves the payment, your storefront must place the order. The SDK does not replace your cart, checkout, or order-placement logic.
+
+## Requirements
+
+* Adobe Commerce with the Payment Services extension, version 2.17 or later.
+* Payment Services configured in the Commerce Admin, with the payment methods you want to render enabled.
+
+For Payment Services onboarding and configuration, see the [Payment Services guide](https://experienceleague.adobe.com/en/docs/commerce/payment-services/guide-overview).
+
+## Integration steps
+
+1. [Load and instantiate the SDK](instantiating-the-sdk.md) with your Commerce GraphQL endpoint and shopper authentication.
+1. [Initialize and render payment methods](payment-lifecycle.md) for a storefront location.
+1. Handle approval, cancellation, and errors in your frontend.
+1. Place the order after payment approval.
+1. Remove rendered payment methods when they are no longer needed.
+
+## SDK and GraphQL responsibilities
+
+Use the SDK to render payment controls and manage the payment interaction. Your application remains responsible for preparing the cart and completing the order.
+
+The [Payment Services GraphQL workflows](../graphql/payment-services-extension/workflows/index.md) describe the underlying API integrations, including [checkout](../graphql/payment-services-extension/workflows/checkout.md), [minicart](../graphql/payment-services-extension/workflows/minicart.md), and [product detail page smart buttons](../graphql/payment-services-extension/workflows/cart-pdp.md). They are API-level workflows, not additional steps to run alongside every SDK call. Their extension version requirements differ from the SDK requirements.
+
+The SDK also exposes credit card vaulting types. See the [vaulting workflows](../graphql/payment-services-extension/workflows/vault-without-purchase.md) for the API-level process and [TypeScript imports](instantiating-the-sdk.md#typescript-types) for the SDK's vault entry point.
diff --git a/src/pages/payment-services-sdk/instantiating-the-sdk.md b/src/pages/payment-services-sdk/instantiating-the-sdk.md
new file mode 100644
index 000000000..910847385
--- /dev/null
+++ b/src/pages/payment-services-sdk/instantiating-the-sdk.md
@@ -0,0 +1,95 @@
+---
+title: Instantiate the Payment Services SDK
+description: Load the Payment Services SDK and configure its GraphQL endpoint and shopper authentication.
+keywords:
+ - Payments
+ - SDK
+---
+
+# Instantiate the Payment Services SDK
+
+
+
+The Payment Services SDK is version 0.x (pre-1.0) and is under active development.
+
+Start with an instance of the `PaymentServicesSDK` class, which is defined by the SDK's JavaScript bundle on a CDN. Load the bundle with `loadPaymentServicesSDK` from the npm package, or with a script tag. Then instantiate the class with the configuration for your Commerce deployment.
+
+See the [SDK requirements](index.md#requirements) before you begin.
+
+## Load with the npm package
+
+Install the package, which contains the loader and TypeScript definitions:
+
+```bash
+npm install @adobe-commerce/payment-services-sdk
+```
+
+The loader adds a script tag for the latest CDN bundle compatible with the package's version, then returns the SDK class.
+
+```js
+import { loadPaymentServicesSDK } from "@adobe-commerce/payment-services-sdk"
+
+const PaymentServicesSDK = await loadPaymentServicesSDK()
+const sdk = new PaymentServicesSDK({
+ gqlApiUrl: "https://example.com/graphql",
+})
+```
+
+Replace the example endpoint with your Commerce GraphQL endpoint. Handle rejected loading or initialization promises in your application's initialization error handling.
+
+## Load with a script tag
+
+Alternatively, add the bundle to your page:
+
+```html
+
+```
+
+Replace `{minor}` with the SDK minor version. The script adds the SDK class to `window`.
+
+```js
+const sdk = new window.PaymentServicesSDK({
+ gqlApiUrl: "https://example.com/graphql",
+})
+```
+
+## Versioning
+
+In version 0.x, minor releases can introduce breaking changes; patch releases do not. The bundle URL includes the minor version: `v0/{minor}/PaymentSDK.js` receives patch releases for that minor version without breaking changes.
+
+By default, `npm install` saves the version with a caret (`^`). For version 0.x, this accepts only patch releases of the same minor version.
+
+## Shopper authentication
+
+Use `getCustomerToken` to return the shopper's customer token, or `null` for a guest. If your application knows whether the shopper is a guest, also set `isGuestCustomer` to avoid an extra request.
+
+In this example, `getCustomerTokenOrNull` is an application-provided function, not an SDK API. It must return the current shopper's token or `null`.
+
+```js
+const sdk = new PaymentServicesSDK({
+ gqlApiUrl: "https://example.com/graphql",
+ getCustomerToken: () => getCustomerTokenOrNull(),
+ isGuestCustomer: () => getCustomerTokenOrNull() === null,
+})
+```
+
+Storefronts served by Adobe Commerce itself can instead rely on its session cookie. Set `gqlApiUrl` to the store's base URL followed by `graphql`, such as `/default/graphql`, so that the browser sends the cookie. For separately hosted custom frontends, provide the shopper's customer token through `getCustomerToken`.
+
+## TypeScript types
+
+The npm package exports SDK types even when you load the bundle with a script tag:
+
+```ts
+import type {
+ PaymentServicesSDK,
+ SdkConfig,
+} from "@adobe-commerce/payment-services-sdk"
+import type {
+ CreditCardRenderConfig,
+} from "@adobe-commerce/payment-services-sdk/payment"
+import type {
+ CreditCardVaultRenderConfig,
+} from "@adobe-commerce/payment-services-sdk/vault"
+```
+
+Next, follow the [payment lifecycle](payment-lifecycle.md) to initialize and render payment methods.
diff --git a/src/pages/payment-services-sdk/payment-lifecycle.md b/src/pages/payment-services-sdk/payment-lifecycle.md
new file mode 100644
index 000000000..e27cc1767
--- /dev/null
+++ b/src/pages/payment-services-sdk/payment-lifecycle.md
@@ -0,0 +1,135 @@
+---
+title: Payment Services SDK payment lifecycle
+description: Initialize, render, and complete payments with the Payment Services JavaScript SDK.
+keywords:
+ - Payments
+ - SDK
+---
+
+# Payment Services SDK payment lifecycle
+
+
+
+The Payment Services SDK is version 0.x (pre-1.0) and is under active development.
+
+Payment methods follow the same lifecycle: initialize, check availability, render, start the payment, and complete the order.
+
+These examples assume that you have [instantiated the SDK](instantiating-the-sdk.md). The functions `getCartId`, `placeOrder`, `handleError`, and `isCheckoutFormValid` represent your application's cart, order-placement, error-display, and validation logic. They are not SDK APIs.
+
+## Initialize
+
+Call `sdk.Payment.init` with the location where you render the payment methods, and wait for it to resolve. It fetches the Payment Services configuration for that location from Adobe Commerce.
+
+```js
+await sdk.Payment.init({ location: "CHECKOUT" })
+```
+
+Calling `isAvailable()` or `render()` on a payment method before initialization resolves throws an error. Handle initialization failures before attempting to render payment methods.
+
+An SDK instance initializes its payment methods for a single location. To render payment methods in several locations on the same page, such as the product detail page and minicart, create one SDK instance per location.
+
+## Check availability
+
+A payment method can be unavailable because it is disabled in the Commerce Admin or because the shopper's browser or device does not support it. Call `isAvailable()` before rendering a payment method.
+
+```js
+if (sdk.Payment.GooglePay.isAvailable()) {
+ // Render Google Pay here.
+}
+```
+
+## Render
+
+`render()` renders the payment method and returns an instance that you can keep to update or remove it later. Apple Pay, Google Pay, and PayPal render buttons in the `container` element. Credit card renders its card fields in the elements specified by its `fields` configuration.
+
+Each payment method has its own render configuration. The common configuration includes:
+
+| Option | Purpose |
+| --- | --- |
+| `getCartId` | Required. Returns the ID of the cart to pay for. |
+| `onStart` | Runs before the SDK creates the payment for the cart. Can stop the payment. |
+| `onSuccess` | Runs when the shopper approves the payment. Place the order next. |
+| `onCancel` | Runs when the shopper cancels the payment. |
+| `onError` | Receives a `PaymentMethodError` when an error occurs after rendering. |
+
+For example, after initialization, render Google Pay if available. Create the `#google-pay-container` element in your page before rendering.
+
+```js
+let googlePay
+
+if (sdk.Payment.GooglePay.isAvailable()) {
+ try {
+ googlePay = await sdk.Payment.GooglePay.render({
+ container: "#google-pay-container",
+ getCartId: async () => getCartId(),
+ getCartDetails: () => ({ isVirtual: false }),
+ useGooglePayShippingAddress: true,
+ useGooglePayBillingAddress: true,
+ onSuccess: async ({ cartId }) => {
+ await placeOrder(cartId)
+ },
+ onError: (error) => handleError(error),
+ })
+ } catch (error) {
+ handleError(error)
+ }
+}
+```
+
+This example describes a non-virtual cart. Set `isVirtual` according to your cart. The Google Pay address options are specific to Google Pay.
+
+If rendering fails before setup completes, the returned promise rejects. Errors after setup are passed to `onError`. Handle both paths.
+
+## Start the payment
+
+Apple Pay, Google Pay, and PayPal start payment when the shopper clicks their button. For credit cards, call `submit()` on the rendered credit card instance when the shopper submits your payment form.
+
+### Validate button-based payments
+
+For Apple Pay, Google Pay, and PayPal, set `onButtonClick` in the render configuration to validate your checkout form before opening the payment sheet. It receives a `showPaymentSheet` function. Call it synchronously to open the payment sheet; omit the call to stop.
+
+```js
+onButtonClick: (showPaymentSheet) => {
+ if (isCheckoutFormValid()) {
+ showPaymentSheet()
+ }
+}
+```
+
+### Validate credit card payments
+
+For credit cards, set `onStart` in the render configuration. It receives a `preventCheckout` function. Calling `preventCheckout(reason)` stops the payment by throwing, so code after that call in `onStart` does not run.
+
+```js
+onStart: async (preventCheckout) => {
+ if (!isCheckoutFormValid()) {
+ preventCheckout("Checkout form is invalid.")
+ }
+}
+```
+
+Apple Pay, Google Pay, and PayPal also call `onStart`, but later. Apple Pay and Google Pay call it after the shopper confirms payment in the payment sheet. PayPal calls it when the PayPal window opens. For these methods, use `onStart` for work that must happen before the SDK creates the payment, such as setting the billing address on the cart.
+
+## Complete the order
+
+When the shopper approves payment, the SDK calls `onSuccess` with a success event. The SDK does not place the order. Your application must place the order for `event.cartId`, for example with the [`placeOrder` GraphQL mutation](../graphql/schema/cart/mutations/place-order.md).
+
+Return the order-placement promise from `onSuccess`, or use an `async` callback and await it, as in the rendering example. The SDK waits for the promise and passes a rejection to `onError`. While waiting, it keeps the Apple Pay or Google Pay payment sheet or the PayPal window open where possible.
+
+If `onSuccess` does not return a promise, the sheet or window closes immediately and your application must handle subsequent order-placement errors itself.
+
+For the API-level checkout sequence, see the [Payment Services checkout workflow](../graphql/payment-services-extension/workflows/checkout.md). Do not duplicate the payment requests that the SDK already performs.
+
+## Handle errors
+
+`onError` receives a `PaymentMethodError`. Its `code` property identifies the error so that your application can handle it programmatically and display an appropriate message to the shopper. Consult the types shipped with your SDK version for available error codes.
+
+## Remove a payment method
+
+Call `teardown()` on the rendered payment method to remove it from the page, for example before rendering it again with a different configuration. For the Google Pay instance retained in the rendering example:
+
+```js
+if (googlePay) {
+ googlePay.teardown()
+}
+```