GET
/
user
/
balance
/
topup
Get a top-up link for adding user funds
curl --request GET \
  --url https://api.paywalls.ai/v1/user/balance/topup \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Paywall-User
string

Optional user identifier provided by the developer. Can be used instead of the user property in the request body to associate the API call with a specific end user.

Query Parameters

user
string

The unique identifier of the user to get menu items for.

Response

200 - application/json

successful operation

url
string

The URL to redirect the user to for topping up their balance.