Skip to content

Process refund

To process a refund, Genstore sends an HTTP request to your application. The refund interaction flow is as follows:

Process steps

  1. The merchant submits a refund request in the Genstore admin.
  2. Genstore sends a refund request to the payment app.
  3. The payment app responds with HTTP 200 (OK) and an empty response body to confirm that the request has been received.
  4. The payment app executes the actual refund logic (initiating the refund with the bank/payment network).
  5. The payment app calls the Update refund result API to notify Genstore of the refund result (true for success, false for failure).
  6. Genstore updates the refund status and synchronizes it with the merchant.