Sample PayNearMe API code for Ruby