3. Refund
You can use the service to process a refund for a payment made through APM.
Payment Refund Process
POST
{{Base Adres}}/api/paywall/apm/refund
The header parameters that need to be sent to the service are as follows:
apikeypublic
string
Yes
The Public Key obtained from the merchant panel.
apiclientpublic
string
Yes
The Public Client obtained from the merchant panel.
The parameters that need to be sent to the service in the (BODY) are as follows:
UniqueCode
string
Yes
The UniqueCode parameter for the APM payment. It is included in the response returned by the API at the time of creation.
The parameters returned from the service are as follows:
ErrorCode
int
Error code. Returns a value of '0' if the operation is successful.
Result
bool
Returns a value of true or false. Returns true if the operation is successful.
Message
string
If the operation fails, this message specifies the error and provides language support according to the locale parameter.
Body
object
If the operation fails, this is the detailed object regarding the error.
Last updated