# Optionally pass billingAddress when creating a checkout

**Project:** Hosted Checkout | **Board:** Live | **Votes:** 2
**URL:** https://roadmap.vatly.com/projects/3-hosted-checkout/items/18-optionally-pass-billingaddress-when-creating-a-checkout

---

When creating a checkout, allow optionally passing a `billingAddress` like on the `PATCH /subscriptions/<id>` endpoint.

---

## Comments

**Sander** (2026-10-14T21:01:56+00:00):
This is live. `POST /checkouts` accepts an optional `billingAddress` that pre-fills the billing fields on the hosted checkout, and the customer can still edit them. A supplied `country` takes precedence over the customer's IP for determining their country. A supplied `taxId` is only a pre-fill and is registered once the customer submits the checkout. See the checkout endpoint in the API reference.

