Step 3 - Create invoice and order
Commerce
Step 3 - Create invoice and order
Creates the final order and payment invoice. Returns payment session credentials for payment session APIs.
Checkout semantics:
- Only
validItems[]from the estimate are included in the created order. - The customer cart is not automatically cleared or modified.
- Use
GET /api/commerce/merchant/orders/{orderId}for the canonical merchant-facing order snapshot after creation.
POST
Step 3 - Create invoice and order
Authorizations
Legacy alias for commerce-scoped API keys. Prefer x-api-key with scope=commerce.
Body
application/json
- Option 1
- Option 2
Step 3 request. Creates the final invoice + commerce order from an existing estimate + address.
Example:
"cust_123456"
Deprecated/ignored; use merchant webhook configuration endpoints instead.
Optional BSC destination address for refunds (0x…).
Example:
"0x0000000000000000000000000000000000000001"

