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
Name | Data Type |
---|---|
ID | String |
Name | String |
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
Name | Data Type |
---|---|
id | String |
name | String |
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
Name | Data Type |
---|---|
keyword | String |
name | String |
current | String |
size | String |
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
Name | Data Type |
---|---|
id | String |
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
Name | Data Type |
---|---|
id | String |
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"
}
}