Last updated 1 year ago
Success
const response = await fetch('/api/v1/onboarding/PhoneInfo', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "ErrorCode": "text", "Message": "text" }
const response = await fetch('/api/v1/onboarding/PhoneInfo/SendOtp', { method: 'POST', headers: {}, }); const data = await response.json();
const response = await fetch('/api/v1/onboarding/PhoneInfo/ValidateOTP', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
const response = await fetch('/api/v1/onboarding/PhoneInfo/GetVerifiedPhones', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "phoneNumber": "text", "isDefault": false } ]
const response = await fetch('/api/v1/onboarding/PhoneInfo/SetDefault', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
const response = await fetch('/api/v1/onboarding/PhoneInfo/Approve', { method: 'POST', headers: {}, }); const data = await response.json();