tatum配置hmacSecret
2026-07-23 03:56PM
参考链接:https://docs.tatum.io/docs/authenticating-notification-webhooks
具体实现:
在命令行里面使用 curl 来设置
curl --location --request PUT 'https://api.tatum.io/v4/subscription' \ --header 'Content-Type: application/json' \ --header 'x-api-key: {API_KEY} ' \ --data '{ "hmacSecret": "c354b83b-d31b-4dda-9bab-d6a67715a1ed" }' // Response 204 No Contentcurl --location --request PUT 'https://api.tatum.io/v4/subscription' \ --header 'Content-Type: application/json' \ --header 'x-api-key: {API_KEY} ' \ --data '{ "hmacSecret": "c354b83b-d31b-4dda-9bab-d6a67715a1ed" }' // Response 204 No Contentcurl --location --request PUT 'https://api.tatum.io/v4/subscription' \ --header 'Content-Type: application/json' \ --header 'x-api-key: {API_KEY} ' \ --data '{ "hmacSecret": "c354b83b-d31b-4dda-9bab-d6a67715a1ed" }' // Response 204 No Content
curl --location --request PUT 'https://api.tatum.io/v4/subscription' \
--header 'Content-Type: application/json' \
--header 'x-api-key: {API_KEY} ' \
--data '{
"hmacSecret": "c354b83b-d31b-4dda-9bab-d6a67715a1ed" // 你的hmacSecret
}'
// Response
204 No Content
使用了curl命令之后没有任何输出是正常的,这样就可以了。
登录
请登录后再发表评论。
评论列表:
目前还没有人发表评论