Transaction Retries

Yuno allows merchants to retry capture transactions that received an error response by adding a field to the Capture request . This feature is designed to enhance transaction success rates and improve user experience. By setting the simplified_mode field to true in capture requests, the system will return a SUCCEEDED status for capture transactions and automatically retry failed or pending transactions up to five times within a 24-hour period.

Benefits

  • Improved Transaction Success Rates: Automatic retries increase the likelihood of successful transaction completions, leading to higher approval rates and revenue generation.
  • Enhanced User Experience: Reduces user friction by automatically retrying failed transactions, improving overall customer satisfaction and retention.
  • Operational Efficiency: Automating retry attempts optimizes time and resources by reducing manual intervention for failed transactions, allowing teams to focus on strategic tasks.

Retry scheme

The following table describes the intervals between each request retry:

EventDeadline after the first try
First try-
Second try5 minutes
Third try50 minutes
Fourth try6 hours
Fifth try24 hours

Example

The following code block presents an example of a capture authorization request using the simplified mode.

curl --request POST \
     --url https://api-sandbox.y.uno/v1/payments/id/transactions/transaction_id/capture \
     --header 'X-Idempotency-Key: <Your X-Idempotency-Key>' \
     --header 'accept: application/json' \
     --header 'charset: utf-8' \
     --header 'content-type: application/json' \
     --header 'private-secret-key: <Your private-secret-key>' \
     --header 'public-api-key: <Your public-api-key>' \
     --data '
{
  "amount": {
    "currency": "COP",
    "value": 30000
  },
  "simplified_mode": true,
  "description": "Confirmed",
  "reason": "PRODUCT_CONFIRMED",
  "merchant_reference": "AAB01-432245"
}
'