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": "WuQzRHX1nqR1PmNCJc4TD",
"country": "uN0Zbe6Re",
"state": "lig85WnTnAeP9zaMOmaJ82l3XtM8",
"street1": "sAmvm8kb5mRTjta9",
"street2": "aAXCo0ATdFUtmJPBKV9jHPG",
"zip": "JGkydpcDk"
},
"name": "BZwXDdi6wp",
"phone": "+1-803-794-6181"
}'
201 Created
Response{
"address": {
"city": "Awet",
"country": "MO7I06LtCvIEKyqL",
"state": "8FESbT",
"street1": "hqeI4XaZRlH7uP4WLQRqiHvr39N",
"street2": "79iZmbtyWdbY3tJpNU38qhkYxlFVh9",
"zip": "cfKoBbqdDvsY1tl9QUQU"
},
"balance": "50.45",
"created_at": "2025-01-17T16:13:42.018Z",
"currency": "XSPaInR4FvstZaCKhrzPML5JJbWM",
"delinquent": true,
"email": "uEjcP@FlID.com",
"id": "4X7IQ2gT0q8aboFcteuh",
"metadata": {},
"name": "YywaEkriq",
"phone": "+1-148-314-2553"
}