---
title: "Update a direct credit"
method: PUT
path: "/direct_credits/{id}"
---

# Update a direct credit

`PUT /direct_credits/{id}`

## Request

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

A direct credit can be updated if it has a status of `New`. Once direct credits have been submitted to the financial institution, they are locked and can only be updated by the Fat Zebra system.

## Path parameters

- `id` string, required

## Headers

- `Content-Type` string

## Request body

- object
  - `description` string: Max 18 characters, allowed chars are A-Z, 0-9, period, hyphen, ampersand, and underscore.
  - `amount` number, float: Amount. Minimum 0.01, positive only.
  - `bsb` string: The destination account's BSB number. Format: `###-###`
  - `account_name` string: The destination account name. Max 32 characters.
  - `account_number` string: The destination account number. Max 9 digits.

## Response `200`

200

- object
  - `successful` boolean
  - `response` object
    - `id` string
    - `amount` integer
    - `bsb` string
    - `account_number` string
    - `account_name` string
    - `description` string
    - `reference` string
    - `date` string
    - `process_date` unknown
    - `status` string
    - `result` unknown
    - `metadata` unknown
  - `errors` unknown[]
    - unknown
  - `test` boolean

## Other responses

- `422`: 422

## Changes

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

[Operation history](https://skmtc.dev/fatzebra/apis/gateway/changes/direct_credits/: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)
