API
Orders
Read invoices and complete fulfillment from the Developer API.
Orders and invoices are the same checkout record. Use either path.
List
GET /api/dev/v1/orders
GET /api/dev/v1/invoicesFilter with status, email, and cursor params.
Get
GET /api/dev/v1/orders/{id}
GET /api/dev/v1/invoices/{uniqid}The payload includes line items, gateway, coupon, custom fields, and delivery status.
Fulfill / complete
POST /api/dev/v1/orders/{id}/fulfill
POST /api/dev/v1/orders/{id}/completeUse this when you deliver outside Stakk (manual serials, custom shipping) and need the invoice marked paid/delivered.
Refund
POST /api/dev/v1/orders/{id}/refund
POST /api/dev/v1/invoices/{uniqid}/refundRefunds go through the original processor when the gateway supports it.