#sameer_57844

1 messages · Page 1 of 1 (latest)

thorny doveBOT
mortal ferry
#

hello! what API request were you trying to make with the restricted key?

tame gull
#

they are trying to create a card token

#

v1/tokens

#

{
"card": {
"name": "xxxCobb",
"number": "************4242",
"exp_month": "02",
"cvc": "",
"exp_year": "2038"
}
}

mortal ferry
#

gimme a while to take a look

tame gull
#

thanks

mortal ferry
#

Is there a reason why you're creating a card token though? You should be creating PaymentMethods

#

you'll want to edit that restricted key to be able to write for tokens

thorny doveBOT
tame gull
#

thanks Alex, I can see tokens at three different sections All core resources
All Issuing resources

#

and one other place

#

I gave access to the tokens under All core resources, and that didnt work

dire wharf
#

Hi @tame gull I'm taking over this thread

tame gull
#

req_ECK0WbOX99yQWC

#

req_ccDg9d2bhJQg1i

dire wharf
#

Thanks for the IDs, I just checked, the restricted key that you used for making these two request doesn't have permission to write tokens. Did you follow alex's suggestion to enable write for the key?

tame gull
#

yeh it was however unclear which token to give write permission on

#

Token appears under 3 sections

#

I gave write permission to the Token under All core resources and that didnt work

#

req_ECK0WbOX99yQWC
this request was made AFTER I gave them the write access to Token under All core resources section

dire wharf
#

Did you click "Apply changes" button?

tame gull
dire wharf
#

Ok, can you fresh the page and see if the change is effective?

tame gull
#

okay let me check

#

but can you confirm which Token I need to give access to ?

dire wharf
#

The token under " All core resources "

tame gull
tame gull
#

and it didnt work

dire wharf
#

Can you create a request and send me the ID?

tame gull
#

req_ECK0WbOX99yQWC

#

this was the original request before I enabled write access to the restricted key req_ImQcylBe74rJzu

dire wharf
#

I don't think you were updating the same key

#

The updated date for the key that you used to create the request is 2023-12-21

tame gull
#

okay let me recheck

#

damn you are right