CrowdPower
  • 👋Introduction
  • ✅Getting Started
    • The Basics
    • JavaScript Tag
      • Identify Customer
      • Create Customer Event
      • Create Customer Charge
      • Create Customer Tag
      • Create Page View
      • Prompt for Push
    • Beacon API
      • Identify Customer
      • Create Customer Event
      • Create Customer Charge
      • Create Customer Tag
      • Track
    • Importing Customers
    • Basic Email Setup
    • Advanced Email Setup
  • 📚Resources
    • Smart Sending
    • Working with Sessions
    • Working with Traits
    • Working with Phone Numbers
    • Personalizing Messages
    • Push Notifications
    • Unsubscribe Groups
  • 🔌Integrations
    • Discord
    • Slack
    • Stripe
    • Zapier
  • REST API
  • Console
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started
  2. JavaScript Tag

Create Customer Charge

Creates a new charge for the customer and updates their charge summary.

If you would like to manually record charges vs. connecting your Stripe account, you can call the charge method. This method takes 1 argument, which is the amount that was charged in the smallest currency unit. CrowdPower has a built in way of keeping track of charge summaries, which can be used to target specific customers in your automations.

<script>
  window.cp('charge', {
    amount: '<amount>', // Amount in smallest currency unit
  });
</script>
PreviousCreate Customer EventNextCreate Customer Tag

Last updated 3 years ago

Was this helpful?

✅