5 - Update Token Valuation (NAV) => order status remains "Pending Payment"

POST {{base_url_servicing}}/tokens/{{token_id}}/valuation

Update Token Valuation (NAV)

https://docs.tokeny.com/reference/tokenvaluation

There is the option to automatically set price of orders each time the NAV is updated. If this option is enabled, all orders without a price, until the date-time at the new NAV, will be processed by setting the given NAV as price.

This is an agent endpoint - make sure to input an agent bearer in the header.

Request Body

{"valuation"=>"1000", "date"=>"2022-12-07 11:00:00.000", "currency"=>"USD"}

RESPONSES

status: OK

{"id":"ed71ea99-19b7-4fb0-bbcc-ed3250a57c25","address":"0x27e55A309B7BB9DdbC70beD7dfa1431d6c816fBd","blockchainNetwork":"MUMBAI","name":"A dummy token","symbol":"ADT","logo":null,"decimals":0,"holdersNumber":0,"totalSupply":"0","createdAt":"2022-11-28T12:30:46","updatedAt":"2023-04-19T17:04:39","complianceAddress":"0x8D87EbAf517D70dD9ae147fCF1713c11d95bdD36","identityStorageAddress":"0x549Dc897428cf724F54b86e9fF7B619Bd2Fd49cB","requiredClaims":[10101010000298],"blockChain":"Ethereum","blockChainPrivacy":"Public","link":"https://explorer-mumbai.maticvigil.com/address/0x27e55A309B7BB9DdbC70beD7dfa1431d6c816fBd","protocol":"T-REX","protocolVersion":"3.1","walletCompatibility":"ERC20","tradable":true,"publishable":false,"conditionalTransfersEnabled":false,"qualificationId":null,"type":null,"lastValuationPrice":{"date":"2023-04-19T18:55:00","valuation":"1000"},"trustedIssuers":[{"address":"0x6510a033934628fDA7E960af0863088c2f7e5d18","trustedTopics":[10101010000298]}],"issuer":{"id":"2f046a55-30e6-4fc1-ba61-e463edfd385c","name":"PubliclyAvailableDummyOwnerOne"},"website":null,"linkedIn":null,"medium":null,"instagram":null,"facebook":null,"telegram":null,"faq":null,"twitter":null,"youtube":null,"currency":"USD","deploymentStatus":"DEPLOYED","deploymentAccountId":null}