Process refund
To process a refund, Genstore sends an HTTP request to your application. The refund interaction flow is as follows:
Process steps
- The merchant submits a refund request in the Genstore admin.
- Genstore sends a refund request to the payment app.
- The payment app responds with HTTP
200(OK) and an empty response body to confirm that the request has been received. - The payment app executes the actual refund logic (initiating the refund with the bank/payment network).
- The payment app calls the
Update refund resultAPI to notify Genstore of the refund result (truefor success,falsefor failure). - Genstore updates the refund status and synchronizes it with the merchant.