-
Notifications
You must be signed in to change notification settings - Fork 2
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
3 changed files
with
6 additions
and
89 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
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 |
---|---|---|
|
@@ -21,8 +21,6 @@ Go 1.21 or later | |
|
||
If you've used this SDK, we'd love to hear how you found it! Email us at [[email protected]](mailto:[email protected]) with any thoughts. | ||
|
||
While in early access, we may introduce breaking changes. Where we can, we'll tag breaking changes and communicate ahead of time. | ||
|
||
## Installation | ||
|
||
Make sure your project is using Go Modules (it will have a go.mod file in its root if it already is): | ||
|
@@ -75,7 +73,7 @@ if err != nil { | |
panic(err) | ||
} | ||
|
||
err = products.Iter(ctx, func(p *paddle.ProductWithIncludes) (bool, error) { | ||
err = products.Iter(ctx, func(p *paddle.Product) (bool, error) { | ||
// Do something with the product | ||
fmt.Printf("%+v\n", p) | ||
return true, nil | ||
|
@@ -162,91 +160,6 @@ webhookVerifier := paddle.NewWebhookVerifier(os.Getenv("WEBHOOK_SECRET_KEY")) | |
ok, err := webhookVerifier.Verify(req) | ||
``` | ||
|
||
## Feature parity | ||
|
||
While in early access, not all operations in the Paddle API are available in our Go SDK. We're working on complete feature parity for our final release. | ||
|
||
This table shows which operations are available as of the latest release. | ||
|
||
| Paddle API operation | Support | | ||
|----------------------------------------------|:--------:| | ||
| **Products** | **Full** | | ||
| List products | ✅ | | ||
| Create a product | ✅ | | ||
| Get a product | ✅ | | ||
| Update a product | ✅ | | ||
| **Prices** | **Full** | | ||
| List prices | ✅ | | ||
| Create a price | ✅ | | ||
| Get a price | ✅ | | ||
| Update a price | ✅ | | ||
| **Discounts** | **Full** | | ||
| List discounts | ✅ | | ||
| Create a discount | ✅ | | ||
| Get a discount | ✅ | | ||
| Update a discount | ✅ | | ||
| **Customers** | **Full** | | ||
| List customers | ✅ | | ||
| Create a customer | ✅ | | ||
| Get a customer | ✅ | | ||
| Update a customer | ✅ | | ||
| List credit balances for a customer | ✅ | | ||
| **Addresses** | **Full** | | ||
| List addresses for a customer | ✅ | | ||
| Create an addresses for a customer | ✅ | | ||
| Get an address for a customer | ✅ | | ||
| Update an address for a customer | ✅ | | ||
| **Businesses** | ✅ | | ||
| List businesses for a customer | ✅ | | ||
| Create a business for a customer | ✅ | | ||
| Get a business for a customer | ✅ | | ||
| Update a business for a customer | ✅ | | ||
| **Transactions** | **Full** | | ||
| List transactions | ✅ | | ||
| Create a transaction | ✅ | | ||
| Get a transaction | ✅ | | ||
| Update a transaction | ✅ | | ||
| Preview a transaction | ✅ | | ||
| Get a PDF invoice for a transaction | ✅ | | ||
| **Subscriptions** | **Full** | | ||
| List subscriptions | ✅ | | ||
| Get a subscription | ✅ | | ||
| Preview an update to a subscription | ✅ | | ||
| Update a subscription | ✅ | | ||
| Get a transaction to update payment method | ✅ | | ||
| Preview a one-time charge for a subscription | ✅ | | ||
| Create a one-time charge for a subscription | ✅ | | ||
| Activate a trialing subscription | ✅ | | ||
| Pause a subscription | ✅ | | ||
| Resume a paused subscription | ✅ | | ||
| Cancel a subscription | ✅ | | ||
| **Adjustments** | **Full** | | ||
| List adjustments | ✅ | | ||
| Create an adjustment | ✅ | | ||
| **Pricing preview** | **Full** | | ||
| Preview prices | ✅ | | ||
| **Reports** | **Full** | | ||
| List reports | ✅ | | ||
| Create a report | ✅ | | ||
| Get a report | ✅ | | ||
| Get a CSV file for a report | ✅ | | ||
| **Notification settings** | **Full** | | ||
| List notification settings | ✅ | | ||
| Create a notification setting | ✅ | | ||
| Get a notification setting | ✅ | | ||
| Update a notification setting | ✅ | | ||
| Delete a notification setting | ✅ | | ||
| **Event types** | **Full** | | ||
| List event types | ✅ | | ||
| **Events** | **Full** | | ||
| List events | ✅ | | ||
| **Notifications** | **Full** | | ||
| List notifications | ✅ | | ||
| Get a notification | ✅ | | ||
| Replay a notification | ✅ | | ||
| **Notification logs** | **Full** | | ||
| List logs for a notification | ✅ | | ||
|
||
## Learn more | ||
|
||
- [Paddle API reference](https://developer.paddle.com/api-reference/overview?utm_source=dx&utm_medium=paddle-go-sdk) | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.7.0 | ||
1.0.0 |