1. Getting estimated payments
Once you’ve submitted a quarterly estimated payment to the IRS via the Hurdlr API, you can obtain all those payments (and their statuses) for a given user, by running the following GET request:
The possible values for the
status attribute are described below:
When the
status="ERROR", you can determine what the error is, and alert your user accordingly, using the table below:
2. Updating payment info
You may need to fetch and/or display payment info to your user, that way they can update that info, especially in the case of anerrorCode: "INVALID_PAYMENT_INFO". You can obtain the payment info for a given user, by running the following GET request:
🚧 Masked account number For data security purposes, the response does not include theTo update an existing payment info, simply POST the updated object to the /paymentInfo endpoint; be sure to include theaccountNoandroutingNofields that were initially inputted when you added the user’s payment info. Instead, amaskfield containing the last few characters of theaccountNois used, which is typically enough information for your user to identify the account.
id attribute:
3. Updating tax filer info
You may need to fetch and/or display tax filer info to your user, that way they can update that info, especially in the case of anerrorCode: "INVALID_TAX_FILER_INFO". You can obtain the filer info for a given user, by running the following GET request:
4. Receiving webhooks (real-time updates)
You can subscribe to programmatically receive real-time updates via webhook to indicate when the status of an estimated payment changes. Contact us directly at api@tight.com to let us know the URI of the server that you would like the webhook updates to be sent to. Each webhook contains the following JSON payload:data object contains the estimated payment object that was updated. This webhook is useful so that you can update your user in real time, especially in the case of an error.
5. Resubmitting an estimated tax payment
If you’ve updated the tax filer or payment info due to an estimated tax payment error, chances are that you need to resubmit the estimated payment. You can simply POST the estimated payment; be sure to include theid attribute: