#MorenoMdz - Updating Metadata
1 messages · Page 1 of 1 (latest)
Hello! I don't believe you can specify that level of granularity with restricted key permissions. You can only set the permissions shown here: https://dashboard.stripe.com/test/apikeys/create
Since you're modifying the metadata on the Transfers themselves, the key would need write access to them, which means the key can also create Transfers.
Can you tell me more about your use case? Why are you using a restricted key for this?
want to use the key this one time only and delete the key
we need to migrate a whole year of transfer to have the new metadata fields we added
Why? Is it going to be exposed in some way?
exposed no, will be shared with a few ICs internally and thats it
As long as you trust the ICs that should be fine. You can restrict it to just Transfers, but nothing more granular than that.
gotcha
while we are in this topic, are all fields in a transfer object editable or only metadata and description?
You can only edit the metadata and description of an existing Transfer: https://stripe.com/docs/api/transfers/update
sorry to ask my chrome froze trying to parse this huge JSON ill check the API docs asap hehe