Skip to content

Stripe - Get Customers

This module allows you to query customers registered in Stripe. You can get a specific customer by ID or list customers with email and date filters.

  • Secret Key: Stripe secret key (sk_live_… or sk_test_…)
ParameterTypeRequiredDescription
credentials_idcredentialYesStripe credentials
customer_idstringNoCustomer ID (cus_xxx)
emailstringNoFilter by exact email
created_gtestringNoCreated after (Unix timestamp)
created_ltestringNoCreated before (Unix timestamp)
limitnumberNoResults limit (default: 10, max: 100)
starting_afterstringNoLast object ID for pagination
{
"success": true,
"customers": [...],
"count": 10,
"has_more": true,
"message": "10 clientes obtenidos"
}
  • id: Customer ID (cus_xxx)
  • email: Email
  • name: Name
  • phone: Phone
  • description: Description
  • created: Creation date (timestamp)
  • default_source: Default payment source
  • invoice_settings: Invoice settings
  • metadata: Custom metadata
{
"customer_id": "cus_NffrFeUfNV2Hib"
}
{
"email": "cliente@email.com"
}
{
"created_gte": "1704067200",
"limit": 50
}
  • Timestamps must be in Unix format (seconds since epoch)
  • Pagination uses cursor-based with starting_after
  • Maximum limit per page is 100 customers
  • StripeCreateCustomer - Create new customers
  • StripeUpdateCustomer - Update an existing customer’s data
  • StripeCreateSubscription - Create subscriptions for the customer
  • StripeCreatePaymentIntent - Create payments for the customer
  • StripeGetInvoices - Get customer invoices