---
title: "Refund a transaction without PSP process"
method: PUT
path: "/v2/refundcreate/{transactionId}"
tags: ["Refunds"]
---

# Refund a transaction without PSP process

`PUT /v2/refundcreate/{transactionId}`

## Path parameters

- `transactionId` integer, required

## Headers

- `Authorization` string, required
- `PSU-Accept-Language` string
- `PSU-IP-Address` string, required
- `PSU-User-Agent` string

## Request body

- RefundMoneyInCreateInput
  - `linkedP2pIds` integer[] — P2P transactions linked to Money-In refund.
  - `transactionDateTime` string — Transaction DateTime (UTC Unix timestamp)
  - `amountToRefund` integer — Refund Amount. If empty, the total amount of the payment will be refunded.
  - `comment` string — Comment on the refund. **Explain the reason for the refunded amount** **Note:** In the API Response displayed before the comment will appear the refund transaction id. Example: comment": "Refund 2763789 Items not wanted"

## Response `200`

OK

- RefundMoneyInOutput
  - `transaction` TransactionRefund
    - `status` integer — 0: Success 4: Pending 6: PSP Error
    - `senderAccountId` string — Debited Account
    - `debitAmount` integer — Debited Amount Amounts are represented in cents (Euros)
    - `IbanId` integer — IBAN ID
    - `maskedLabel` string
    - `bankStatus` string
    - `PSP` PSP
      - `message` string — Get the Error Message from PSP
    - `originId` integer — Money-In - ID responsible for the chargeback
    - `buyNowPayLaterInfo` BnplInfo
      - `paymentPlanId` integer — Payment Plan ID
      - `type` string — Payment plan type.
      - `secondInstallmentPaymentDate` string — Second installment payment date. Format: yyyy-MM-dd
      - `deferredPaymentDate` string — Deferred payment date. Format: yyyy-MM-dd
    - `id` integer — Transaction ID
    - `method` integer — Payment Method 0 Card 1 Bank transfer (MoneyIn) 3 Bank transfer (MoneyOut) 4 P2P 13 iDEAL 14 SEPA DirectDebit 15 Cheque 19 Multibanco 21 MBWAY 30 BNPL 35 PayPal --- **Important:** The following services have been discontinued. 16 Neosurf 17 Sofort 18 PFS Physical Card 20 Payshop 22 Polish Instant Transfer 23 Pagare 24 MobilePay 25 Paytrail 26 WeChat 27 P24 28 MoneyIn by TPE 29 Trustly
    - `methodDetails` 0 | 1 — Payment Method Details 0 Standard 1 Pay By Bank<br/>0 = STANDARD.<br/>1 = PAY_BY_BANK.<br/>
    - `date` integer — Transaction initialization date, UTC Unix timestamp
    - `commissionAmount` integer — Your fee Amounts are given as integer numbers in cents
    - `comment` string — Comment
    - `executionDate` integer — Transaction execution date
    - `lemonWayCommission` LemonWayCommission
      - `idp2p` string
      - `amount` integer — Amounts are represented as integer in cents (Euro) Represented as an integer in cents (Euro)
    - `reference` string — Unique ID generated by your server
  - `error` Error
    - `code` integer
    - `message` string
    - `psp` PSP
      - `message` string — Get the Error Message from PSP

## Other responses

- `401` — Unauthorized
- `500` — InternalServerError

---

[API](https://skmtc.net/lemonway/apis/account-onboarding-management-api.md) · [All operations](https://skmtc.net/lemonway/apis/account-onboarding-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lemonway/account-onboarding-management-api/versions/73309fe68e2d/schema)
