# Request Format

All checkout requests must be AJAX requests with the following header:

* **x-requested-with**: `XMLHttpRequest` (required for all requests)

This header ensures that the API returns JSON responses instead of HTML templates.
