> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paybyrd.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Release

The release operation releases an amount reserved through a pre-authorization.

By default, pre-authorizations that are not captured or released expire after 30 days.

<Info>You can only release an authorization or pre authorization that was not captured.</Info>

## Release a payment

The following example releases a transaction and shows the response:

```bash theme={null}
curl --request POST \
 --url https://gateway.paybyrd.com/api/v2/release/transactionId/4faa13cd-f6ff-414e-b5bd-b61d1e72e418 \
 --header 'Accept: application/json' \
 --header 'Content-Type: application/json' \
 --data '{"amount":"10.00"}'
```

```json theme={null}
{
 "sourceTransaction": {
   "releasedAmount": "10.00",
   "remainingAmount": "0.00",
   "transactionId": "4faa13cd-f6ff-414e-b5bd-b61d1e72e418",
   "amount": "10.00"
 },
 "code": "BYRD200",
 "description": "Operation successfully completed",
 "transactionId": "c16ce479-319d-4e7b-a966-7735c34b2cc5",
 "amount": "10.00"
}
```

See the [full API reference](/api-reference/transactions/release) for all request parameters and response fields.
