Skip to main content
PUT
Set lender API configuration

Authorizations

Authorization
string
header
required

API key (nlmca_live_…) or OAuth access token

Path Parameters

id
string
required

Lender id

Body

application/json
submission_method
enum<string>
required

api routes submissions through the funder integration; email switches back (the stored credentials are kept).

Available options:
email,
api
funder_api_spec_id
string

Funder integration id from GET /lenders/api-specs. Required the first time submission_method is set to api.

Maximum string length: 50
api_environment
enum<string>
default:development

Environment the credentials belong to. Switching to production with new credentials replaces the development string.

Available options:
development,
production
api_credentials
string

Credentials as one comma-separated string in the order of the integration’s credential_spec. Write-only: stored encrypted, returned masked. Omit to keep the stored credentials; required when the integration changes.

Maximum string length: 4000

Response

OK

data
object
required
meta
object
required