Update DLA Holdings

When holdings data changes (e.g. you fetch latest MF or stock positions), call this API so eligibility and credit limit stays in sync. You send the Unity user ID and asset type (LAMF or LAS); the active pre-submitted loan for that user and asset type is updated.

Path Params
string
required
Defaults to gatewaydemo

Your gateway partner name.

Body Params
string
required
Defaults to Unity user ID from Create User.
string
enum
required
Defaults to MUTUALFUND

MUTUALFUND for LAMF, STOCKS for LAS. Allowed: MUTUALFUND, STOCKS.

Allowed:
holdings
array

Required for MUTUALFUND. Non-empty array of MF holdings. When non-empty, holdingsLastFetchedAt is required.

holdings
date

Required when holdings is non-empty. ISO 8601 / RFC 3339.

stockHoldings
array

Required for STOCKS. Non-empty array of stock holdings.

stockHoldings
string

Optional user attribute update.

number

Optional user attribute update.

boolean

Optional user attribute update.

Headers
string
required
Defaults to gatewayDemo_secret

apiSecret shared for authentication.

string
required
Defaults to eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJndWVzdCI6dHJ1ZSwiaWF0IjoxNjU0MzIxMDAwfQ.qiZ_w1yFYXhkdLMlqI28XJOXitfZwr64e2oL-lMEHZU

JWT created with payload {"iss":"<your_gateway_name>"}, signed with the shared secret.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json