Redsys Preauthorization Operations
Preauthorization (preautorización) reserves an amount without charging immediately. The operation is valid for 7-30 days and only works with VISA and MasterCard. After preauthorization, you can confirm the operation to charge the cardholder.
Step 1: Preauthorization
Create a preauthorization operation to reserve an amount. The cardholder will go through the payment flow and the amount will be reserved but not charged until confirmation. The operation is valid for 7-30 days depending on your bank's policy.
Step 2: Confirm Preauthorization
After a successful preauthorization, confirm the operation to charge the cardholder. You can confirm the full amount or a partial amount (less than or equal to the original preauthorization amount). Redsys responds with code 0900 when the confirmation succeeds.
Tips
- Preauthorization only works with VISA and MasterCard cards. Other card types are not supported.
- The preauthorization operation is valid for 7 days by default, but can be extended up to 30 days depending on your bank's policy. You must confirm within this period.
- The amount sent in preauthorization will be reserved on the cardholder's account but not charged until confirmation.
- Keep the Ds_Order from the preauthorization—you'll need it to confirm the operation.
- Partial confirmations are allowed. Any unconfirmed amount will be released to the cardholder after the retention period expires.
- The cardholder will go through the full payment flow including 3D Secure authentication if required. The amount will appear as reserved but not charged until confirmation.
- Confirmation uses transaction type 2 and expects response code
0900(not0000).