Skip to main content
POST
/
api
/
packs
/
{id}
/
purchase
Start pack purchase
curl --request POST \
  --url https://app.d-sports.org/api/packs/{id}/purchase \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "paymentMethod": "crypto"
}
'

Authorizations

Authorization
string
header
required

Clerk session token. Use Authorization: Bearer .

Path Parameters

id
string
required

Body

application/json
paymentMethod
enum<string>
Available options:
crypto,
dsports-cash

Response

200

{ purchaseId }