# Obtaining information about the possibility of making a return **POST /{merchantId}/transaction/{transactionId}/can-refund** The request allows you to obtain information on the permissible value of full and partial returns for a given transaction. ## Servers - Production environment: https://api.imoje.pl/v1/merchant (Production environment) - Test environment: https://sandbox.api.imoje.pl/v1/merchant (Test environment) ## Authentication methods - Authorization token ## Parameters ### Path parameters - **merchantId** (string) Merchant identifier - **transactionId** (string(uuid)) Transaction identifier as `UUID v4` ### Body: application/json (object) - **amount** (integer) The transaction amount in the smallest currency unit, e.g. **pennies**. ## Responses ### 200 Request executed correctly #### Body: application/json (object) - **id** (string(uuid)) Transaction identifier as `UUID v4` - **refundable** (boolean) Information on whether a transaction can be refunded. - **balance** (boolean) Information on whether the shop's balance is sufficient to make a refund. - **fullRefund** (integer) The value of the full refund amount. - **partialRefund** (object) Maximum and minimum permitted partial refund value. [Powered by Bump.sh](https://bump.sh)