LendEasy/Docs
Get API keys
API ReferenceLMS APIPayment instrumentsAdd a customer payment instrument

Add a customer payment instrument

POSThttps://sandbox.api.lendeasy.ai/v1/customers/{customerId}/payment-instruments Bearer token · CREATE_LMS_PAYMENT_INSTRUMENT

Attaches a processor-tokenized customer instrument. providerTokenRef must be a vault token; raw account, routing, or card numbers are rejected. The server resolves the token to derive the masked display, rail capabilities, and type. New instruments start UNVERIFIED; verification completes through provider events, never through a public route.

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.
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
instrumentType requiredstring
providerTokenRef requiredstring
authorizationRef requiredstring
Unified search across guides, recipes & the API referenceEsc