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": "SsSbGGAuvXkVfYEZrgf6Rhx5e",
"country": "ttp1QJ4Y7ISYfJfeGNSsh83",
"state": "op6Mg2ul8dd3UMD0XuvbXyL",
"street1": "RaRc1MMe7V",
"street2": "YE0WfugpWO3g5GvRjmuVublOQ5Dle",
"zip": "IED"
},
"name": "0lZ2eZe5R",
"phone": "+1-993-562-5904"
}'
200 OK
Response{
"address": {
"city": "ZEf3hJxl6fRW2zxRWkey5fKf",
"country": "7iJDn6Lpz39iIwsFYJbJ",
"state": "YLT0yeWKHCpDsCxxh",
"street1": "rqtuFCjoFbxEm8duWWzdkgZtnoW",
"street2": "TRzs7FWnEMQrWII84SzJD",
"zip": "CKsxgksLwABZ3cE2B"
},
"balance": "56.04",
"created_at": "2024-07-27T01:16:05.814Z",
"currency": "pYzYwdMaDIobEycF",
"delinquent": true,
"email": "S@VeVAmg.com",
"id": "oA2EtRwhd4F01m",
"metadata": {},
"name": "OQ5Z",
"phone": "+1-278-266-2853"
}