LendEasy/Docs
Get API keys
API ReferenceLMS APIMerchant advancesCreate a merchant remittance

Create a merchant remittance

POSThttps://sandbox.api.lendeasy.ai/v1/merchant-advances/{advanceId}/remittances Bearer token · CREATE_MERCHANT_REMITTANCE

Initiates or records a sales-based remittance and posts balance only after settlement.

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.
advanceId required in pathstringStable opaque advance 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
salesReportIds requiredarray<string>
amount requiredstringDecimal monetary amount encoded as a string.
currency requiredstringISO 4217 currency code.
paymentInstrumentId requiredstring
rail requiredstring
effectiveDate requiredstringBusiness-effective date in ISO 8601 format.
Unified search across guides, recipes & the API referenceEsc