PIN (Personal Identification Number) is a knowledge-based SCA challenge factor. Users create a 4-digit PIN that can be used to verify their identity when accessing SCA-protected endpoints.
All PIN creation and verification requests use JOSE (JWE) encryption to ensure the PIN is never transmitted in plain text. See the SCA over API guide for encryption details.
Creates a new PIN factor used to resolve a SCA knowledge challenge type.
The request and response are encrypted using the JOSE framework. Please refer to the SCA over API guide to understand how encryption and decryption work.
Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.
- Production Environmenthttps://api.wise.com/2026Q3/profiles/{profileId}/pin
- Sandbox Environmenthttps://api.wise-sandbox.com/2026Q3/profiles/{profileId}/pin
curl -X POST \
'https://api.wise-sandbox.com/v2/profiles/{profileId}/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 'eyJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.W0fuxaZOoyaBcx...'The PIN has been successfully created.
Echoed back when X-External-Correlation-Id was included in the request. Learn more.
No content