API → PaymentsUpdate payment info for your user

Parameters

Name

Type

Req.

Returns

put
/user/payment
$ curl -X PUT "https://api.zoo.dev/user/payment" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "address": {
    "city": "3jeiiMN3b",
    "country": "KHASHUet9tbwwk8nu3g",
    "state": "Oy9sF3Fw719vGHbF3qE6t90gMO",
    "street1": "OAzRK",
    "street2": "bL9kenU",
    "zip": "AJkEN"
  },
  "name": "bOuDeb",
  "phone": "+1-725-916-9393"
}'
200 OK
Response
{
  "address": {
    "city": "6OlFM4xF09eIFU3",
    "country": "pMiy8mDbKeJKv",
    "state": "XypRHUMx7KUN0Q2ri",
    "street1": "hlrZ8g5lOeNpkc85MsFVb",
    "street2": "Ert",
    "zip": "otChMTf93UpcQ6iFyWnsslOjc"
  },
  "balance": "20.59",
  "created_at": "2024-04-12T19:24:21.561Z",
  "currency": "8Cq1NulV6B2NhfKwNgmPh75X1LCfgU",
  "delinquent": false,
  "email": "ncOqLWRyfa@k7.com",
  "id": "R8JfwZIipc",
  "metadata": {},
  "name": "Iq1XMFKBz",
  "phone": "+1-969-314-3720"
}