Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for subscriptions #8

Merged
merged 1 commit into from
Oct 18, 2024
Merged

Conversation

jorenkoyen
Copy link
Contributor

Officially added support for the /creditor/subscription endpoints. The following methods have been added to the twikey.Client:

  • Client.SubscriptionAdd()
  • Client.SubscriptionUpdate()
  • Client.SubscriptionPatch()
  • Client.SubscriptionCancel()
  • Client.SubscriptionDetail()
  • Client.SubscriptionList()
  • Client.SubscriptionSuspend()
  • Client.SubscriptionResume()

Bugfix

Plus I also fixed a potential panic() in the NewTwikeyErrorFromResponse() when testing via unit tests.

@koen-serry koen-serry merged commit 7100858 into twikey:master Oct 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants