v2

latestSwagger 2.02026-08-01139174369.1 KB
Prepayments

Creates a new Prepayment. The API accepts only the parent transaction shape and relies on shared logic to generate the reversing child transaction.

post/v1/prepayments

Request body

idinteger
acCodestring
entryDatestring date-time
procDatestring date-time
referencestring
totalnumber double
timestampstring byte
firstDetailstring
secondDetailstring

Example request

{
  "id": 12345,
  "acCode": "4000",
  "entryDate": "2024-03-01T00:00:00",
  "procDate": "2024-03-15T00:00:00",
  "reference": "PRE0001",
  "total": 1200,
  "timestamp": "UPpH5vbv3gg=",
  "firstDetail": "Insurance prepayment",
  "secondDetail": "March 2024"
}

Response

OK

object required