Subscription Bundles
Create Bundle
Create a new bundle for the account.
AuthorizationBearer <token>
Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys
In: header
Path Parameters
accountstring
The Account ID
Query Parameters
discountinteger
The bundle's discount percentage.
Value in
0 | 5 | 10 | 15 | 20 | 25 | 30 | 35 | 40 | 45 | 50durationinteger
The bundle's duration in months.
Value in
3 | 6 | 12Response Body
curl -X POST "https://app.onlyfansapi.com/api/string/bundles?discount=10&duration=10"{
"data": {
"id": 123,
"discount": 15,
"duration": 12,
"price": 123,
"canBuy": false
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999813,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": null,
"remaining_minute": 996,
"remaining_day": null,
"notice": "We have decided to remove our daily rate limits. Please remove any references to these in your integrations."
}
}
}