-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Package sumup provides a client for using the SumUp API. | ||
/* | ||
Usage: | ||
import "github.com/sumup/sumup-go" | ||
Construct a new SumUp client, then use the various services on the client to | ||
access different parts of the SumUp API. For example: | ||
client := sumup.NewClient().WithAuth(os.Getenv("SUMUP_KEY")) | ||
// get the account the client is currently authorized for | ||
account, err := client.Merchant.Get(context.Background(), sumup.GetAccountParams{}) | ||
The client is structured around individual services that correspond to the tags | ||
in SumUp documentation https://developer.sumup.com/docs/api/sum-up-rest-api/. | ||
*/ | ||
package sumup |