v1

latestOpenAPI 3.0.02026-07-1498163181.9 KB
Payment Setting

Get payment setting info

Returns payment setting info

get/api/v1/organization/payment-setting

Response

idstring required
createdAtstring date-time
updatedAtstring date-time
paymentMethodTypesPaymentMethodType[]

A list of the types of payment methods

allowedCurrenciesCryptoCurrency[]

The list of currencies allowed for the payment.

preferredChainIdnumber

The preferred chain's id

preferredCurrency'usdc' | 'usdt' | 'pyusd' | 'eurc' | 'brett' | 'dai' | 'btc' | 'eth' | 'matic' | 'bnb' | 'sol' | 'busd' | 'trx' | 'food' | 'bonk' | 'wif' | 'goat' | 'spx' | 'truf' | 'pengu'
allowSwapboolean

Whether the user can swap the payment currency

applyFeeboolean

Whether add a application fee to the user payment

feePercentagenumber required

Percent that will be added to subtotal as a fee

applyGasFeeboolean

Whether add a transaction fee to the user payment

allowSplitPaymentsboolean

Whether the user can split the payment

slippagePercentagenumber

The slippage percentage allowed for swaps and withdrawals

Example response

{
  "allowedChains": [
    {
      "chainId": 137
    }
  ],
  "allowedCurrencies": [
    "usdc",
    "usdt"
  ],
  "preferredChainId": 1,
  "feePercentage": 1,
  "slippagePercentage": 1
}