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
- String
-
Applied3DSVersion
BrowserInfo
-
Browser Info
- String
-
ID of the pre-authorized card
Money
-
Information about the funds being debited
PreAuthorizationExecutionType
-
How the pre-authorization was executed
- Integer
-
Date by when the payment should be processed (UNIX timestamp)
- String
-
IpAddress
- true/false
-
True if the Multi Capture was used
- String
-
ID of the associated Pay-in
PaymentStatus
-
Its pre-authorized payment status
Can be set to CANCELED
if needed
Money
-
Information about the remaining funds
- String
-
Requested3DSVersion
- String
-
Its result code
- String
-
Explanation of its result
SecureMode
-
The Secure Mode Corresponds to '3D secure' for CB Visa and
Mastercard. This field allows manual activation.
- true/false
-
True if the Secure Mode was used
- String
-
URL which to redirect users to in order to proceed
to 3D secure validation
- String
-
URL which users are automatically redirected to
after 3D secure validation
SecurityInfo
-
Security & validation information
PreAuthorizationStatus
-
Its status