Skip to content
Start here

Subscriptions

List Subscriptions
client.Accounts.Subscriptions.Get(ctx, query) (*SinglePage[Subscription], error)
GET/accounts/{account_id}/subscriptions
Create Subscription
client.Accounts.Subscriptions.New(ctx, params) (*Subscription, error)
POST/accounts/{account_id}/subscriptions
Update Subscription
client.Accounts.Subscriptions.Update(ctx, subscriptionIdentifier, params) (*Subscription, error)
PUT/accounts/{account_id}/subscriptions/{subscription_identifier}
Delete Subscription
client.Accounts.Subscriptions.Delete(ctx, subscriptionIdentifier, body) (*SubscriptionDeleteResponse, error)
DELETE/accounts/{account_id}/subscriptions/{subscription_identifier}