Pay links
The customer opens a link and pays there. The API secret stays on your server.
Pay links
Use a pay link when the customer should open a URL and pay, and your page must not hold the API secret. Create the link under Payment channels → Pay link.
| Link | Customer sees | Your server sends |
|---|---|---|
| Fixed amount | A set amount on one channel. | {"t":"…","phone":"2547…"} to the pay-link STK URL. |
| Default / channel | They choose the channel and can enter an amount. | t, phone, channel_id, and amount. |
tis the signed token in the link (?t=…or the pretty payment URL). It replaces the API secret for that call.- The customer can pay on the BluePay pay page, or your server can start STK with
tand the phone after they submit your form. - Confirm the result the same way as a normal STK: webhook or payment status, and fulfill on
paid: true.
URLs and error codes are on Pay links in the API reference.