GET
/
user
/
menu
Get paywall menu items for the user
curl --request GET \
  --url https://api.paywalls.ai/v1/user/menu \
  --header 'Authorization: Bearer <token>'
{
  "topup": "<string>",
  "activity": "<string>",
  "wallet": "<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

topup
string

URL to the top-up page for the user.

activity
string

URL to the activity page for the user.

wallet
string

URL to the wallet page for the user.