Upload Invoice File

Path Params
string
required
string
required
Body Params
file
required
Headers
string
Defaults to multipart/form-data
string
Defaults to application/json
string
required
Defaults to Bearer
Responses

DOC_MULTIPART_CONTENT_TYPE_REQUIRED — Content-Type must be multipart/form-data
  • DOC_FILE_MISSING — No file found in the multipart body
  • DOC_INVALID_FILE_TYPE — File type not allowed (must be PDF/JPEG/PNG)
  • DOC_FILE_TOO_LARGE — File exceeds 5 MB limit
  • DOC_ORDER_ID_MISSING — orderId path parameter is missing
  • DOC_INVOICE_ID_MISSING — invoiceId path parameter is missing
  • INVOICE_NOT_FOUND — Invoice does not exist for the given invoiceId/orderId
  • INVOICE_ALREADY_REJECTED — Invoice has been rejected, cannot upload file
  • Language
    URL
    LoadingLoading…
    Response
    Click Try It! to start a request and see the response here! Or choose an example:
    application/json
    Ask AI
    Assistant
    Order Lifecycle
    Refunds
    Settlements
    Checkout
    Dashboard
    International Payments
    How do I implement webhook notifications for payment status updates, and what's the recommended way to verify webhook authenticity?
    How do I integrate Pine Labs payment gateway with my React Native mobile app and what are the required API credentials?
    Can I customize the payment UI for card transactions, and what parameters can I pass to modify the checkout experience for my customers?
    Assistant