Promise To Pay

This API creates a Promise To Pay (PTP) record for a lending account. It allows collectors or agents to record a customer’s commitment to pay a specific amount on a promised date against a particular balance. The API also supports creating one or more promise entries under a single Promise To Pay record.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Response Explanation

Top-Level Field

  • data (object)
    ▸ Represents the newly created Promise To Pay record.

Promise To Pay Details (data)

  • name
    ▸ System-generated Promise To Pay identifier
    ▸ Example: PTP-000889

  • lending_account_id
    ▸ Lending account linked to the Promise To Pay.

  • balance_id
    ▸ Balance against which the promise is recorded.

  • start_date
    ▸ Start date of the Promise To Pay.

  • total_promised_amount
    ▸ Sum of all promised amounts across promise entries.

  • balance_description
    ▸ Description of the associated balance.

  • promised_by / promised_by_name
    ▸ Identifier and name of the user who created the promise.

  • collector
    ▸ Collector assigned to manage the Promise To Pay.

  • status
    ▸ Current status of the Promise To Pay
    ▸ Example: Open

  • doctype
    ▸ Document type
    ▸ Value: LMS Promise to Pay


Promises (data.promises[])

Each object represents an individual promised payment:

  • promised_date
    ▸ Date on which payment is expected.

  • promised_amount
    ▸ Amount committed by the customer.

  • paid_amount
    ▸ Amount already paid against the promise.

  • payment_method
    ▸ Mode of payment
    ▸ Example: Cash

  • promise_status
    ▸ Status of the individual promise
    ▸ Example values: Open, Kept, Broken

  • scheduled_payment_status
    ▸ Indicates whether the payment is scheduled.

Body Params
number
required

Sequence number of the promise entry

string
required

Date on which the payment is promised

string

Method by which the promise was recorded

number
required

Amount promised by the customer

number

Amount already paid

string

Payment mode

string

Status of the individual promise

string

Additional remarks related to the promise

Response

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