now you should do a POST request to:
https://graph.facebook.com/{{Version}}/{{Phone-Number-ID}}/register
EDIT:
and the body:
{
"messaging_product": "whatsapp",
"pin": "<your-6-digit-pin>"
}
do not forget to add your bearer token before making the request!