failed, and Melio settles the money automatically. Here is what happens and how to recover.
What can fail
- Collection - the debit from your internal (funding) account does not go through.
- Delivery - the funds cannot be delivered to the payee, or the transfer is returned.
How Melio handles it
Melio does not automatically retry a failed payment. To try again, create a new payment.
How you find out
Melio sendsapi.payment.updated; fetch the payment to see it is now failed.
How to recover
Create a new payment with corrected details (for example a different receiving account):POST /payments.
Test failures in the sandbox
Drive a payment tofailed in a non-production environment with the simulation endpoint, so you can build and verify your handling before going live. It is available in non-production only and returns 404 in production.
fail-collect for a collection failure and fail-deliver for a delivery failure. The reason is optional free text recorded on the action.
Related: an undeposited check is automatically voided after 90 days, and the payment is refunded like any other delivery failure.