URL
Initialization parameters
The reset frame carries no session of its own, so MoonPay identifies your
integration from the connect-flow
clientToken you pass. That identity
authorizes your domain to embed the frame (via the frame-ancestors Content
Security Policy). Without one, the browser blocks the frame from loading on
your domain — it never runs, so it cannot even report an error; the parent
simply never receives a handshake.Events
All events are dispatched using the message pattern described in the frames protocol. Below are the event payloads specific to the reset frame.Outbound events
frame->parent These events are sent from this frame to the parent window.handshake
Sent when the frame loads. The parent must respond with ack.
complete
Sent when the user’s session has been successfully cleared.
error
Sent when the reset fails.
Inbound events
parent->frame These events are sent from the parent window to this frame.ack
Must be sent in response to handshake. The frame will not proceed until it receives this.