Tutorial Request

Hi everyone

i am completely new to this API and programming with API’s in general
is it possible to get some example code from making a token request, to
verification to token exchange etc
i am primarily using ajax though i can adapt to some php

Thank you in advance