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

# Reverse a pre-authorisation

Reverses a pre-authorisation and releases the held funds. Pass the pre-authorisation's `reference`. Returns a flat object rather than an envelope.

```json 200 theme={null}
{
  "is_successful": true,
  "reference": "BOOKING-7781",
  "object_type": "reversal_response",
  "from_item": 0,
  "to_item": 0,
  "total_count": 0
}
```

**is\_successful** `boolean`

`true` if the reversal was approved by the processor.


## OpenAPI

````yaml POST /api/v5/Reverse
openapi: 3.0.1
info:
  title: Paychoice
  version: v5
servers: []
security:
  - basic: []
paths:
  /api/v5/Reverse:
    post:
      tags:
        - Reverse
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReverseDto'
          text/json:
            schema:
              $ref: '#/components/schemas/ReverseDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ReverseDto'
      responses:
        '200':
          description: OK
components:
  schemas:
    ReverseDto:
      type: object
      properties:
        reference:
          type: string
          nullable: true
        charge_id:
          type: string
          nullable: true
        merchant_guid:
          type: string
          nullable: true
      additionalProperties: false
  securitySchemes:
    basic:
      type: http
      description: Basic Authorization header using the Bearer scheme.
      scheme: basic

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.