fbpx
3.30. Add Contragent Points


Connection URL

TEST URL  http://nap.dev.icash.bg/clientapi/v1/add-contragent-points
( BG ) PRODUCTION URL https://v5.icash.bg/clientapi/v1/add-contragent-points

 

POST Request params

Param Description Field type Required
api_key API Key String YES
nonce Nonce Integer YES
signature Signature String YES
ses Session indentificator String YES
PointContragentID
Contragent ID integer YES
PointQty Quantity points Decimal(10,2) YES
PointComment Comment for history point String YES

 

JSON response on success

Param Description Field type Required
nonce Nonce from request Integer YES
status Request status Integer

1 – successful

YES
data Data information Array of data

 

Structure of type “Data”

Param Description Field type Required
PointID PointID Integer YES

 

Example:

{
    "nonce": "1703245385",
    "status": 1,
    "data": {
        "PointID": 1
    }
}

 

 

JSON response on unsuccess

Param Description Field type Required
nonce Nonce from request Integer YES
status Request status Integer

0 – unsuccess request

YES
error_message Error Description String NO

 

Example response unsuccess:

{
    „nonce“: „1552990901“,
    „status“: 0,
    „error_message“: „Session expired“
}

 

Безплатна консултация



Безплатна консултация



Безплатна консултация




Безплатна консултация




Безплатна консултация




Безплатна консултация