ok | boolean | Indicates whether the request was successful |
data | object | Contains the vendor payments response data |
data.vendorPayments[].transactionId | string | Unique transaction identifier for the payment |
data.vendorPayments[].resourceId | string | Unique identifier of the associated resource |
data.vendorPayments[].resourceType | string | Type of the resource e.g. INVOICE, PURCHASE_ORDER |
data.vendorPayments[].invoiceNo | string | Human-readable invoice number |
data.vendorPayments[].currency | string | Currency code for the payment e.g. INR, USD |
data.vendorPayments[].amount | string | Amount paid to the vendor |
data.vendorPayments[].paidVia | string | Payment method used e.g. PLATFORM, MANUAL |
data.vendorPayments[].paidBy | object | Information about the user who made the payment |
data.vendorPayments[].paidBy.id | string | Unique identifier for the user |
data.vendorPayments[].paidBy.name | string | Name of the user |
data.vendorPayments[].paymentState | string | Current state of the payment e.g. FINISHED, PENDING |
data.vendorPayments[].paymentDate | string | ISO 8601 timestamp of when the payment was made |
data.vendorPayments[].utr | string | Unique Transaction Reference number for the payment |
data.context.count | number | Total number of vendor payments |
data.context.totalAmountByCurrency | object | Total payment amounts grouped by currency code |
data.context.vendorBankDetails | object | Bank account details of the vendor |
data.context.vendorBankDetails.accountName | string | Name on the vendor’s bank account |
data.context.vendorBankDetails.accountIFSC | string | IFSC code of the vendor’s bank |
data.context.vendorBankDetails.accountType | string | Type of account identifier e.g. IFSC |
data.context.vendorBankDetails.accountNumber | string | Vendor’s bank account number (Only if you ask for this in fields query params) |