Delete a direct credit

Changed on

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.

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

Path parameters

idstring required

ID of the direct credit

Headers

Content-Typestring

Response

200

successfulboolean
testboolean

Example response

{
  "successful": true,
  "response": {
    "id": "071-DC-RT8G3YV",
    "amount": 42,
    "bsb": "123-123",
    "account_number": "000000000",
    "account_name": "Test 2",
    "description": "Confirmation",
    "reference": "071-DC-RT8G3YV",
    "date": "2018-09-14",
    "status": "Deleted"
  },
  "test": true
}

Changes