Hello, I cant help you with this task, with which api are you working with?
I've done some API integrations before with PHP and Laravel I have 2 years of experience as a developer,
I would like to discuss more details about this project throught chat, obrigado for your attention