Integration overview
Get a Partner API key
Contact Centsless to obtain a partner API key. Partner keys carry the prefix
centsless_partner_ and grant vendor-scoped access for merchant onboarding and transaction processing across your platform.Provision each merchant
Before processing transactions, register each merchant on the Centsless platform using your partner key. Include a
merchant_id that matches your internal merchant identifier — you’ll send this field with every transaction to associate it with the correct merchant record.Process transactions
Submit each cash transaction to
POST /transaction with merchant_id, the amounts (subtotal_cents and tax_total_cents), payment_method, and either zip_code (recommended) or state for jurisdiction resolution. The engine applies the correct rounding rule and returns the rounded total in real time.Display the rounded amount
Surface
cash_total_cents from the response on your cashier-facing and customer-facing displays. This is the legally correct amount for the customer to pay.Minimal transaction request
The four required fields aremerchant_id, subtotal_cents, tax_total_cents, and payment_method. Adding zip_code enables automatic jurisdiction resolution.
Response fields to surface in your POS UI
The transaction response contains several fields your integration should act on:| Field | Where to surface it |
|---|---|
cash_total_cents | Amount to collect from the customer — show on cashier and customer displays |
rounding_delta_cents | Display on the receipt as a rounding adjustment line item |
cash_rounding_mode | Log for compliance recordkeeping |
compliance_status | Alert the cashier or manager if the value is WARN or FAIL |
fraud_score / risk_level | Flag for manager review if the risk level is elevated |
Always pass
zip_code for automatic jurisdiction resolution. The engine resolves state, county, and city from the ZIP and applies the correct rounding rule for that location. Only fall back to state, county, or city fields if you don’t have ZIP data for a merchant location.