This API supports wallet payments.
In this flow, Sipay renders the wallet button. The integration consists of two steps involving server-side and client-side interactions. Apple Pay and Google Pay payments are supported.Sipay renders the wallet button using the walletCheckout and walletPay APIs.| Endpoint | Method | Returns | Purpose |
|---|
walletCheckout | POST | JavaScript | Generates a capture-context JWT and returns a script that renders the Apple Pay or Google Pay button. |
walletPay | POST | JSON | Authorizes and captures the wallet payment token and returns the final transaction result. |
Sameinvoice_idties the two calls together. walletCheckoutcreates the order under your invoice_id; walletPayuses the sameinvoice_idto look it up and finalize it.