Step 2: update a card's PIN
You can also update a card's PIN at any point using the following request.
info
You can choose to omit the pin
parameter, in which case we'll automatically generate one for you.
SandboxProduction
curl -i -X PUT \
'https://api-sandbox.equalsmoney.com/v2/cards/{cardId}/pin?accountId={accountId}&personId={personId}' \
-H 'Authorization: ApiKey {apiKey}' \
-H 'Content-Type: application/json' \
-d '{
"pin": "2612"
}'
curl -i -X PUT \
'https://api.equalsmoney.com/v2/cards/{cardId}/pin?accountId={accountId}&personId={personId}' \
-H 'Authorization: ApiKey {apiKey}' \
-H 'Content-Type: application/json' \
-d '{
"pin": "2612"
}'
If your request is successful, you'll receive a 200
response containing the updated pin.
{
"success": true,
"pin": "2612"
}