Get Organization Customer Info
get
/v1/billing/customer/{org_id}Part of Billing.
Payment method details are only visible to org owners.
Authentication
Authenticate in any one of these ways — not all of them:
- API key in the
X-API-Keyheader. - Bearer token in the
Authorizationheader.
Path parameters
| Name | Type | Description |
|---|---|---|
org_idrequired | string | Org Id |
Example request
curl
curl -X GET "https://api.robosystems.ai/v1/billing/customer/{org_id}" \
-H "X-API-Key: $ROBOSYSTEMS_API_KEY"Responses
200 Successful Response
| Field | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
org_idrequired | string | Organization ID | ||||||||||||||||||||||||
has_payment_methodrequired | boolean | Whether organization has a payment method on file | ||||||||||||||||||||||||
invoice_billing_enabledrequired | boolean | Whether invoice billing is enabled (enterprise customers) | ||||||||||||||||||||||||
payment_methodsrequired | PaymentMethod[] | List of payment methods on file PaymentMethod fields
| ||||||||||||||||||||||||
stripe_customer_idoptional | string | Stripe customer ID if applicable | ||||||||||||||||||||||||
created_atrequired | string | Customer creation timestamp (ISO format) |
| Status | Meaning |
|---|---|
| 400 | Invalid request |
| 401 | Authentication required |
| 403 | Access denied |
| 404 | Resource not found |
| 422 | Validation Error |
| 429 | Rate limit exceeded |
| 500 | Internal server error |