Hacker News new | ask | show | jobs
by zende 4537 days ago
(ceo of Balanced)

This is great feedback!

Is this essentially what you're looking for?

  require 'balanced'
  Balanced.configure('ak-test-2ficCWmYvpRBBSzC7Me62ZTX0Y2DPGjgt')

  card = Balanced::Card.find('/cards/CC4TsBYO9E4IRQqg0jvrEg9i')
  card.debit(
    :amount => 5000,
    :appears_on_statement_as => 'Statement text',
    :description => 'Some descriptive text for the debit in the dashboard'
  )
1 comments

Yes, exactly that. I like having the option to save customers and cards, but I prefer not to be required to for circumstances that don't need it.