get https://api.processout.com/transactions/
You can fetch a Transaction
object using its id
value. See the section about fetching resources for more information.
Responses
You can fetch a Transaction
object using its id
value. See the section about fetching resources for more information.
xxxxxxxxxx
11var ProcessOut = require("processout");
var client = new ProcessOut(
"test-proj_gAO1Uu0ysZJvDuUpOGPkUBeE3pGalk3x",
"key_sandbox_mah31RDFqcDxmaS7MvhDbJfDJvjtsFTB");
client.newTransaction().find("tr_ItJdKlhfaVn0SUGd9z1i9Jqe0STl4jxC").then(
function(transaction) {
// Transaction was fetched
}, function(err) {
// An error occured
});