Create PIN for a user as a form of authentication.
Can be used to verify pin when accessing a strongly protected endpoint via One Time Token Framework.
The request and response are encrypted using the JOSE framework. Please refer to the JOSE JWE guide to understand how encryption and decryption work.
Security
UserToken
Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.
Example:f47ac10b-58cc-4372-a567-0e02b2c3d479
- Production Environmenthttps://api.wise.com/v1/user/pin
- Sandbox Environmenthttps://api.wise-sandbox.com/v1/user/pin
curl -X POST \
'https://api.wise-sandbox.com/v1/user/pin' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Accept: application/jose+json' \
-H 'Accept-Encoding: identity' \
-H 'Content-Type: application/jose+json' \
-H 'Content-Encoding: identity' \
-H 'X-TW-JOSE-Method: jwe' \
-d 'eyJlbmMiOiJBMjU2R0NNIiwi...'PIN is created successfully.
Headers
Echoed back when X-External-Correlation-Id was included in the request. Learn more.
Example:"f47ac10b-58cc-4372-a567-0e02b2c3d479"
Response
No content