Skip to main content
PUT
/
api
/
v1
/
accounts
/
cards
/
phone
Set phone number
curl --request PUT \
  --url https://api.hevn.finance/api/v1/accounts/cards/phone \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneNumber": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
default:Bearer <token>
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-key
string | null

Body

application/json

Request to set phone number.

phoneNumber
string
required

Phone with country code, e.g. +33755881784

Response

Successful Response