# Refund Confirmation

This endpoint allows merchants to programmatically approve customer refund requests that were initiated through the Keeta platform.
**Notes:**
1. When a customer submits a refund request on the Keeta platform, the system will send a webhook notification to the third-party system.
2. If the third-party system supports refund management, merchants can review and approve refund requests directly within their system.
3. Once approved, the third-party system **must call this API** to confirm the refund with Keeta.
4. This API **does not support duplicate calls**. If the refund has already been approved or rejected (e.g., via Keeta POS), subsequent calls will return an error.

Endpoint: POST /order/agree
Version: v.1.0.0

## Request fields (application/json):

  - `orderViewId` (integer, required)
    Unique identifier for orders on Keeta platform
    Example: 756823555555859

  - `shopId` (integer, required)
    Unique identifier of the Keeta store
    Example: 466663

## Response 200:

  - `200` (unknown)
    Request executed successfully

## Response 200 fields (application/json):

  - `code` (integer, required)
    A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
    Example: 0

  - `message` (string, required)
    Text description corresponding to the status code, explaining the operation result or error cause to users.
    Example: Success

