lib/index.js
function refundPayment(id, callback) {
    var client = new this.clients.Payments();
    client.refund(id, callback);
  }
function refundPayment(id, callback) {
    var client = new this.clients.Payments();
    client.refund(id, callback);
  }
function refundPayment ( id , callback ) { var client = new this . clients . Payments ( ) ; client . refund ( id , callback ) ; }
Refunds a payment by its ID.

@param {String} id - The payment's ID.
@param {Function} callback - The callback method.
Refunds a payment by its ID .