Collection

Records the payment in the system

post

This API generates a transaction number and persists the payment details. The payment information is then pushed to queue for further processing.

Body

Payment Request with Request Info.

Responses
post
/_create

Performs workflow actions on the payment

post

The API can perform the following operations:

  1. Cancellation of receipts in open state.
  2. Remittance of instruments such as Cash, Cheque, DD .
  3. Dishonoring of instruments such as Cheque, DD.
Body

Payment Workflow Request with Request Info.

Responses
post
/_workflow

Validates the PaymentRequest

post

The API runs the following set of validations on the payment request.

  1. Bill is present and is in valid state
  2. Amount paid is positive integer
  3. Zero amount payment is allowed only if bill amount is zero
  4. Payment mode is allowed
  5. Partial Payment is allowed based on the businessService
  6. Advance payment is allowed based on the businessService
Body

Payment Request with Request Info.

Responses
post
/_validate

Searches the Payment based on search criteria

post

API to search payments based on search parameters like consumerCode, mobileNumber, transactionNumber etc.

body
Query parameters
tenantIdanyRequired

Unique id for a tenant.

pageSizeinteger · max: 100Optional

Number of records returned.

pageNumberintegerOptional

Page number

sortstring[] · min: 1 · max: 3Optional

Receipt results will be sorted by receiptnumber ascending by default.

idsstring[]Optional

Payment Ids.

consumerCodesstring[]Optional

Consumer Code .

receiptNumbersstring[]Optional

List of receipt numbers.

fromDateinteger · int64Optional

Transaction date, here search will happen as Transaction date is greater or equal to given fromDate.

toDateinteger · int64Optional

Transaction date, here search will happen as Transaction date is lesser or equal to given toDate.

statusstring[]Optional

Search based on the status of the Payment.

instrumentStatusstring[]Optional

Search based on the status of the instrument.

paymentModesstring[]Optional

Search based on the Payment type such as cash, cheque, dd etc.

payerIdsstring[]Optional

The ids of the payer

transactionNumberstring · max: 64Optional

Unique tansaction number for multiple receipts created in one transaction.

mobileNumberstring · max: 64Optional

Unique tansaction number for multiple receipts created in one transaction.

billIdsstring[]Optional

List of bill ids to search receipts.Business details code is mandatory for searching with this criteria.

Responses
200

Successful response

application/json
post
/_search

Last updated

Was this helpful?