RegisterWithPhonePassword
Type: schema
TypeScript Definition
typescript
RegisterWithPhonePassword: {{
country_code?: components["schemas"]["CountryCode"];
/** @description 10 digit phone number without country code. */
phone: string;
password: string;
/** @description Optional; must match password when supplied. */
confirm_password?: string;
email?: never;
};
/**
* RetryPaymentMethodPayload
* @description Payment methods accepted for a retry. LotusPay (`lotuspay`), NACH and credit-line methods are refused.
*/
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["CountryCode"] | CountryCode |
OpenAPI Schema
json
{
"title": "RegisterWithPhonePassword",
"type": "object",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/RegisterWithPhonePassword",
"description": "API reference for the RegisterWithPhonePassword schema"
},
"required": [
"phone",
"password"
],
"properties": {
"country_code": {
"$ref": "#/components/schemas/CountryCode"
},
"phone": {
"description": "10 digit phone number without country code.",
"type": "string",
"pattern": "^\\d{10}$"
},
"password": {
"type": "string",
"minLength": 1,
"pattern": "\\S"
},
"confirm_password": {
"description": "Optional; must match password when supplied.",
"type": "string",
"minLength": 1,
"pattern": "\\S"
},
"email": false
}
}Auto-generated from OpenAPI spec and TypeScript definitions