How does Settling an Escrow payment and Refunding an Escrow payment work in Rave Flutterwave?

Issue

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…?

Solution

I would assume you are building a marketplace platform, from the description this is what I can gather. Rave allows you to handle payments in your marketplace using two features split payments and Escrow (for consumer protection).

When using split payments the assumption is that you want Rave to handle automatic settlements to sellers on your platform, so for example when a seller has collected N10,000 via your platform and it’s due to be settled tomorrow, Rave automatically settles into the account you’ve provided for the seller. You can read more on split payments here.

Escrow payments allow you to provide consumer protection and works best when using the scenario I described above with split payments. Assume the transactions from the merchant above were flagged as escrow transactions, this is the scenario that would play out.

Merchant x has collected 4 transactions worth N10,000 because you set them in escrow, they would not be settled on the due date as expected. Each transaction would now be settled when you call the settlement API.

Let’s break it down using a sample transaction from the 4 transactions. Assume 1 f the 4 transactions were done by customer A – N2000 on the 4th of May 2019, this means the transaction was initially due to be settled to the seller on the 5th of May 2019 (T+1 settlements), but you placed the transaction in escrow, till your assumed buyer confirmation flow is completed, and seller meets all conditions to receive the payment. Assume the date this confirmation happens is on the 10th of May this means you call the settlement API on this date, the transaction leaves escrow and Rave automatically settles the fund into the Sellers account the next day.

This is how the Escrow service works on Rave, let me know if this clarifies things for you.

Answered By – temiloluwa adesina

Answer Checked By – Clifford M. (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published.