curl --location -g --request POST 'https://.daftra.com/api2/treasuries' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"Treasury": {
"staff_id": 0,
"name": "string",
"type": "1 => Bank",
"type_name": null,
"type_account_number": null,
"active": true,
"is_primary": true,
"description": "string"
}
}'
{
"code": 202,
"result": "successful",
"id": "2415"
}