cancel
Showing results for 
Search instead for 
Did you mean: 

PRIOR_AUTH_CAPTURE with an amount of 0

Hi,
    I have a question regarding pre-auth/capture.

If I send a transaction with x_type=PRIOR_AUTH_CAPTURE and n specified amount of 0 (x_amount=0.0) will it complete the authorized transaction with the original amount or will the payment be completed with an amount of 0?

Based on the documentation, I would expect the authorisation to be completed with an amount of 0.

Documentation from AIM_guide:
The unique field requirements for a Prior Authorization and Capture are:
* x_type=PRIOR_AUTH_CAPTURE
* x_trans_id=Transaction ID here

For this transaction type, the amount field (x_amount) is only required in the event that a Prior Authorization and Capture is submitted for an amount that is less than the amount of the original Authorization Only transaction. If no amount is submitted, the payment gateway will initiate settlement for the amount of the original authorized transaction.

Regards
Sebastien

srichard
Member
1 REPLY 1

 

Hi srichard,

 

Your first statement is correct. When you run a prior_auth_capture request for 0 dollar, this will process the full original authorized amount. If you want to run a prior_auth_capture that is less than the original authorized amount then you will need put a value in the amount field and not 0.

 

Thanks,

Joy

Joy
Administrator Administrator
Administrator