API → Payments → Update payment info for your user
Parameters
Name
Type
Req.
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
put
/user/payment$ curl -X PUT "https://api.zoo.dev/user/payment" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"address": {
"city": "nulKZWKQoUb9Xtl21aaqaHa",
"country": "SA4Q",
"state": "Tk8UA0KWT7cHU",
"street1": "LFcDir4LJpN4F2gP",
"street2": "NNLbshH81ANXe49q5gju1LQZYqD",
"zip": "n2EZVl8sg4b"
},
"name": "",
"phone": "+1-235-119-7679"
}'
200 OK
Response{
"address": {
"city": "qNjrfT5pp",
"country": "kVohjyAajYzltVwCJZOIuaH0bPtFY",
"state": "aVdSEIYP",
"street1": "0J0kcIo72AXVc0S",
"street2": "FjgYK8wqM",
"zip": "Bir7CIzQmZCpT"
},
"balance": "89.04",
"created_at": "2024-12-06T17:03:13.571Z",
"currency": "TQQO1Zpmvl6pVD2ldV7ywRp6v",
"delinquent": false,
"email": "qQFCy@e9s.com",
"id": "MOHy6P9",
"metadata": {},
"name": "",
"phone": "+1-926-675-2466"
}