• API. Remove customer bonus points removeBonusExt
    The command is similar to removeBonus, but allows:
    • Add a description of the operation in the "info" field in the query
    • Get the "guid" previously given to us in the query of any other command
    The command is designed to remove bonus points from the customer. An email address (parameter email), phone (parameter phone) or unique identifier (parameter uniqId) can identify the customer in the transmitted request.

    Request:

{
   "del":[
      {
         "amount":200.0,
         "guid":"a74b6b5a-8cbb-43e3-b77c-a8ba71d960b2",
         "email":null,
         "phone":"+79257443549",
         "uniqId":null,
         "info": "423154******213 bonus payment"
      },
      {
         "amount":200.0,
         "guid":"3ee70810-2cf4-43f1-aac5-7a173516e46b",
         "email":null,
         "phone":"+7925744354",
         "uniqId":null,
         "info": "User 1234567 bonus for June 2016"
      },
      {
         "amount":200.0,
         "guid":"335e6d98-bd4e-4ee2-a083-a0e8a6d30e42",
         "email":"test@email.ru",
         "phone":null,
         "uniqId":null
      },
      {
         "amount":200.0,
         "guid":"5d4e69a4-eeef-4b91-8b42-9f698c02de7d",
         "email":"test1@email.ru",
         "phone":null,
         "uniqId":null
      },
      {
         "amount":200.0,
         "guid":"f0d03709-6522-4e6e-bd96-c4492f9e4597",
         "email":null,
         "phone":null,
         "uniqId":"sdsdaasdfadfas"
      }
   ],
   "typeOfCommand":"removeBonusExt"
}
Request parameters:
Object RemoveBonus:
Response:

{
   "results":[
      {
         "login":"+79257443549",
         "balance":200.0000,
         "status":"Success",
         "error":null,
         "guid":"a74b6b5a-8cbb-43e3-b77c-a8ba71d960b2"
      },
      {
         "login":"+7925744354",
         "balance":null,
         "status":"Failure",
         "error":{
         "typeOfError":"dataNotValid",
         "description":"The phone format is not correct. Use '+7xxxyyyyyyy'"
         "guid":"3ee70810-2cf4-43f1-aac5-7a173516e46b"
      },
      {
         "login":"test@email.ru",
         "balance":200.0000,
         "status":"Success",
         "error":null,
         "guid":"335e6d98-bd4e-4ee2-a083-a0e8a6d30e42"
      },
      {
         "login":"test1@email.ru",
         "balance":0.0000,
         "status":"Success",
         "error":null,
         "guid":"5d4e69a4-eeef-4b91-8b42-9f698c02de7d"
      },
      {
         "login":"sdsdaasdfadfas",
         "balance":200.0000,
         "status":"Success",
         "error":null
         "guid":"f0d03709-6522-4e6e-bd96-c4492f9e4597"
   ],
   "status":"Success",
   "error":null
}
Response parameters:
Object RemoveStatus:
Object Error: