POST
/
market
/
buy
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
}'
{
  "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

Authorization
string
header
required

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.