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": "",
"country": "6O",
"state": "PfQFso72hG",
"street1": "K4nT6CRjeDC8oO0SWPC",
"street2": "yPEhrdoaPPhiyb",
"zip": "adWWvIqPNUy5KAs"
},
"name": "XnN8EnTvhZOIzsEupySh3d",
"phone": "+1-381-838-5891"
}'
200 OK
Response{
"address": {
"city": "SrVbmAcW1yCKBKSpYxbYlmSLStfETO",
"country": "Kqj0t39r3tsyk",
"state": "T9fyf4UepbOo6TZFZa0i1hZX",
"street1": "qLh5JpH0JIZnR8nRZ6liXeAdw8",
"street2": "Q85HAZiFCwgWWPSS",
"zip": "1u0XFIaV2h"
},
"balance": "4.81",
"created_at": "2025-01-09T18:26:38.884Z",
"currency": "8p",
"delinquent": true,
"email": "Br2Jck3kON@0j.com",
"id": "EvNWSMOZ6h5qdq9e0nwSfqoXzsXi",
"metadata": {},
"name": "DCGa1ZrLApAljPzVjX96V",
"phone": "+1-222-785-8530"
}