Master Service

The function of the Master Service that is currently used to activate/disable related features that want to be run on the application. For now the service-services that can be activated are PPOB, Merchant, QRIS, merchant and Offline.

Here is a detailed explanation of the five actions available in the Master Service, such as :

  • Create, used to create a new Master Service data.
  • Update, used to update data from an existing Master Service.
  • Get, used to get Master Service details.
  • GetById, used to get Master Service data details based on ID.
  • Delete, used to delete Master Service data.



Create

Payload Data

NameData Type
IDString
NameString

Example Request

{
    "Subject": "ewallet",
    "SubjectType": "web-crypto-configuration",
    "SubjectIdentifier": "master-service",
    "Action": "create",
    "ResourceType": "data",
    "Resource": "data",
    "ResourceId": "data",
    "Data": {
      "id": "",
      "name":"PPOB"
    }
}


Update

Payload Data

NameData Type
idString
nameString

Example Request

{
    "Subject": "ewallet",
    "SubjectType": "web-crypto-configuration",
    "SubjectIdentifier": "master-service",
    "Action": "update",
    "ResourceType": "data",
    "Resource": "data",
    "ResourceId": "data",
    "Data": {
      "id": "95e4488b-7576-446f-befd-b39739437140",
      "name":"PPOB update"
    }
}


Get

Payload Data

NameData Type
keywordString
nameString
currentString
sizeString

Example Request

{
    "Subject": "ewallet",
    "SubjectType": "web-crypto-configuration",
    "SubjectIdentifier": "master-service",
    "Action": "get",
    "ResourceType": "data",
    "Resource": "data",
    "ResourceId": "data",
    "Data": {
      "name": null,
      "current": 1,
      "size": 10
    }
}


GetById

Payload Data

NameData Type
idString

Example Request

{
    "Subject": "ewallet",
    "SubjectType": "web-crypto-configuration",
    "SubjectIdentifier": "master-service",
    "Action": "getbyid",
    "ResourceType": "data",
    "Resource": "data",
    "ResourceId": "data",
    "Data": {
      "id": "95e4488b-7576-446f-befd-b39739437140"
    }
  }


Delete

Payload Data

NameData Type
idString

Example Request

{
    "Subject": "ewallet",
    "SubjectType": "web-crypto-configuration",
    "SubjectIdentifier": "master-service",
    "Action": "delete",
    "ResourceType": "data",
    "Resource": "data",
    "ResourceId": "data",
    "Data": {
      "id": "95e4488b-7576-446f-befd-b39739437140"
    }
  }