Expense Receipt Files
Retrieve an expense receipt file
Returns file metadata and a fresh signed download URL for an account-scoped receipt.
get/v1/expense_receipt_files/{id}
Request
- Base URLhttps://api.paymongo.com
- URLhttps://api.paymongo.com/v1/expense_receipt_files/{id}
- AuthHTTP basic
Path parameters
idstring required
Receipt file ID
Query parameters
account_idstring
Receipt owner account ID; defaults to the authenticated organization
expirationinteger
Signed URL expiration in minutes
Response
Receipt retrieved
Example response
{
"approved_count": 1,
"approved_total_amount": 125000,
"data": {
"id": "file_abc123",
"name": "receipt.pdf",
"type": "expense_receipt_file",
"url": "https://files.paymongo.com/expense-receipts/file_abc123"
},
"has_more": true,
"pending_count": 1,
"total_amount": 250000
}Changes
No recorded changes to this operation across all 1 revision of this API.