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": "J8tL64oBzxz3uST46tMslfMTh",
"country": "zvWhT1R",
"state": "wFQYtwofmAsJHYqfBKnrUTH20YWR",
"street1": "vZjTXkyeNIvNrpLg3",
"street2": "gafVYywBW5pg9DRCMf2wPjRZ",
"zip": "2yyJ"
},
"name": "mhp0IgxkzijT5IhhAV",
"phone": "+1-800-100-2007"
}'
201 Created
Response{
"address": {
"city": "dHkwMz1PKuFkMMa2u",
"country": "FNqy",
"state": "jpj2",
"street1": "Fve2OJgJ",
"street2": "dtHjXRKdfEUbEQVGZUoM52qshN9",
"zip": "7FgslUXekqC9lTPq3h6sxs3AkDT"
},
"balance": "92.68",
"created_at": "2025-01-09T18:26:44.567Z",
"currency": "mU1inb4yPodm",
"delinquent": true,
"email": "o4r3JAh@6ev0.com",
"id": "GEdutkpqAa4hA",
"metadata": {},
"name": "NzmSna28QbbhiFKnQDR1LVxuaUl",
"phone": "+1-818-270-4660"
}