Created
April 17, 2021 12:47
-
-
Save sherazlodhi/bf2bff0bf3348f65c55894be20d88926 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charges = Stripe::Charge.list({limit: 100}) | |
charges.auto_paging_each do |charge| | |
# Do something with customer | |
puts "Charge ID => #{charge.id} \t Charge Amount => #{charge.amount}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment