cURL
curl --request POST \ --url https://api.light.inc/rest/ext/v1/card-transactions/{cardTransactionId}/receipt-upload-url \ --header 'Content-Type: application/json;charset=UTF-8' \ --data '{ "filename": "<string>", "contentType": "<string>" }'
{ "uploadUrl": "<string>", "key": "<string>", "metadata": {} }
Get the url for uploading the receipt to a card transaction
default response
The response is of type object.
object