/
v3.0.11Get access

getDepositV2

This command initiates the deposit process for a player's account

Request parameters:

Name
DescriptionTypeValuesDefault
amount
The fiat or base currency value the player intends to depositnumber--
service
The unique identifier for the specific payment provider/methodnumber--
forProduct
Specifies the target vertical for the depositstring--
host
Origin host or domainstring--
cryptoCurrency
Ticker symbol for transactions using cryptocurrencystring--
ownerId
The unique identifier of the account owner or specific sub-wallet where the funds should be creditednumber--
promoCode
An optional alphanumeric string used to apply bonuses or fulfill promotional requirements during the depositnumber--
getWallets
A flag indicating whether the response should include a refreshed list of the user's available wallets and balancesnumber--
buyRewardBundle
Soonnumber--
confirmationCode
Security or verification token required to authorize the payment transactionnumber--
...rest
The rest data contains dynamic data according to partner configurationobject-

Call example:

getDepositV2({
  amount: 100,
  service: 13939,
  forProduct: 'sports',
  host: 'example.com'
})

Response examples:

{
  code: 0,
  rid: '4dedd3ecf9bb410f803d218f41df837359f4623d',
  data: {
    name: 'FulgurPayFTN',
    paymentId: '12208',
    status: 'ok',
    message: '',
    action: 'https://fulgurpay.io/transaction/deposit/533753?lang=en',
    method: 'iframe',
    fields: [{
      value: 'en',
      name: 'lang'
    }, {
      value: '',
      name: 'chain'
    }, {
      value: 'FCRC20 ( Bahamut )',
      name: 'chain_info'
    }, {
      value: 1689258585,
      name: 'expire_time'
    }, {
      value: '533753',
      name: 'transaction_id'
    }, {
      value: 'FTNF',
      name: 'from_currency'
    }, {
      value: 1,
      name: 'rate'
    }, {
      value: '5.00000000',
      name: 'crypto_amount'
    }, {
      value: 'FTNF',
      name: 'crypto_currency'
    }, {
      value: '0x466370EB83e7c315153b704941ED4cB2BB7B6f0a',
      name: 'address'
    }]
  }
}

Response parameters:

NameDescriptionTypeValues
name
The display name of the payment providerstring-
paymentId
The internal system ID for the selected payment methodstring-
status
Indicates if the deposit initialization was successful or encountered an errorstring-
message
Provides error details if the status is not "ok". When empty, the process is proceeding normallystring-
action
The destination URL for the transactionstring-
method
Defines how the UI should present the paymentstring-
fields
Contains key-value pairs essential for executing a blockchain transactionarray-
└─
object
└─ name
A unique string identifier that acts as a key to define what the data representsstring-
└─ value
The actual content or data corresponding to the namestring-