API ReferenceWallet
Quote a cashback rule
Check the cashback a purchase would earn for a product or store-wide.
Ask which cashback rule a purchase would earn and, with purchase_cents, how many USD cents it would add to the customer's wallet. Send product_id to check one product: a rule that names the product wins over the store-wide rule. Leave it out to check the store-wide rule only. Nothing is created or charged.
GET
header
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
product_id?integerThe product to quote. Leave it out to quote the store-wide rule.
Range
1 <= valuepurchase_cents?integerThe purchase amount to quote, in integer USD cents.
Range
1 <= valueX-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.
Successful response.
application/json- response
data*curl -X GET 'https://sell.app/api/v2/cashback-rules/quote' \ -H 'X-STORE: launch-lab'{ "data": { "product_id": 120, "purchase_cents": 10000, "eligible": true, "cashback_cents": 500, "reason": "A $100.00 purchase would earn $5.00 from 5.00% cashback up to $10.00.", "matching_rule": { "id": 71, "percent_basis": 500, "maximum_cashback_cents": 1000, "is_active": true, "product_ids": [ 120 ], "created_at": "2026-07-03T09:12:00.000000Z", "updated_at": "2026-07-03T09:12:00.000000Z", "deleted_at": null } }}