The function of the service Master Product is currently used to view any product provided by an application that can be used for the PPOB product purchase process.
Flow service Master Product

Action Master Product
Here is a detailed description of the five actions that are available in the service Master Product, such as :
- Create , Used to create a new Master Product sample.
- Update , Used to update data from an existing Master Product.
- Get , Used to get Master Product details.
- GetById , Used to get Master Product data details based on ID.
- Delete , Used to delete Master Product data.
Create
Payload Data
Name | Data Type |
---|---|
Id | String |
category | String |
biller | String |
type | String |
group | String |
fId | String |
code | String |
name | String |
description | String |
denom | String |
price | String |
fee | String |
commission | String |
active | String |
discountSetup | String |
wndProdId | String |
Example Request
{
"Subject": "ewallet",
"SubjectType": "web-crypto-configuration",
"SubjectIdentifier": "master-product",
"Action": "create",
"ResourceType": "data",
"Resource": "data",
"ResourceId": "data",
"Data": {
"id": "0",
"category":"TEST",
"biller":"RAJABILLER",
"type":"TESTTYPE",
"group":"TESTGROUP",
"fId":null,
"code":"IDVF7HTEST",
"name":"Voucher Test Fredom",
"description":"Description voucher",
"denom":1,
"price":9999,
"fee":900,
"commission":99,
"active":1,
"discountSetup":null,
"wndProdId":null
}
}
Update
Payload Data
Name | Data Type |
---|---|
Id | String |
category | String |
biller | String |
type | String |
group | String |
fId | String |
code | String |
name | String |
description | String |
denom | String |
price | String |
fee | String |
commission | String |
active | String |
discountSetup | String |
wndProdId | String |
Example Request
{
"Subject": "ewallet",
"SubjectType": "web-crypto-configuration",
"SubjectIdentifier": "master-product",
"Action": "update",
"ResourceType": "data",
"Resource": "data",
"ResourceId": "data",
"Data": {
"id": 7157,
"category":"TESTU",
"biller":"RAJABILLERU",
"type":"TESTTYPEU",
"group":"TESTGROUPU",
"fId":null,
"code":"IDVF7HTESTU",
"name":"Voucher Test Fredom U",
"description":"Description voucher U",
"denom":12,
"price":99993,
"fee":9004,
"commission":995,
"active":0,
"discountSetup":null,
"wndProdId":null
}
}
Get
Payload Data
Name | Data Type |
---|---|
keyword | String |
current | String |
size | String |
status | String |
date | String |
Example Request
{
"Subject": "ewallet",
"SubjectType": "web-crypto-configuration",
"SubjectIdentifier": "master-product",
"Action": "get",
"ResourceType": "data",
"Resource": "data",
"ResourceId": "data",
"Data": {
"biller": null,
"type": null,
"group": null,
"category": null,
"status": null,
"current": 1,
"size": 10
}
}
Get By ID
Payload Data
Name | Data Type |
---|---|
Id | String |
Example Request
{
"Subject": "ewallet",
"SubjectType": "web-crypto-configuration",
"SubjectIdentifier": "master-product",
"Action": "getbyid",
"ResourceType": "data",
"Resource": "data",
"ResourceId": "data",
"Data": {
"id": 451
}
}
Delete
Payload Data
Name | Data Type |
---|---|
Id | String |
Example Request
{
"Subject": "ewallet",
"SubjectType": "web-crypto-configuration",
"SubjectIdentifier": "master-product",
"Action": "delete",
"ResourceType": "data",
"Resource": "data",
"ResourceId": "data",
"Data": {
"id": 34
}
}