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
query {
getWireoutPayouts {
[
amount
createdAt
id
status
trackingRef
wireoutAccount ,
]
}
}
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
node(id: "VHlwZXM6OlB1YmxpY0FwaTo6QWRkcmVzcy1mOGRmNGZlYy1iZTJmLTQ1YjktOWJjMy04YjMwMGNhZTg5Y2I") {
... on Payout {
amount
createdAt
id
status
trackingRef
wireoutAccount
}
}
Copy link