Skip to main content
POST
/
api
/
wallets
/
set-pin
Set wallet PIN
curl --request POST \
  --url https://app.d-sports.org/api/wallets/set-pin \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "walletId": "<string>",
  "pin": "<string>"
}
'

Authorizations

Authorization
string
header
required

Clerk session token. Use Authorization: Bearer .

Body

application/json
walletId
string
required

ID of the wallet to set the PIN for.

pin
string
required

Exactly 6 digits.

Pattern: ^\d{6}$

Response

{ success, data: { pinSet: true } }