The function of the service Master Percentage Crypto as the master data for the verification of the crypto rate of each token and the collection of data setting the fee, product enabled, fix rate, discount per token, etc.
Here's the details of action Master Percentage Crypto such as :
- Create, used to create a new Master Percentage Crypto data.
- Update, used to update data from an existing Master Percentage Crypto.
- Get, used to get Master Percentage Crypto details.
- GetById, used to get Master Percentage Crypto data details based on ID.
Create
Payload Data
Name | Data Type |
---|---|
ID | String |
Simbol | String |
Token | String |
Service | String |
PPN | String |
preRate | String |
gasFee | String |
indodaxMinBuy | String |
type | String |
Enabled | String |
maxPoint | String |
Example Request
{
"Subject": "ewallet",
"SubjectType": "web-crypto-configuration",
"SubjectIdentifier": "master-persentase",
"Action": "create",
"ResourceType": "data",
"Resource": "data",
"ResourceId": "data",
"Data": {
"id": 0,
"simbol": "SOLC",
"token": "SOLANAC",
"service":["PPOB","QRIS"],
"ppn":10,
"preRate":20,
"fixRate":30,
"gasFee":40,
"indodaxMinBuy":1,
"type":0,
"enabled":1,
"maxPoint": 100
}
}
Update
Payload Data
Name | Data Type |
---|---|
ID | String |
Simbol | String |
Token | String |
Service | String |
PPN | String |
preRate | String |
gasFee | String |
indodaxMinBuy | String |
type | String |
Enabled | String |
maxPoint | String |
Example Request
{
"Subject": "ewallet",
"SubjectType": "web-crypto-configuration",
"SubjectIdentifier": "master-persentase",
"Action": "update",
"ResourceType": "data",
"Resource": "data",
"ResourceId": "data",
"Data": {
"id": 80,
"simbol": "SOLD",
"token": "SOLANAD",
"service":["PPOB"],
"ppn":60,
"preRate":70,
"fixRate":80,
"gasFee":90,
"indodaxMinBuy":1,
"type":0,
"enabled":1,
"maxPoint": 100
}
}
Get
Payload Data
Name | Data Type |
---|---|
Keyword | String |
Service | String |
Type | String |
Enabled | String |
Current | String |
Size | String |
Example Request
{
"Subject": "ewallet",
"SubjectType": "web-crypto-configuration",
"SubjectIdentifier": "master-persentase",
"Action": "get",
"ResourceType": "data",
"Resource": "data",
"ResourceId": "data",
"Data": {
"keyword": null,
"service": null,
"type": null,
"enabled": null,
"current": 1,
"size": 10
}
}
GetById
Payload Data
Name | Data Type |
---|---|
ID | String |
Example Request
{
"Subject": "ewallet",
"SubjectType": "web-crypto-configuration",
"SubjectIdentifier": "master-persentase",
"Action": "getbyid",
"ResourceType": "data",
"Resource": "data",
"ResourceId": "data",
"Data": {
"id": 451
}
}