PIN API examples