Skip to content

Commit 228e472

Browse files
author
Zaki Ibrahim
authored
Update readme regarding method name
1 parent 8b81ac4 commit 228e472

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,14 @@ Available methods for `MidtransCoreApi` class
424424
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response
425425
*/
426426
JSONObject denyTransaction(String orderId);
427+
428+
/**
429+
* Do `v1/bins/{bin}` API request to Core API
430+
* @param binNumber {String} of the transaction (more detail refer to: https://api-docs.midtrans.com/#bin-api)
431+
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response
432+
* @throws MidtransError when an exception was occurred during executing the request.
433+
*/
434+
JSONObject getBIN(String binNumber) throws MidtransError;
427435
```
428436
`params` is Map Object or String of JSON of [Core API Parameter](https://api-docs.midtrans.com/#json-objects)
429437

@@ -598,7 +606,7 @@ public class MidtransIrisExample {
598606
Available methods for `MidtransIrisApi` class
599607
```java
600608
/**
601-
* Do re-set config Class iris-credentials, IrisIdempotencyKey
609+
* Do re-set config Class iris-credential, IrisIdempotencyKey
602610
*
603611
* @return {Config class}
604612
*/
@@ -618,7 +626,7 @@ Available methods for `MidtransIrisApi` class
618626
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response refer to: https://iris-docs.midtrans.com/#check-balance-aggregator
619627
* @throws MidtransError when an exception was occurred during executing the request.
620628
*/
621-
JSONObject getAggregatorBalance() throws MidtransError;
629+
JSONObject getBalance() throws MidtransError;
622630

623631
/**
624632
* Do create `/beneficiaries` Use this API to create a new beneficiary information for quick access on the payout page in Iris Portal.
@@ -645,7 +653,7 @@ Available methods for `MidtransIrisApi` class
645653
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response refer to: https://iris-docs.midtrans.com/#list-beneficiaries
646654
* @throws MidtransError when an exception was occurred during executing the request.
647655
*/
648-
JSONArray getListBeneficiaries() throws MidtransError;
656+
JSONArray getBeneficiaries() throws MidtransError;
649657

650658
/**
651659
* Do create `/payouts` This API is for Creator to create a payout. It can be used for single payout and also multiple payouts.
@@ -681,7 +689,7 @@ Available methods for `MidtransIrisApi` class
681689
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response
682690
* @throws MidtransError when an exception was occurred during executing the request.
683691
*/
684-
JSONObject getPayoutsDetails(String referenceNo) throws MidtransError;
692+
JSONObject getPayoutDetails(String referenceNo) throws MidtransError;
685693

686694
/**
687695
* Do get `/statements` Use this API for list all transactions history for a month. You can specified start date and also end date for range transaction history.
@@ -712,6 +720,7 @@ Available methods for `MidtransIrisApi` class
712720
/**
713721
* Do get `/bank_accounts/{bank_account_id}/balance` For Facilitator Partner, use this API is to get current balance information of your registered bank account.
714722
*
723+
* @param bankAccountId String Bank Account Number
715724
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response refer to: https://iris-docs.midtrans.com/#check-balance-facilitator
716725
* @throws MidtransError when an exception was occurred during executing the request.
717726
*/
@@ -723,10 +732,10 @@ Available methods for `MidtransIrisApi` class
723732
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response (more params detail refer to: https://iris-docs.midtrans.com/#list-banks)
724733
* @throws MidtransError when an exception was occurred during executing the request.
725734
*/
726-
JSONObject getListBank() throws MidtransError;
735+
JSONObject getBeneficiaryBanks() throws MidtransError;
727736

728737
/**
729-
* Do validate `/account_validation?bank={bank}&account={account}` Use this API for check if an account is valid, if valid return account information.
738+
* Do validate `/account_validation` Use this API for check if an account is valid, if valid return account information.
730739
*
731740
* @param bank String bank code
732741
* @param account String Account number

0 commit comments

Comments
 (0)