<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.barion.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Penteki</id>
	<title>Barion Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.barion.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Penteki"/>
	<link rel="alternate" type="text/html" href="https://docs.barion.com/Special:Contributions/Penteki"/>
	<updated>2026-11-21T04:32:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=4083</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=4083"/>
		<updated>2023-07-11T10:52:20Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* BarionBalanceProcessingFee */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BarionBalanceProcessingFee || [[TransactionHistory-GetDetail-v3#BarionBalanceProcessingFee | BarionBalanceProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
Customers can pay by wire transfer to the facilitator or the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
Bank transfer payment fee is paid by the facilitator or e-shop to the Barion after the successful payments if the customer paid by wire transfer.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BarionBalanceProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
Barion balance processing fee is paid by the facilitator or e-shop to the Barion after the successful payments. This fee type is used when the payer paid with their Barion balance and the shop has been configured to pay this fee.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
Due to a compliance decision, the Barion can block the amount of the transaction.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
Card payment is used when a customer pays with his bank card to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
Card processing fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top up with bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
Users can top up their wallets with cash in some banks in Hungary.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
Commission paid by the user to the Barion after a successful transaction. Most of the transactions are free. See the pricing list for more details.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=4082</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=4082"/>
		<updated>2023-07-11T10:51:32Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* BarionBalanceProcessingFee */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BarionBalanceProcessingFee || [[TransactionHistory-GetDetail-v3#BarionBalanceProcessingFee | BarionBalanceProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
Customers can pay by wire transfer to the facilitator or the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
Bank transfer payment fee is paid by the facilitator or e-shop to the Barion after the successful payments if the customer paid by wire transfer.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BarionBalanceProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
Barion balance processing fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
Due to a compliance decision, the Barion can block the amount of the transaction.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
Card payment is used when a customer pays with his bank card to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
Card processing fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top up with bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
Users can top up their wallets with cash in some banks in Hungary.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
Commission paid by the user to the Barion after a successful transaction. Most of the transactions are free. See the pricing list for more details.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=4081</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=4081"/>
		<updated>2023-07-11T10:50:32Z</updated>

		<summary type="html">&lt;p&gt;Penteki: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BarionBalanceProcessingFee || [[TransactionHistory-GetDetail-v3#BarionBalanceProcessingFee | BarionBalanceProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
Customers can pay by wire transfer to the facilitator or the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
Bank transfer payment fee is paid by the facilitator or e-shop to the Barion after the successful payments if the customer paid by wire transfer.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BarionBalanceProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
Due to a compliance decision, the Barion can block the amount of the transaction.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
Card payment is used when a customer pays with his bank card to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
Card processing fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top up with bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
Users can top up their wallets with cash in some banks in Hungary.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
Commission paid by the user to the Barion after a successful transaction. Most of the transactions are free. See the pricing list for more details.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=4080</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=4080"/>
		<updated>2023-07-11T10:49:59Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* Output properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BarionBalanceProcessingFee || [[TransactionHistory-GetDetail-v3#BarionBalanceProcessingFee | BarionBalanceProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
Customers can pay by wire transfer to the facilitator or the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
Bank transfer payment fee is paid by the facilitator or e-shop to the Barion after the successful payments if the customer paid by wire transfer.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
Due to a compliance decision, the Barion can block the amount of the transaction.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
Card payment is used when a customer pays with his bank card to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
Card processing fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top up with bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
Users can top up their wallets with cash in some banks in Hungary.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
Commission paid by the user to the Barion after a successful transaction. Most of the transactions are free. See the pricing list for more details.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=HistoryItemType&amp;diff=4079</id>
		<title>HistoryItemType</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=HistoryItemType&amp;diff=4079"/>
		<updated>2023-07-11T10:48:44Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* Enum list */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=History item type enumeration}}&lt;br /&gt;
&lt;br /&gt;
This enum indicates the type of history items.&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The item type of history elements does not correlate with the type of transactions exported from GUI or downloaded from [[Statement-Download-v2 | statement API]].|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
= Included in =&lt;br /&gt;
&lt;br /&gt;
History item types are used in the following structures:&lt;br /&gt;
* [[UserHistory-GetHistory-v2]]&lt;br /&gt;
* [[UserHistory-GetHistory-v3]]&lt;br /&gt;
* [[TransactionHistory-GetDetail-v3]]&lt;br /&gt;
&lt;br /&gt;
= Enum list =&lt;br /&gt;
&lt;br /&gt;
{{api_enum_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || 1|| Internal e-money transfer between Barion users.&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransferToExternalUser || 2 || E-money transfer to a non-existent user. In this case, the recipient has a defined timeframe to get the amount of the transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicPayment || 3 || The initialized payment transaction was paid with Barion Wallet. History items with this type can be reserved&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; or successfully completed transactions.&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || 4|| The initialized payment transaction was paid with a bank card. History items with this type can be reserved&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; or successfully completed transactions.&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || 5|| Refund to a bank card after a completed payment transaction. In this case, the funding source of the payment is a bank card. Payment transactions of this type can be failed or successfully completed. Failed transactions are normalized, and the system initializes the refund process. In other cases, the refund was initiated through GUI or the API.&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || 6 || If the integrated system works with complex payment scenarios, then one or more payee transactions can be defined for each payment transaction. More details of the Payee transactions can be found [[Payee_transactions | here]].&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || 7|| Barion fee. It belongs to a payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || 8|| Barion fee. It belongs to a payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || 9|| Top up a Barion account via bank card.&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || 10|| When the recipient does not complete the transfer transaction, so the money did not receive by the recipient during the defined timeframe, the system handles it as an unsuccessful transaction.&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || 11|| Top up a Barion account via wire transfer. &lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || 12|| Top up a Barion account via cash.&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || 13|| Wire transfer from a Barion account to a bank account.&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || 14|| Withdrawals can be unsuccessful for many reasons. If a withdrawal transaction cannot be completed successfully then the Barion system handles it and tops up the transaction amount to the account.&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || 15|| Payment transactions completed with Barion Wallet with e-money can be refunded to the source wallet.&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || 16|| Refund to bank card transactions can be unsuccessful for many reasons. Unsuccessful refund transactions are handled by the Barion system, and their amount tops up to the source account.&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || 17|| In some cases, the transaction amount may be moved to custody. If the participants can verify the transaction the Barion Team can issue the amount to the appropriate account.&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || 18|| Barion fee. Paid after withdrawal transactions.&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || 19|| Barion system has a complex withdrawal filtering system, which can decide to reject the withdrawal transaction.&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || 20|| If the withdrawal transaction was rejected the system does not deduct the withdrawal fee, it will be issued to the source account.&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || 21|| A payment transaction can be completed with a wire transfer as well. This payment scenario is described [[Bank_Transfer_Payment | here]].&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || 22|| Bank transfer payments can also be refunded. In these cases, the Barion system initiates a wire transfer to the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| UnSuccessfulRefundToBankAccount || 23|| If a bank transfer payment refund is unsuccessful then the Barion system issues the amount of the transaction to the source account.&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || 24|| Barion fee. Paid after bank transfer payments.&lt;br /&gt;
|-&lt;br /&gt;
| BarionBalanceProcessingFee || 25 || Barion fee. This fee type is used when the payer paid with their Barion balance and the shop has been configured to pay this fee.&lt;br /&gt;
|-&lt;br /&gt;
| Commission || 40|| Barion fee. It is a generic commission transaction. &#039;&#039;(deprecated)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Donation || 41|| Donate a Barion Wallet with e-money. &#039;&#039;(deprecated)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| UnderReview || 42|| Technical transaction initiated by Barion. If the transaction is risky or the Barion receives a chargeback inquiry from the acquirers the amount of the payment transaction will be blocked.&lt;br /&gt;
|-&lt;br /&gt;
| Release || 43|| When a risky payment transaction that is under review is clarified the Barion releases the amount of the transaction. Transactions can be released before deissuing as well.&lt;br /&gt;
|-&lt;br /&gt;
| Parking || 100|| Barion operates a parking service as well. Every Barion Wallet can use its e-money to pay the parking fee in Hungary.&lt;br /&gt;
|-&lt;br /&gt;
| AutomaticParking || 101 || Automatic parking service fee. &#039;&#039;(deprecated)&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; Reserved transactions are in progress, they are not finalized, and can be changed in the future. These transactions&#039; amounts can be changed at the time of completion.&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionType&amp;diff=4078</id>
		<title>TransactionType</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionType&amp;diff=4078"/>
		<updated>2023-07-11T10:46:45Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* Enum list */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Transaction type enumeration}}&lt;br /&gt;
&lt;br /&gt;
This enum indicates the type of a transaction.&lt;br /&gt;
&lt;br /&gt;
= Included in =&lt;br /&gt;
&lt;br /&gt;
Transaction types are used in the following structures:&lt;br /&gt;
* [[DetailedPaymentTransaction]]&lt;br /&gt;
&lt;br /&gt;
= Enum list =&lt;br /&gt;
&lt;br /&gt;
{{api_enum_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Shop || 1 || Completed e-money payment between a user and a shop.&lt;br /&gt;
|-&lt;br /&gt;
| TransferToExistingUser || 2 || E-money transfer between two existing Barion users.&lt;br /&gt;
|-&lt;br /&gt;
| TransferToTechnicalAccount || 3 || E-money transfer from an existing Barion user to a not existing user.&lt;br /&gt;
|-&lt;br /&gt;
| Reserve || 16 || Reserved payment between a user and a shop.&lt;br /&gt;
|-&lt;br /&gt;
| StornoReserve || 17 || Storno amount from a previously reserved payment, if it was finished with a lower amount.&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || 21 || Bank card processing fee deducted from the shop by the Barion system.&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || 22 || The Barion Smart Gateway fee deducted from the shop by the Barion system.&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFeeStorno || 23 || The previously reserved bank card processing fee returned to the shop if the user paid with their Barion wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Unspecified || 100 || The transaction is just a placeholder, the type will be determined later on.&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || 150 || Bank card payment between a user and a shop.&lt;br /&gt;
|-&lt;br /&gt;
| Refund|| 151 || Refund of a payment to a Barion wallet.&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankCard || 152 || Refund of a payment to a bank card.&lt;br /&gt;
|-&lt;br /&gt;
| StornoUnSuccessfulRefundToBankCard || 153 || Storno of an unsuccessful refund to a bank card to the shop.&lt;br /&gt;
|-&lt;br /&gt;
| UnderReview|| 180 || Payment is under investigation&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseReview|| 190 || Payment is released from investigation&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment|| 200 || Bank transfer payment between customer and shop. Used in [[Payment_Buttons|payment button]] scenarios.&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount|| 201 || Refund of a payment to a bank account. Used in [[Payment_Buttons|payment button]] scenarios.&lt;br /&gt;
|-&lt;br /&gt;
| StornoUnSuccessfulRefundToBankAccount || 202 || Storno of an unsuccessful refund to a bank account. Used in [[Payment_Buttons|payment button]] scenarios.&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || 203 ||  The fee is deducted from the shop by the Barion system for using the bank transfer payment. Used in [[Payment_Buttons|payment button]] scenarios.&lt;br /&gt;
|-&lt;br /&gt;
| BarionBalanceProcessingFee || 204 ||  The fee is deducted from the shop by the Barion system. This fee type is used when the payer paid with their Barion balance and the shop has been configured to pay this fee.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=UserHistory-GetHistory-v3&amp;diff=3873</id>
		<title>UserHistory-GetHistory-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=UserHistory-GetHistory-v3&amp;diff=3873"/>
		<updated>2023-03-28T11:21:40Z</updated>

		<summary type="html">&lt;p&gt;Penteki: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/UserHistory/GetHistory&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/UserHistory/GetHistory&amp;lt;/code&amp;gt; API endpoint is used to query the transaction history from the Barion system for the authenticated wallet. The [[TransactionHistory-GetDetail-v3|/v3/TransactionHistory/GetDetail]] endpoint can be used to query the details of the history item.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=This API should not be used for reconciliation, use the [[Statement-Download-v2 | statement API]] instead.|color=#FF7A3D}}&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The item type of history elements does not correlate with the type of transactions exported through GUI or downloaded with[[Statement-Download-v2 | statement API]].|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| LastVisibleItemId || Guid ||&lt;br /&gt;
* Optional&lt;br /&gt;
 || &lt;br /&gt;
The identifier of the oldest transaction. Only transactions before the defined transaction will be included in the response.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| LastRequestTime || DateTime || &lt;br /&gt;
* Optional&lt;br /&gt;
*Universal Time Coordinated (UTC)&lt;br /&gt;
|| &lt;br /&gt;
The exact time of the last request. Only transactions after the defined request time will be included in the response.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Limit || int || &lt;br /&gt;
* Optional&lt;br /&gt;
* If not defined the default value is 20&lt;br /&gt;
* If the defined value is greater than 20 the default value will be used&lt;br /&gt;
|| &lt;br /&gt;
The expected number of transactions in the response.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Currency || string || &lt;br /&gt;
* Optional&lt;br /&gt;
* Required length: 3 characters&lt;br /&gt;
* Must be supplied in ISO 4217 format&lt;br /&gt;
Accepted values: &lt;br /&gt;
{{CurrencyList}}&lt;br /&gt;
|| The currency of the transaction. If the currency is defined, then only transactions in the same currency will be included in the response.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Id || Guid || The identifier of the transaction.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[HistoryItemType]] || The type of the transaction.&lt;br /&gt;
|-&lt;br /&gt;
| HappenedAtUtc || DateTime || The exact time when the transaction happened.&lt;br /&gt;
|-&lt;br /&gt;
| ConcurrencyOrder || int || The order of the transaction when more than one transaction happened at the same time. When only one transaction happened at a given timestamp, this value can be ignored.&lt;br /&gt;
|-&lt;br /&gt;
| SourceAccount || [[UserHistoryParticipant]] || The user who initiated the transaction or from whom the money originated.&lt;br /&gt;
|-&lt;br /&gt;
| TargetAccount || [[UserHistoryParticipant]] || The user who will receive the amount of the transaction.&lt;br /&gt;
|-&lt;br /&gt;
| Amount || decimal || The amount of the transaction.&lt;br /&gt;
|-&lt;br /&gt;
| Currency || string || The 3-character ISO 4217 currency code of the payment.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description of the transaction. Max: 640 characters.&lt;br /&gt;
|-&lt;br /&gt;
| IsInProgress || bool || This flag indicates that the transaction is not in the final state.&lt;br /&gt;
|-&lt;br /&gt;
| BalanceChangeType || [[BalanceChangeType]] || Indicates the direction of change regarding the account&#039;s available balance.&amp;lt;br&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;NoChange&#039;&#039;&#039;: the account&#039;s balance did not change after the transaction&lt;br /&gt;
* &#039;&#039;&#039;Credit&#039;&#039;&#039;: the account&#039;s balance has increased after the transaction&lt;br /&gt;
* &#039;&#039;&#039;Debit&#039;&#039;&#039;: the account&#039;s balance has decreased after the transaction&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Note: this property is only available in the TEST environment at the moment&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3870</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3870"/>
		<updated>2023-03-21T14:34:27Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* BankTransferPayment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
Customers can pay by wire transfer to the facilitator or the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
Bank transfer payment fee is paid by the facilitator or e-shop to the Barion after the successful payments if the customer paid by wire transfer.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
Due to a compliance decision, the Barion can block the amount of the transaction.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
Card payment is used when a customer pays with his bank card to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
Card processing fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top up with bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
Users can top up their wallets with cash in some banks in Hungary.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
Commission paid by the user to the Barion after a successful transaction. Most of the transactions are free. See the pricing list for more details.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3869</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3869"/>
		<updated>2023-03-21T14:33:26Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* BankTransferPaymentFee */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
Bank transfer payment fee is paid by the facilitator or e-shop to the Barion after the successful payments if the customer paid by wire transfer.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
Due to a compliance decision, the Barion can block the amount of the transaction.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
Card payment is used when a customer pays with his bank card to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
Card processing fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top up with bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
Users can top up their wallets with cash in some banks in Hungary.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
Commission paid by the user to the Barion after a successful transaction. Most of the transactions are free. See the pricing list for more details.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3868</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3868"/>
		<updated>2023-03-21T14:32:31Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* BlockAmount */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
Due to a compliance decision, the Barion can block the amount of the transaction.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
Card payment is used when a customer pays with his bank card to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
Card processing fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top up with bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
Users can top up their wallets with cash in some banks in Hungary.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
Commission paid by the user to the Barion after a successful transaction. Most of the transactions are free. See the pricing list for more details.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3867</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3867"/>
		<updated>2023-03-21T14:31:25Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* CardPayment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
Card payment is used when a customer pays with his bank card to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
Card processing fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top up with bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
Users can top up their wallets with cash in some banks in Hungary.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
Commission paid by the user to the Barion after a successful transaction. Most of the transactions are free. See the pricing list for more details.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3866</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3866"/>
		<updated>2023-03-21T14:30:33Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* CardProcessingFee */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
Card processing fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top up with bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
Users can top up their wallets with cash in some banks in Hungary.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
Commission paid by the user to the Barion after a successful transaction. Most of the transactions are free. See the pricing list for more details.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3865</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3865"/>
		<updated>2023-03-21T14:30:03Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* CardTopUp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top up with bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
Users can top up their wallets with cash in some banks in Hungary.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
Commission paid by the user to the Barion after a successful transaction. Most of the transactions are free. See the pricing list for more details.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3864</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3864"/>
		<updated>2023-03-21T14:27:52Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* CashTopUp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
Users can top up their wallets with cash in some banks in Hungary.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
Commission paid by the user to the Barion after a successful transaction. Most of the transactions are free. See the pricing list for more details.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3863</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3863"/>
		<updated>2023-03-21T14:25:39Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* Comission */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
Commission paid by the user to the Barion after a successful transaction. Most of the transactions are free. See the pricing list for more details.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3862</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3862"/>
		<updated>2023-03-21T14:24:20Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* Donation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
[Deprecated]&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3861</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3861"/>
		<updated>2023-03-21T14:23:44Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* ElectronicMoneyPayment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
Electronic money payment is used when a customer pays by his wallet to the e-shop.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3860</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3860"/>
		<updated>2023-03-21T14:22:32Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* ExternalTransfer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
External transfers are used to transfer money to a non-existing user. The recipient has a specific time to claim the transaction amount.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3859</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3859"/>
		<updated>2023-03-21T14:21:11Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* GatewayFee */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
Gateway fee is paid by the facilitator or e-shop to the Barion after the successful payments.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3858</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3858"/>
		<updated>2023-03-21T14:19:54Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* InternalTransfer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
Internal transfers are used to transfer money between wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3857</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3857"/>
		<updated>2023-03-21T14:19:10Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* IssueFromCustody */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
Custody is used for unrecognized incoming wire transfers. When an unrecognized transfer is proved by the user, the Barion transfers the transaction amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3856</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3856"/>
		<updated>2023-03-21T14:16:10Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* PayeeTransaction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
Payee transactions are included in a payment transaction. These are e-money sub-transactions that are executed after the payment was fully completed. Payee transactions can be used to transfer royalties, agent fees or such to a third party, or to distribute the amount paid by the payer to multiple Barion wallets.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3855</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3855"/>
		<updated>2023-03-21T14:14:25Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* RefundToBankAccount */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank account.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3854</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3854"/>
		<updated>2023-03-21T14:14:06Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* RefundToCard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s bank card.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3853</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3853"/>
		<updated>2023-03-21T14:13:35Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* RefundToWallet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
Refund from the e-shop&#039;s wallet to the customer&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3852</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3852"/>
		<updated>2023-03-21T14:12:12Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* RejectedWithdraw */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer amount to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3851</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3851"/>
		<updated>2023-03-21T14:11:34Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* RejectedWithdrawFee */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The wire transfer was unsuccessful. In this case, Barion returns the wire transfer fee to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3850</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3850"/>
		<updated>2023-03-21T14:10:11Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* ReleaseAmount */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
The previously blocked amount is credited to the user&#039;s wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3849</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3849"/>
		<updated>2023-03-21T14:07:32Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* UnsuccessfulRefundToBankAccount */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
It is an unsuccessful refund to a bank account, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3848</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3848"/>
		<updated>2023-03-21T14:06:13Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* UnsuccessfulRefundToCard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful refund to the source bank card, the amount is credited to the wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3847</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3847"/>
		<updated>2023-03-21T14:05:02Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* UnsuccessfulTransfer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful e-money transfer to a non-existent user. The recipient did not claim the amount, so it was credited to the source wallet.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3846</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3846"/>
		<updated>2023-03-21T14:03:03Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* UnsuccessfulWithdraw */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
Unsuccessful wire transfers from the wallet to the outside of the system. The amount of the transaction is credited to the user&#039;s balance.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3845</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3845"/>
		<updated>2023-03-21T14:00:42Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* WireTopUp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
Wallet top-up transactions that are completed via wire transfer. &lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3844</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3844"/>
		<updated>2023-03-21T13:58:47Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* Withdraw */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
Wire transfers from the wallet to the outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3843</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3843"/>
		<updated>2023-03-21T13:57:09Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* WithdrawFee */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
The fee that is paid by the user to Barion after wire transfers outside of the system.&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=UserHistory-GetHistory-v3&amp;diff=3842</id>
		<title>UserHistory-GetHistory-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=UserHistory-GetHistory-v3&amp;diff=3842"/>
		<updated>2023-03-21T13:45:09Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* Input properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/UserHistory/GetHistory&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/UserHistory/GetHistory&amp;lt;/code&amp;gt; API endpoint is used to query the transaction history from the Barion system for the authenticated wallet.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=This API should not be used for reconciliation, use the [[Statement-Download-v2 | statement API]] instead.|color=#FF7A3D}}&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The item type of history elements does not correlate with the type of transactions exported through GUI or downloaded with[[Statement-Download-v2 | statement API]].|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| LastVisibleItemId || Guid ||&lt;br /&gt;
* Optional&lt;br /&gt;
 || &lt;br /&gt;
The identifier of the oldest transaction. Only transactions before the defined transaction will be included in the response.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| LastRequestTime || DateTime || &lt;br /&gt;
* Optional&lt;br /&gt;
*Universal Time Coordinated (UTC)&lt;br /&gt;
|| &lt;br /&gt;
The exact time of the last request. Only transactions after the defined request time will be included in the response.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Limit || int || &lt;br /&gt;
* Optional&lt;br /&gt;
* If not defined the default value is 20&lt;br /&gt;
* If the defined value is greater than 20 the default value will be used&lt;br /&gt;
|| &lt;br /&gt;
The expected number of transactions in the response.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Currency || string || &lt;br /&gt;
* Optional&lt;br /&gt;
* Required length: 3 characters&lt;br /&gt;
* Must be supplied in ISO 4217 format&lt;br /&gt;
Accepted values: &lt;br /&gt;
{{CurrencyList}}&lt;br /&gt;
|| The currency of the transaction. If the currency is defined, then only transactions in the same currency will be included in the response.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Id || Guid || The identifier of the transaction.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[HistoryItemType]] || The type of the transaction.&lt;br /&gt;
|-&lt;br /&gt;
| HappenedAtUtc || DateTime || The exact time when the transaction happened.&lt;br /&gt;
|-&lt;br /&gt;
| ConcurrencyOrder || int || The order of the transaction when more than one transaction happened at the same time. When only one transaction happened at a given timestamp, this value can be ignored.&lt;br /&gt;
|-&lt;br /&gt;
| SourceAccount || [[UserHistoryParticipant]] || The user who initiated the transaction or from whom the money originated.&lt;br /&gt;
|-&lt;br /&gt;
| TargetAccount || [[UserHistoryParticipant]] || The user who will receive the amount of the transaction.&lt;br /&gt;
|-&lt;br /&gt;
| Amount || decimal || The amount of the transaction.&lt;br /&gt;
|-&lt;br /&gt;
| Currency || string || The 3-character ISO 4217 currency code of the payment.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description of the transaction. Max: 640 characters.&lt;br /&gt;
|-&lt;br /&gt;
| IsInProgress || bool || This flag indicates that the transaction is not in the final state.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=UserHistory-GetHistory-v2&amp;diff=3841</id>
		<title>UserHistory-GetHistory-v2</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=UserHistory-GetHistory-v2&amp;diff=3841"/>
		<updated>2023-03-21T13:44:36Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* Input properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v2/UserHistory/GetHistory&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v2/UserHistory/GetHistory&amp;lt;/code&amp;gt; API endpoint is used to query the transaction history from the Barion system for the authenticated wallet.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=This API should not be used for reconciliation, use the [[Statement-Download-v2 | statement API]] instead.|color=#FF7A3D}}&lt;br /&gt;
{{NotificationBox|title=IMPORTANT|text=The item type of history elements does not correlate with the type of transactions exported through GUI or downloaded with[[Statement-Download-v2 | statement API]].|color=#FF7A3D}}&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| LastVisibleItemId || Guid ||&lt;br /&gt;
* Optional&lt;br /&gt;
 || &lt;br /&gt;
The identifier of the oldest transaction. Only transactions before the defined transaction will be included in the response.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| LastRequestTime || DateTime || &lt;br /&gt;
* Optional&lt;br /&gt;
*Universal Time Coordinated (UTC)&lt;br /&gt;
|| &lt;br /&gt;
The exact time of the last request. Only transactions after the defined request time will be included in the response.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Limit || int || &lt;br /&gt;
* Optional&lt;br /&gt;
* If not defined the default value is 20&lt;br /&gt;
* If the defined value is greater than 20 the default value will be used&lt;br /&gt;
|| &lt;br /&gt;
The expected number of transactions in the response.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Currency || string || &lt;br /&gt;
* Optional&lt;br /&gt;
* Required length: 3 characters&lt;br /&gt;
* Must be supplied in ISO 4217 format&lt;br /&gt;
Accepted values: &lt;br /&gt;
{{CurrencyList}}&lt;br /&gt;
|| The currency of the transaction. If the currency is defined, then only transactions in the same currency will be included in the response.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Id || Guid || The identifier of the transaction.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Type || [[HistoryItemType]] || The type of the transaction.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| HappenedAtUtc || DateTime || The exact time when the transaction happened.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| ConcurrencyOrder || int || The order of the transaction when more than one transaction happened at the same time. The default value is 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| SourceAccount || [[UserHistoryParticipant]] || The user who initiated the transaction or from whom the money originated.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| TargetAccount || [[UserHistoryParticipant]] || The user who will receive the amount of the transaction.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Amount || decimal || The amount of the transaction.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Currency || string || The 3-character ISO 4217 currency code of the payment.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| Description || string || Description of the transaction. Max: 640 characters.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| IsInProgress || bool || This flag indicates that the transaction is not in the final state.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3840</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3840"/>
		<updated>2023-03-20T13:54:59Z</updated>

		<summary type="html">&lt;p&gt;Penteki: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3839</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3839"/>
		<updated>2023-03-20T13:54:37Z</updated>

		<summary type="html">&lt;p&gt;Penteki: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3838</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3838"/>
		<updated>2023-03-20T13:52:31Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* Common structures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by the detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3837</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3837"/>
		<updated>2023-03-20T13:52:16Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* Common structures */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
The structures listed here can be referenced by individual detailers.&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3836</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3836"/>
		<updated>2023-03-20T13:42:30Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* Withdraw */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| ToAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the destination bank account.&lt;br /&gt;
|-&lt;br /&gt;
| Comment || string || The comment of the wire transfer.&lt;br /&gt;
|- &lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3835</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3835"/>
		<updated>2023-03-20T13:40:04Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* WireTopUp */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| FromAccount || [[TransactionHistory-GetDetail-v3#Bank_account_information | BankAccountInformation]] || The details of the source bank account.&lt;br /&gt;
|-&lt;br /&gt;
| WireComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3834</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3834"/>
		<updated>2023-03-20T13:34:19Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* UnsuccessfulRefundToCard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3833</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3833"/>
		<updated>2023-03-20T13:32:54Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* UnsuccessfulRefundToBankAccount */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3832</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3832"/>
		<updated>2023-03-20T13:32:00Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* ReleaseAmount */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ReleasedAmount || decimal || The amount that was released by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3831</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3831"/>
		<updated>2023-03-20T13:30:44Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* RefundToWallet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3830</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3830"/>
		<updated>2023-03-20T13:29:57Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* RefundToCard */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| ToCard || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3829</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3829"/>
		<updated>2023-03-20T13:28:54Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* RefundToBankAccount */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| OriginalPaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
	<entry>
		<id>https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3828</id>
		<title>TransactionHistory-GetDetail-v3</title>
		<link rel="alternate" type="text/html" href="https://docs.barion.com/index.php?title=TransactionHistory-GetDetail-v3&amp;diff=3828"/>
		<updated>2023-03-20T13:27:13Z</updated>

		<summary type="html">&lt;p&gt;Penteki: /* PayeeTransaction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageTitle|title=Barion API: transaction history details}}&lt;br /&gt;
&lt;br /&gt;
{{TableOfContents}}&lt;br /&gt;
&lt;br /&gt;
{{api_callmethod&lt;br /&gt;
|method=GET&lt;br /&gt;
|uri=/v3/TransactionHistory/GetDetail&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;/v3/TransactionHistory/GetDetail&amp;lt;/code&amp;gt; API endpoint is used to query the details of the specified transaction history element.&lt;br /&gt;
&lt;br /&gt;
Prerequisites before use:&lt;br /&gt;
* [[Creating_an_account|Creating an account in Barion]]&lt;br /&gt;
* [[Calling_the_API|Calling the Barion API]]&lt;br /&gt;
&lt;br /&gt;
== Authentication ==&lt;br /&gt;
&lt;br /&gt;
[[Barion Wallet Authentication]]&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
The input properties should be defined in the query string.&lt;br /&gt;
&lt;br /&gt;
{{api_input_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| ItemId || Guid || &lt;br /&gt;
* Required &lt;br /&gt;
|| The identifier of the history element.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Input properties ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Output properties ==&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| DetailInformation || custom structure || The data structure depends on the history item type. The structures are linked below.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
History item structures:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable api-table&amp;quot;&lt;br /&gt;
!History item type&lt;br /&gt;
!Link to the structure&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPayment || [[TransactionHistory-GetDetail-v3#BankTransferPayment | BankTransferPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BankTransferPaymentFee || [[TransactionHistory-GetDetail-v3#BankTransferPaymentFee | BankTransferPaymentFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| BlockAmount || [[TransactionHistory-GetDetail-v3#BlockAmount | BlockAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardPayment || [[TransactionHistory-GetDetail-v3#CardPayment | CardPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardProcessingFee || [[TransactionHistory-GetDetail-v3#CardProcessingFee | CardProcessingFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CardTopUp || [[TransactionHistory-GetDetail-v3#CardTopUp | CardTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| CashTopUp || [[TransactionHistory-GetDetail-v3#CashTopUp | CashTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Comission || [[TransactionHistory-GetDetail-v3#Comission | Comission structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Donation || [[TransactionHistory-GetDetail-v3#Donation | Donation structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ElectronicMoneyPayment || [[TransactionHistory-GetDetail-v3#ElectronicMoneyPayment | ElectronicMoneyPayment structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ExternalTransfer || [[TransactionHistory-GetDetail-v3#ExternalTransfer | ExternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| GatewayFee || [[TransactionHistory-GetDetail-v3#GatewayFee | GatewayFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| InternalTransfer || [[TransactionHistory-GetDetail-v3#InternalTransfer | InternalTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| IssueFromCustody || [[TransactionHistory-GetDetail-v3#IssueFromCustody | IssueFromCustody structure]]&lt;br /&gt;
|-&lt;br /&gt;
| PayeeTransaction || [[TransactionHistory-GetDetail-v3#PayeeTransaction | PayeeTransaction structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToBankAccount || [[TransactionHistory-GetDetail-v3#RefundToBankAccount | RefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToCard || [[TransactionHistory-GetDetail-v3#RefundToCard | RefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RefundToWallet || [[TransactionHistory-GetDetail-v3#RefundToWallet | RefundToWallet structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdraw || [[TransactionHistory-GetDetail-v3#RejectedWithdraw | RejectedWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| RejectedWithdrawFee || [[TransactionHistory-GetDetail-v3#RejectedWithdrawFee | RejectedWithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
| ReleaseAmount || [[TransactionHistory-GetDetail-v3#ReleaseAmount | ReleaseAmount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToBankAccount || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToBankAccount | UnsuccessfulRefundToBankAccount structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulRefundToCard || [[TransactionHistory-GetDetail-v3#UnsuccessfulRefundToCard | UnsuccessfulRefundToCard structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulTransfer || [[TransactionHistory-GetDetail-v3#UnsuccessfulTransfer | UnsuccessfulTransfer structure]]&lt;br /&gt;
|-&lt;br /&gt;
| UnsuccessfulWithdraw || [[TransactionHistory-GetDetail-v3#UnsuccessfulWithdraw | UnsuccessfulWithdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WireTopUp || [[TransactionHistory-GetDetail-v3#WireTopUp | WireTopUp structure]]&lt;br /&gt;
|-&lt;br /&gt;
| Withdraw || [[TransactionHistory-GetDetail-v3#Withdraw | Withdraw structure]]&lt;br /&gt;
|-&lt;br /&gt;
| WithdrawFee || [[TransactionHistory-GetDetail-v3#WithdrawFee  | WithdrawFee structure]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Custom structures ==&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BankTransferPaymentFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== BlockAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| BlockedAmount || decimal || The amount that was blocked by Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardProcessingFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId ||Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CardTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| CardUsed || [[TransactionHistory-GetDetail-v3#Card_information | Card]] || The details of the payment card used for the payment transaction.&lt;br /&gt;
|-&lt;br /&gt;
| FraudScore  || decimal || Indicating whether the transaction that this history item is representing has a chance to be a fraud.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpAuthorizationCode || string || The authorization code received by the card processing system when executing the payment.&lt;br /&gt;
|-&lt;br /&gt;
| AmountCharged || decimal || The amount that was charged from the bank card and credited to the user&#039;s wallet.&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== CashTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| Fee || decimal || The fee was paid by the user to the Barion.&lt;br /&gt;
|-&lt;br /&gt;
| TopUpComment || string || The comment of the wire transfer.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Comission ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Donation ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ElectronicMoneyPayment ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
{{PaymentDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ExternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| WasClaimed || bool || True if the recipient claimed the transaction amount. Otherwise, false.&lt;br /&gt;
|-&lt;br /&gt;
| ResolvedAt || DateTime || The exact time when the recipient claimed the transaction amount.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GatewayFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== InternalTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IssueFromCustody ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== PayeeTransaction ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
| PaymentId || Guid || The identifier of the payment transaction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RefundToWallet ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== RejectedWithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ReleaseAmount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToBankAccount ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulRefundToCard ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulTransfer ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== UnsuccessfulWithdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WireTopUp ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Withdraw ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== WithdrawFee ===&lt;br /&gt;
&lt;br /&gt;
{{TransactionHistoryDetail}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Common structures ==&lt;br /&gt;
&lt;br /&gt;
=== Purchased item ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the purchased item.&lt;br /&gt;
|-&lt;br /&gt;
| Description || string || Description about the item.&lt;br /&gt;
|-&lt;br /&gt;
| Quantity || decimal|| The quantity of the purchased items.&lt;br /&gt;
|-&lt;br /&gt;
| Unit || decimal|| The unit is the standard measure of the quantity.&lt;br /&gt;
|-&lt;br /&gt;
| UnitPrice || decimal|| The unit price shows the price of the smallest unit.&lt;br /&gt;
|-&lt;br /&gt;
| ItemTotal || decimal|| The sum of the unit price for the units.&lt;br /&gt;
|-&lt;br /&gt;
| SKU || string || A SKU is a unique code consisting of letters and numbers that identify the characteristics of each product.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Marketplace ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| Name || string || The name of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
| PublicKey || Guid|| The public key of the marketplace.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bank account information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountNumber|| string || The bank account number. It contains the full bank account number without formatting.&lt;br /&gt;
|-&lt;br /&gt;
| BankAccountOwner || string || The owner of the bank account.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Card information ===&lt;br /&gt;
&lt;br /&gt;
{{api_output_table_header}}&lt;br /&gt;
|-&lt;br /&gt;
| CardBin || string || The first 6 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| CardMaskedPan || string || The last 4 digits of the bank card number.&lt;br /&gt;
|-&lt;br /&gt;
| Type || [[CardType | CardType]] || The type of bank card.&lt;br /&gt;
|-&lt;br /&gt;
| CardSource || [[CardSource | CardSource]] || The source of the bank card.&lt;br /&gt;
|-&lt;br /&gt;
| ValidThru  || DateTime || The expiry of the payment card.&lt;br /&gt;
|-&lt;br /&gt;
| CardHolderName || string || The name written on the card.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Penteki</name></author>
	</entry>
</feed>