Expense Receipt Files
Upload an expense receipt file
Uploads a receipt image or document for later attachment to an expense.
post/v1/expense_receipt_files
Request
- Base URLhttps://api.paymongo.com
- URLhttps://api.paymongo.com/v1/expense_receipt_files
- AuthHTTP basic
Request body multipart/form-data
Example request
{
"expiration": 360
}Response
Receipt uploaded
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.