Skip to main content
POST
/
api
/
checkout
/
dsports-cash
Checkout with D-Sports Cash
curl --request POST \
  --url https://app.d-sports.org/api/checkout/dsports-cash \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "itemId": "<string>",
  "itemType": "<string>",
  "quantity": 123,
  "cartItems": "<array>"
}
'

Authorizations

Authorization
string
header
required

Clerk session token. Use Authorization: Bearer .

Body

application/json
itemId
string
itemType
string
quantity
integer
cartItems
array

Response

200

{ paymentId, remainingBalance }