Get a bearer token — call /token with your app_id / app_secret.
2.
Call walletCheckout from your server with the order amount, currency, invoice_id and the wallet(s) you want to offer. Returns JavaScript.
3.
Inject the returned script into checkout page and provide a container element with id="walletCheckout". The script loads the wallet provider SDK and renders the wallet button.
4.
Customer taps the wallet button and authenticates (Face ID / fingerprint / device PIN). The SDK emits a transient token (a short-lived JWT) via the sipay:wallet-token event or your window.sipayWalletTokenHandler callback.
5.
Send the transient token to your server, then call walletPay (server-to-server) with the same invoice_id and the cybersource_transient_token.
6.
Receive the final JSON result — status_code: 100 on success, with the sale details and commission breakdown.