[Spryng] Why does the «refundTransaction» API method respond «invalid requested resource»?

I call the refundTransaction API method through the Spryng PHP SDK using the \SpryngPaymentsApiPhp\Controller\TransactionController::refund() method:

https://github.com/spryngpayments/php/blob/1aa20a7a/src/Complexity/SpryngPaymentsApiPhp/Controller/TransactionController.php#L67-L102

It makes a POST HTTP request to: https://sandbox.spryngpayments.com/v1/transaction/58a96bd2b7f62b516188beef/refund

The Spryng API server responds:

{
	"code": 110,
	"details": {
		"resource": "transaction",
		"invalid_fields": [
			"status"
		]
	},
	"message": "invalid requested resource"
}

I have got an answer from Spryng:

You can only refund transactions with the status SETTLEMENT_COMPLETED