---
title: "Delete a direct credit"
method: DELETE
path: "/direct_credits/{id}"
---

# Delete a direct credit

`DELETE /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 deleted if it has a status of `New`. Deleting a direct credit will update its status to `Deleted`, however the data will not be removed from Fat Zebra's systems.

## Path parameters

- `id` string, required

## Headers

- `Content-Type` string

## 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

- `404`: 404

## Changes

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

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