public class IrisApi
extends java.lang.Object
Constructor and Description |
---|
IrisApi() |
Modifier and Type | Method and Description |
---|---|
static org.json.JSONObject |
approvePayouts(java.util.Map<java.lang.String,java.lang.Object> requestBody,
Config configOptions) |
static org.json.JSONObject |
createBeneficiaries(java.util.Map<java.lang.String,java.lang.String> requestBody,
Config configOptions) |
static org.json.JSONObject |
createPayouts(java.util.Map<java.lang.String,java.lang.Object> requestBody,
Config configOptions) |
static org.json.JSONObject |
getBalance(Config configOptions) |
static org.json.JSONArray |
getBankAccounts(Config configOptions) |
static org.json.JSONArray |
getBeneficiaries(Config configOptions) |
static org.json.JSONObject |
getBeneficiaryBanks(Config configOptions) |
static org.json.JSONObject |
getFacilitatorBalance(java.lang.String bankAccountId,
Config configOptions) |
static org.json.JSONObject |
getPayoutDetails(java.lang.String referenceNo,
Config configOptions) |
static org.json.JSONArray |
getTopUpChannels(Config configOptions) |
static org.json.JSONArray |
getTransactionHistory(java.lang.String fromDate,
java.lang.String toDate,
Config configOptions) |
static java.lang.String |
ping() |
static org.json.JSONObject |
rejectPayouts(java.util.Map<java.lang.String,java.lang.Object> requestBody,
Config configOptions) |
static org.json.JSONObject |
updateBeneficiaries(java.lang.String aliasName,
java.util.Map<java.lang.String,java.lang.String> requestBody,
Config configOptions) |
static org.json.JSONObject |
validateBankAccount(java.lang.String bank,
java.lang.String account,
Config configOptions) |
public static java.lang.String ping() throws MidtransError
MidtransError
public static org.json.JSONObject getBalance(Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONObject createBeneficiaries(java.util.Map<java.lang.String,java.lang.String> requestBody, Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONObject updateBeneficiaries(java.lang.String aliasName, java.util.Map<java.lang.String,java.lang.String> requestBody, Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONArray getBeneficiaries(Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONObject createPayouts(java.util.Map<java.lang.String,java.lang.Object> requestBody, Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONObject approvePayouts(java.util.Map<java.lang.String,java.lang.Object> requestBody, Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONObject rejectPayouts(java.util.Map<java.lang.String,java.lang.Object> requestBody, Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONObject getPayoutDetails(java.lang.String referenceNo, Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONArray getTransactionHistory(java.lang.String fromDate, java.lang.String toDate, Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONArray getTopUpChannels(Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONArray getBankAccounts(Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONObject getFacilitatorBalance(java.lang.String bankAccountId, Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONObject getBeneficiaryBanks(Config configOptions) throws MidtransError
MidtransError
public static org.json.JSONObject validateBankAccount(java.lang.String bank, java.lang.String account, Config configOptions) throws MidtransError
MidtransError