We support pre-authorized workflow on Cards and UPI. Please reach out to [[email protected]](🔗) to enable this workflow for your account.
Once the pre-authorization workflow is activated for your account, you will need to ensure that you capture or void every eligible payment on this workflow.
# Step 1 (Payment)
If the pre-authorization workflow is enabled for your account, you might need to provide additional details to Cashfree in the `
/orders/pay` request. This is specific to UPI (and you don't need to send these details for card based pre-authorization workflow).
In case of UPI, once you have created the order [Create Order](🔗), you will need to call [Order Pay](🔗) with the following details.
The following parameters have been added to the upi object - `
authorization`. The `
authorization` object contains the following attributes
approve_by` - The time by when customer needs to approve this one time mandate request
start_time` - The time when the mandate should start
end_time` - The time until when the mandate hold will be on customer's bank account. You can call capture and void until this time.
The capture workflow helps you to capture the payment and move it from customers bank account to your bank account.
We support partial capture only for UPI and not for card payments.
The void workflow helps you to refund the payment back to the customer and not bear any cost on it. Please note that you can only void the entire payment.