Skip to content

Latest commit

 

History

History
55 lines (46 loc) · 4.82 KB

PaymentStateResponse.md

File metadata and controls

55 lines (46 loc) · 4.82 KB

PaymentStateResponse

Properties

Name Type Description Notes
payment_id str The identifier of the payment in the Barion system. [optional]
payment_request_id str The identifier of the payment in the shop's system. [optional]
posid str The public identifier of the shop that created the payment. [optional]
pos_name str The name of the shop that created the payment. [optional]
pos_owner_email str The e-mail address of the owner of the shop that created the payment. [optional]
pos_owner_country str ISO2 country code of the owner of the shop that created the payment. [optional]
status str The status of the payment in the Barion system. [optional]
payment_type PaymentType The type of the payment. [optional]
allowed_funding_sources List[str] The allowed funding sources that were defined when creating the payment. ⚠️ Note ⚠️: Barion's documentation is contradictory, as it refers to the bankcard as a `Card` in some places and as a `BankCard` in others, and does not mention it in others. Therefore we do not use `FundingResource` here. [optional]
funding_source str The funding source that was used to complete the payment. ⚠️ Note ⚠️: Barion's documentation is contradictory as it should be of the `FundingSource` type. [optional]
funding_information FundingInformation Detailed information about the funding source that was used to complete the payment. [optional]
recurrence_type str This enum indicates the type of recurrence that the payment represents. [optional]
trace_id str The Trace Id that identifies that recurring scenario. [optional]
guest_checkout bool Indicates whether the payment allows guest checkout. [optional]
created_at datetime The locale-specific payment creation timestamp. [optional]
completed_at datetime The locale-specific payment completion timestamp. If the payment is not yet completed, this is empty. [optional]
valid_until datetime The payment must be completed before this locale-specific payment expiration timestamp. [optional]
reserved_until datetime If the payment is a reservation, the shop's owner has until this locale-specific expiration timestamp to finish it. If the payment isn't a reservation, this is empty. [optional]
delayed_capture_until datetime If the payment is a delayed capture, the shop owner has until this locale-specific expiration timestamp to capture it. If the payment isn't a delayed capture, this is empty. [optional]
transactions List[DetailedPaymentTransaction] [optional]
total float The total amount of the payment at the time of the request to the endpoint. [optional]
currency str The currency of the payment. Must be supplied in ISO 4217 format. This affects all transactions included in the payment; it is not possible to define multiple transactions in different currencies. [optional]
suggested_locale str Indicates the language that the Barion Smart Gateway should be displayed to the payer. [optional]
fraud_risk_score int A risk score computed by the anti-fraud analysis, ranging from 0 (completely legit) to 100 (certain fraud). [optional]
callback_url str The URL (including the payment identifier) where the Barion system will send (or has already sent) a request to whenever there is a change in the state of the payment. [optional]
redirect_url str The URL (including the payment identifier) where the payer gets (or has already got) redirected to after the payment is, or was completed, or cancelled. [optional]
payment_method str Enumerates the completion method of a payment transaction. [optional]

Example

from clientapi_barion.models.payment_state_response import PaymentStateResponse

# TODO update the JSON string below
json = "{}"
# create an instance of PaymentStateResponse from a JSON string
payment_state_response_instance = PaymentStateResponse.from_json(json)
# print the JSON string representation of the object
print(PaymentStateResponse.to_json())

# convert the object into a dict
payment_state_response_dict = payment_state_response_instance.to_dict()
# create an instance of PaymentStateResponse from a dict
payment_state_response_from_dict = PaymentStateResponse.from_dict(payment_state_response_dict)

[Back to Model list] [Back to API list] [Back to README]