Get Charges

Stripe offers services that allow individuals and businesses to accept payments over the Internet. This activity allows you retrieve a list of all the charges created in your Stripe account. To achieve this, first add this activity to your canvas, and configure it. Select the appropriate connection for Stripe. If you haven’t created a connection, select ‘Add new’ to create one. 

In the ‘Customer ID’ field, you need to select/specify the ID of the customer whose account charge details you wish to retrieve. Clicking the ‘Refresh’ icon will fetch the list of all the customers of your Stripe account—based on the connection selected—and display it in the drop-down list. In case there are too many customers, you can search the required one by his ‘name’ or ‘ID’. Alternatively, you can manually enter the name or ID of the customers whose account charge details you wish to retrieve or use the output of the previous activity as an input for this field.  

You can also limit the number of charges that will be returned in response by specifying a number in the ‘Limit’ field (between 1 and 100). 

Once you have entered these details, click on ‘Done’ and run the flow. This will return the list of charges that match your search criteria.

get-charges

Output:
  • output-arrow stripe-new-128 Get Charges
    • left-triangle object string
    • left-triangle has_more boolean
    • left-triangle url string
    • left-triangle data array
      • left-triangle id string
      • left-triangle created integer
      • left-triangle status string
      • left-triangle amount integer
      • left-triangle currency string
      • left-triangle source object
      • left-triangle balance_transaction any