diff options
| author | Shulhan <ms@kilabit.info> | 2022-11-07 14:02:03 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-11-07 14:13:41 +0700 |
| commit | b633c4bb046138db8b5d7f47f1cdf5d97e4de818 (patch) | |
| tree | 7a8c922c713b9b00b8909220acc7f54c28906b33 /testdata | |
| parent | eeacdd3063b6fc718fe513517808cb9fde72217b (diff) | |
| download | duitku-b633c4bb046138db8b5d7f47f1cdf5d97e4de818.tar.xz | |
all: implement client API for Clearing Transfer
The ClearingTransfer method do the clearing transfer using request and
response from Clearing Inquiry.
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/disbursement/clearing_transfer_test.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testdata/disbursement/clearing_transfer_test.txt b/testdata/disbursement/clearing_transfer_test.txt new file mode 100644 index 0000000..375b60d --- /dev/null +++ b/testdata/disbursement/clearing_transfer_test.txt @@ -0,0 +1,41 @@ +>>> inquiry_request.json +{ + "userId": 3551, + "email": "test@chakratechnology.com", + "amountTransfer": 10000, + "bankCode": "014", + "bankAccount": "8760673466", + "purpose": "Test Clearing Inquiry with duitku.", + "timestamp": 1506486841000, + "custRefNumber": "12345789", + "senderId": 123456789, + "senderName": "John Doe", + "type": "LLG" +} + +>>> inquiry_response.json +{ + "email": "test@chakratechnology.com", + "bankCode": "014", + "bankAccount": "8760673466", + "amountTransfer": 10000, + "accountName": "Test Account", + "custRefNumber": "12345789", + "disburseId": 121012, + "type": "LLG", + "responseCode": "00", + "responseDesc": "Approved or completed successfully" +} + +<<< transfer_response.json +{ + "email": "test@chakratechnology.com", + "bankCode": "014", + "bankAccount": "8760673466", + "amountTransfer": 10000, + "accountName": "Test Account", + "custRefNumber": "12345789", + "type": "LLG", + "responseCode": "00", + "responseDesc": "Approved or completed successfully" +} |
