POST
/
accountgl
curl --request POST \
  --url https://spark.test.woodcore.co/api/v2/accountgl \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "comments": "Transfer from GL to Account",
  "credits": [],
  "currencyCode": "NGN",
  "customerAccounts": [
    {
      "amount": "30000",
      "customerAccountId": "000000458"
    }
  ],
  "debits": [
    {
      "amount": "30000",
      "glAccountId": "30"
    }
  ],
  "officeId": "1",
  "operationType": "Credit",
  "referenceNumber": "dsfvghtrhrg132evsbwd",
  "transactionDate": "17 March 2022"
}'
{}

Authorizations

Authorization
string
header
required

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

Body

Response

200 - application/json
ddddd

The response is of type object.