Check Refund Availability
POST/api/v1/pbl/check-refund-availability
Check whether a transaction can be refunded (for the given amount) without actually executing the refund. Runs the same validations as the refund endpoint (transaction state, balance, refund window, available refund amount).
Checksum
Same mechanism as the refund endpoint: the server concatenates the values of all fields sent in the request body, in the order they appear in the JSON (excluding checksum), joined with |, with your Secret Hash appended at the end. Any optional field you send (e.g. value, reason) must be included in the checksum, otherwise the request is rejected with HTTP 401 Unauthorized request.
Request
Responses
- 200
- 400
- 401
Refund is available
Refund is not available (e.g. amount exceeds available refund amount)
Invalid checksum