Transactions

Queue recovery

Recover stuck queued transactions with the Go SDK.

POST/transactions/recover

Use client.Transaction.RecoverQueue to retry queued transactions.

Call the method

result, _, _ := client.Transaction.RecoverQueue(blnkgo.RecoverQueueRequest{
	Threshold: "5m",
})
FieldTypeDescription
ThresholdstringMinimum age of transactions to recover (for example 5m, 1h). Default 2m. Minimum 2 minutes.

Response

{
  "recovered": 3,
  "threshold": "5m0s"
}

Go response (*blnkgo.RecoverQueueResponse)

FieldTypeDescription
RecoveredintNumber of transactions re-enqueued for processing.
ThresholdstringThreshold duration that was used.