Step 3 - Create invoice and order
Create a Checkout Invoice (Commerce)
Create an invoice from a commerce checkout payload.
POST
Step 3 - Create invoice and order
Overview
Use this endpoint to convert a validated checkout payload into an invoice your customer can pay.Authentication
Commerce merchant checkout endpoints usex-commerce-api-key.
Request
SDK
cURL
Response
Errors
400invalid checkout payload401missing/invalid commerce auth
Examples
- Follow the 3-step flow: estimate → address → invoice to ensure totals/shipping are validated before invoice creation. Next: Payment session details
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"

