scheduledAt on POST /v1/payments to run a payment on a future date. The payment runs at 9:00 AM New York time on that date.
status: "scheduled", and the bill’s paymentStatus becomes scheduled. A payable.payment.scheduled event is sent.
Rules
scheduledAtis a date,YYYY-MM-DD. It must be a real calendar date, at least tomorrow, and within the business’s scheduling window.- Scheduling is available on the Dwolla rail only.
scheduledAtwith Cleo Pay answersvalidation_error. - A payment that would be held (the vendor has no reachable bank or has not accepted their invitation) cannot be scheduled.
- A retry of a failed payment cannot be scheduled.
Cancel a scheduled payment
{ "payment": {...}, "message": "Scheduled payment cancelled. No money moved." }. A payment that has started settling can no longer be cancelled and answers 409 payment_not_cancellable with its current status. When a bill has several scheduled payments, cancel them in the Cleo web app.
If a scheduled payment fails
The payment becomesfailed and the bill’s paymentStatus becomes failed. Cleo sends payment.failed and payable.payment.failed. Retry it with POST /v1/payables/{payableId}/retry-payment. See Cancel and retry.