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"
}
]
}'
{}
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"
}
]
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The body is of type any
.
ddddd
The response is of type object
.