Get invoice by ID
Fetch details of a specific invoice, including payment status and blockchain info, for display to users or verification.
Endpoint
GET /invoices/[invoice_id]
Parameters
Parameter | Type | Required | Description | Example Value |
---|---|---|---|---|
invoice_id | string (Order ID) | Yes | Invoice unique ID | invoice_123e4567-e89b-12d3-a456-426614174000 |
cURL Example
curl -X GET https://api.itispay.com/api/v1/invoices/123e4567-e89b-12d3-a456-426614174000 \
-H "Api-key: YOUR_API_KEY"
Response
- 200 OK: Full invoice details.
- Errors: 401 (unauthorized), 403 (forbidden), 404 (not found), 500 (server error).
Updated 18 days ago