curl "https://api.integrateledger.com/v1/customers/billing-details?customerId=acme" \
-H "Authorization: Bearer $LEDGER_API_KEY"
{
"customerId": "acme",
"billingDetails": null
}
Customers
Get billing details
Read a customer’s billing details from their Stripe customer.
GET
/
v1
/
customers
/
billing-details
curl "https://api.integrateledger.com/v1/customers/billing-details?customerId=acme" \
-H "Authorization: Bearer $LEDGER_API_KEY"
{
"customerId": "acme",
"billingDetails": null
}
Returns the customer’s name, email, address, tax IDs, tax exemption and invoice fields as their Stripe customer holds them, with
taxLocation, Stripe Tax’s view of where they are. billingDetails is null until the customer has a Stripe customer.
Needs the Customers permission at Read.
curl "https://api.integrateledger.com/v1/customers/billing-details?customerId=acme" \
-H "Authorization: Bearer $LEDGER_API_KEY"
{
"customerId": "acme",
"billingDetails": null
}