GET
/
v1
/
cashback
/
user
/
{address}
curl --request GET \
  --url https://backend.swap.coffee/v1/cashback/user/{address} \
  --header 'x-verify: <x-verify>'
{
  "cashback_count": 123,
  "total_earned_usd": 123
}

Authorizations

X-Api-Key
string
header
required

Headers

x-verify
string
required

TON proof for the given address

Path Parameters

address
string
required
Example:

"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"

Response

200
application/json
Account's earned stats
cashback_count
integer
required
total_earned_usd
number
required
{key}
any