POST
/
v1
/
getCustomerBillingProviderConfigurations
Fetch billing provider configurations for a customer
curl --request POST \
  --url https://api.metronome.com/v1/getCustomerBillingProviderConfigurations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customer_id": "6a37bb88-8538-48c5-b37b-a41c836328bd"
}'
{
  "data": [
    {
      "id": "e045c62b-65e7-4e84-a924-3f06f8b621d0",
      "billing_provider": "stripe",
      "customer_id": "6a37bb88-8538-48c5-b37b-a41c836328bd",
      "configuration": {
        "stripe_customer_id": "cus_SB7Rq5UAkSmrR3",
        "stripe_collection_method": "charge_automatically"
      },
      "delivery_method": "direct_to_billing_provider",
      "delivery_method_configuration": {
        "stripe_account_id": "acct_1P6FywIkTQSg6Mm3",
        "leave_invoices_in_draft": false,
        "skip_zero_dollar_invoices": false,
        "export_invoice_sub_line_items": false,
        "include_zero_quantity_sub_line_items": true,
        "stripe_invoice_quantity_always_string": false,
        "set_effective_at_date_to_inclusive_period_end": false
      },
      "archived_at": null,
      "delivery_method_id": "4422e46f-b374-4159-97e3-300208cdb2e2"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

The customer id for which to fetch billing provider configurations

The body is of type object.

Response

Success

The response is of type object.