Integration

Lifecycle events

Listen for checkout state and redirect requests.

Event names

The embedded checkout posts events from the iframe to the host page. The script forwards those events to your callback and dispatches CustomEvent instances on window.

EventUse it for
makepay.readyConfirm the iframe checkout is loaded.
makepay.close_requestedClose the modal when the checkout asks to exit.
makepay.payment.statusTrack payment session status changes.
makepay.payment.redirect_requestedNavigate the host page to the resolved return URL.

Payload shape

Event payloads include paymentUid, sessionId, status, redirectUrl, returnUrl, successUrl, failureUrl, and expiresAt.

Need partner setup help?

Open the payment link details view in MakeCrypto to copy the generated snippets for a real payment UID, or return to the portal to manage merchant settings.

Open portal