Skip to main content

Payment Updates in Invoices

Add Payment to Invoice

post /businesses/:urlKey/invoices/:invoice/payments

This endpoint allows the you to add a payment to a specific invoice for a business.

Path Params

urlKey - will be provided by us
invoice - unique ID of the invoice.

Headers

NameTypeValue Description
Content-Type *stringapplication-json
Authorization *stringBearer <jwt>

Body

NameTypeValue Description
tdsnumberThe TDS (Tax Deducted at Source) amount for the payment.
transactionChargenumberThe transaction charge for the payment.
amountnumberThe amount of the payment.
paymentDatestringThe date of the payment.
paymentMethodstring (enum)The method used for the payment:
ACCOUNT_TRANSFER -> Account Transfer
CASH -> Cash
CHEQUE -> Cheque
CREDIT_CARD -> Credit Card
DEBIT_CARD -> Debit Card
DD -> Demand Draft
UPI -> UPI
.
notesstringAny additional notes for the payment.
refIdstringReference ID for the payment.

Get Payments on Invoice

get /businesses/:urlKey/invoices/:invoice/payments

This endpoint retrieves the payments associated with a specific invoice for a business.

Path Params

urlKey - The unique identifier of the business.
invoice - The invoice ID for which the payments are being retrieved.

Headers

NameTypeValue Description
Content-Type *stringapplication-json
Authorization *stringBearer <jwt>