TransactionToRefund

From Barion Documentation
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Transaction to refund structure

This structure represents a payment transaction that is to be refunded completely or partially. Such transactions must be associated with a completed payment.

API usage

This structure is used by the following API endpoints:

Property list

Property name Property type Limitations and constraints Description
TransactionId Guid
  • Required
The unique identifier of the transaction in the Barion system.
POSTransactionId string
  • Required
The unique identifier of the transaction at the shop that started the payment.
AmountToRefund decimal
  • Required
  • Must be greater than zero
  • Maximum value: remaining value of the transaction after previous refunds
The amount to refund from the given transaction.
Comment string
  • Optional
A comment associated with the refund. This is shown to the original payer.