This method is used in the marketplace to approve the product for money transfer if the transaction is completed without any problems.
Status codes and descriptions:
Durum Kodu | Açıklama | |
---|---|---|
0 | Waiting for Approval | It is used in Parameters to be sent. |
1 | Approved | It is used in Parameters to be sent. |
-1 | Cancel (Only for Cancel Order. Firstly, State = 0 for Cancel Order) | It is used in Parameters to be sent. |
12 | Canceled (Statement Code for Cancel Order and Payment) | It is used in Parameters to be sent. |
13 | Returned. | It is used in Parameters to be sent. |
Parameter | Required | Type | Length | Description |
---|---|---|---|---|
G | Yes | Object | - | ST_WS_Guvenlik Object |
PYSiparis_GUID | Yes | String | 36 | Marketplace Order GUID Value |
Durum | No | String | - | Order Status Code |
Parameter | Type | Length | Description |
---|---|---|---|
Sonuc | Integer | 1 | Result Value |
Sonuc_Str | String | 150 | Result Description, Sonuc_Ack Parameter > 0 Operation Successful, otherwise failed. |
POS_Islem_Id | String | - | Transaction ID value |
GUID_AltUyeIsyeri | String | 36 | GUID of the sub-merchant |
Tutar_Urun | String | - | Amount of the total product |
Tutar_Odenecek | String | - | Amount to be paid |
Durum | String | - | Status Code |
Durum_Str | String | - | Status Description |
G Object:
Parameter | Required | Type | Length | Description |
---|---|---|---|---|
CLIENT_CODE | * | Integer | 5 | Terminal ID will be forwarded by us. |
CLIENT_USERNAME | * | String | max 16 | Username will be transmitted by us. |
CLIENT_PASSWORD | * | String | max 11 | Password will be transmitted by us. |