Marketplace
Buy Members
Buy Members
POST
/
market
/
buy
Copy
curl --request POST \
--url https://api.vaultcord.com/market/buy \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"marketId": 618,
"inviteLink": "dyno",
"userEmail": "william@nelsoncybersecurity.com",
"amount": 100
}'
Copy
{
"success": true,
"data": {
"newBalance": 550,
"url": "Send your buyer here so they can invite the bot and pull members.",
"reference": "c444b1c9fa354ffcbf3b6c99300fc0d9",
"orderId": "API-c444b1c9fa354ffcbf3b6c99300fc0d9",
"amount": 100,
"guildId": "203039963636301824",
"inviteCode": "dyno",
"userEmail": "william@nelsoncybersecurity.com",
"status": "paid",
"clientId": "1377453171714293860",
"cost": 150,
"created_at": 1751225426
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
JSON for creating marketplace order
The body is of type object
.
Response
200
application/json
resource retrieved
The response is of type object
.
Copy
curl --request POST \
--url https://api.vaultcord.com/market/buy \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"marketId": 618,
"inviteLink": "dyno",
"userEmail": "william@nelsoncybersecurity.com",
"amount": 100
}'
Copy
{
"success": true,
"data": {
"newBalance": 550,
"url": "Send your buyer here so they can invite the bot and pull members.",
"reference": "c444b1c9fa354ffcbf3b6c99300fc0d9",
"orderId": "API-c444b1c9fa354ffcbf3b6c99300fc0d9",
"amount": 100,
"guildId": "203039963636301824",
"inviteCode": "dyno",
"userEmail": "william@nelsoncybersecurity.com",
"status": "paid",
"clientId": "1377453171714293860",
"cost": 150,
"created_at": 1751225426
}
}
Assistant
Responses are generated using AI and may contain mistakes.