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": "",
    "country": "6oamAm9JT5v35dc",
    "state": "i7pOnAsFTtglG50z9AAkD",
    "street1": "G9mj",
    "street2": "ezO6GdtA1e8UWBYm0qPAudSDHzIi7",
    "zip": "7uqxN"
  },
  "name": "I",
  "phone": "+1-227-289-1716"
}'
201 Created
Response
{
  "address": {
    "city": "LzCVNf2",
    "country": "NWiPClUcj3QIKnilq3T14rPZ7uOZko",
    "state": "56kCMH7jj99",
    "street1": "bYf7DDz",
    "street2": "rkEe",
    "zip": "wU0cVYTzbG1LJvLckIT"
  },
  "balance": "51.10",
  "created_at": "2024-07-27T01:16:06.119Z",
  "currency": "u5Vw",
  "delinquent": true,
  "email": "O@UTLovUpwPB.com",
  "id": "Yu0W71X6OLzQRDB3H39ZxU",
  "metadata": {},
  "name": "whVLAVjYcM8pcSPHaB2Rb6",
  "phone": "+1-210-669-5857"
}