2. Get list of assets support
Get a list of asset support
GET
https://api.pos25.app/v1/cf-payment/asset
The API will retrieve a list of chain assets that the user passes in via chain_id
Query Parameters
Name
Type
Description
chain_id*
String
chain_id that pos25 supports
Headers
Name
Type
Description
Authorization*
String
Bearer <Token>
{
"data": [
{
"asset": "USDT",
"chain": "SCROLL",
"chain_id": 534352,
"decimal": 6,
"logo": "https://s3.ap-southeast-1.amazonaws.com/static.atomsolution.vn/usdt.png"
}
],
"errors": [],
"msg": "",
"error_code": ""
}
Let's see how you can call this method either through Curl
or Python
:
curl --location 'https://api.pos25.app/v1/cf-payment/asset?chain_id=534352'
Last updated