POST
/
accountgl
/
system
curl --request POST \
--url https://spark.test.woodcore.co/api/v2/accountgl/system \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"officeId": "1",
"transactionDate": "31 July 2024",
"comments": "Transfer from Account to GL",
"currencyCode": "NGN",
"credits": [
{
"glAccountId": "64",
"amount": "10000"
}
],
"debits": [],
"operationType": "Debit",
"referenceNumber": "Nibss-internal-002",
"customerAccounts": [
{
"customerAccountId": "000000001",
"amount": "10000"
}
]
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json · any

The body is of type any.

Response

200 - application/json

ddddd

The response is of type object.