This service is used to refund transactions on Qoin applications that are already integrated with Qoin Service. On this service it is distinguished into 4 endpoints :
- Add
- Get List
- Get By Receipt
- View By Receipt
Here's the detail of service action in Master Refund :
Add
Used to create sample process data from Master Refund.
Payload Data
Name | Data Type |
---|---|
trxReceipt | String |
Example Request
{
"Subject": "refund",
"SubjectType": "refund",
"SubjectIdentifier": "add",
"Action": "create",
"ResourceType": "null",
"Resource": "null",
"ResourceId": "null",
"Data": {
"trxReceipt": "TMD220823175140"
}
}
Get List
Used to get data lists from the Master Refund process.
Payload Data
Name | Data Type |
---|---|
Limit | String |
Page | String |
Search | String |
Status | String |
StartDate | String |
EndDate | String |
OrderType | String |
Example Request
{
"Subject": "refund",
"SubjectType": "refund",
"SubjectIdentifier": "list",
"Action": "get",
"ResourceType": "null",
"Resource": "null",
"ResourceId": "null",
"Data": {
"Limit": 10,
"Page": 1,
"Search": "",
"Status": "",
"StartDate": "",
"EndDate": "",
"OrderType": []
}
}
Get Transaction By Receipt
Used to search and get a list of Refund data based on the transaction receipt number.
Payload Data
Name | Data Type |
---|---|
trxReceipt | String |
Example Request
{
"Subject": "refund",
"SubjectType": "refund",
"SubjectIdentifier": "transactionbyreceipt",
"Action": "get",
"ResourceType": "null",
"Resource": "null",
"ResourceId": "null",
"Data": {
"trxReceipt": "TMD220823175140"
}
}
View Transaction By Receipt
Used to display and get refund transaction data based on Receipt number.
Payload Data
Name | Data Type |
---|---|
trxReceipt | String |
Example Request
{
"Subject": "refund",
"SubjectType": "refund",
"SubjectIdentifier": "view",
"Action": "get",
"ResourceType": "null",
"Resource": "null",
"ResourceId": "null",
"Data": {
"trxReceipt": "TMD220823175140"
}
}