Currency
Get list of available currencies
GET https://api.legranpay.io/v1/merchant/currencies
Headers
Name
Type
Description
X-MERCHANT-KEY*
String
You merchant key
{
"error": false,
"data": [
{
"code": "MATIC",
"name": "Polygon Matic",
"scale": 8,
"minDeposit": "10.00000000",
"minWithdraw": "10.00000000",
"blockchains": [
{
"name": "POLYGON_MUMBAI",
"confirmations": 6,
"fees": [
{
"name": "deposit",
"percentatge": "0.80",
"minAmount": "0.10"
}
]
}
]
},
{
"code": "USDT",
"name": "TetherUSD",
"scale": 6,
"minDeposit": "10.00000000",
"minWithdraw": "10.00000000",
"blockchains": [
{
"name": "TRON_SHASTA",
"confirmations": 20,
"fees": [
{
"name": "deposit",
"percentatge": "0.80",
"minAmount": "0.40"
}
]
},
{
"name": "POLYGON_MUMBAI",
"confirmations": 6,
"fees": [
{
"name": "deposit",
"percentatge": "0.80",
"minAmount": "0.40"
}
]
}
]
}
]
}{
"error": true,
"code": 1001,
"message": "Invalid merchant key"
}Currency object
Attribute
Type
Description
code
String
Currency unique code
name
String
Currency name
scale
Number
Currency decimals
minDeposit
String
Minimum deposit required
minWithdraw
String
Mnimum withdraw required
blockchains
Array<Blockchain>
Available blockchains
Blockchains object
Attribute
Type
Description
name
String
Blockchain unique name
confirmations
Number
Transaction confirmations
fees
Array<Fee>
Available fees
Fee object
Attribute
Type
Description
name
Enum<FeeType>
Fee name
percentatge
String
Percentatge for service
minAmount
String
The minimum amount if the fee is less than the established percentage
FeeType enum
Attribute
Type
Description
deposit
String
For normal deposits
deposit_exchange
String
For deposits with exchange
exchange
String
For normal withdraws
withdraw_exchange
String
For withdraws with exchange
Possible errors
500
Last updated