Test URL:
https://test.paymentgateway.hu/api/rest/
Production URL:
https://www.paymentgateway.hu/api/rest/
HTTP Basic Authentication:
Send base64 encoded StoreName and ApiKey in HTTP Header.
Example:
Authorization: Basic c2RrX3Rlc3Q6ODZhZjMtODBlNGYtZjgyMjgtOTQ5OGYtOTEwYWQ=
Where the c2RrX3Rlc3Q6ODZhZjMtODBlNGYtZjgyMjgtOTQ5OGYtOTEwYWQ= string equal in PHP:
base64_encode("sdk_test:86af3-80e4f-f8228-9498f-910ad");
Cancel payment link:
Required data (HTTP POST):
method = PaymentLinkCancel
json = {json encoded variable}
Parameter (* if necessary):
PaymentLinkName*
Example:
method=PaymentLinkCancel&json={"PaymentLinkName":"[PaymentLinkName received by PaymentLinkCreate]"}
Response data (JSON format):
PaymentLinkName
Status
ResultCode
ResultMessage