forked from kromped/WePay-Java-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAPICalls.txt
61 lines (48 loc) · 4.48 KB
/
APICalls.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
This file contains a listing of all WePay API calls available through this SDK. Use this file as a reference
for information about return type and data object parameters for each API call function.
WePay API Call Return Type Call Parameters
***************************************************************************************************************
/account Account fetch(Long account_id, String access_token);
/account/find Account[] find(AccountFindData findData, String access_token);
/account/create Account create(AccountData data, String access_token);
/account/modify void modify(AccountData data, String access_token);
/account/delete void delete(String reason, String access_token);
/account/balance AccountBalanceData balance(String access_token);
/account/add_bank String add_bank(AccountAddBankData addBankData, String access_token);
/account/set_tax void set_tax(AccountTaxData[] taxesData, String access_token);
/account/set_tax * void set_tax(AccountTaxData taxData, String access_token);
/account/get_tax AccountTaxData[] get_tax(String access_token);
/app App fetch(String access_token);
/app/modify void modify(AppData data, String access_token);
/batch/create Batch[] create(BatchData[] calls, String access_token);
/checkout Checkout fetch(Long checkout_id, String access_token);
/checkout/find Checkout[] find(CheckoutFindData findData, String access_token);
/checkout/create Checkout create(CheckoutData data, String access_token);
/checkout/modify void modify(CheckoutData data, String access_token);
/checkout/modify * void modify(String new_callback_uri, String access_token);
/checkout/cancel void cancel(String cancel_reason, String access_token);
/checkout/refund void refund(CheckoutRefundData refundData, String access_token);
/checkout/capture void capture(String access_token);
/credit_card CreditCard fetch(Long credit_card_id, String access_token);
/credit_card/authorize void authorize(String access_token);
/credit_card/find CreditCard[] find(CreditCardFindData findData, String access_token);
/credit_card/delete void delete(String access_token);
/oauth2/authorize String authorize(OAuth2Data data, String access_token);
/oauth2/token String token(OAuth2Data data, String access_token);
/preapproval Preapproval fetch(Long preapproval_id, String access_token);
/preapproval/find Preapproval[] find(PreapprovalFindData findData, String access_token);
/preapproval/create Preapproval create(PreapprovalData data, String access_token);
/preapproval/modify void modify(PreapprovalData data, String access_token);
/preapproval/modify * void modify(String new_callback_uri, String access_token);
/user User fetch(String access_token);
/user/modify void modify(UserData data, String access_token);
/user/modify * void modify(String new_callback_uri, String access_token);
/user/register User register(UserData data, String access_token);
/user/resend_confirmation void resend_confirmation(String access_token);
/withdrawal Withdrawal fetch(Long withdrawal_id, String access_token);
/withdrawal/find Withdrawal[] find(WithdrawalFindData findData, String access_token);
/withdrawal/create Withdrawal create(WithdrawalData data, String access_token);
/withdrawal/modify void modify(WithdrawalData data, String access_token);
/withdrawal/modify * void modify(String new_callback_uri, String access_token);
* Some API calls include overload functions to simplify calls where only a single
parameter is required if you do not want to include other optional parameters