Copy curl -- url 'https://system-test.paymentgateway.hu/api/payment/' \
-- user 'sdk_test:86af3-80e4f-f8228-9498f-910ad' \
-- user - agent 'Details | merchant-store.com | PHP | 7.3.0' \
-- request 'POST' \
-- data 'method=Details' \
-- data 'json=
{
"TransactionId":"a4d6f6f27f2116da21da62d705dbd7ef",
"GetRelatedTransactions":false,
"GetInfoData":false
}'
Copy {
"CommonData" :
{
"StoreName" : "sdk_test" ,
"ProviderName" : "GP" ,
"TransactionId" : "a4d6f6f27f2116da21da62d705dbd7ef" ,
"ResultCode" : "SUCCESSFUL" ,
"ResultMessage" : "Sikeres tranzakció" ,
"Anum" : "006766" ,
"Amount" : "100" ,
"Currency" : "HUF" ,
"OrderId" : "BF-TEST-ORDER" ,
"UserId" : "BF-TEST-USER" ,
"Language" : "HU" ,
"ProviderTransactionId" : "tr_GVaydOjpVySGJycK15glvGgbLGxmCQyf" ,
"AutoCommit" : "false" ,
"CommitState" : "APPROVED" ,
"Created" : "2020-03-14 11:19:07" ,
"ResponseId" : "3202109280600047706"
} ,
"ProviderSpecificData" :
{
...
"Amount" : "100" ,
"Currency" : "HUF" ,
"Language" : "HU" ,
"OrderId" : "BF-TEST-ORDER" ,
"UserId" : "BF-TEST-USER" ,
"ResponseUrl" : "https://demo.paymentgateway.hu/response.php" ,
"NotificationUrl" : null ,
"MaxNotificationSendAttempts" : 0 ,
"NotificationSendAttempts" : 0 ,
"NotificationSendSuccess" : 0 ,
"Extra" : null ,
"AutoCommit" : "0" ,
"CommitState" : "1" ,
"HasRefund" : "0" ,
"Created" : "2017-11-17 13:12:36" ,
"LastModified" : "2017-11-17 13:14:07" ,
"InvoiceDate" : null ,
"TransactionLogs" :
[
...
{
"logMessage" : "getInitResponse(): SUCCESSFUL" ,
"stamp" : "2017-11-17 13:12:36"
} ,
{
"logMessage" : "Transaction initialized..." ,
"stamp" : "2017-11-17 13:12:36"
}
] ,
"GatewayPaymentPage" : null ,
"ModuleName" : null ,
"ModuleVersion" : null ,
"StoreProviderId" : "3103" ,
"Error" : null ,
"ResultMessage" : null
} ,
"RelatedTransactions" : null ,
"InfoData" : null ,
"ResultCode" : "SUCCESSFUL" ,
"ResultMessage" : null ,
"ProviderName" : "GP" ,
"ResponseId" : "3202109280600047706"
}