# Verify code Verify the code sent via email or SMS. Returns verification status and the verified contact information (email/phone). Endpoint: POST /partner/v2/account/{accountId}/identity-proof/{id}/verify Version: 2.0 Security: PartnerOAuth ## Path parameters: - `accountId` (integer, required) - `id` (integer, required) ## Request fields (application/json): - `code` (string, required) Verification code received Example: "123456" - `email` (string) Email that received the code. Provide either email or phone, not both. Example: "john@example.com" - `phone` (string) Phone number that received the code (10-digit US number, e.g. 5551234567). Country code is optional and defaults to US (+1). Provide either email or phone, not both. ## Response 200 fields (application/json): - `verified` (boolean) Whether the code was verified successfully Example: true - `verifiedEmail` (string) Verified email (if verification succeeded) Example: "john@example.com" - `verifiedPhone` (string) Verified phone (if verification succeeded) Example: "5551234567" ## Response 400 fields ## Response 404 fields