Question d’entretien chez Mastercard

what is the difference between a microservice and an API