PaymentMethod: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user 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 14: Line 14:
| Unknown|| 0 || The completion method is not known yet.
| 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 payment initation through bank transfer.
| 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.