curl --location --request GET 'https://staging-api.propaga.io/v1/transaction/{transactionId}' \ --header 'Authorization: <your_awesome_token>' --header 'Content-Type: application/json'
{ "transactionId": "c4da2e20-4565-4ca7-8335-769eea1eaf70", "cornerStoreId": "22de359b-4743-4067-b389-1a128928dca5", "userId": "3030cb59-5238-441b-9064-51bad8c39816", "transactionStatus": "on-hold", "wholesalerTransactionId": "TRAN-3245", "movementDate": "2024-04-26T19:26:40.112Z", "totalAmount": 1462.4, "interests": 43.87, "IVAAmount": 7.02, "totalAmountWithInterests": 1513.29, "paymentDate": "2024-05-11T19:26:40.101Z", "deliveryDate": null, "products": [ { "id": "8ae071b7-8e44-4e8b-ac20-c5ed2d5d2476", "externalSKU": "123", "name": "Detergente Roma", "quantity": 1, "createdAt": "2024-04-26T20:26:40.664Z", "updatedAt": "2024-04-26T20:26:40.664Z" } ], "metadata": {}, "wholesaler": "<wholesaler_name>", }
Gets information about a transaction by its ID
{ "errorCode": "TRANSACTION_NOT_FOUND", "errorMessage": "This transaction not found" }