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": "Lyq9i0jfvJZkDpZ43Z",
"country": "2aJg3a5JKQjWBSv82MRcs5Z7AG0",
"state": "iF2PGboJiZgi9t1D583LbbbJl",
"street1": "566UqiAzTZCkdYJQNWtlwbPe3",
"street2": "H2AaXfs6vPTsJ5y4inVc5KthCLnn",
"zip": "k9v65AobeMSWf6MMb"
},
"name": "p0m4QysCIV4JG1bkNf",
"phone": "+1-736-877-9418"
}'
200 OK
Response{
"address": {
"city": "Vgr",
"country": "ZwjSHopi5vFYUNrn",
"state": "FK5xzM",
"street1": "jBHzkzL",
"street2": "BwKDFe",
"zip": "dEpJ"
},
"balance": "79.56",
"created_at": "2024-12-19T17:49:42.006Z",
"currency": "9bdD3v3qb8RSrdXvXCHit",
"delinquent": false,
"email": "@.com",
"id": "kiqJpC88aJxEhl4zlX5U",
"metadata": {},
"name": "",
"phone": "+1-760-352-1256"
}