Tracking Payouts
You can periodically check the status of all wire-out transactions initiated. Keep in mind the rate limits on the api when designing an interface for this.
wireoutPayouts.gql
1
query {
2
getWireoutPayouts {
3
[
4
amount
5
createdAt
6
id
7
status
8
trackingRef
9
wireoutAccount ,
10
]
11
}
12
}
Copied!
Or alternatively, you can query a node field for a specific payout provided you have the id when the the payout was initiated.
nodeWireoutPayouts.gql
1
node(id: "VHlwZXM6OlB1YmxpY0FwaTo6QWRkcmVzcy1mOGRmNGZlYy1iZTJmLTQ1YjktOWJjMy04YjMwMGNhZTg5Y2I") {
2
... on Payout {
3
amount
4
createdAt
5
id
6
status
7
trackingRef
8
wireoutAccount
9
}
10
}
11
Copied!
Copy link