# Upload a receipt This endpoint can be used to upload receipts in JPEG, PNG, or HEIC format. Once a receipt is submitted, it goes through a verification process, and upon successful verification, points are awarded to the member. Here, in the request body, you need to select 'form-data' to provide the user ID and upload the receipt. Endpoint: POST /receipts - upload receipt Version: 3.0.0 Security: ## Request fields (form-data): - `userId` (string, required) Enter the user ID of the member who wants to upload a receipt. Example: "user25" - `file` (string, required) Upload a receipt image in JPEG, PNG, or HEIC format. The file must be under 10MB, and only one receipt can be uploaded at a time. To begin, click the upload option. You will then be prompted to choose the source of the image - either your local drive (your computer) or a shared drive. After selecting the drive, browse and select the receipt image you wish to upload. Once selected, the image will be uploaded. Example: "billreceipt.jpeg" ## Response 200 fields (application/json): - `submissionId` (string) Displays the autogenerated submission ID after the receipt was uploaded. Example: "c68d67d1-2006-11f0-8a74" - `receiptId` (string) Displays the unique receipt ID generated once the receipt was uploaded. Example: "698381745387396" - `status` (string) Displays the status of the receipt verification process. The status can be 'Pending', 'Points Awarded', or 'Rejected'. When a member uploads a receipt, the status will appear as 'Pending'. Once the receipt is verified and points are awarded, the status will change to 'Points Awarded'. If the receipt is rejected, the status will be 'Rejected'. Example: "Pending" - `message` (string) Displays whether the receipt verification was successful or not. Any errors or issues encountered during the verification process will be clearly communicated through this message. Example: "The receipt has been successfully verified."