TransactionToRefund

From Barion Documentation
Revision as of 13:21, 3 February 2017 by Vinczei (talk | contribs) (Created page with "{{PageTitle|title=Transaction to refund structure}} This structure represents a payment transaction that is to be refunded completely or partially. Such transactions must be...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 payer.