Pine LabsDOCS

API Playground

Test Pine Labs API endpoints with real requests. All endpoints are loaded dynamically from the OpenAPI specification.

How to Upload Invoice Document for Cross-Border Orders

Uploads the actual invoice file (PDF/image) for a previously created invoice record. **Prerequisites:** - Invoice must be created first via the Capture Invoice API (Step 1). - Use the `invoiceId` from Step 1 response. **Constraints:** - Maximum file size: 5 MB - Allowed file types: PDF (.pdf), JPEG (.jpeg, .jpg), PNG (.png) - File upload is one-time. Re-uploading returns 409 Conflict.

PUThttps://pluraluat.v2.pinepg.in/api/pay/v1/orders/{orderId}/invoice/{invoiceId}/upload
Required
Path Parameters
orderId*
string

Order ID.

invoiceId*
string

Invoice ID returned from the Capture Invoice API.