Before you start
These are the only assumptions you need for a first successful custom REST integration.
Know whether you are targeting production, staging, or a local integration loop.
Have a Foxpay API key ready for `Authorization: Bearer <apiKey>`.
Use `merchantId` and `amountCents` as the canonical request fields. `shopId` is only a temporary alias.
Your backend creates the payment, your frontend redirects to the returned handoff URL, and your backend reconciles later state updates.