aboutsummaryrefslogtreecommitdiff
path: root/merchant_inquiry_response.go
diff options
context:
space:
mode:
Diffstat (limited to 'merchant_inquiry_response.go')
-rw-r--r--merchant_inquiry_response.go11
1 files changed, 9 insertions, 2 deletions
diff --git a/merchant_inquiry_response.go b/merchant_inquiry_response.go
index 61f9f19..4d6706d 100644
--- a/merchant_inquiry_response.go
+++ b/merchant_inquiry_response.go
@@ -5,8 +5,6 @@ package duitku
// MerchantInquiryResponse contains response from MerchantInquiry.
type MerchantInquiryResponse struct {
- Response
-
// Indicates which project used in this transaction.
MerchantCode string `json:"merchantCode"`
@@ -25,4 +23,13 @@ type MerchantInquiryResponse struct {
// Payment amount.
Amount string `json:"amount"`
+
+ // Status code transaction.
+ // - 00 - Success
+ // - 01 - Process
+ // - 02 - Failed/Expired
+ Code string `json:"statusCode"`
+
+ // Description that explain the status Code.
+ Message string `json:"statusMessage"`
}