---
title: "Refund By Transaction UID"
description: "Refund By Transaction UID"
source: https://docs.payplus.co.il/en/payplus/latest/post-transactions-refundbytransactionuid
language: en
product: payplus
version: v1
updated: 2025-05-28
---

# Refund By Transaction UID

Refund By Transaction UID

**POST** `/Transactions/RefundByTransactionUID`

- Production: `https://restapi.payplus.co.il/api/v1.0/`
- Staging: `https://restapidev.payplus.co.il/api/v1.0/`

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `api-key` | header | string | yes | API Key |
| `secret-key` | header | string | yes | Secret Key |

**Request body** (application/json)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `cvv` | string |  | If your terminal in the credit companies is required CVV, then you have to pass this field, otherwise the transaction will be failed |
| `items` | object |  |  |
| `items.name` | string |  |  |
| `items.price` | integer |  | product price |
| `items.value` | integer |  |  |
| `items.barcode` | string |  |  |
| `items.quantity` | string |  | product quantity. Example: 1 |
| `items.shipping` | boolean |  | Can be sent if you would like to show another line of shipping instead a product in the order summary table |
| `items.vat_type` | string |  | 'vat included' OR 1-'vat not included' OR 2- 'exempt vat' |
| `items.image_url` | string |  |  |
| `items.product_uid` | string |  | nullable (if send in item "product_uid" we will use this product or send error, if send "name" and not "product_uid" we will create new product with this name. more option to send if ("name" && !product_uid): vat_type, barcode, value,price.last option we will use default product. |
| `items.category_uid` | string |  |  |
| `items.discount_type` | string |  | amount OR percentage |
| `items.discount_value` | integer |  |  |
| `amount` | number | yes | Amount you would like to charge but not more then the original J5 transaction |
| `more_info` | string |  | If is partial amount, invoice product line will be taken from this field if received |
| `initial_invoice` | boolean |  | As long your account connected to Invoice+ we will generate document for this action |
| `transaction_uid` | string | yes | The transaction UID you received from the original J5 transaction |

```json
{
  "cvv": "string",
  "items": {
    "name": "string",
    "price": 0,
    "value": 0,
    "barcode": "string",
    "quantity": "string",
    "shipping": false,
    "vat_type": 0,
    "image_url": "string",
    "product_uid": "string",
    "category_uid": "string",
    "discount_type": "amount",
    "discount_value": 10
  },
  "amount": 0,
  "more_info": "string",
  "initial_invoice": false,
  "transaction_uid": "string"
}
```

**Response 200** — 200

```json
{
  "results": {
    "status": "success",
    "code": 0,
    "description": "operation has been success"
  },
  "data": {
    "transaction": {
      "uid": "e1396310-e3f8-461f-b80a-55b1954311359",
      "number": "gf8708",
      "type": "internal_page",
      "date": "2021-02-17 19:40:16",
      "status_code": "000",
      "amount": 50,
      "currency": "ILS",
      "credit_terms": "regular",
      "payments": {
        "number_of_payments": 1,
        "first_payment_amount": 0,
        "rest_payments_amount": 0
      },
      "secure3D": {
        "status": false,
        "tracking": null
      },
      "approval_number": "3148090",
      "voucher_number": "50-001-187",
      "more_info": ""
    },
    "data": {
      "customer_uid": "c3703ae5-9cab-43b6-8bf5-0af239dc87ae",
      "terminal_uid": "83d218ac-478c-413a-ac79-fe63fe966de9",
      "cashier_uid": "d74f98d3-0437-41ba-9b53-4439c06b4a8d",
      "items": [
        {
          "amount_pay": 50,
          "discount_amount": 0,
          "quantity": 1,
          "quantity_price": 42.73,
          "vat": 7.27,
          "product_uid": "d6536a11-1fce-49c3-87a6-ab0261da1cd2",
          "name": "test"
        }
      ],
      "card_information": {
        "token": "3639a5a7-7883-4e37-b96c-e46640d6f8fd1175",
        "four_digits": "1175",
        "expiry_month": "06",
        "expiry_year": "25",
        "clearing_id": 1,
        "brand_id": 10,
        "issuer_id": 1
      }
    }
  }
}
```

**Response 400** — 400

```json
{}
```
