LendEasy/Docs
Get API keys
API ReferenceLMS APIAutopayConfigure an autopay failure policy

Configure an autopay failure policy

PUThttps://sandbox.api.lendeasy.ai/v1/autopay/failure-policies/{rail} Bearer token · CONFIGURE_LMS_AUTOPAY_FAILURE_POLICY

Replaces the full policy for one rail — base retry rules and the complete return-code list. The rail path segment is ACH or CARD.

Path & query parameters

FieldTypeDescription
LendEasy-Tenant required in headerstringTenant selector: lowercase letters, digits, and hyphens, 1-64 characters. Exactly one instance; the only tenant selector honored.
rail required in pathstringStable opaque rail identifier.
Idempotency-Key optional in headerstringOptional stable key (1-50 chars) for this one logical mutation. Replays of a completed request return the original result with x-served-from-cache: true; an in-flight duplicate returns 409 with Retry-After. Omitted keys are server-generated per attempt.

Body parameters

FieldTypeDescription
automaticRetry requiredboolean
retryAfterBusinessDays requiredinteger
maxRetryAttempts requiredinteger
maxConsecutiveFailedCycles requiredinteger
runNextScheduledCycle requiredboolean
exhaustionAction requiredstring
returnCodes requiredarray<object>
returnCodestring
retryAllowedboolean
instrumentActionstring
autopayActionstring
caseActionstring
recommendedActionstring
treatAsUnauthorizedboolean
Unified search across guides, recipes & the API referenceEsc