Master Refund

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

NameData Type
trxReceiptString

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

NameData Type
LimitString
PageString
SearchString
StatusString
StartDateString
EndDateString
OrderTypeString

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

NameData Type
trxReceiptString

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

NameData Type
trxReceiptString

Example Request

{
    "Subject": "refund",
    "SubjectType": "refund",
    "SubjectIdentifier": "view",
    "Action": "get",
    "ResourceType": "null",
    "Resource": "null",
    "ResourceId": "null",
    "Data": {
      "trxReceipt": "TMD220823175140"
    }
}