API → PaymentsCreate payment info for your user

Parameters

Name

Type

Req.

Returns

post
/user/payment
$ curl -X POST "https://api.zoo.dev/user/payment" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "address": {
    "city": "nbdTzAvfgLxwEXfED7Q",
    "country": "jHbWwrrCgM16CVeb4Dkl6a9JmML4",
    "state": "K217clZU",
    "street1": "k",
    "street2": "HgRHhZbWDDWinaBwcjts0jeRU",
    "zip": "cWpLLLT6TUyDwYlC1yuHECspJaPq"
  },
  "name": "cp",
  "phone": "+1-620-730-4823"
}'
201 Created
Response
{
  "address": {
    "city": "vIVKm5ySF",
    "country": "8ejxLOzqeR4XhQCQUwXd",
    "state": "gITgKkeGZ09tB9Uz5DLKE9vV",
    "street1": "7lPiCvSj2JCUqCLHQ",
    "street2": "WBN2f40LihHuf9UqSjmMwZrEDkMru",
    "zip": "XhHRVrc"
  },
  "balance": "41.68",
  "created_at": "2024-12-06T17:03:17.450Z",
  "currency": "qayGl5lxVFh0IGQ",
  "delinquent": true,
  "email": "OP@Qt66L.com",
  "id": "ZWU6LvxqS7e",
  "metadata": {},
  "name": "3r9bsJz9xnF6832WS3kBI8kqbVT1Ek",
  "phone": "+1-252-495-1817"
}