There is a maximum time of 7 calendar days to make the capture. After that time, the amount withheld from the credit card will be released. Transbank does not allow the release of the approved amount if it is not captured within 7 days.
ticketNumber provided as a response to the authorization request.curl --location 'https://api-uat.kushkipagos.com/subscriptions/v1/card//capture' \
--header 'Private-Merchant-Id;' \
--header 'Content-Type: application/json' \
--data '{
"ticketNumber": "319228478889680318",
"amount": {
"subtotalIva": 0,
"subtotalIva0": 10000,
"iva": 0,
"ice": 0,
"currency": "CLP"
},
"fullResponse": "v2"
}'{
"details": {
"approvalCode": "000000",
"approvedTransactionAmount": 600,
"binInfo": {
"bank": "BANCO DE LA PRODUCCION S.A. (PRODUBANCO)",
"type": "",
"binCard": "545195",
"lastFourDigits": "5480"
},
"merchantId": "20000000104111374001",
"merchantName": "Mi Comercio Chile",
"paymentBrand": "Master Card",
"preauthTransactionReference": "ece6bc01-b639-4338-9d40-6e0baa6cd48b",
"processorBankName": "0032~BANCO INTERNACIONAL",
"responseCode": "000",
"responseText": "Transacción aprobada",
"ticketNumber": "605303508109325273",
"transactionReference": "ece6bc01-b639-4338-9d40-6e0baa6cd48b",
"transactionType": "CAPTURE",
"amount": {
"currency": "CLP",
"subtotalIva": 0,
"iva": 0,
"subtotalIva0": 600,
"ice": 0
},
"created": 1658358438000,
"requestAmount": 600,
"transactionStatus": "APPROVAL"
},
"ticketNumber": "605303508109325273",
"transactionReference": "ece6bc01-b639-4338-9d40-6e0baa6cd48b"
}