Slash Payment Processing is in beta and not enabled for all accounts. Contact
support@joinslash.com to get access.
url with the @slashfi/checkout-js
SDK. Slash renders the payment form, processes the charge, and notifies
your backend when it settles.
Slash Checkout is available to accounts enabled for hosted card
payments. If payment processing is not enabled for your account (or your
account is on a processing setup that doesn’t support hosted checkout),
POST /checkout-session returns a 400.
How it works
- Your backend calls
POST /checkout-sessionand gets back a hostedurl. - Your page mounts that
urlwith the SDK; the buyer pays in the embed. - Slash settles the charge, marks the session
complete, and sends acheckout_session.completedwebhook. - Your backend fulfills the order from that webhook.
Fulfillment
Fulfill orders from thecheckout_session.completed webhook, or by
reading GET /checkout-session/{id} and checking for status: "complete".
The SDK’s onComplete callback is a browser signal for updating the UI —
a buyer can forge it, so never grant goods or services on that alone.
See the Quickstart to accept your first
payment.