API → PaymentsUpdate payment info for your org

Parameters

Name

Type

Req.

Returns

put
/org/payment
$ curl -X PUT "https://api.zoo.dev/org/payment" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "address": {
    "city": "hHYXDS3hGjOQAQyVJB0Z",
    "country": "PVzOMqEhxV",
    "state": "mPD7kN5zz5sf",
    "street1": "5QCp3WUrYEwPR",
    "street2": "xnivaAsNb8QFiuW6Tuod3MPIiGozYF",
    "zip": "SvxjDRNNTnqmR"
  },
  "name": "WS2WOjQMCscfsAvYIUPfd",
  "phone": "+1-644-899-7118"
}'
200 OK
Response
{
  "address": {
    "city": "ZB4xRxcWy94FL78",
    "country": "IxNukCcQYfgle4qHD",
    "state": "mcnYzwMyzutyvz",
    "street1": "jzs0MEn",
    "street2": "hFwIkvudJU5Cps3zDApcdAdI",
    "zip": "X3Ld"
  },
  "balance": "40.36",
  "created_at": "2024-04-18T22:04:50.653Z",
  "currency": "WAfsRjbTOrGBK4ZmnpKQKz1pB0",
  "delinquent": false,
  "email": "1a8HOmKFL5@260EE2.com",
  "id": "xo",
  "metadata": {},
  "name": "",
  "phone": "+1-426-774-8465"
}