PaymentMethod: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
(Created page with "{{PageTitle|title=Payment completion method enumeration}} This enum indicates the method used to attempt the completion of a payment. = API usage = This enum is used by the following API endpoints: * Payment-Details-v4 = Enum list = {{api_enum_table_header}} |- | Unknown|| 0 || The completion method is not known.<br>'''Note:''' This value is not used under normal circumstances. It can only result in the payment attemp failing during the completion process which...")
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageTitle|title=Payment completion method enumeration}}
{{PageTitle|title=Payment method enumeration}}


This enum indicates the method used to attempt the completion of a payment.
This enum indicates the method used to attempt the completion of a payment.
Line 6: Line 6:


This enum is used by the following API endpoints:
This enum is used by the following API endpoints:
* [[Payment-Details-v4]]
* [[Payment-PaymentState-v4]]


= Enum list =
= Enum list =
Line 12: Line 12:
{{api_enum_table_header}}
{{api_enum_table_header}}
|-
|-
| Unknown|| 0 || The completion method is not known.<br>'''Note:''' This value is not used under normal circumstances. It can only result in the payment attemp failing during the completion process which indicates a system error.
| Unknown|| 0 || The completion method is not known yet.
|-
|-
| BarionWallet || 10 || The payment was completed with e-money payment from a Barion wallet.
| BarionWallet || 10 || The payment was completed with a funding source (e-money or bank card) from a registered Barion wallet.
|-
|-
| BankCard || 20 || The payment was completed with a bank card.
| BankCard || 20 || The payment was completed with a bank card.
|-
|-
| GooglePay || 30 || The payment was completed via Google Pay, using a bank card.
| GooglePay || 30 || The payment was completed via Google Pay, using a bank card or other means of payment.
|-
|-
| ApplePay || 40 || The payment was completed via Apple Pay, using a bank card.
| ApplePay || 40 || The payment was completed via Apple Pay, using a bank card or other means of payment.
|-
|-
| BankInitiated || 50 || The payment was completed via a bank transfer initation.
| OpenBanking || 50 || The payment was completed via a bank transfer.
|-
|-
| Other || 200 || The payment was completed by some other method.<br>'''Note:''' This is a reserved value for future method implementations, and should not be used explicitly.
| Other || 200 || The payment was completed by some other method.<br>'''Note:''' This is a reserved value for future method implementations, and should not be used explicitly.
|-
|-
|}
|}

Latest revision as of 12:53, 22 February 2024

Payment method enumeration

This enum indicates the method used to attempt the completion of a payment.

API usage

This enum is used by the following API endpoints:

Enum list

Enum value Byte / int value Description
Unknown 0 The completion method is not known yet.
BarionWallet 10 The payment was completed with a funding source (e-money or bank card) from a registered Barion wallet.
BankCard 20 The payment was completed with a bank card.
GooglePay 30 The payment was completed via Google Pay, using a bank card or other means of payment.
ApplePay 40 The payment was completed via Apple Pay, using a bank card or other means of payment.
OpenBanking 50 The payment was completed via a bank transfer.
Other 200 The payment was completed by some other method.
Note: This is a reserved value for future method implementations, and should not be used explicitly.