got it working. the problem was that it was expecting an integer rather than a string for the merchant id. have been able to create and void a transaction using the ruby sdk.