LendEasy/Docs
Get API keys
API ReferenceLMS APIPayment instrumentsUpdate a payment instrument

Update a payment instrument

PUThttps://sandbox.api.lendeasy.ai/v1/customers/{customerId}/payment-instruments/{instrumentId} Bearer token · UPDATE_LMS_PAYMENT_INSTRUMENT

Replaces the vault token or authorization reference. A new token must resolve to the same immutable instrument type and refreshes the masked display and rail capabilities.

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.
customerId required in pathstringStable opaque customer identifier.
instrumentId required in pathstringStable opaque instrument 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
providerTokenRef requiredstring
Unified search across guides, recipes & the API referenceEsc