PayPal Interview Question

How do you test an API?