Void a transaction/payment capture

lthomas1
New Member
12 0 0

Hi,
I have an authorized transaction on my Store. Sometimes the payment capture will be less than the authorized amount, so before I capture the amount, I try to void the remaining amount. 

But when I try to POST a void payload to transactions api - my whole capture amount is being voided, not the amount I passed on the payload. 

Can anyone help me on this ?

 

Below is my payload to transactions.json

{
"transaction": {
"currency": "CAD",
"amount": 366.685,
"kind": "void",
"parent_id": 3275773214816
}
}

 

Instead of 366.685 it voided the entire order.

Any help is appreciated.

 

Thanks

0 Likes