---
title: "Update an authorization"
method: PUT
path: "/purchases/{id}"
---

# Update an authorization

`PUT /purchases/{id}`

## Request

- Base URL: `https://gateway.pmnts-sandbox.io/v1.0`
- URL: `https://gateway.pmnts-sandbox.io/v1.0/purchases/{id}`
- Auth: HTTP basic

Extend, increase authorized amount

## Path parameters

- `id` string, required

## Headers

- `Content-Type` string

## Request body

- object
  - `amount` integer: The new amount for the authorisation (where the amount is being increased from the original authorized value)
  - `extend` boolean: Indicates if an authorization extension should be processed
  - `extra` object: Extended fields, only accepted for merchants configured to support them.
    - `auth_reason` string: Reason for the authorization, used with stored-credential transactions.
    - `transaction_initiated_by` string: Who initiated the transaction, e.g. merchant or cardholder.
    - `stored_credential_indicator` string: Indicates how the stored credential is being used for this transaction.

## Response `200`

200

- object
  - `successful` boolean
  - `response` object
    - `authorization` string
    - `id` string
    - `card_number` string
    - `card_holder` string
    - `card_expiry` string
    - `card_token` string
    - `card_type` string
    - `card_category` string
    - `card_subcategory` string
    - `amount` integer
    - `decimal_amount` integer
    - `successful` boolean
    - `message` string
    - `reference` string
    - `currency` string
    - `transaction_id` string
    - `settlement_date` string
    - `transaction_date` string
    - `response_code` string
    - `captured` boolean
    - `captured_amount` integer
    - `rrn` string
    - `cvv_match` string
    - `metadata` object
    - `addendum_data` object
  - `errors` unknown[]
    - unknown

## Changes

- **2026-11-03** `a62ddbae3800`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fatzebra/apis/gateway/changes/purchases/:id/put.md)

---

[API](https://skmtc.dev/fatzebra/apis/gateway.md) - [All operations](https://skmtc.dev/fatzebra/apis/gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/fatzebra/apis/gateway/revisions/a62ddbae3800?raw)
