# Upload the receipt by providing the URL This endpoint can be used to upload a receipt by providing a URL with a PNG, JPEG, or HEIC extension. Once the 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 'raw' to provide the user ID and upload the receipt URL. Endpoint: POST /receipts - upload receipt by URL Version: 3.0.0 Security: ## Request fields (raw): - `userId` (string, required) Enter the user ID of the member who wishes to upload the receipt. Example: "user25" - `file_url` (string, required) Enter the receipt URL to be uploaded by the member. The receipt URL extension must be in PNG, JPEG, or HEIC format. The file size must be less than 10MB. Example: "https://i.postimg.cc/2jnCbcYy/working752.jpg" ## Response 200 fields (application/json): - `submissionId` (string) Displays the autogenerated submission ID when the receipt URL was uploaded. Example: "c68d67d1-2006-11f0-8a74" - `receiptId` (string) Displays the unique receipt ID generated once the receipt URL 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." ## Response 400 fields ## Response 404 fields