cURL
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" } } }
Usa este método para agregar puntos a la cuenta del cliente.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
success
The response is of type object.
object