require "gerencianet" require_relative "../../credentials" options = { client_id: CREDENTIALS::CLIENT_ID, client_secret: CREDENTIALS::CLIENT_SECRET, sandbox: CREDENTIALS::SANDBOX } params = { id: 553880 } gerencianet = Gerencianet.new(options) puts gerencianet.settle_charge(params: params)