Récupérez le détail d’une commande/facture via son UUID.
cURL
curl --request GET \ --url https://kennhosting.com/api/v1/invoices/{order_uuid} \ --header 'Authorization: Bearer <token>'
GET /v1/invoices/{order_uuid} Authorization: Bearer kh_live_xxxx
order_uuid
{ "success": true, "data": { "id": 14, "uuid": "192b4bd5-76b7-44aa-b323-2801115adaf5", "user_id": 2, "order_number": "KH-AWROJCRIZE", "status": "payment_required", "checkout_mode": "auto", "order_type": "standalone_domain", "billing_period": "annual", "total_amount": "3705.00", "discount_amount": "0.00", "original_amount": "3705.00", "items": [], "service": null, "payments": [], "created_at": "2026-04-11T11:41:02.000000Z", "updated_at": "2026-04-11T11:41:02.000000Z" } }
Order
items.plan
service
payments
invoices:read