Skip to main content
Vendor Advances API

Authentication

All requests require an API key in the request headers. Headers:

Request

Content-Type: application/json

Path Parameters

Code Examples

Success Response

HTTP Status: 200 OK Response Fields: When vendor advances are disabled for the organization, data.advances is empty and data.context.isVendorAdvancesEnabled is false. Payment details are null when no payment transaction is available.

Response Example

Error Responses

Missing Vendor ID

HTTP Status: 400 Bad Request

Vendor Not Found

HTTP Status: 404 Not Found

Access Denied

HTTP Status: 403 Forbidden

Authentication Errors

HTTP Status: 401 Unauthorized

Permission Errors

HTTP Status: 403 Forbidden

Best Practices

Access Control

  • Only vendors you created or where you are the vendor owner are accessible (unless you have admin or auditor role)
  • Use the vendor vendorId returned from the vendor creation endpoint to retrieve advances