Skip to content

Instantly share code, notes, and snippets.

@brianmc
Created October 25, 2015 03:33
Show Gist options
  • Save brianmc/41bfc1d7216bee4a53b1 to your computer and use it in GitHub Desktop.
Save brianmc/41bfc1d7216bee4a53b1 to your computer and use it in GitHub Desktop.
require 'cybs_client'
auth_request = {
"amount" => "0",
"currency" => "USD",
"payment" => {
"cardNumber" => "4111111111111111",
"cardExpirationMonth" => "10",
"cardExpirationYear" => "2016"
}
}
CybsClient::AuthorizationsApi.authorize_payment(auth_request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment