API Reference
Delete a direct credit
DELETE
/direct_credits/{id}Query Parameters
idstringID of the direct credit
Request
curl
curl https://gateway.pmnts-sandbox.io/v1.0/direct_credits/071-DC-RT8G3YV -X DELETE -u TEST:TESTResponse
200Result
json
{
"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",
"process_date": null,
"status": "Deleted",
"result": null,
"metadata": null
},
"errors": [],
"test": true
}404Result
json
{
"successful": false,
"response": null,
"errors": [
"Direct Credit 071-DC-ABC123 could not be found."
],
"test": true
}