I am new to flutterwave integrations. I am developing a website and testing the Escrow Payments feature. I have created an account and all the other stuff with api, secret key and well as details and upoads etc. It all seem to be looking good in my development environment using the api key from ravesandbox. I am totally confused on how Settling an Escrow payment and Refunding an Escrow payment works. It says in the documentation "When the funds are in escrow and you would like to settle the seller for the funds you would need to call our settlement endpoint."
Test endpoint: https://ravesandboxapi.flutterwave.com/v2/gpx/transactions/escrow/settle
and then it gave a sample request
{
"id": "348813", // this is the txid value returned in the v2/verify response.
"secret_key": "FLWSECK-*************************-X" // your merchant secret key.
}
Something Similar too with Refunding an Escrow payment. How exactly does this work? Does it go somewhere in my site or...?