All error codes

transfer_closed

HTTP 409 The transfer request is already closed

What happened

The request is no longer in a state this action works on: it was completed, cancelled, declined, failed, or accepted a moment ago by another call. The detail names its status.

What to do

Read the request with GET /v1/transfers/{id} and act on its status. A transfer cannot be reopened: create a new request if needed.

Retrying

Repeating this request will not help.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/transfer_closed",
    "title": "The transfer request is already closed",
    "status": 409,
    "code": "transfer_closed",
    "request_id": "a277dcd1ca652c65"
}

Branch your code on code, never on the wording of title.