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": "iCMXeeAE0yTCNzyZx8bhMrmHYO4",
    "country": "hTxfEcDYgnXM2Yszz",
    "state": "s7D10egIRkiO1TvOI8GZD4NClGHK",
    "street1": "52XZsBUyj",
    "street2": "LipGS",
    "zip": "z7"
  },
  "name": "3EUqj9hoShtS49hMiClwl",
  "phone": "+1-712-234-2369"
}'
201 Created
Response
{
  "address": {
    "city": "EI6kQfYDKsPK6A6HGDJQbw7gW2",
    "country": "7",
    "state": "4QrGI",
    "street1": "qBL2RWQSrx6NEbA2z92Mw48pPi",
    "street2": "vgt",
    "zip": "HUDWJtZNClqtoaDhWws"
  },
  "balance": "4.88",
  "created_at": "2024-04-18T22:05:05.816Z",
  "currency": "zuuxVPUemXtkHty1jVvTtH",
  "delinquent": true,
  "email": "8mGsbx@qgcb2y2A.com",
  "id": "rzEmXGGc",
  "metadata": {},
  "name": "7jykCh",
  "phone": "+1-892-349-5375"
}