class MangoModel::PreAuthorization

Pre-Authorization entity The Pre-Authorization object ensures the solvency of a registered card for 7 days.

The overall process is as follows: Register a card (CardRegistration) Create a PreAuthorization with the CardId. This allows you to charge an amount on a card Charge the card through the PreAuthorized PayIn object (Payins/preauthorized/direct)

How does PreAuthorization work? Once the PreAuthorization object is created the Status is “CREATED” until 3D secure validation. If the authorization is successful the status is “SUCCEEDED” if it failed the status is “FAILED”. Once Status = “SUCCEEDED” and PaymentStatus = “WAITING” you can charge the card. The Pay-In amount has to be less than or equal to the amount authorized.

Attributes

applied_3ds_version[RW]
String

Applied3DSVersion

author_id[RW]
String

Its authoring user's ID

billing[RW]
Billing

Billing information

browser_info[RW]
BrowserInfo

Browser Info

card_id[RW]
String

ID of the pre-authorized card

debited_funds[RW]
Money

Information about the funds being debited

execution_type[RW]
PreAuthorizationExecutionType

How the pre-authorization was executed

expiration_date[RW]
Integer

Date by when the payment should be processed (UNIX timestamp)

ip_address[RW]
String

IpAddress

multi_capture[RW]
true/false

True if the Multi Capture was used

pay_in_id[RW]
String

ID of the associated Pay-in

payment_status[RW]
PaymentStatus

Its pre-authorized payment status

Can be set to CANCELED if needed

remaining_funds[RW]
Money

Information about the remaining funds

requested_3ds_version[RW]
String

Requested3DSVersion

result_code[RW]
String

Its result code

result_message[RW]
String

Explanation of its result

secure_mode[RW]
SecureMode

The Secure Mode Corresponds to '3D secure' for CB Visa and

Mastercard. This field allows manual activation.

secure_mode_needed[RW]
true/false

True if the Secure Mode was used

secure_mode_redirect_url[RW]
String

URL which to redirect users to in order to proceed

to 3D secure validation

secure_mode_return_url[RW]
String

URL which users are automatically redirected to

after 3D secure validation

security_info[RW]
SecurityInfo

Security & validation information

shipping[RW]
Shipping

Shipping information

status[RW]