Skip to main content
POST
/
v1
/
premium
/
buy
Buy Premium
curl --request POST \
  --url https://fragapi.ru/v1/premium/buy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "<string>",
  "months": "3",
  "show_sender": false
}'
{
  "success": true,
  "transaction_hash": "<string>"
}

Authorizations

Authorization
string
header
required

API Token from your panel

Body

application/json
username
string
required
months
enum<string>
required
Available options:
3,
6,
12
show_sender
boolean
default:false

Response

Successful Response

success
boolean
required
transaction_hash
string
required
I