Skip to main content
Complete reference for all billing-related Protocol Buffer messages. Request a payment link for subscription. Request: billing.RequestPaymentLinkResponse: billing.PaymentLink
redirect_url
string
required
URL to redirect after payment completion
plan
string
required
Plan identifier (e.g., “premium”, “pro”)
billing_period
string
required
Billing period: “monthly” or “yearly”
url
string
Payment checkout URL

CancelSubscription

Cancel the current subscription. Request: billing.CancelSubscriptionResponse: () No parameters.

Protocol Definition

syntax = "proto3";

package tangle.client.billing;

// billing.requestPaymentLink -> billing.PaymentLink
message RequestPaymentLink {
  string redirect_url = 1;
  string plan = 2;
  string billing_period = 3; // monthly or yearly
}

message PaymentLink {
  string url = 1;
}

// billing.cancelSubscription -> billing.CancelSubscription
message CancelSubscription {}

Build docs developers (and LLMs) love