Sendcash API Guide
Search…
Global Object Identification
What this means is that you can use the node or nodes query to get ANY object(s) as long as you have the id(s).
For example, if you wanted to get a specific wire-out payout:
1
node(id: "VHlwZXM6OlB1YmxpY0FwaTo6QWRkcmVzcy1mOGRmNGZlYy1iZTJmLTQ1YjktOWJjMy04YjMwMGNhZTg5Y2I") {
2
... on Payout {
3
amount
4
createdAt
5
id
6
status
7
trackingRef
8
wireoutAccount
9
}
10
}
Copied!
Alternatively, if you had a list/an array of ids:
1
nodes(ids: ["id1", "id2"]){
2
...on Payout {
3
amount
4
createdAt
5
id
6
status
7
trackingRef
8
wireoutAccount
9
}
10
...on WireOutAccount {
11
accountName
12
accountNumber
13
}
14
}
Copied!
As can be seen from the example above, you can handle for multiple types.
Copy link