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": "VVGOjSX",
"country": "vzQZYcfQ",
"state": "dQkZ1fp2JRaUnUTza5n49CikMpBh",
"street1": "lV",
"street2": "fRpiAiAgPuTxHR3oM",
"zip": "HKX8ajZgBtcveeJSKSXYzbTnIT"
},
"name": "AcwOiop8mvUMV2",
"phone": "+1-761-165-1157"
}'
201 Created
Response{
"address": {
"city": "N0HS8XtmuKQY",
"country": "f70PFgf",
"state": "VCg4vxrBZRHgIyZ16l7",
"street1": "aLcznDVteRE",
"street2": "tXtqgf454YicCa4l9TkWZPS9bXqj",
"zip": "WyFbSQ"
},
"balance": "58.80",
"created_at": "2025-01-07T17:17:39.349Z",
"currency": "IFk0ny5bTCP92yPIh9xK7q",
"delinquent": true,
"email": "RSWh2@y9ny7sbB7.com",
"id": "B36tPQ8zP2E",
"metadata": {},
"name": "fNc1TgC",
"phone": "+1-705-901-7581"
}