POST
/
market
/
buy
cURL
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,
  "budget": 2000
}'
{
  "success": true,
  "data": {
    "newBalance": 550,
    "url": "https://dash.vaultcord.com/market-order?ref=c444b1c9fa354ffcbf3b6c99300fc0d9",
    "inviteUrl": "https://discord.com/oauth2/authorize?client_id=155149108183695360&permissions=1&scope=bot&guild_id=203039963636301824",
    "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.