Skip to content

Stripe - Get Payment Intents

This module allows you to query Payment Intents in Stripe. You can get a specific one by ID or list multiple with filters.

  • Secret Key: Stripe secret key
ParameterTypeRequiredDescription
credentials_idcredentialYesStripe credentials
payment_intent_idstringNoSpecific ID (pi_xxx)
customer_idstringNoFilter by customer
created_gtestringNoCreated after (Unix timestamp)
created_ltestringNoCreated before (Unix timestamp)
limitnumberNoResults limit (default: 10)
starting_afterstringNoLast object ID for pagination
{
"success": true,
"payment_intents": [...],
"count": 10,
"has_more": true,
"message": "10 PaymentIntents obtenidos"
}
  • id: Payment intent ID (pi_xxx)
  • amount: Amount in cents
  • amount_decimal: Amount in currency units
  • currency: Currency
  • status: Current status
  • customer: Customer ID
  • payment_method: Payment method used
  • created: Creation date
  • metadata: Custom metadata
{
"payment_intent_id": "pi_3MtwBwLkdIwHu7ix28a3tqPa"
}
{
"customer_id": "cus_NffrFeUfNV2Hib",
"limit": 50
}
{
"created_gte": "1704067200",
"created_lte": "1704153600"
}
  • The amount_decimal field is added for convenience (amount / 100)
  • Pagination uses cursor-based with starting_after
  • Maximum limit per page is 100
  • StripeCreatePaymentIntent - Create new Payment Intents
  • StripeCreateRefund - Create refunds for payments
  • StripeGetCustomers - Get payment customer data