Skip to content

Instantly share code, notes, and snippets.

@frojasg
Last active June 22, 2017 21:20
Show Gist options
  • Save frojasg/46ad4df3429a66bd0b6611f860a513f2 to your computer and use it in GitHub Desktop.
Save frojasg/46ad4df3429a66bd0b6611f860a513f2 to your computer and use it in GitHub Desktop.
ActiveMerchantSquare API
def purchase(money, card_nonce, options={})
 def authorize(money, card_nonce, options={})
 def capture(ignored_money, txn_id, ignored_options={})
 def refund(money, txn_id, options={})
 def void(txn_id, options={})
 def verify(card_nonce, options={})
 def store(card_nonce, options = {})
 def update(customer_id, card_id, options = {})
 def update_customer(customer_id, options = {})
 def unstore(card_id, options = {}, deprecated_options = {})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment