v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13125317428.7 KB
accounts

Validates verification code to verify phone number for the account. If successful this will overwrite the value of accounts.businessinformation.phoneNumber. Only verified phone number will replace an existing verified phone number.

post/{merchantId}/accounts/{accountId}/verifyphonenumber

Path parameters

merchantIdstring required

Required. The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.

accountIdstring required

Required. The ID of the account.

Request body

verificationIdstring

The verification ID returned by requestphoneverification.

verificationCodestring

The verification code that was sent to the phone number for validation.

phoneVerificationMethod'PHONE_VERIFICATION_METHOD_UNSPECIFIED' | 'SMS' | 'PHONE_CALL'

Verification method used to receive verification code.

Response

Successful response