FAQ on Payhawk Developer API

Prev Next
This content is currently unavailable in French. You are viewing the default (English) version.

This article answers some of the most frequently asked questions (FAQs) about Payhawk Developer API.

Which events are available for webhook subscription in the Payhawk Developer API?

You can find detailed information about webhooks and their use in Payhawk Developer API in Nikolay Babev’s blog post, Mastering Webhooks for Efficient Financial Data Integration.

How do I check through the API if an expense has been exported? Which endpoint should I use?

Use Payhawk’s Expense History API.

Is it correct to use taxId for the CIF in the integration between Payhawk and MS Business Central?  

“CIF” typically refers to a fiscal identification number. In Payhawk, the equivalent field in Spanish is Número de identificación fiscal, which corresponds to taxId in the platform.  

If issues persist, contact Payhawk Support and share the exact payload you are using and a screenshot from Payhawk so you can verify the data mapping.  

How can I retrieve invoices into MS Business Central once an expense has been reviewed?

Use the Expenses endpoint and filter by ReviewedAt. The filter must be encoded, and you can test it directly in the Developer Portal.  

Alternatively, you can use webhooks for the expense reviewed event to trigger the data retrieval automatically.