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": "r23tZzY",
"country": "qAoBwCzIodrEcRYA2OmJ2bJwZ",
"state": "aExjHqOL4FkSpA1vTB",
"street1": "sHKZuQAlcwr",
"street2": "4q",
"zip": "amTTyGySScdUmEqLOP"
},
"name": "OIla",
"phone": "+1-217-544-6444"
}'
200 OK
Response{
"address": {
"city": "md8kcZ9xfY4",
"country": "vCQRlYNGsH",
"state": "GPqNsj2",
"street1": "OVqIM1uKQtdVc0yN",
"street2": "szQ0PgU8noMSF9QlfCCeIUCWl7L",
"zip": "pa1tzyxOADySCVqKwjumOgDA8hBzkW"
},
"balance": "51.71",
"created_at": "2025-01-07T20:44:22.093Z",
"currency": "UQJs9uAbge3ZjdfOB",
"delinquent": false,
"email": "Y@fADW5.com",
"id": "REb1R8",
"metadata": {},
"name": "pTgvaXsSSRQPL8ahbEc",
"phone": "+1-403-109-2988"
}