Crypto checkout settings
Change how short a crypto payment may fall and how many blockchain confirmations it needs.
These two settings apply when your store takes crypto through SellApp's crypto processor. Read the current values in crypto of checkout settings; it is null when the store does not take crypto this way, and this endpoint then returns 422 on crypto.
SellApp passes changed values to the crypto processor before saving them. When the processor refuses them, the request returns 422 on crypto and nothing changes.
Change the crypto checkout values you send, for a store that takes crypto through SellApp's crypto processor. SellApp sends the changed values to the crypto processor and saves them only once it accepts them; an unchanged value is not sent. Returns the checkout settings with the new crypto values. 422 on crypto when the store does not take crypto through SellApp's crypto processor, or when the processor refuses the values; nothing is saved then. 422 on underpaid_percentage or minimum_confirmations for a value out of range. 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.
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE?stringStore 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.
application/json- body
underpaid_percentage?integerHow far short of the amount due, in percent, a crypto payment can be and still count as paid: 2 accepts a payment up to 2% short. 0 to 100.
0 <= value <= 100minimum_confirmations?integerHow many blockchain confirmations a crypto payment needs before the order is processed. 1 to 25.
1 <= value <= 25Successful response.
application/json- response
data*curl -X PATCH 'https://sell.app/api/v2/store/settings/checkout/crypto' \ -H 'X-STORE: launch-lab' \ -H 'Content-Type: application/json' \ -d '{ "minimum_confirmations": 3}'{ "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": 3 } }}Replace both crypto checkout values, for a store that takes crypto through SellApp's crypto processor; underpaid_percentage and minimum_confirmations are required. SellApp sends the changed values to the crypto processor and saves them only once it accepts them; an unchanged value is not sent. Returns the checkout settings with the new crypto values. 422 on crypto when the store does not take crypto through SellApp's crypto processor, or when the processor refuses the values; nothing is saved then. 422 on underpaid_percentage or minimum_confirmations for a value out of range. 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.
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE?stringStore 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.
application/json- body
underpaid_percentage*integerHow far short of the amount due, in percent, a crypto payment can be and still count as paid: 2 accepts a payment up to 2% short. 0 to 100.
0 <= value <= 100minimum_confirmations*integerHow many blockchain confirmations a crypto payment needs before the order is processed. 1 to 25.
1 <= value <= 25Successful response.
application/json- response
data*curl -X PUT 'https://sell.app/api/v2/store/settings/checkout/crypto' \ -H 'X-STORE: launch-lab' \ -H 'Content-Type: application/json' \ -d '{ "underpaid_percentage": 1, "minimum_confirmations": 3}'{ "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": 1, "minimum_confirmations": 3 } }}