Skip to main content
PUT
/
v0
/
user
/
me
/
phone
/
code
Verify Phone
curl --request PUT \
  --url https://api.sumvin.com/v0/user/me/phone/code \
  --header 'Content-Type: application/json' \
  --data '
{
  "verification_code": "123456"
}
'
{
  "_links": {
    "self": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    },
    "wallets": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    },
    "kyc-status": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    },
    "kyc-token": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    }
  },
  "phone_number": "<string>",
  "status": "<string>",
  "message": "<string>",
  "expires_in_seconds": 123
}

Headers

x-sumvin-token
string | null
x-juno-jwt
string | null
x-juno-orgid
string | null

Tenant org ID for multi-tenant auth

Body

application/json
verification_code
string
required

6-digit verification code received via SMS. Codes expire after 10 minutes.

Required string length: 6
Pattern: ^\d{6}$
Example:

"123456"

Response

Phone number verified successfully

HAL-style hypermedia links for navigation.

phone_number
string
required

Phone number being verified in E.164 format.

status
string
required

Verification status: 'code_sent' or 'verified'.

message
string
required

Human-readable status message.

expires_in_seconds
integer | null

Seconds until the verification code expires. Null after successful verification.