Skip to main content
POST
/
user
/
wallet
/
deposit
/
onramp
/
quote
Quote card deposit
curl --request POST \
  --url https://api.skinshark.gg/user/wallet/deposit/onramp/quote \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "payAmount": 123,
  "receiveAmount": 123
}
'
{
  "requestId": "<string>",
  "success": true,
  "data": {
    "payAmount": 123,
    "receiveAmount": 123,
    "receiveAmountUsd": 123,
    "exchangeRate": 123,
    "fees": {
      "onrampFee": 123,
      "clientFee": 123,
      "gatewayFee": 123,
      "gasFee": 123
    }
  },
  "error": {
    "code": 1500,
    "key": "INSUFFICIENT_BALANCE",
    "message": "Insufficient balance"
  }
}

Authorizations

api-key
string
header
required

Your raw API key. Generate, rotate, and revoke keys from the merchant dashboard. Keys can optionally be bound to one or more allowed source IPs — requests from any other IP are rejected with API_KEY_IP_DENIED.

Headers

On-Behalf-Of
string

Sub-user UUID or the merchant's externalId for that sub-user. Required for sub-user-context routes; rejected (via requireMerchant) on merchant-context routes.

Required string length: 1 - 128

Body

application/json

Provide either payAmount or receiveAmount.

payCurrency
enum<string>
required
Available options:
USD,
EUR,
GBP
payAmount
number
receiveAmount
number

Response

OK.

requestId
string
required
success
boolean
required
data
object

Present when success: true. Shape varies per endpoint.

error
object