post https://example.com/transaction/refund
This API endpoint is used to initiate a refund using the Key2Payment payment service. It is an HTTP POST request that should be sent to the URL https://api.key2payment.com/transaction/refund. The request should include the necessary parameters to specify the refund details. The response will provide information about the transaction, including a transaction ID, track ID, merchant ID, etc. Please refer to the API documentation or contact the API provider for more information on the required request parameters and the expected response structure.
Notes
The merchantid and password should be kept secure.
Ensure the tranid matches the original transaction ID.
The refund amount should not exceed the original transaction amount.