Skip to main content
GET
/
customers
/
{customer_id}
/
billing-config
/
{billing_provider_type}
Get a customer billing configuration
curl --request GET \
  --url https://api.metronome.com/v1/customers/{customer_id}/billing-config/{billing_provider_type} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "billing_provider_customer_id": "<string>",
    "stripe_collection_method": "charge_automatically",
    "aws_product_code": "<string>",
    "aws_region": "af-south-1",
    "aws_expiration_date": "2023-11-07T05:31:56Z",
    "aws_is_subscription_product": true,
    "azure_subscription_status": "Subscribed",
    "azure_plan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "azure_start_date": "2023-11-07T05:31:56Z",
    "azure_expiration_date": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

customer_id
string<uuid>
required
billing_provider_type
enum<string>
required

The billing provider (e.g. stripe)

Available options:
aws_marketplace,
stripe,
azure_marketplace,
quickbooks_online,
metronome

Response

Success

data
object
required