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": "f9LKknW",
    "country": "M",
    "state": "SYpOBtV2HB5ZSduE",
    "street1": "8GLHEbeG78VIW",
    "street2": "hsrUDK8Gd5QP",
    "zip": "AReGfyDsrdgcf5qJgWeGrgc3NiJy"
  },
  "name": "wj",
  "phone": "+1-831-890-3445"
}'
200 OK
Response
{
  "address": {
    "city": "",
    "country": "MzjferZJLUeJ3p4Z3O1WEogx9RkwRq",
    "state": "xyRCOL",
    "street1": "qsA5zThsriPaGH9",
    "street2": "",
    "zip": "wxdt2z2PX"
  },
  "balance": "43.78",
  "created_at": "2024-07-12T16:22:08.263Z",
  "currency": "vde",
  "delinquent": false,
  "email": "W@s7n1z.com",
  "id": "uofvtdzmwkNUB",
  "metadata": {},
  "name": "e1G4B",
  "phone": "+1-234-902-4312"
}