Create a charge
Create a standalone charge for a payment or a free claim.
Create a standalone charge for a payment or a free claim.
Pass locale or language to control the hosted checkout language. For example, pt-BR is stored as pt_BR on the created charge.
For custom payments, send payment_method: "CUSTOM_PAYMENT_METHOD" with custom_payment_method_id, or include CUSTOM_PAYMENT_METHOD in payment_methods and let the customer select. use_all_payment_methods: true includes usable custom methods. Optionally send custom_payment_method_ids to limit the choices; omit it to save the store's currently usable IDs. IDs must belong to this store and identify enabled, usable methods. Product assignments do not apply.
A returned charge is not proof of payment. Custom-payment confirmation or proof submission changes the state to REVIEW; verify receipt before approving the charge. Ordinary charge coupons and custom-method adjustments can change the amount due. Wallet top-ups start in the customer portal and do not apply these adjustments; metadata.wallet remains prohibited here.
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
email*stringemailreturn_url*stringuricancel_url?|uriwebhook?|Optional public webhook destination validated for safe delivery. A browser return is not payment confirmation.
urireference?|length <= 255description?|length <= 255currency?stringSupported three-letter currency code, normalized to uppercase. Defaults to USD when omitted. When supplied, total is required; supply both for a paid charge.
3 <= length <= 3total?integerInteger minor units in currency; 1999 USD is $19.99. Required when currency is supplied. Maximum is the minor-unit equivalent of 99,999,999 major currency units. Omit total and currency together for a free USD claim.
0 <= valuepayment_method?string"AUTHNET""BTCPAY""CASHAPP""COINBASE""PADDLE""PAYDASH""PAYPAL""PAYSTACK""SQUARE""STRIPE""VENMO""NMI""MERCADO_PAGO""MOLLIE""RAZORPAY""CUSTOM_PAYMENT_METHOD""LIFI""BTC""LTC""ETH""XMR""SOL""ADA""BNB""TRX""MATIC""ETH_USDT""ETH_USDC""ETH_UNI""ETH_SHIB""ETH_DAI""BNB_USDT""BNB_USDC""TRX_USDT""TRX_USDC""SOL_USDT""SOL_USDC"payment_methods?array<>1 <= itemscustom_payment_method_id?|Required when payment_method is CUSTOM_PAYMENT_METHOD; otherwise omit it. The ULID must identify an enabled, usable method in this store and belong to custom_payment_method_ids when provided.
26 <= length <= 26custom_payment_method_ids?array<>Optional subset of enabled, usable custom method ULIDs for this charge. Include CUSTOM_PAYMENT_METHOD among the allowed gateways. Omit to snapshot all currently usable methods; newly created methods are not added later. Product assignments do not apply. Null and an empty array are invalid.
1 <= itemsuse_all_payment_methods?booleandeliverable?|nullmetadata?|Optional metadata. The wallet key is prohibited; standalone charge creation cannot create a wallet top-up.
coupon_code?|Optional coupon code. A charge takes a store-wide coupon for one-time purchases only: a coupon whose applies_to is subscriptions returns 422 with Coupon code {code} only applies to subscriptions.
Successful response.
application/json- response
data*curl -X POST 'https://sell.app/api/v2/charges' \ -H 'X-STORE: launch-lab' \ -H 'Content-Type: application/json' \ -d '{ "email": "sofia.rivera@example.com", "return_url": "https://example.com/launch-complete", "currency": "USD", "total": 10000, "payment_method": "PAYPAL", "reference": "One more thing launch"}'{ "data": { "id": 1, "url": "https://sell.app/store/charges/select/1?signature=...", "status": "PENDING", "custom_payment_method_id": null }}