curl --request GET \
--url https://api.paypulse.io/v1/invoices/rental/inv_abc123 \
--header 'Authorization: Bearer <token>'
{
"message": "Invoice details retrieved successfully!",
"code": 200,
"data": {
"InvoiceID": "inv_abc123",
"UserID": "user_xyz789",
"due_date_month": "3",
"due_date_year": "2025"
}
}
Retrieve the details of a specific rental invoice by ID.
curl --request GET \
--url https://api.paypulse.io/v1/invoices/rental/inv_abc123 \
--header 'Authorization: Bearer <token>'
{
"message": "Invoice details retrieved successfully!",
"code": 200,
"data": {
"InvoiceID": "inv_abc123",
"UserID": "user_xyz789",
"due_date_month": "3",
"due_date_year": "2025"
}
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/azfar-imtiaz/PayPulse-Cloud/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header.
Authorization: Bearer <token>
rental for this endpoint."Invoice details retrieved successfully!"200 on success, 204 when the invoice does not exist.null when status is 204. Fields present depend on what was parsed from the invoice PDF. Common fields include:| Status | Error code | Description |
|---|---|---|
204 | — | No invoice found for the given invoice_id and authenticated user. Body is empty. |
400 | MISSING_FIELDS | The type or invoice_id path parameter is absent. |
401 | INVALID_CREDENTIALS | The Authorization header is missing or the token is invalid. |
401 | TOKEN_EXPIRED | The JWT has expired. |
502 | DEPENDENCY_FAILURE | A downstream dependency (DynamoDB) returned an error. |
500 | INTERNAL_SERVER_ERROR | An unexpected server-side error occurred. |
{
"error": {
"code": "MISSING_FIELDS",
"message": "Missing fields in URL"
}
}
curl --request GET \
--url https://api.paypulse.io/v1/invoices/rental/inv_abc123 \
--header 'Authorization: Bearer <token>'
{
"message": "Invoice details retrieved successfully!",
"code": 200,
"data": {
"InvoiceID": "inv_abc123",
"UserID": "user_xyz789",
"due_date_month": "3",
"due_date_year": "2025"
}
}