Master Percentage Crypto

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

NameData Type
IDString
SimbolString
TokenString
ServiceString
PPNString
preRateString
gasFeeString
indodaxMinBuyString
typeString
EnabledString
maxPointString

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

NameData Type
IDString
SimbolString
TokenString
ServiceString
PPNString
preRateString
gasFeeString
indodaxMinBuyString
typeString
EnabledString
maxPointString

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

NameData Type
KeywordString
ServiceString
TypeString
EnabledString
CurrentString
SizeString

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

NameData Type
IDString

Example Request

{
    "Subject": "ewallet",
    "SubjectType": "web-crypto-configuration",
    "SubjectIdentifier": "master-persentase",
    "Action": "getbyid",
    "ResourceType": "data",
    "Resource": "data",
    "ResourceId": "data",
    "Data": {
      "id": 451
    }
}