Lifecycle API
Perform a bill action
Close, post payment, or start a payer review from one state-aware operation.
https://app.mindbill.org/partner/v2/bills/{billId}/actionsAvailable actions depend on bill state. The React and Angular lifecycle components already render only valid actions.
Use this URL with a server API key or a browser session and its exact allowed Origin. Both credentials use the same request and response contract. See the component API inventory for exact paths and SDK methods.
Path parameters
billIdRequiredstringThe MindBill bill identifier returned after atomic submission.
Request body
actionRequired"close" | "post_payment" | "second_review"Lifecycle action to perform.
reasonstringRequired for close and second_review.
amountnumberPayment amount for post_payment.
method"check" | "eft"Payment method for post_payment.
checkNumberstringOptional check number.
depositDatestringRequired payment deposit date.
YYYY-MM-DDpayerClaimControlNumberstringRequired payer claim control number for second_review.
disputedAmountnumberAmount disputed in the second review.
attachmentIdsstring[]Supporting document IDs intentionally included in the second review.
route"ebill" | "fax" | "mail" | "email"Optional second-review delivery override.
Examples
curl https://app.mindbill.org/partner/v2/bills/$BILL_ID/actions \
--request POST \
--header "Authorization: Bearer $MINDBILL_API_KEY" \
--header "Content-Type: application/json" \
--header "Idempotency-Key: payment_check_4811505" \
--data '{
"action": "post_payment",
"amount": 1600,
"method": "check",
"checkNumber": "4811505",
"depositDate": "2026-08-29"
}'Response
200 OK
{ "ok": true, "data": { "amount": 1600, "balanceDue": 415 } }okRequiredtrueAction accepted.
dataRequiredobject | nullAction-specific result.