Skip to main content

Invoice Payment Widget

Overview​

Invoice Payment Widget is a hosted checkout page that lets customers pay invoices through Calypso UI.

Use the widget when you want to create a payment session through API and then redirect the customer to a ready-to-use Calypso checkout page or embed it into the merchant website with an iframe.

Supported payment methods​

Payment methodDescription
Crypto paymentCustomer sends funds to the invoice address shown in the widget.
MetaMaskCustomer pays from a MetaMask wallet, where supported.
WalletConnectCustomer connects a wallet through WalletConnect.
TON ConnectCustomer connects a TON wallet through TON Connect.

Widget type​

Widget typeWhen to useCreation method
SINGLE_FIATOne payment where the amount is set in fiat and paid in one of the allowed cryptocurrencies.[POST] payment-widget/single-fiat/create

Test widget​

You can try the test payment widget here: https://pay.calypso.money/pay?isTest=true.

Guides​

GuideDescription
How to create an Invoice Payment Widget via APICreate a widget, build the widget URL, embed it with iframe, and track invoice payment status.
Invoice Payment Widget webhooksTrack invoice events created from a payment widget.
APILink
Payment Widget APIPayment Widget API reference
Invoice APIInvoice API reference
Webhook APIWebhook API reference