API → Payments → Create payment info for your user
Parameters
Name
Type
Req.
Returns
- 201 Created
successful creation
Name
Type
Req.
body
objectoptionalObject Properties
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": "fQSGr79n0CiBbMD6V",
"state": "l14IGuG",
"street1": "d9D32iRkl",
"street2": "32B9",
"zip": "uYEbWJhZTilEfFt"
},
"name": "WXpFXpKyQHvNfQDILiN6DnHD1Qtko1",
"phone": "+1-294-884-7596"
}'
201 Created
Response{
"address": {
"city": "jXU1vJ6iJApj9HNDONjbEmPiy6KTR",
"country": "xysTHPEpXm8lcWcVXcjWOyz",
"state": "p0aUiiZ8DkkeF8kD4dgoOy",
"street1": "3HaJYBHz4Bd",
"street2": "QWBWl",
"zip": "Y0Bk7uC2BAicp76N7OJ9IPO96"
},
"balance": "22.97",
"created_at": "2024-09-07T21:57:07.439Z",
"currency": "62CXStAJmLbyeFAelsEuD39Fi",
"delinquent": false,
"email": "L@1.com",
"id": "FRqG0iYYqoFZ6Uzoji",
"metadata": {},
"name": "GnLDjDA3jwLoD0Qss6",
"phone": "+1-860-505-4671"
}