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": "E4yZBzU",
    "country": "TrJWKL7GqaNQplOWUKM5sE5GZ",
    "state": "vgXApu4",
    "street1": "JxBfhZecViFkjJklx",
    "street2": "3XzYrmSXYy9OMPSxgcUSnmqqWfQ",
    "zip": "N2PWwOuhvrmQg7PWMPJtF7DFbgU"
  },
  "name": "fKGct4J3f",
  "phone": "+1-398-992-2648"
}'
201 Created
Response
{
  "address": {
    "city": "MAHNxCKHy9Dgyy",
    "country": "9qL0Ra5ksKFlA7dkTPSE7Hqqnd7tU",
    "state": "Y",
    "street1": "PiTtJmJK4Xoetgt3XSO10lGc8Uo",
    "street2": "0ctTy07Z8qqYRu1SfDc",
    "zip": "xY7UellhTZiN8mNpsa1cSZE7dj7zk"
  },
  "balance": "3.61",
  "created_at": "2024-12-19T17:49:38.244Z",
  "currency": "SBIxa",
  "delinquent": true,
  "email": "bM1QUtb@DqQlu.com",
  "id": "yeiXFksa8xqGC6t0e4p71GQWg",
  "metadata": {},
  "name": "Y8l6MhIjCiIoS06Vm8lcHj",
  "phone": "+1-645-567-8557"
}