Link Web SDK
The Link Web SDK shows Spare Link on your website for UAE payments, mandates, and account information, with React or plain JavaScript.
The Link Web SDK is live for UAE merchants, published on npm as @spare-technologies/spare-link-web (v1.0.0). Your website can now show Spare Link itself, in a modal or inside the page, instead of only sending the payer to Spare's hosted page. Your server still creates the request and confirms the result, so no credentials reach the browser.
Highlights
The short version:
- A new SDK for websites. Show Spare Link in a modal, inline, or as a redirect, with React or plain JavaScript. The Link Web SDK guide covers the whole integration.
- A new setting on API keys. Spare shows Link inside your page only on the key's trusted origins, which you add in the Spare dashboard under Developer, then API keys.
- The bank opens in the same tab, and the payer comes back to your page, where your server reads the result.
What to Do Next
- Install
@spare-technologies/spare-link-weband follow the Link Web SDK guide. - Register your website on the API key your backend uses.
- Try the flow in the sandbox, then switch
environmentto"production". - Confirm each result on your server, never in the browser.