Billing Customers API

Design

The Billing Customers API is designed for you to be able to create a billable Staylist customer prior to building any property accounts. When you finally do build the property, you can tell us about the Billing Customer ID.

Authentication

Billing Customers require authentication

Actions

Create a Whistle

Request

Make a POST request to the following endpoint:

https://app.staylists.com/api/v3/billing_customers

Parameters

All parameters are optional. But we recommend you include at least one.

Billing Address parameters

Response

When successful

We’ll return a 200 with a body that looks something like this:

{
    "object": "BillingCustomer",
    "data": {
        "id": "16CHKwSDqpcCX7rp",
    }
}

Store this Billing Customer ID to use it with other API calls

When unsuccessful

{
    "error": "vat_number : Billing country needed to validate the VAT number."
}