Loans

Create loan adjustment

Create loan adjustment

post/v2/loans/{loanId}/adjustment

Request

  • Base URL
    https://sandbox.pismolabs.io/lending
  • URL
    https://sandbox.pismolabs.io/lending/v2/loans/{loanId}/adjustment
  • Auth
    HTTP bearer

Path parameters

loanIdstring uuid required

ID of the loan the operation applies to

Headers

Idempotency-Keystring uuid required

Required UUID that makes the request idempotent, enabling you to retry it multiple times while the system processes it only once.

Request body

adjustment_amountnumber double required

Amount of the adjustment

loan_balance_impact'PRINCIPAL' | 'INTEREST' | 'TAX' | 'PENALTY' | 'FEE' required

Loan balance impact

processing_codestring required

Processing code for the adjustment

repayment_idstring uuid required

Repayment ID

Example request

{
  "adjustment_amount": 1000,
  "loan_balance_impact": "PRINCIPAL",
  "repayment_id": "5c075cc6-8dc2-4fe6-9ed7-cf5687d4e834"
}

Response

Loan adjustment created.

authorization_idnumber required

Authorization ID

idempotency_keystring uuid required

UUID that makes the request idempotent, enabling you to retry it multiple times while the system processes it only once.

Example response

{
  "authorization_id": 123456789,
  "idempotency_key": "4df987e3-8179-11ed-8209-06c7b022d1ee"
}

Changes

No recorded changes to this operation across all 1 revision of this API.