Sendcash API Guide
Search…
Initiating A Wireout Payout
When you're ready to perform a wire-out transaction you can check for an estimate of fees by passing in a dollar amount and callinggetWireoutNairaEstimate.
This is an estimate for reference purposes, the final transaction amount might vary slightly depending on when the payment is initiated and when it expires.
getWireoutNairaEstimate.gql
1
query {
2
getWireoutNairaEstimate(dollarAmount: 400){
3
estimate
4
expiresAt
5
rate
6
}
7
}
Copied!
Then you can perform a wire out transfer, You'll need the id returned when you created a wire out account then specific the amount:
createPayout.gql
1
mutation {
2
createPayout(wireoutAccount: "fsaffkls32s", amount: 400) {
3
amount
4
createdAt
5
id
6
status
7
trackingRef
8
wireoutAccount
9
}
10
}
Copied!
Save the trackingRef and idthis will allow to periodically check the status of your transaction.
Copy link