December 3, 2024
cancel
Showing results for 
Search instead for 
Did you mean: 
Help
">Developer Blogs

Can I use a User Token to Set a PIN?

daviaquinobt
New Contributor

Can I use a User Auth Token in Authorization header to call  PUT /pin?

I don't have any concerns with PCI Compliance, we are Level 1.

2 REPLIES 2

AnnGMQ
New Contributor

Hi, and thanks for the question! Does this article answer your question? 

Drew
Marqeta Staff
Marqeta Staff

Hello! Use your API authorization token in the header, and a PIN control token in the PUT /pins call. You cannot use a user token when creating or updating a PIN using the PINs API.

For more information about headers, see https://www.marqeta.com/docs/core-api/headers
For more information about creating a PIN control token using the PINs API, see https://www.marqeta.com/docs/core-api/pins#postPinsControltoken.

For more information about updating a PIN using the PINs API, see https://www.marqeta.com/docs/core-api/pins#putPins.