Authorization: Bearer ********************X-API-Key: ********************curl --location --request POST '/contracts/updateEarnings?contractId=undefined&onlyPendingUpdate=undefined' \
--header 'Authorization: Bearer <token>' \
--header 'X-API-Key: <api-key>'{}