Update a direct credit

Changed on

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.

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

Path parameters

idstring required

ID of the direct credit

Headers

Content-Typestring

Request body

descriptionstring

Max 18 characters, allowed chars are A-Z, 0-9, period, hyphen, ampersand, and underscore.

amountnumber float

Amount. Minimum 0.01, positive only.

bsbstring

The destination account's BSB number. Format: ###-###

account_namestring

The destination account name. Max 32 characters.

account_numberstring

The destination account number. Max 9 digits.

Response

200

successfulboolean
testboolean

Example response

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

Changes