---
schema_version: "1"
id: 630c1f83eb445d05215fb7cbb6125135b7025f2a9cf5ecbfe6f2960509141541
title: Process Payment
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/salesforce-commerce/guides/d2c-commerce/b2b-comm-checkout-process-payment.md
canonical_url: https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/b2b-comm-checkout-process-payment.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: eaab95b3dd37766fdbe11dca655e16c85626e4135c4f71d33fb7a33d891d8066
products:
  - B2B Commerce Developer Guide
  - Salesforce APIs
---
# Process Payment

To place an order, submit a tokenized payment from a payment provider. Use this resource for:

- Salesforce Payments
- Custom payment adapters

**Endpoint:** POST [`/commerce/webstores/{webstoreId}/checkouts/{cartId}/payments`](https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_commerce_webstore_checkouts_payments.htm)

**Note:** If you modify the cart after setting the billing address, the system invalidates the payment and clears the billing address.
