Frontend Integration Comparison
| Payment Link | React SDK | |
|---|---|---|
| Form | Ready-made front-end page, limited customization | npm package, use as needed |
| Features | Full checkout experience | Web3 core capabilities only |
| Requirements | No front-end dev environment needed | Requires a React front-end |
| Domain | Fixed: https://payment-link.cobo.com | Flexible: your own front-end domain |
| Auth | Unique token per order | Dynamic token valid for one hour |
SDK Authentication
React SDK must be authenticated before use. Authentication requires your frontend and backend to work together, as follows:- The backend calls Create SDK link to create an SDK-only token.
- The backend returns the token to the frontend.
- The frontend passes the token to the SDK using the
setAccessTokenmethod.
