@sigworld/sdk when the merchant needs a custom payment UI or custom orchestration. For the standard hosted experience, use SDK UI instead.
Server session creation
The SDK can create checkout sessions from a merchant server with a server-only Merchant API Key:Direct compatibility flow
A custom flow without a merchant backend may usemerchantTenantId, amountUSD, and optional merchantOrderId to resolve checkout data. This is a compatibility fallback, not the preferred path for existing order systems. It cannot use server-authoritative item promotion pricing.
When passing both merchantOrderId and pre-encoded hexadecimal intentMeta, intentMeta takes precedence. If neither is supplied, payment can still proceed but webhook order.merchantOrderId is null.