Skip to main content
POST
/
user
/
wallet
/
deposit
/
onramp
/
session
Create card deposit session
curl --request POST \
  --url https://api.skinshark.gg/user/wallet/deposit/onramp/session \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "payAmount": 123,
  "receiveAmount": 123,
  "redirectUrl": "<string>"
}
'
{
  "requestId": "<string>",
  "success": true,
  "data": {
    "fundingId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "payAmount": 123,
    "receiveAmount": 123,
    "receiveAmountUsd": 123,
    "exchangeRate": 123,
    "whitelabelUrl": "<string>"
  },
  "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
redirectUrl
string<uri>

Response

OK.

requestId
string
required
success
boolean
required
data
object

Present when success: true. Shape varies per endpoint.

error
object