Skip to main content
PATCH
/
phone
Update Phone Number
const options = {
  method: 'PATCH',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({phone: '<string>'})
};

fetch('https://gp-auth-module.prod.gnosispay.com/phone', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true
}

Body

application/json
phone
string
required
Required string length: 6 - 20

Response

Phone number updated successfully

success
enum<boolean>
required
Available options:
true