Master Additional Fee (Web)

The Service Master Additional Fee can be an admin fee, service fee or additional fee. The additional fee can be performed by a nominal set, the time it expires, the active time it starts and is used for anything such as PPOB Transactions, or can be used for Top Up.

Here's the detail of service action in Master Additional Fee :

Approve

Used to approve additional fee process that is created.

Payload Data

Name

Data Type

Action

String

Action 1 : Approve
Action 2 : Reject

MasterFeeId

String


Example Request

{
    "Subject": "ewallet",
    "SubjectType": "web-qoin",
    "SubjectIdentifier": "master-fee",
    "Action": "action-approval",
    "ResourceType": "data",
    "Resource": "data",
    "ResourceId": "data",
    "ScopePlatform": "private",
    "Platform": "qoin-apps",
    "Data": {
        "Action": 2,
        "MasterFeeId": "f07ecc2e-366d-48ea-b803-8730fee12b37"
    }
}

Create

Used to create additional fee process.

Payload Data

NameData Type
FeeCategoryString
FeeProductString
FeeTypeString
AmountString
ActiveDateString

Example Request

{
    "Subject": "ewallet",
    "SubjectType": "web-qoin",
    "SubjectIdentifier": "master-fee",
    "Action": "create",
    "ResourceType": "data",
    "Resource": "data",
    "ResourceId": "data",
    "ScopePlatform": "private",
    "Platform": "qoin-apps",
    "Data": {
        "FeeCategory": "platform-fee",
        "FeeProduct": "transaction|topup",
        "FeeType": 1,
        "Amount": 2000,
        "ActiveDate": "2024-08-01 23:59"
    }
}

Delete

Used to delete additional fee process.

Payload Data

NameData Type
IdString

Example Request

{
    "Subject": "ewallet",
    "SubjectType": "web-qoin",
    "SubjectIdentifier": "master-fee",
    "Action": "delete",
    "ResourceType": "data",
    "Resource": "data",
    "ResourceId": "data",
    "ScopePlatform": "private",
    "Platform": "qoin-apps",
    "Data": {
        "Id": "f07ecc2e-366d-48ea-b803-8730fee12b37"
    }
}


Get By Id

Used to get data additional fee based on Id.

Payload Data

NameData Type
IdString

Example Request

{
    "Subject": "ewallet",
    "SubjectType": "web-qoin",
    "SubjectIdentifier": "master-fee",
    "Action": "getbyid",
    "ResourceType": "data",
    "Resource": "data",
    "ResourceId": "data",
    "ScopePlatform": "private",
    "Platform": "qoin-apps",
    "Data": {
        "Id": "f07ecc2e-366d-48ea-b803-8730fee12b37"
    }
}


Get

Used to get all data additional fee.

Payload Data

NameData Type
IdString

Example Request

{
    "Subject": "ewallet",
    "SubjectType": "web-qoin",
    "SubjectIdentifier": "master-fee",
    "Action": "get",
    "ResourceType": "data",
    "Resource": "data",
    "ResourceId": "data",
    "ScopePlatform": "private",
    "Platform": "qoin-apps",
    "Data": {
        "Keyword": "",
        "CreatedDate": "2024-07-15",
        "ActiveDate": "2024-08-01",
        "FeeCategory": "platform-fee",
        "FeeProduct": "transaction|topup",
        "FeeType": "1",
        "Status": "2",
        "Current": 1,
        "Size": 10
    }
}

Update

Used to update data additional fee.

Payload Data

NameData Type
IdString
FeeCategoryString
FeeProductString
FeeTypeString
AmountString
ActiveDateString

Example Request

{
    "Subject": "ewallet",
    "SubjectType": "web-qoin",
    "SubjectIdentifier": "master-fee",
    "Action": "update",
    "ResourceType": "data",
    "Resource": "data",
    "ResourceId": "data",
    "ScopePlatform": "private",
    "Platform": "qoin-apps",
    "Data": {
        "Id":"c27fcac9-0748-48fc-b698-db037651f387",
        "FeeCategory": "platform-fee",
        "FeeProduct": "transaction|topup",
        "FeeType": 1,
        "Amount": 2000,
        "ActiveDate": "2024-08-01 23:59"
    }
}