aboutsummaryrefslogtreecommitdiff
path: root/testdata/disbursement/inquirystatus_test.txt
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-01-20 17:16:29 +0700
committerShulhan <ms@kilabit.info>2023-01-20 18:33:08 +0700
commit616ed53618f7df87f1b13c3f3c9e3821121872c2 (patch)
treee57060b3845985bf7df391272d3a43e2a5008fd9 /testdata/disbursement/inquirystatus_test.txt
parent94f3139e32b16008e239b708f31366dc8d57bc48 (diff)
downloadduitku-616ed53618f7df87f1b13c3f3c9e3821121872c2.tar.xz
all: implement client API for InquiryStatus
The InquiryStatus get the status of previous Transfer. Ref: https://docs.duitku.com/disbursement/en/#inquiry-status
Diffstat (limited to 'testdata/disbursement/inquirystatus_test.txt')
-rw-r--r--testdata/disbursement/inquirystatus_test.txt52
1 files changed, 52 insertions, 0 deletions
diff --git a/testdata/disbursement/inquirystatus_test.txt b/testdata/disbursement/inquirystatus_test.txt
new file mode 100644
index 0000000..9596cc3
--- /dev/null
+++ b/testdata/disbursement/inquirystatus_test.txt
@@ -0,0 +1,52 @@
+Test InquiryStatus.
+
+All of the custRefNumber and disburseId will be replaced, since its dynamic on
+each request.
+
+>>> inquiry_request.json
+{
+ "amountTransfer": 10000,
+ "bankAccount": "8760673566",
+ "bankCode": "002",
+ "purpose": "Test Transfer Online Inquiry with duitku.",
+ "senderId": 123456789,
+ "senderName": "John Doe"
+}
+
+<<< inquiry_response.json
+{
+ "responseCode": "00",
+ "responseDesc": "Success",
+ "email": "test@chakratechnology.com",
+ "bankCode": "002",
+ "bankAccount": "8760673566",
+ "amountTransfer": "10000",
+ "accountName": "Test Account",
+ "custRefNumber": "<replaced>",
+ "disburseId": 0
+}
+
+<<< transfer_response.json
+{
+ "purpose": "",
+ "responseCode": "00",
+ "responseDesc": "Success",
+ "email": "test@chakratechnology.com",
+ "bankCode": "002",
+ "bankAccount": "8760673566",
+ "amountTransfer": "10000",
+ "accountName": "Test Account",
+ "custRefNumber": "<replaced>",
+ "userId": 0
+}
+
+<<< inquirystatus_response.json
+{
+ "responseCode": "00",
+ "responseDesc": "Success",
+ "bankCode": "002",
+ "bankAccount": "8760673566",
+ "amountTransfer": "10000",
+ "accountName": "Test Account",
+ "custRefNumber": "<replaced>"
+}