github.com/plutov/paypal/v4@v4.7.1/doc.go (about)

     1  /*
     2  Package paypal provides a wrapper to PayPal API (https://developer.paypal.com/webapps/developer/docs/api/).
     3  The first thing you do is to create a Client (you can select API base URL using paypal contants).
     4    c, err := paypal.NewClient("clientID", "secretID", paypal.APIBaseSandBox)
     5  Then you can get an access token from PayPal:
     6    accessToken, err := c.GetAccessToken()
     7  After you have an access token you can call built-in functions to get data from PayPal.
     8  paypal will assign all responses to go structures.
     9  */
    10  package paypal