Most developers treat crypto payments as a checkout integration.

Create an invoice.

Redirect the customer.

Wait for a webhook.

Mark the order as paid.