This endpoint allows you to add or remove cashback to/from a customer balance. Internally it will convert the value into points and debit it from customer,..
OperationType=0 if you want to add cashback. Use OperationType=1 if you want to remove cashbackpositive number (eg: 10).negative number (eg: -10)This field allows you to create idempotency: even if you make the exactly same request twice it will change cashback only once. As distributed systems should be fault-tolerant it may result in requests being done more than one time. Not using the ChangeKey may duplicate a change-cashback request thus adding or removing more cashback than intended
Inform some string that is unique for this change.
For instance: if you are adding R$10 for customerID=ABC regarding the OrderId=123 purchase he just made, our key could be ADD-ABC-10-123
If you dont need this kind of verification you can just use some time-related string, such as 2023-01-01 23:59:00:000
This field is important to track why some cashback are given/taken from the customer. This information is internal-use only, it will not be visible to the customer.
Use API Basic Auth Keys
Point changing information
Change Cashback balance from a Customer
Value (in R$) that will be added or removed from customer`s cashback balance
Either is adding or removing cashback from customer
0, 1 Information regarding why these cashback are being add/removed. Internal information only. Required.
This is a unique key for this add/remove cashback. If you try to use the same key more than once it will result in error