Scope erp.payments.vendor_payments:read · the client's role needs view on Vendor Payments
Parameters
Name
In
Type
Notes
vendorId
query
integer (int64)
Only this vendor / customer (id).
Response (200) — data
Field
Type
Notes
id
integer (int64)
vendorId
integer (int64)
vendorName
string
paymentDate
string (date)
amount
number
paymentMode
string
referenceNo
string
bankDetails
string
proofUrl
string
note
string
allocations
array of object
itemType
string
itemRefId
integer (int64)
reference
string
amountAllocated
number
createdAt
string (date-time)
Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.
Example
# KERN ERP — Payments made to vendors (all, or vendorId)
curl -X GET "https://kronex.codeverse.co/cedge/public/v1/payments/vendor-payments?page=0&size=20" \
-H "Authorization: Bearer $KERN_API_KEY"
GET/public/v1/payments/vendor-payments/{id}
Get one vendor payment (what it paid against)
Scope erp.payments.vendor_payments:read · the client's role needs view on Vendor Payments
Parameters
Name
In
Type
Notes
id *
path
integer (int64)
The record's id.
Response (200) — data
Field
Type
Notes
id
integer (int64)
vendorId
integer (int64)
vendorName
string
paymentDate
string (date)
amount
number
paymentMode
string
referenceNo
string
bankDetails
string
proofUrl
string
note
string
allocations
array of object
itemType
string
itemRefId
integer (int64)
reference
string
amountAllocated
number
createdAt
string (date-time)
Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.
Example
# KERN ERP — Get one vendor payment (what it paid against)
curl -X GET "https://kronex.codeverse.co/cedge/public/v1/payments/vendor-payments/{id}" \
-H "Authorization: Bearer $KERN_API_KEY"