> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RefundPaymentTransactionRemainderCommandResponse

> Creates a refund of what is left of an incoming payment transaction that belongs to no sales document, for example money that was paid twice or by mistake. The money goes back to the payer through the payment account of the transaction; nothing is booked on a document. Send it with 'SendRefund'. Read it with 'GetRefund'. Errors: PAYMENT_TRANSACTION_NOT_FOUND (the payment transaction was not found); PAYMENT_ACCOUNT_HIDDEN (the payment account is hidden; show it with 'ShowPaymentAccount' first); PAYMENT_TRANSACTION_NOT_REFUNDABLE (nothing of the transaction is left to refund ('refundableAmount' is 0), or it is not an incoming transaction); PAYMENT_ACCOUNT_CANNOT_TRANSFER (the payment account cannot send money); AMOUNT_NOT_POSITIVE (the amount is not greater than 0); AMOUNT_EXCEEDS_REFUNDABLE_AMOUNT (the amount is more than 'refundableAmount'); REFUNDABLE_AMOUNT_CHANGED (the refundable amount of the transaction differs from 'expectedRefundableAmount'). - Response



**Kind**: `object`

## Fields

**`refundId`**: `ID!`

The ID of the new refund.

