Create (or refresh) the payment invoice for a checkout
Two-step flow: create the invoice after the customer picks a method.
The amount is always the full remaining balance (split payments are
not exposed on this surface). Re-calling with the same method
refreshes an expired crypto invoice (provider-side dedup returns the
same invoice with fresh data). The balance method deducts from your
business balance and must confirm instantly, otherwise 400 with
details.reason.
Authorizations
API key (wg_live_…) created in the dashboard (Account → API Keys).
Shown once at creation; only a hash is stored server-side.
Path Parameters
Checkout/order id.
Body
Response
Payment invoice created.
Payment created for a checkout or deposit. Render the crypto invoice from paymentAddress + amount + currency (+ memo/ destinationTag when memoRequired), or redirect to paymentUrl for hosted providers. Refresh expired invoices by re-calling the payment endpoint.