PayPal interview question

How do you test an API?