POST
/
v1
/
customers
Create a customer
curl --request POST \
  --url https://api.metronome.com/v1/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ingest_aliases": [
    "team@example.com"
  ],
  "name": "Example, Inc.",
  "customer_billing_provider_configurations": [
    {
      "billing_provider": "stripe",
      "delivery_method": "direct_to_billing_provider",
      "configuration": {
        "stripe_customer_id": "cus_123",
        "stripe_collection_method": "charge_automatically"
      }
    }
  ]
}'
{
  "data": {
    "id": "d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc",
    "external_id": "team@example.com",
    "ingest_aliases": [
      "team@example.com"
    ],
    "name": "Aperture, Inc."
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The customer to create

The body is of type object.

Response

Success

The response is of type object.