The Payment class contains static utily methods for interfacing with the payment API. For more information see the API documentation
Utility method to make GET requests to the payment API
Parameters | Return Type |
---|---|
(paymentId, callback) | callback |
Utility method to make POST requests to the payment API
Parameters | Return Type |
---|---|
(body, batchId, callback) | callback |
Utility method to make PATCH requests to the payment API
Parameters | Return Type |
---|---|
(paymentId, body, callback) | callback |
Utility method to make DELETE requests to the payment API
Parameters | Return Type |
---|---|
(paymentId, callback) | callback |
Utility method for querying payments
Parameters | Return Type |
---|---|
(no-parameters, callback) | callback |
(page, callback) | callback |
(page, pageSize, callback) | callback |
(page, pageSize, term, callback) | callback |