示例#1
0
 //change slug to subaccouunt_code
 public SubAccountFetchResponse Fetch(string idOrSlug) => _api.Get <SubAccountFetchResponse>($"subaccount/{idOrSlug}");
示例#2
0
 public TransferCheckBalanceResponse CheckBalance() => _api.Get <TransferCheckBalanceResponse>("balance");
示例#3
0
 public TransactionFetchResponse Fetch(string transactionId) =>
 _api.Get <TransactionFetchResponse>($"transaction/{transactionId}");
示例#4
0
 public CustomerFetchResponse Fetch(string customerIdOrCustomerCode) =>
 _api.Get <CustomerFetchResponse>($"customer/{customerIdOrCustomerCode}");
示例#5
0
 public ChargeResponse CheckPendingCharge(string reference) =>
 _api.Get <ChargeResponse>($"charge/{reference}");