@slashfi/elements
v0.0.2
Published
Client SDK for confirming a Slash PaymentIntent.
Keywords
Readme
@slashfi/elements
The vanilla JavaScript client for confirming a Slash PaymentIntent in the browser.
In development. The framework-agnostic client is in the works. Today this package ships only the shared TypeScript contracts it will be built on — the request, response, result, and error shapes — with no runtime exports and no dependencies. Installing it now gets you types, not a working client.
Use the React SDK today
React merchants should install
@slashfi/elements-react,
which provides PaymentProvider, PaymentElement, BrandingElement, and
usePaymentElements(), and re-exports the types you need for integration. You
do not need to install this one alongside it.
Documentation
Check the docs for more information: docs.slash.com/docs/payments/payment-elements
