TransactionToRefund: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
(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...")
 
No edit summary
 
Line 28: Line 28:
| Comment || string ||  
| Comment || string ||  
* Optional  
* Optional  
|| A comment associated with the refund. This is shown to the payer.
|| A comment associated with the refund. This is shown to the original payer.
|-
|-
|}
|}

Latest revision as of 13:21, 3 February 2017

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.