77
88// ConnectAddUser (POST /connect) submits a set of user credentials to add a Connect user.
99//
10- // See https://plaid.com/docs/#add-user.
10+ // See https://plaid.com/docs/api/ #add-user.
1111func (c * Client ) ConnectAddUser (username , password , pin , institutionType string ,
1212 options * ConnectOptions ) (postRes * postResponse , mfaRes * mfaResponse , err error ) {
1313
@@ -29,7 +29,7 @@ func (c *Client) ConnectAddUser(username, password, pin, institutionType string,
2929// ConnectStepSendMethod (POST /connect/step) specifies a particular send method for MFA,
3030// e.g. `{"mask":"xxx-xxx-5309"}`.
3131//
32- // See https://plaid.com/docs/#mfa-authentication.
32+ // See https://plaid.com/docs/api/ #mfa-authentication.
3333func (c * Client ) ConnectStepSendMethod (accessToken , key , value string ) (postRes * postResponse ,
3434 mfaRes * mfaResponse , err error ) {
3535
@@ -48,7 +48,7 @@ func (c *Client) ConnectStepSendMethod(accessToken, key, value string) (postRes
4848
4949// ConnectStep (POST /connect/step) submits an MFA answer for a given access token.
5050//
51- // See https://plaid.com/docs/#mfa-authentication.
51+ // See https://plaid.com/docs/api/ #mfa-authentication.
5252func (c * Client ) ConnectStep (accessToken , answer string ) (postRes * postResponse ,
5353 mfaRes * mfaResponse , err error ) {
5454
@@ -66,7 +66,7 @@ func (c *Client) ConnectStep(accessToken, answer string) (postRes *postResponse,
6666
6767// ConnectGet (POST /connect/get) retrieves account and transaction data for a given access token.
6868//
69- // See https://plaid.com/docs/#retrieve -transactions.
69+ // See https://plaid.com/docs/api/#get -transactions.
7070func (c * Client ) ConnectGet (accessToken string , options * ConnectGetOptions ) (postRes * postResponse ,
7171 mfaRes * mfaResponse , err error ) {
7272
@@ -84,7 +84,7 @@ func (c *Client) ConnectGet(accessToken string, options *ConnectGetOptions) (pos
8484
8585// ConnectUpdate (PATCH /connect) updates user credentials for a given access token.
8686//
87- // See https://plaid.com/docs/#update-user.
87+ // See https://plaid.com/docs/api/ #update-user.
8888func (c * Client ) ConnectUpdate (username , password , pin , accessToken string ) (postRes * postResponse ,
8989 mfaRes * mfaResponse , err error ) {
9090
@@ -104,7 +104,7 @@ func (c *Client) ConnectUpdate(username, password, pin, accessToken string) (pos
104104
105105// ConnectUpdateStep (PATCH /connect/step) updates user credentials and MFA for a given access token.
106106//
107- // See https://plaid.com/docs/#update-user.
107+ // See https://plaid.com/docs/api/ #update-user.
108108func (c * Client ) ConnectUpdateStep (username , password , pin , mfa , accessToken string ) (postRes * postResponse ,
109109 mfaRes * mfaResponse , err error ) {
110110
@@ -125,7 +125,7 @@ func (c *Client) ConnectUpdateStep(username, password, pin, mfa, accessToken str
125125
126126// ConnectDelete (DELETE /connect) deletes data for a given access token.
127127//
128- // See https://plaid.com/docs/#delete-user.
128+ // See https://plaid.com/docs/api/ #delete-user.
129129func (c * Client ) ConnectDelete (accessToken string ) (deleteRes * deleteResponse , err error ) {
130130 jsonText , err := json .Marshal (connectDeleteJson {
131131 c .clientID ,
@@ -140,7 +140,7 @@ func (c *Client) ConnectDelete(accessToken string) (deleteRes *deleteResponse, e
140140
141141// ConnectOptions represents options associated with adding an Connect user.
142142//
143- // See https://plaid.com/docs/#add-user.
143+ // See https://plaid.com/docs/api/ #add-user.
144144type ConnectOptions struct {
145145 Webhook string `json:"webhook,omitempty"`
146146 Pending bool `json:"pending,omitempty"`
@@ -180,7 +180,7 @@ type connectStepJson struct {
180180
181181// ConnectGetOptions represents options associated with retrieving a Connect user.
182182//
183- // See https://plaid.com/docs/#retrieve-transactions.
183+ // See https://plaid.com/docs/api/ #retrieve-transactions.
184184type ConnectGetOptions struct {
185185 Pending bool `json:"pending,omitempty"`
186186 Account string `json:"account,omitempty"`
0 commit comments