TransactionType: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
(added non-payment-related transaction types - extra column to indicate whether an item is payment-related coming up)
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
= Enum list =
= Enum list =


{{api_enum_table_header}}
{|
|-
|-
| Commission || 0 || E-money transfer fee. Always waived (0).
! Enum value !! Byte/int value !! Payment-related? !! Description
|-
|-
| Shop || 1 || Completed e-money payment between a user and a shop.
| Commission || 0 || No || E-money transfer fee. Always waived (0).
|-
|-
| TransferToExistingUser || 2 || E-money transfer between two existing Barion users.
| Shop || 1 || Yes || Completed e-money payment between a user and a shop.
|-
|-
| TransferToTechnicalAccount || 3 || E-money transfer from an existing Barion user to a not existing user.
| TransferToExistingUser || 2 || No || E-money transfer between two existing Barion users.
|-
|-
| EMoneyTransferFromTechnicalAccount || 4 || E-money credited to a Barion Wallet that wasn't yet created at the time of the transfer.
| TransferToTechnicalAccount || 3 || No || E-money transfer from an existing Barion user to a currently non-existent user.
|-
|-
| EMoneyStornoFromTechnicalAccount || 6 || E-money credited back to the source Barion Wallet after the target, non-existent Barion Wallet hasn't been created to claim it.
| EMoneyTransferFromTechnicalAccount || 4 || No || E-money credited to a Barion Wallet that wasn't yet created at the time of the transfer.
|-
|-
| DomesticBankTansferWithdrawFee || 7 || Fee of a bank transfer to a bank account in the same currency.
| EMoneyStornoFromTechnicalAccount || 6 || No || E-money credited back to the source Barion Wallet after the target, non-existent Barion Wallet hasn't been created to claim it.
|-
|-
| AccountClosureFee || 8 || Fee of closing a Barion Wallet.
| DomesticBankTansferWithdrawFee || 7 || No || Fee of a bank transfer to a bank account in the same currency.
|-
|-
| BankTransferWithdrawFeeStorno || 9 || Fee of cancelling a Barion Wallet-to-bank account transfer when declined by the bank holding Barion's transaction account in the target currency.
| AccountClosureFee || 8 || No || Fee of closing a Barion Wallet.
|-
|-
| CashTopUpFee || 11 || Fee charged for topping up a Barion Wallet using cash at a bank branch.
| BankTransferWithdrawFeeStorno || 9 || No || Fee of cancelling a Barion Wallet-to-bank account transfer when declined by the bank holding Barion's transaction account in the target currency.
|-
|-
| ForeignBankTransferTopUpFee || 13 || Fee incurred for topping up a Barion Wallet from a bank account held in a country where Barion doesn't have a domestic bank account.
| CashTopUpFee || 11 || No || Fee charged for topping up a Barion Wallet using cash at a bank branch.
|-
|-
| ForeignBankTransferWithdrawFee || 14 || Fee incurred when transferring money from a Barion Wallet to a bank account held in a country where Barion doesn't have a domestic bank account.
| ForeignBankTransferTopUpFee || 13 || No || Fee incurred for topping up a Barion Wallet from a bank account held in a country where Barion doesn't have a domestic bank account.
|-
|-
| ForeignAccountClosureFee || 15 || Fee incurred when emptying a Barion Wallet when it's closed into a bank account held in a country where Barion doesn't have a domestic bank account.
| ForeignBankTransferWithdrawFee || 14 || No || Fee incurred when transferring money from a Barion Wallet to a bank account held in a country where Barion doesn't have a domestic bank account.
|-
|-
| Reserve || 16 || Reserved payment between a user and a shop.
| ForeignAccountClosureFee || 15 || No || Fee incurred when emptying a Barion Wallet when it's closed into a bank account held in a country where Barion doesn't have a domestic bank account.
|-
|-
| StornoReserve || 17 || Storno amount from a previously reserved payment, if it was finished with a lower amount.
| Reserve || 16 || Yes || Reserved payment between a user and a shop.
|-
|-
| CardTopUpFee || 20 || Fee incurred when topping up a Barion Wallet using a bank card.
| StornoReserve || 17 || Yes || Storno amount from a previously reserved payment, if it was finished with a lower amount.
|-
|-
| CardProcessingFee || 21 || Bank card processing fee deducted from the shop by the Barion system.
| CardTopUpFee || 20 || No || Fee incurred when topping up a Barion Wallet using a bank card.
|-
|-
| GatewayFee || 22 || The Barion Smart Gateway fee deducted from the shop by the Barion system.
| CardProcessingFee || 21 || Yes || Bank card processing fee deducted from the shop by the Barion system.
|-
|-
| CardProcessingFeeStorno || 23 || The previously reserved bank card processing fee returned to the shop if the user paid with their Barion wallet.
| GatewayFee || 22 || Yes || The Barion Smart Gateway fee deducted from the shop by the Barion system.
|-
|-
| Unspecified || 100 || The transaction is just a placeholder, the type will be determined later on.
| CardProcessingFeeStorno || 23 || Yes || The previously reserved bank card processing fee returned to the shop if the user paid with their Barion wallet.
|-
|-
| DomesticBankTransferTopUp || 101 || The amount credited to a Barion Wallet in a top-up using bank transfer.
| Unspecified || 100 || No/Yes || The transaction is just a placeholder, the type will be determined later on.
|-
|-
| DomesticBankTransferWithdraw || 102 || The amount debited from a Barion Wallet when money is transferred to a bank account.
| DomesticBankTransferTopUp || 101 || No || The amount credited to a Barion Wallet in a top-up using bank transfer.
|-
|-
| CashTopUp || 107 || The amount credited to a Barion Wallet in a cash top-up.
| DomesticBankTransferWithdraw || 102 || No || The amount debited from a Barion Wallet when money is transferred to a bank account.
|-
|-
| ForeignBankTransferTopUp || 108 || The amount credited to a Barion Wallet from a bank transfer from a bank in a country where Barion doesn't have a domestic bank account.
| CashTopUp || 107 || No || The amount credited to a Barion Wallet in a cash top-up.
|-
|-
| ForeignBankTransferTopUpProcessingFee || 109 || Fee charged after a Barion Wallet top-up originating from a bank in a country where Barion doesn't have a domestic bank account.
| ForeignBankTransferTopUp || 108 || No || The amount credited to a Barion Wallet from a bank transfer from a bank in a country where Barion doesn't have a domestic bank account.
|-
|-
| CashTopUpProcessingFee || 110 || The fee charged for handling a manual cash top-up to a non-existent (usually mistyped) Barion Wallet.
| ForeignBankTransferTopUpProcessingFee || 109 || No || Fee charged after a Barion Wallet top-up originating from a bank in a country where Barion doesn't have a domestic bank account.
|-
|-
| CustodyMonthlyFee || 111 || Monthly fee of keeping money in custody.
| CashTopUpProcessingFee || 110 || No || The fee charged for handling a manual cash top-up to a non-existent (usually mistyped) Barion Wallet.
|-
|-
| ForeignBankTransferWithdraw || 112 || Amount transferred out of a Barion Wallet into a bank account in a country where Barion doesn't have a domestic bank account.
| CustodyMonthlyFee || 111 || No || Monthly fee of keeping money in custody.
|-
|-
| IncomingBankTransferReversion || 113 || The amount transferred back to a bank account when the recipient Barion Wallet couldn't be determined.
| ForeignBankTransferWithdraw || 112 || No || Amount transferred out of a Barion Wallet into a bank account in a country where Barion doesn't have a domestic bank account.
|-
|-
| CardTopUp || 116 || The amount credited to a Barion Wallet during a top-up using a bank card.
| IncomingBankTransferReversion || 113 || No || The amount transferred back to a bank account when the recipient Barion Wallet couldn't be determined.
|-
|-
| CardAcquiringFee || 118 || Fee paid by Barion to a card acquirer during a transaction using a bank card.
| CardTopUp || 116 || No || The amount credited to a Barion Wallet during a top-up using a bank card.
|-
|-
| CardAcquiringFeeStorno || 121 || Refund of card acquirer fee when a transaction using a bank card falls through.
| CardAcquiringFee || 118 || Yes || Fee paid by Barion to a card acquirer during a transaction using a bank card.
|-
|-
| CardPayment || 150 || Bank card payment between a user and a shop.
| CardAcquiringFeeStorno || 121 || Yes || Refund of card acquirer fee when a transaction using a bank card falls through.
|-
|-
| Refund|| 151 || Refund of a payment to a Barion wallet.
| CardPayment || 150 || Yes || Bank card payment between a user and a shop.
|-
|-
| RefundToBankCard || 152 || Refund of a payment to a bank card.
| Refund|| 151 || Yes || Refund of a payment to a Barion wallet.
|-
|-
| StornoUnSuccessfulRefundToBankCard || 153 || Storno of an unsuccessful refund to a bank card to the shop.
| RefundToBankCard || 152 || Yes || Refund of a payment to a bank card.
|-
|-
| UnderReview|| 180 || Payment is under investigation
| StornoUnSuccessfulRefundToBankCard || 153 || Yes || Storno of an unsuccessful refund to a bank card to the shop.
|-
|-
| ReleaseReview|| 190 || Payment is released from investigation
| UnderReview|| 180 || Yes || Payment is under investigation.
|-
|-
| BankTransferPayment|| 200 || Bank transfer payment between customer and shop. Used in [[Payment_Buttons|payment button]] scenarios.
| ReleaseReview|| 190 || Yes || Payment is released from investigation.
|-
|-
| RefundToBankAccount|| 201 || Refund of a payment to a bank account. Used in [[Payment_Buttons|payment button]] scenarios.
| BankTransferPayment|| 200 || Yes || Bank transfer payment between customer and shop. Used in [[Payment_Buttons|payment button]] scenarios.
|-
|-
| StornoUnSuccessfulRefundToBankAccount || 202 || Storno of an unsuccessful refund to a bank account. Used in [[Payment_Buttons|payment button]] scenarios.
| RefundToBankAccount|| 201 || Yes || Refund of a payment to a bank account. Used in [[Payment_Buttons|payment button]] scenarios.
|-
|-
| 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.
| StornoUnSuccessfulRefundToBankAccount || 202 || Yes || Storno of an unsuccessful refund to a bank account. Used in [[Payment_Buttons|payment button]] scenarios.
|-
|-
| 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.
| BankTransferPaymentFee || 203 ||  Yes || The fee is deducted from the shop by the Barion system for using the bank transfer payment. Used in [[Payment_Buttons|payment button]] scenarios.
|-
| BarionBalanceProcessingFee || 204 || Yes || 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.
|-
|-
|}
|}

Revision as of 14:31, 1 April 2024

Transaction type enumeration

This enum indicates the type of a transaction.

Included in

Transaction types are used in the following structures:

Enum list

Enum value Byte/int value Payment-related? Description
Commission 0 No E-money transfer fee. Always waived (0).
Shop 1 Yes Completed e-money payment between a user and a shop.
TransferToExistingUser 2 No E-money transfer between two existing Barion users.
TransferToTechnicalAccount 3 No E-money transfer from an existing Barion user to a currently non-existent user.
EMoneyTransferFromTechnicalAccount 4 No E-money credited to a Barion Wallet that wasn't yet created at the time of the transfer.
EMoneyStornoFromTechnicalAccount 6 No E-money credited back to the source Barion Wallet after the target, non-existent Barion Wallet hasn't been created to claim it.
DomesticBankTansferWithdrawFee 7 No Fee of a bank transfer to a bank account in the same currency.
AccountClosureFee 8 No Fee of closing a Barion Wallet.
BankTransferWithdrawFeeStorno 9 No Fee of cancelling a Barion Wallet-to-bank account transfer when declined by the bank holding Barion's transaction account in the target currency.
CashTopUpFee 11 No Fee charged for topping up a Barion Wallet using cash at a bank branch.
ForeignBankTransferTopUpFee 13 No Fee incurred for topping up a Barion Wallet from a bank account held in a country where Barion doesn't have a domestic bank account.
ForeignBankTransferWithdrawFee 14 No Fee incurred when transferring money from a Barion Wallet to a bank account held in a country where Barion doesn't have a domestic bank account.
ForeignAccountClosureFee 15 No Fee incurred when emptying a Barion Wallet when it's closed into a bank account held in a country where Barion doesn't have a domestic bank account.
Reserve 16 Yes Reserved payment between a user and a shop.
StornoReserve 17 Yes Storno amount from a previously reserved payment, if it was finished with a lower amount.
CardTopUpFee 20 No Fee incurred when topping up a Barion Wallet using a bank card.
CardProcessingFee 21 Yes Bank card processing fee deducted from the shop by the Barion system.
GatewayFee 22 Yes The Barion Smart Gateway fee deducted from the shop by the Barion system.
CardProcessingFeeStorno 23 Yes The previously reserved bank card processing fee returned to the shop if the user paid with their Barion wallet.
Unspecified 100 No/Yes The transaction is just a placeholder, the type will be determined later on.
DomesticBankTransferTopUp 101 No The amount credited to a Barion Wallet in a top-up using bank transfer.
DomesticBankTransferWithdraw 102 No The amount debited from a Barion Wallet when money is transferred to a bank account.
CashTopUp 107 No The amount credited to a Barion Wallet in a cash top-up.
ForeignBankTransferTopUp 108 No The amount credited to a Barion Wallet from a bank transfer from a bank in a country where Barion doesn't have a domestic bank account.
ForeignBankTransferTopUpProcessingFee 109 No Fee charged after a Barion Wallet top-up originating from a bank in a country where Barion doesn't have a domestic bank account.
CashTopUpProcessingFee 110 No The fee charged for handling a manual cash top-up to a non-existent (usually mistyped) Barion Wallet.
CustodyMonthlyFee 111 No Monthly fee of keeping money in custody.
ForeignBankTransferWithdraw 112 No Amount transferred out of a Barion Wallet into a bank account in a country where Barion doesn't have a domestic bank account.
IncomingBankTransferReversion 113 No The amount transferred back to a bank account when the recipient Barion Wallet couldn't be determined.
CardTopUp 116 No The amount credited to a Barion Wallet during a top-up using a bank card.
CardAcquiringFee 118 Yes Fee paid by Barion to a card acquirer during a transaction using a bank card.
CardAcquiringFeeStorno 121 Yes Refund of card acquirer fee when a transaction using a bank card falls through.
CardPayment 150 Yes Bank card payment between a user and a shop.
Refund 151 Yes Refund of a payment to a Barion wallet.
RefundToBankCard 152 Yes Refund of a payment to a bank card.
StornoUnSuccessfulRefundToBankCard 153 Yes Storno of an unsuccessful refund to a bank card to the shop.
UnderReview 180 Yes Payment is under investigation.
ReleaseReview 190 Yes Payment is released from investigation.
BankTransferPayment 200 Yes Bank transfer payment between customer and shop. Used in payment button scenarios.
RefundToBankAccount 201 Yes Refund of a payment to a bank account. Used in payment button scenarios.
StornoUnSuccessfulRefundToBankAccount 202 Yes Storno of an unsuccessful refund to a bank account. Used in payment button scenarios.
BankTransferPaymentFee 203 Yes The fee is deducted from the shop by the Barion system for using the bank transfer payment. Used in payment button scenarios.
BarionBalanceProcessingFee 204 Yes 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.