Users
Generate a link to refill the user's wallet
POST
/
api
/
users
/
wallet
/
refill
Authorization
Body
{
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}
{
"success": true,
"link": "https://app.dots.dev/refill/dfjskjfhshgfdsjehf"
}
Authorizations
Authorizationheaderrequired
string
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
user_idrequired
string
Response
200 - application/json
link
string
success
boolean
{
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}
{
"success": true,
"link": "https://app.dots.dev/refill/dfjskjfhshgfdsjehf"
}