Skip to main content
Use the payment settings API to retrieve and update configuration for payment methods, checkout behavior, policies, shipping, and fees.

Payment methods

Payment method settings control which payment methods are enabled for your account and which are set as the default option. You can retrieve and update default payment methods using the same endpoint. To retrieve your payment method settings settings, make a GET request to /commerce/payment-methods/2027-03-beta/settings. The response will return settings for all payment methods, including their active and supported currencies.
To update payment method settings, make a PATCH request to /commerce/payment-methods/2027-03-beta/settings. In the request body, include a paymentMethodUpdates array containing your payment method updates.
A successful PATCH request returns the updated settings in the same format as the GET response.

Billing settings

Billing settings control checkout behavior for your HubSpot account, including how buyer information is collected, stored, and tracked. You can retrieve and update these settings using the same endpoint: /commerce/payments-settings/2027-03-beta/payments-settings/billing
  • To retrieve settings, make a GET request to the endpoint. The response will return all current settings.
  • To update settings, make a PATCH request to the endpoint. In the request body, include the settings that you want to update.
A successful PATCH request returns the updated settings in the same format as the GET response.

Shipping settings

Shipping settings control whether a shipping address is collected during checkout and which countries you ship to. You can retrieve and update these settings using the same endpoint: /commerce/payments-settings/2027-03-beta/payments-settings/shipping
  • To retrieve settings, make a GET request to the endpoint. The response will return all current settings.
  • To update settings, make a PATCH request to the endpoint. In the request body, include the settings that you want to update.
A successful PATCH request returns the updated settings in the same format as the GET response.

Policy settings

Policy settings control the terms, cancellation policy, and refund policy shown to buyers during checkout. You can retrieve and update these settings using the same endpoint: /commerce/payments-settings/2027-03-beta/payments-settings/policy
  • To retrieve settings, make a GET request to the endpoint. The response will return all current settings.
  • To update settings, make a PATCH request to the endpoint. In the request body, include the settings that you want to update.
A successful PATCH request returns the updated settings in the same format as the GET response.

Checkout fees

Checkout fees are additional charges applied to payments at checkout, such as credit card surcharges. You can retrieve and update checkout fees using the same endpoint: /commerce/payments-settings/2027-03-beta/payments-settings/checkout-fees
  • To retrieve settings, make a GET request to the endpoint. The response will return all current checkout fees.
  • To update fees, make a PATCH request to the endpoint. In the request body, include a checkoutFees array with an object for each fee.
A successful PATCH request returns the updated fees in the same format as the GET response.

Delete a checkout fee

To remove a specific checkout fee, make a DELETE request to /commerce/payments-settings/2027-03-beta/payments-settings/checkout-fees/{checkoutFeeId}, replacing {checkoutFeeId} with the id of the fee you want to remove. A successful DELETE request returns a 204 response with no body.
Last modified on September 11, 2026