This endpoint is used to capture funds from a previously authorized (held) transaction. It finalizes a payment that was initially placed on hold via card authorization. Use this when the goods or services have been fulfilled and you are ready to debit the customer’s account.
💰 Deposit a Hold
Endpoint:
POST https://secure.carusell.world/pay/complete
🕒 Recent Requests
Log in with your api_key
to view request and response history.
📥 Request Structure
You must provide the following parameters:
data
: A base64-encoded JSON string with transaction details to capture.sign
: A HMAC-SHA256 signature generated using thedata
and yoursecret_key
.
Signature formula:
sign = HMAC_SHA256(base64(data), secret_key)
🔁 Recurrent Payments
Endpoint:
POST https://secure.carusell.world/pay/recurrent
🔧 Body Parameters
Name | Type | Required | Description |
---|---|---|---|
data | string | ✅ | A base64-encoded JSON string with the transaction ID and amount to capture |
sign | string | ✅ | HMAC signature generated using the encoded data and your secret_key |
✅ Response
Status Code: 200 OK
Example:
{
"status": "captured",
"transaction_id": "txn_654321",
"message": "Funds successfully captured"
}
Once captured, the transaction becomes settled. Partial captures may be supported depending on integration settings.