POST
/
clients
/
addPoints
curl --request POST \
  --url https://api.getjusto.com/api/v2/clients/addPoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "clientId": "<string>",
  "amount": 123
}'
{
  "status": "ok",
  "data": {
    "amount": 1000,
    "websiteId": "ErCkmcyCEovseJq5E",
    "date": "2022-03-01T13:18:59.381Z",
    "balance": 5026,
    "user": {
      "clientId": "YdhZfJzvD2atjXeED",
      "email": "jdoe@gmail.com",
      "fullName": "John  Doe",
      "phone": "+56912345678"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

success

The response is of type object.