# Perform a payment refund **POST /merchant/{merchantId}/payment/{paymentId}/refund** ## Servers - Production server.: https://api.axepta.pl/v1 (Production server.) - Sandbox - test server.: https://api.sandbox.axepta.pl/v1 (Sandbox - test server.) ## Authentication methods - Authorization token ## Parameters ### Path parameters - **merchantId** (string) Client identifier - **paymentId** (string(uuid)) Transaction identifier as `UUID v4` ### Body: application/json (object) - **type** (string) Action type - **serviceId** (string(uuid)) Store identifier as `UUID v4` - **amount** (integer) Transaction amount in the smallest currency unit, e.g. **grosz** ## Responses [Powered by Bump.sh](https://bump.sh)