Skip to Content
API ReferenceStore settings

Checkout settings

Read and change the shopping cart, checkout email, fraud controls, minimum spend, billing descriptor, and checkout rate limits.

These settings decide how checkout behaves for every product in your store. They are the same settings as Settings > Checkout in the dashboard and follow the same rules.

  • GET returns every setting. Its data object can be sent back to PUT unchanged, so a safe way to change one setting is to read, edit that field, and send the whole object back.
  • PATCH changes only the fields you send. Send null to remove the minimum spend, the billing descriptor, or one of the optional rate limits.
  • PUT replaces every setting and needs all of them.

The crypto object is read-only on this endpoint. Change it with crypto checkout settings.

GET
/v2/store/settings/checkout

Get your store's checkout settings: the shopping cart, whether checkout asks for an email, fraud controls, the minimum order total, the billing descriptor, the checkout rate limits, and the crypto checkout values when the store takes crypto through SellApp's crypto processor. The response body can be sent back to PUT /v2/store/settings/checkout unchanged. Requires the store API-key ability and the store permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X GET 'https://sell.app/api/v2/store/settings/checkout' \  -H 'X-STORE: launch-lab'
{  "data": {    "shopping_cart_enabled": true,    "customer_email_required": true,    "allow_vpn_purchases": false,    "blacklist_on_dispute": true,    "minimum_spend": "5.00",    "billing_descriptor": "LAUNCH LAB",    "attempts_per_customer": 5,    "attempts_per_ip": 20,    "attempts_per_email": null,    "attempts_per_fingerprint": null,    "rate_limit_window_seconds": 3600,    "crypto": {      "underpaid_percentage": 2,      "minimum_confirmations": 2    }  }}

Update checkout settings

PATCH
/v2/store/settings/checkout

Change only the checkout settings you send and keep the others, including one someone else saved while your request was in flight. Send null to remove minimum_spend, billing_descriptor, attempts_per_ip, attempts_per_email or attempts_per_fingerprint. crypto is read-only here; change it with PATCH /v2/store/settings/checkout/crypto. A refused value returns 422 on the field name of this endpoint, such as rate_limit_window_seconds, and nothing is saved. Sending the same change again is safe. Requires the store API-key ability and the store permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
shopping_cart_enabled?boolean

Whether customers can add several products to a cart and buy them in one checkout. false turns the storefront cart off.

customer_email_required?boolean

Whether checkout asks customers for an email address. With false, checkout does not ask, and delivery and payment emails cannot reach a customer who left none.

allow_vpn_purchases?boolean

Whether customers who use a VPN or a proxy can buy.

blacklist_on_dispute?boolean

Whether a customer's email address and IP address are added to your blacklist when they open a payment dispute.

minimum_spend?|

The smallest order total, VAT included, that customers can check out with, as a decimal string in the order's currency: "12.50" on a USD order means $12.50. At least 1; digits with an optional decimal part, no sign or exponent. Send null or "0" to remove the minimum; it then reads null.

Match^\d+(\.\d+)?$
billing_descriptor?|

The purchase name customers see while they check out, up to 20 characters. null uses the default, SellApp Order.

Lengthlength <= 20
attempts_per_customer?integer

How many checkout attempts one customer can make within the window, counted per IP address and email pair, or per checkout session fingerprint when checkout does not ask for an email. 1 to 100000; the default is 5. This limit cannot be removed.

Range1 <= value <= 100000
attempts_per_ip?|

How many checkout attempts can come from one IP address within the window. 1 to 100000; null turns this limit off.

Range1 <= value <= 100000
attempts_per_email?|

How many checkout attempts can use one customer email address within the window. 1 to 100000; null turns this limit off.

Range1 <= value <= 100000
attempts_per_fingerprint?|

How many checkout attempts can come from one checkout session fingerprint (a browser identifier) within the window. 1 to 100000; null turns this limit off.

Range1 <= value <= 100000
rate_limit_window_seconds?integer

How long each checkout limit counts attempts before allowing them again, in seconds: 60 (one minute) to 604800 (seven days). The default is 3600 (one hour). Attempts are counted per store.

Range60 <= value <= 604800
crypto?|

The crypto checkout settings, or null when the store does not take crypto through SellApp's crypto processor. Read-only here: send it back unchanged or leave it out. A different value returns 422 on crypto; change it with PATCH /v2/store/settings/checkout/crypto.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PATCH 'https://sell.app/api/v2/store/settings/checkout' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "minimum_spend": "10.00",  "attempts_per_email": 10}'
{  "data": {    "shopping_cart_enabled": true,    "customer_email_required": true,    "allow_vpn_purchases": false,    "blacklist_on_dispute": true,    "minimum_spend": "10.00",    "billing_descriptor": "LAUNCH LAB",    "attempts_per_customer": 5,    "attempts_per_ip": 20,    "attempts_per_email": 10,    "attempts_per_fingerprint": null,    "rate_limit_window_seconds": 3600,    "crypto": {      "underpaid_percentage": 2,      "minimum_confirmations": 2    }  }}

Update checkout settings

PUT
/v2/store/settings/checkout

Replace all eleven checkout settings. Every field except crypto is required; send null to remove a nullable one. A missing field returns 422 and nothing is saved. The body of GET /v2/store/settings/checkout, including crypto, can be sent back unchanged. Sending the same body again is safe. Requires the store API-key ability and the store permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
shopping_cart_enabled*boolean

Whether customers can add several products to a cart and buy them in one checkout. false turns the storefront cart off.

customer_email_required*boolean

Whether checkout asks customers for an email address. With false, checkout does not ask, and delivery and payment emails cannot reach a customer who left none.

allow_vpn_purchases*boolean

Whether customers who use a VPN or a proxy can buy.

blacklist_on_dispute*boolean

Whether a customer's email address and IP address are added to your blacklist when they open a payment dispute.

minimum_spend*|

The smallest order total, VAT included, that customers can check out with, as a decimal string in the order's currency: "12.50" on a USD order means $12.50. At least 1; digits with an optional decimal part, no sign or exponent. Send null or "0" to remove the minimum; it then reads null.

Match^\d+(\.\d+)?$
billing_descriptor*|

The purchase name customers see while they check out, up to 20 characters. null uses the default, SellApp Order.

Lengthlength <= 20
attempts_per_customer*integer

How many checkout attempts one customer can make within the window, counted per IP address and email pair, or per checkout session fingerprint when checkout does not ask for an email. 1 to 100000; the default is 5. This limit cannot be removed.

Range1 <= value <= 100000
attempts_per_ip*|

How many checkout attempts can come from one IP address within the window. 1 to 100000; null turns this limit off.

Range1 <= value <= 100000
attempts_per_email*|

How many checkout attempts can use one customer email address within the window. 1 to 100000; null turns this limit off.

Range1 <= value <= 100000
attempts_per_fingerprint*|

How many checkout attempts can come from one checkout session fingerprint (a browser identifier) within the window. 1 to 100000; null turns this limit off.

Range1 <= value <= 100000
rate_limit_window_seconds*integer

How long each checkout limit counts attempts before allowing them again, in seconds: 60 (one minute) to 604800 (seven days). The default is 3600 (one hour). Attempts are counted per store.

Range60 <= value <= 604800
crypto?|

The crypto checkout settings, or null when the store does not take crypto through SellApp's crypto processor. Read-only here: send it back unchanged or leave it out. A different value returns 422 on crypto; change it with PATCH /v2/store/settings/checkout/crypto.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X PUT 'https://sell.app/api/v2/store/settings/checkout' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "shopping_cart_enabled": true,  "customer_email_required": true,  "allow_vpn_purchases": true,  "blacklist_on_dispute": true,  "minimum_spend": "5.00",  "billing_descriptor": "LAUNCH LAB",  "attempts_per_customer": 5,  "attempts_per_ip": 20,  "attempts_per_email": null,  "attempts_per_fingerprint": null,  "rate_limit_window_seconds": 3600,  "crypto": {    "underpaid_percentage": 2,    "minimum_confirmations": 2  }}'
{  "data": {    "shopping_cart_enabled": true,    "customer_email_required": true,    "allow_vpn_purchases": true,    "blacklist_on_dispute": true,    "minimum_spend": "5.00",    "billing_descriptor": "LAUNCH LAB",    "attempts_per_customer": 5,    "attempts_per_ip": 20,    "attempts_per_email": null,    "attempts_per_fingerprint": null,    "rate_limit_window_seconds": 3600,    "crypto": {      "underpaid_percentage": 2,      "minimum_confirmations": 2    }  }}