Create a checkout intent.
Returns an { intent, redirectUrl } pair — send redirectUrl to
the browser or pass intent.id to HadawiCheckout.open().
Requires a valid merchant API key (X-API-Key).
Fetch details of an existing intent (public endpoint). Useful for showing item info before the organizer logs in.
Wraps the
/intentsAPI endpoints.Example