Delete a direct debit

Changed on

A direct debit can be deleted if it has a status of New. Deleting a direct debit will update its status to Deleted, however the data will not be removed from Fat Zebra's systems.

delete/direct_debits/{id}

Request

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

Path parameters

idstring required

ID of the direct debit

Headers

Content-Typestring

Response

200

successfulboolean
testboolean

Example response

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

Changes