Add a payout account
/lokta-lms/api/v1/sourcing-partners/{partnerId}/bank-accountsAdds a payout account to a sourcing partner.
account_type is savings | current | od. ifsc is shape-checked (four letters, a zero, six characters) rather than merely stored; a malformed IFSC fails at the bank days later, arriving as an unexplained rejection long after the operator moved on.
The first account becomes primary automatically. A partner with accounts but no primary has nowhere to be paid, and every payout screen downstream would have to invent a rule for choosing one, which is how two screens choose differently.
A duplicate (same partner, same IFSC, same number) is a 409 sourcing/bank_account_duplicate. Accounts that failed verification are excluded from that check, so one can be re-added after correction rather than blocked by its own earlier attempt.
The account number is never returned.
Path parameters
partnerIdpath · string · requiredHeader parameters
Idempotency-Keyheader · string · optionalPer-intent key
Request body application/json
beneficiary_namestring · optionalThe name on the account.
bank_namestring · optionalThe bank.
branch_namestring · optionalThe branch.
account_typestring · optionalThe kind of account.
savings, current, odaccount_numberstring · optionalThe account number. Accepted on create and never returned.
ifscstring · optionalThe bank branch code. Checked for shape: four letters, a zero, then six characters.
Responses
defaultdefault responseEvery request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors.
Open this operation in the interactive explorer, or read it as Markdown.
This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai