mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 09:16:53 +00:00
4706 lines
126 KiB
HTML
4706 lines
126 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Protobuf module documentation</title>
|
|
<link rel="stylesheet" href="static/mystyles.css" />
|
|
<script src="static/fontawesome.js"></script>
|
|
<script src="static/lunr.js"></script>
|
|
<script src="static/theme.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<nav class="level pt-6 mb-5 pb-2 bottom-border">
|
|
<div class="level-left">
|
|
<p class="level-item has-text-centered is-size-3 has-text-weight-medium">
|
|
<a class="link is-info" href="index.html">
|
|
Protobuf module documentation
|
|
</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div class="level-right">
|
|
|
|
<form action="search.html" class="mr-2 has-text-centered">
|
|
<input type="text" name="query" class="input mr-3 navbar-search-query-input" placeholder="Search">
|
|
<input type="submit" class="button is-primary mr-5" value="Search" />
|
|
</form>
|
|
|
|
|
|
<p class="level-item has-text-centered is-size-5">
|
|
<a href="" class="link is-info mr-5" target="_blank">
|
|
|
|
<span>Source</span>
|
|
</a>
|
|
|
|
<button class="theme-toggle" id="theme-toggle" title="Toggles light & dark" aria-label="auto" aria-live="polite" type="button">
|
|
<svg class="sun-and-moon" aria-hidden="true" width="24" height="24" viewBox="0 0 24 24">
|
|
<mask class="moon" id="moon-mask">
|
|
<rect x="0" y="0" width="100%" height="100%" fill="white" />
|
|
<circle cx="24" cy="10" r="6" fill="black" />
|
|
</mask>
|
|
<circle class="sun" cx="12" cy="12" r="6" mask="url(#moon-mask)" fill="currentColor" />
|
|
<g class="sun-beams" stroke="currentColor">
|
|
<line x1="12" y1="1" x2="12" y2="3" />
|
|
<line x1="12" y1="21" x2="12" y2="23" />
|
|
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64" />
|
|
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78" />
|
|
<line x1="1" y1="12" x2="3" y2="12" />
|
|
<line x1="21" y1="12" x2="23" y2="12" />
|
|
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36" />
|
|
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22" />
|
|
</g>
|
|
</svg>
|
|
</button>
|
|
</p>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
|
|
<div id="main-content" class="container mb-6">
|
|
<p class="mb-2">
|
|
<a style="font-size: 0.9em" href="index.html">← Back to packages</a>
|
|
</p>
|
|
<h3 class="title is-3">
|
|
|
|
Package <code>org.signal.chat.subscriptions</code>
|
|
|
|
</h3>
|
|
|
|
<div class="block">
|
|
|
|
<p>
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions">
|
|
<span class="tag" style="min-width: 6em">Service</span>
|
|
<code>Subscriptions</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse.AmountList">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>AmountList</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetIapSubscriptionRequest.AppStorePurchase">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>AppStorePurchase</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse.BackupConfiguration">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>BackupConfiguration</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse.BackupLevelConfiguration">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>BackupLevelConfiguration</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse.Badge">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>Badge</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.BraintreePaymentMethod">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>BraintreePaymentMethod</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.ChargeFailure">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>ChargeFailure</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>CreatePayPalPaymentMethodRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>CreatePayPalPaymentMethodResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse.CreatePayPalPaymentMethodResult">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>CreatePayPalPaymentMethodResult</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.CreatePaymentMethodRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>CreatePaymentMethodRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.CreatePaymentMethodResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>CreatePaymentMethodResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.CreatePaymentMethodResponse.CreatePaymentMethodResult">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>CreatePaymentMethodResult</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse.CurrencyConfiguration">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>CurrencyConfiguration</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.DeleteSubscriberRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>DeleteSubscriberRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.DeleteSubscriberResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>DeleteSubscriberResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetBankMandateRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetBankMandateRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetBankMandateResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetBankMandateResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetConfigurationRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetConfigurationResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetReceiptCredentialsRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetReceiptCredentialsRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetReceiptCredentialsResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse.GetReceiptCredentialsResult">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetReceiptCredentialsResult</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetSubscriptionInformationRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetSubscriptionInformationRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetSubscriptionInformationResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetSubscriptionInformationResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse.LevelConfiguration">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>LevelConfiguration</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse.PaymentRequired">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>PaymentRequired</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetIapSubscriptionRequest.PlayBillingPurchase">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>PlayBillingPurchase</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.SepaPaymentMethod">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>SepaPaymentMethod</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>SetDefaultPaymentMethodRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>SetDefaultPaymentMethodResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetIapSubscriptionRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>SetIapSubscriptionRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetIapSubscriptionResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>SetIapSubscriptionResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetIapSubscriptionResponse.SetIapSubscriptionResult">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>SetIapSubscriptionResult</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetSubscriptionLevelRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>SetSubscriptionLevelRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetSubscriptionLevelResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>SetSubscriptionLevelResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetSubscriptionLevelResponse.SetSubscriptionLevelResult">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>SetSubscriptionLevelResult</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.StripePaymentMethod">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>StripePaymentMethod</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.GetSubscriptionInformationResponse.Subscription">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>Subscription</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.UpdateSubscriberRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>UpdateSubscriberRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.subscriptions.UpdateSubscriberResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>UpdateSubscriberResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#enum-org.signal.chat.subscriptions.BankTransferType">
|
|
<span class="tag" style="min-width: 6em">Enum</span>
|
|
<code>BankTransferType</code>
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<a href="#enum-org.signal.chat.subscriptions.PaymentMethod">
|
|
<span class="tag" style="min-width: 6em">Enum</span>
|
|
<code>PaymentMethod</code>
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<a href="#enum-org.signal.chat.subscriptions.PaymentProvider">
|
|
<span class="tag" style="min-width: 6em">Enum</span>
|
|
<code>PaymentProvider</code>
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<a href="#enum-org.signal.chat.subscriptions.SubscriptionStatus">
|
|
<span class="tag" style="min-width: 6em">Enum</span>
|
|
<code>SubscriptionStatus</code>
|
|
</a>
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="block">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
<h3 class="title is-3">
|
|
Services
|
|
</h3>
|
|
|
|
|
|
<div>
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="service-org.signal.chat.subscriptions.Subscriptions">
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions" title="org.signal.chat.subscriptions.Subscriptions">service Subscriptions</a>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p></p>
|
|
</div>
|
|
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.subscriptions.Subscriptions-UpdateSubscriber">
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions-UpdateSubscriber">
|
|
rpc <code>UpdateSubscriber</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.UpdateSubscriberRequest"><span title="org.signal.chat.subscriptions.UpdateSubscriberRequest">org.signal.chat.subscriptions.UpdateSubscriberRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.UpdateSubscriberResponse"><span title="org.signal.chat.subscriptions.UpdateSubscriberResponse">org.signal.chat.subscriptions.UpdateSubscriberResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Subscribers MUST periodically hit this endpoint to update the access time on the subscription record. Subscribers
|
|
SHOULD attempt to make an update call approximately every 3 days. Not accessing this endpoint for an extended
|
|
period of time will result in the subscription being canceled.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.subscriptions.Subscriptions-DeleteSubscriber">
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions-DeleteSubscriber">
|
|
rpc <code>DeleteSubscriber</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.DeleteSubscriberRequest"><span title="org.signal.chat.subscriptions.DeleteSubscriberRequest">org.signal.chat.subscriptions.DeleteSubscriberRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.DeleteSubscriberResponse"><span title="org.signal.chat.subscriptions.DeleteSubscriberResponse">org.signal.chat.subscriptions.DeleteSubscriberResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Cancels any current subscription at the end of the current subscription period.</p>
|
|
<p>Note: Apple IAP subscriptions do not support server-side cancellation, so this method should only be called after
|
|
cancelling a subscription from storekit to keep server data up to date.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.subscriptions.Subscriptions-CreatePaymentMethod">
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions-CreatePaymentMethod">
|
|
rpc <code>CreatePaymentMethod</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.CreatePaymentMethodRequest"><span title="org.signal.chat.subscriptions.CreatePaymentMethodRequest">org.signal.chat.subscriptions.CreatePaymentMethodRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.CreatePaymentMethodResponse"><span title="org.signal.chat.subscriptions.CreatePaymentMethodResponse">org.signal.chat.subscriptions.CreatePaymentMethodResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Returns a client secret that can be used to set up a new payment method with the payment processor.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.subscriptions.Subscriptions-CreatePayPalPaymentMethod">
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions-CreatePayPalPaymentMethod">
|
|
rpc <code>CreatePayPalPaymentMethod</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodRequest"><span title="org.signal.chat.subscriptions.CreatePayPalPaymentMethodRequest">org.signal.chat.subscriptions.CreatePayPalPaymentMethodRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse"><span title="org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse">org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Returns a PayPal billing agreement approval URL and token that can be used to set up PayPal as a payment method.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.subscriptions.Subscriptions-SetDefaultPaymentMethod">
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions-SetDefaultPaymentMethod">
|
|
rpc <code>SetDefaultPaymentMethod</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest"><span title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest">org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodResponse"><span title="org.signal.chat.subscriptions.SetDefaultPaymentMethodResponse">org.signal.chat.subscriptions.SetDefaultPaymentMethodResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Sets the default payment method for a subscriber.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.subscriptions.Subscriptions-SetSubscriptionLevel">
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions-SetSubscriptionLevel">
|
|
rpc <code>SetSubscriptionLevel</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetSubscriptionLevelRequest"><span title="org.signal.chat.subscriptions.SetSubscriptionLevelRequest">org.signal.chat.subscriptions.SetSubscriptionLevelRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetSubscriptionLevelResponse"><span title="org.signal.chat.subscriptions.SetSubscriptionLevelResponse">org.signal.chat.subscriptions.SetSubscriptionLevelResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Sets the subscription level and currency for a subscriber.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.subscriptions.Subscriptions-GetSubscriptionInformation">
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions-GetSubscriptionInformation">
|
|
rpc <code>GetSubscriptionInformation</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetSubscriptionInformationRequest"><span title="org.signal.chat.subscriptions.GetSubscriptionInformationRequest">org.signal.chat.subscriptions.GetSubscriptionInformationRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetSubscriptionInformationResponse"><span title="org.signal.chat.subscriptions.GetSubscriptionInformationResponse">org.signal.chat.subscriptions.GetSubscriptionInformationResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Returns information about the current subscription associated with the provided subscriberId if one exists.</p>
|
|
<p>Although it uses <a href="https://stripe.com/docs/billing/subscriptions/overview#subscription-statuses">Stripe's values</a>,
|
|
the status field in the response is generic, with <a href="https://developer.paypal.com/braintree/docs/guides/recurring-billing/overview#subscription-statuses">Braintree-specific values</a> mapped
|
|
to Stripe's. Since we don't support trials or unpaid subscriptions, the associated statuses will never be returned
|
|
by the API.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.subscriptions.Subscriptions-GetReceiptCredentials">
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions-GetReceiptCredentials">
|
|
rpc <code>GetReceiptCredentials</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetReceiptCredentialsRequest"><span title="org.signal.chat.subscriptions.GetReceiptCredentialsRequest">org.signal.chat.subscriptions.GetReceiptCredentialsRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse"><span title="org.signal.chat.subscriptions.GetReceiptCredentialsResponse">org.signal.chat.subscriptions.GetReceiptCredentialsResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Create a receipt from a valid payment invoice that can be used to obtain an entitlement</p>
|
|
<p>This request is repeatable so long as the ReceiptCredentialRequest remains the same. Clients should use the same
|
|
ReceiptCredentialRequest value until they attempt to redeem the resulting ReceiptCredentialPresentation. After
|
|
this point, the ReceiptCredentialRequest MUST NOT be reused or you may not be able to redeem a valid payment
|
|
invoice. Clients SHOULD retry requests at this endpoint with the same ReceiptCredentialRequest value until
|
|
receiving a response. After receiving a response, clients should then compute the ReceiptCredentialPresentation
|
|
and redeem it at the receipt redemption endpoint. Once the first attempt is made there, the same
|
|
ReceiptCredentialRequest MUST NOT be used again to request receipt credentials.</p>
|
|
<p>Note that you may in fact redeem TWO or more invoices for the same ReceiptCredentialRequest while retrying this
|
|
operation if a later invoice gets paid while you are retrying. However, the returned receipt is always for the
|
|
latest invoice, so it will have the latest expiration possible and no entitlement time will be lost. The important
|
|
thing is not to reuse ReceiptCredentialRequest after you have started attempting to redeem the associated
|
|
ReceiptCredentialPresentation. Then you may produce a ReceiptCredentialPresentation for a later invoice that
|
|
cannot be redeemed.</p>
|
|
<p>Clients MUST validate that the generated receipt credential's level and expiration matches their expectations.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.subscriptions.Subscriptions-SetIapSubscription">
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions-SetIapSubscription">
|
|
rpc <code>SetIapSubscription</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetIapSubscriptionRequest"><span title="org.signal.chat.subscriptions.SetIapSubscriptionRequest">org.signal.chat.subscriptions.SetIapSubscriptionRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetIapSubscriptionResponse"><span title="org.signal.chat.subscriptions.SetIapSubscriptionResponse">org.signal.chat.subscriptions.SetIapSubscriptionResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Set a token that represents an IAP subscription made with App Store/Google Play Billing.</p>
|
|
<p>To set up an App Store subscription:
|
|
1. Create a subscriber with UpdateSubscriber (you must regularly refresh this subscriber)
|
|
2. <a href="https://developer.apple.com/documentation/storekit/in-app_purchase/">Create a subscription</a> with the App Store
|
|
directly via StoreKit and obtain a originalTransactionId.
|
|
3. Call this RPC with the originalTransactionId
|
|
4. Obtain a receipt via GetReceiptCredentials which can then be used to obtain the
|
|
entitlement</p>
|
|
<p>Play Billing: Set a purchaseToken that represents an IAP subscription made with Google Play Billing.</p>
|
|
<p>To set up a subscription with Google Play Billing:
|
|
1. Create a subscriber with UpdateSubscriber (you must regularly refresh this subscriber)
|
|
2. <a href="https://developer.android.com/google/play/billing/integrate">Create a subscription</a> with Google Play Billing
|
|
directly and obtain a purchaseToken. Do not <a href="https://developer.android.com/google/play/billing/integrate#subscriptions">acknowledge</a>
|
|
the purchaseToken.
|
|
3. Call this RPC with the purchaseToken
|
|
4. Obtain a receipt via GetReceiptCredentials which can then be used to obtain the
|
|
entitlement</p>
|
|
<p>After calling this method, the payment is confirmed. Callers must durably store their subscriberId before calling
|
|
this method to ensure their payment is tracked.</p>
|
|
<p>Once a purchaseToken to is posted to a subscriberId, the same subscriberId must not be used with another payment
|
|
method. A different playbilling purchaseToken can be posted to the same subscriberId, in this case the subscription
|
|
associated with the old purchaseToken will be cancelled.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.subscriptions.Subscriptions-GetConfiguration">
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions-GetConfiguration">
|
|
rpc <code>GetConfiguration</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetConfigurationRequest"><span title="org.signal.chat.subscriptions.GetConfigurationRequest">org.signal.chat.subscriptions.GetConfigurationRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetConfigurationResponse"><span title="org.signal.chat.subscriptions.GetConfigurationResponse">org.signal.chat.subscriptions.GetConfigurationResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Returns all configuration for badges, donation subscriptions, backup subscriptions, and one-time donation (
|
|
"boost" and "gift") minimum and suggested amounts.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.subscriptions.Subscriptions-GetBankMandate">
|
|
<a href="#service-org.signal.chat.subscriptions.Subscriptions-GetBankMandate">
|
|
rpc <code>GetBankMandate</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetBankMandateRequest"><span title="org.signal.chat.subscriptions.GetBankMandateRequest">org.signal.chat.subscriptions.GetBankMandateRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetBankMandateResponse"><span title="org.signal.chat.subscriptions.GetBankMandateResponse">org.signal.chat.subscriptions.GetBankMandateResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Returns a localized bank mandate for the specified bank transfer type</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h3 class="title is-3">
|
|
Messages
|
|
</h3>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetConfigurationResponse.AmountList">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse.AmountList" title="org.signal.chat.subscriptions.GetConfigurationResponse.AmountList">message AmountList</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetConfigurationResponse"><span title="org.signal.chat.subscriptions.GetConfigurationResponse">org.signal.chat.subscriptions.GetConfigurationResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
amounts
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
repeated
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>NOTE: this is a string instead of a numeric type because it is intended
|
|
for display purposes only</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetIapSubscriptionRequest.AppStorePurchase">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetIapSubscriptionRequest.AppStorePurchase" title="org.signal.chat.subscriptions.SetIapSubscriptionRequest.AppStorePurchase">message AppStorePurchase</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetIapSubscriptionRequest"><span title="org.signal.chat.subscriptions.SetIapSubscriptionRequest">org.signal.chat.subscriptions.SetIapSubscriptionRequest</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
original_transaction_id
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetConfigurationResponse.BackupConfiguration">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse.BackupConfiguration" title="org.signal.chat.subscriptions.GetConfigurationResponse.BackupConfiguration">message BackupConfiguration</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetConfigurationResponse"><span title="org.signal.chat.subscriptions.GetConfigurationResponse">org.signal.chat.subscriptions.GetConfigurationResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
levels
|
|
</td>
|
|
<td>
|
|
<code title="map<uint64, BackupLevelConfiguration>">
|
|
|
|
<span>map<uint64, BackupLevelConfiguration></span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A map of numeric backup level IDs to level-specific backup configuration</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
free_tier_media_days
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The number of days of media a free tier backup user gets</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetConfigurationResponse.BackupLevelConfiguration">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse.BackupLevelConfiguration" title="org.signal.chat.subscriptions.GetConfigurationResponse.BackupLevelConfiguration">message BackupLevelConfiguration</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetConfigurationResponse"><span title="org.signal.chat.subscriptions.GetConfigurationResponse">org.signal.chat.subscriptions.GetConfigurationResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p>Configuration for a backup level - use to present appropriate client interfaces</p>
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
storage_allowance_bytes
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The amount of media storage in bytes that a paying subscriber may store</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
play_product_id
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The play billing productID associated with this backup level</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>
|
|
media_ttl_days
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The duration, in days, for which your backed up media is retained on the server after you stop refreshing with a paid credential</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetConfigurationResponse.Badge">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse.Badge" title="org.signal.chat.subscriptions.GetConfigurationResponse.Badge">message Badge</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetConfigurationResponse"><span title="org.signal.chat.subscriptions.GetConfigurationResponse">org.signal.chat.subscriptions.GetConfigurationResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
badge
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.common.Badge">
|
|
|
|
<a href="org.signal.chat.common.html#message-org.signal.chat.common.Badge"><span title="org.signal.chat.common.Badge">org.signal.chat.common.Badge</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
duration_seconds
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
optional
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Present only for one-time (purchasable) badges</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.BraintreePaymentMethod">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.BraintreePaymentMethod" title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.BraintreePaymentMethod">message BraintreePaymentMethod</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest"><span title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest">org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
paymentMethodToken
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.ChargeFailure">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.ChargeFailure" title="org.signal.chat.subscriptions.ChargeFailure">message ChargeFailure</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p>Meaningfully interpreting chargeFailure response fields requires inspecting the processor field first.</p>
|
|
<p>For Stripe, code will be one of the <a href="https://stripe.com/docs/api/charges/object#charge_object-failure_code">codes defined here</a>,
|
|
while message <a href="https://stripe.com/docs/api/charges/object#charge_object-failure_message">may contain a further textual description</a>.
|
|
The outcome fields are optional, but present values will directly map to Stripe <a href="https://stripe.com/docs/api/charges/object#charge_object-outcome-network_status">response properties</a></p>
|
|
<p>For Braintree, the outcome fields will be null. The code and message will contain one of
|
|
- a processor decline code (as a string) in code, and associated text in message, as defined this <a href="https://developer.paypal.com/braintree/docs/reference/general/processor-responses/authorization-responses">table</a>
|
|
- <code>gateway</code> in code, with a <a href="https://developer.paypal.com/braintree/articles/control-panel/transactions/gateway-rejections">reason</a> in message
|
|
- <code>code</code> = "unknown", message = "unknown"</p>
|
|
<p>IAP payment processors will never include charge failure information, and detailed order information should be
|
|
retrieved from the payment processor directly</p>
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
processor
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.PaymentProvider">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#enum-org.signal.chat.subscriptions.PaymentProvider"><span title="org.signal.chat.subscriptions.PaymentProvider">org.signal.chat.subscriptions.PaymentProvider</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
code
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>See <a href="https://stripe.com/docs/api/charges/object#charge_object-failure_code">Stripe failure codes</a> or
|
|
<a href="https://developer.paypal.com/braintree/docs/reference/general/processor-responses/authorization-responses#decline-codes">Braintree decline codes</a>
|
|
depending on which processor was used</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>
|
|
message
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>See <a href="https://stripe.com/docs/api/charges/object#charge_object-failure_code">Stripe failure codes</a> or
|
|
<a href="https://developer.paypal.com/braintree/docs/reference/general/processor-responses/authorization-responses#decline-codes">Braintree decline codes</a>
|
|
depending on which processor was used</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>4</td>
|
|
<td>
|
|
outcome_network_status
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
optional
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>See <a href="https://stripe.com/docs/api/charges/object#charge_object-outcome-network_status">Outcome Network Status</a></p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>5</td>
|
|
<td>
|
|
outcome_reason
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
optional
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>See <a href="https://stripe.com/docs/api/charges/object#charge_object-outcome-reason">Outcome Reason</a></p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>6</td>
|
|
<td>
|
|
outcome_type
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
optional
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>See <a href="https://stripe.com/docs/api/charges/object#charge_object-outcome-type">Outcome Type</a></p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodRequest" title="org.signal.chat.subscriptions.CreatePayPalPaymentMethodRequest">message CreatePayPalPaymentMethodRequest</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
subscriberId
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
returnUrl
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>a callback URL (e.g. an in-client URL handler) for when the user approved the payment</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>
|
|
cancelUrl
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>a callback URL (e.g. an in-client URL handler) for when the user did not approve the payment</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse" title="org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse">message CreatePayPalPaymentMethodResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
<tr class="nohover"><td style="border: 0px"></td></tr>
|
|
<tr class="nohover">
|
|
<td class="oneof-heading" colspan="4">
|
|
<div class="oneof-heading">
|
|
<strong>oneof response</strong>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
1
|
|
</td>
|
|
<td>
|
|
result
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse.CreatePayPalPaymentMethodResult">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse.CreatePayPalPaymentMethodResult"><span title="org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse.CreatePayPalPaymentMethodResult">org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse.CreatePayPalPaymentMethodResult</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
2
|
|
</td>
|
|
<td>
|
|
subscriber_not_found
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.NotFound">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.NotFound"><span title="org.signal.chat.errors.NotFound">org.signal.chat.errors.NotFound</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
3
|
|
</td>
|
|
<td>
|
|
subscriber_id_mismatch
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedUnidentifiedAuthorization">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedUnidentifiedAuthorization"><span title="org.signal.chat.errors.FailedUnidentifiedAuthorization">org.signal.chat.errors.FailedUnidentifiedAuthorization</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>subscriberId authentication failure</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
4
|
|
</td>
|
|
<td>
|
|
subscription_processor_conflict
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>New payment processor does not match existing processor associated with the subscription</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse.CreatePayPalPaymentMethodResult">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse.CreatePayPalPaymentMethodResult" title="org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse.CreatePayPalPaymentMethodResult">message CreatePayPalPaymentMethodResult</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse"><span title="org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse">org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
approvalUrl
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>a URL to open where the user may approve the payment</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
token
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>an opaque PayPal payment identifier to use with SetDefaultPaymentMethodRequest</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.CreatePaymentMethodRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.CreatePaymentMethodRequest" title="org.signal.chat.subscriptions.CreatePaymentMethodRequest">message CreatePaymentMethodRequest</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
subscriberId
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Only PAYMENT_METHOD_CARD, PAYMENT_METHOD_SEPA_DEBIT, and PAYMENT_METHOD_IDEAL are supported;
|
|
other values will result in an INVALID_ARGUMENT error.</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
paymentMethod
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.PaymentMethod">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#enum-org.signal.chat.subscriptions.PaymentMethod"><span title="org.signal.chat.subscriptions.PaymentMethod">org.signal.chat.subscriptions.PaymentMethod</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.CreatePaymentMethodResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.CreatePaymentMethodResponse" title="org.signal.chat.subscriptions.CreatePaymentMethodResponse">message CreatePaymentMethodResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
<tr class="nohover"><td style="border: 0px"></td></tr>
|
|
<tr class="nohover">
|
|
<td class="oneof-heading" colspan="4">
|
|
<div class="oneof-heading">
|
|
<strong>oneof response</strong>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
1
|
|
</td>
|
|
<td>
|
|
result
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.CreatePaymentMethodResponse.CreatePaymentMethodResult">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.CreatePaymentMethodResponse.CreatePaymentMethodResult"><span title="org.signal.chat.subscriptions.CreatePaymentMethodResponse.CreatePaymentMethodResult">org.signal.chat.subscriptions.CreatePaymentMethodResponse.CreatePaymentMethodResult</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
2
|
|
</td>
|
|
<td>
|
|
subscriber_not_found
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.NotFound">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.NotFound"><span title="org.signal.chat.errors.NotFound">org.signal.chat.errors.NotFound</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
3
|
|
</td>
|
|
<td>
|
|
subscriber_id_mismatch
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedUnidentifiedAuthorization">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedUnidentifiedAuthorization"><span title="org.signal.chat.errors.FailedUnidentifiedAuthorization">org.signal.chat.errors.FailedUnidentifiedAuthorization</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>subscriberId authentication failure</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
4
|
|
</td>
|
|
<td>
|
|
subscription_processor_conflict
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>New payment processor does not match existing processor associated with the subscription</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.CreatePaymentMethodResponse.CreatePaymentMethodResult">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.CreatePaymentMethodResponse.CreatePaymentMethodResult" title="org.signal.chat.subscriptions.CreatePaymentMethodResponse.CreatePaymentMethodResult">message CreatePaymentMethodResult</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.CreatePaymentMethodResponse"><span title="org.signal.chat.subscriptions.CreatePaymentMethodResponse">org.signal.chat.subscriptions.CreatePaymentMethodResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
clientSecret
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
paymentProvider
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.PaymentProvider">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#enum-org.signal.chat.subscriptions.PaymentProvider"><span title="org.signal.chat.subscriptions.PaymentProvider">org.signal.chat.subscriptions.PaymentProvider</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetConfigurationResponse.CurrencyConfiguration">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse.CurrencyConfiguration" title="org.signal.chat.subscriptions.GetConfigurationResponse.CurrencyConfiguration">message CurrencyConfiguration</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetConfigurationResponse"><span title="org.signal.chat.subscriptions.GetConfigurationResponse">org.signal.chat.subscriptions.GetConfigurationResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
minimum
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Minimum one-time donation
|
|
NOTE: this is a string instead of a numeric type because it is intended
|
|
for display purposes only</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
one_time
|
|
</td>
|
|
<td>
|
|
<code title="map<uint64, AmountList>">
|
|
|
|
<span>map<uint64, AmountList></span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Map of one-time donation level IDs to suggested amounts</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>
|
|
subscription
|
|
</td>
|
|
<td>
|
|
<code title="map<uint64, string>">
|
|
|
|
<span>map<uint64, string></span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Map of subscription level IDs to the amount charged</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>4</td>
|
|
<td>
|
|
backup_subscription
|
|
</td>
|
|
<td>
|
|
<code title="map<uint64, string>">
|
|
|
|
<span>map<uint64, string></span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Map of backup subscription level IDs to the amount charged</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>5</td>
|
|
<td>
|
|
supported_payment_methods
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.PaymentMethod">
|
|
|
|
repeated
|
|
|
|
<a href="org.signal.chat.subscriptions.html#enum-org.signal.chat.subscriptions.PaymentMethod"><span title="org.signal.chat.subscriptions.PaymentMethod">org.signal.chat.subscriptions.PaymentMethod</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.DeleteSubscriberRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.DeleteSubscriberRequest" title="org.signal.chat.subscriptions.DeleteSubscriberRequest">message DeleteSubscriberRequest</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
subscriberId
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.DeleteSubscriberResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.DeleteSubscriberResponse" title="org.signal.chat.subscriptions.DeleteSubscriberResponse">message DeleteSubscriberResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
<tr class="nohover"><td style="border: 0px"></td></tr>
|
|
<tr class="nohover">
|
|
<td class="oneof-heading" colspan="4">
|
|
<div class="oneof-heading">
|
|
<strong>oneof response</strong>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
1
|
|
</td>
|
|
<td>
|
|
success
|
|
</td>
|
|
<td>
|
|
<code title="google.protobuf.Empty">
|
|
|
|
<span>google.protobuf.Empty</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
2
|
|
</td>
|
|
<td>
|
|
subscriber_not_found
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.NotFound">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.NotFound"><span title="org.signal.chat.errors.NotFound">org.signal.chat.errors.NotFound</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
3
|
|
</td>
|
|
<td>
|
|
cannot_cancel_subscription
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The associated subscription is not a type that can be cancelled by the server. Cancel client-side, and then retry.</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetBankMandateRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetBankMandateRequest" title="org.signal.chat.subscriptions.GetBankMandateRequest">message GetBankMandateRequest</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
bank_transfer_type
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.BankTransferType">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#enum-org.signal.chat.subscriptions.BankTransferType"><span title="org.signal.chat.subscriptions.BankTransferType">org.signal.chat.subscriptions.BankTransferType</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetBankMandateResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetBankMandateResponse" title="org.signal.chat.subscriptions.GetBankMandateResponse">message GetBankMandateResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
mandate
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetConfigurationRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationRequest" title="org.signal.chat.subscriptions.GetConfigurationRequest">message GetConfigurationRequest</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetConfigurationResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse" title="org.signal.chat.subscriptions.GetConfigurationResponse">message GetConfigurationResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
currencies
|
|
</td>
|
|
<td>
|
|
<code title="map<string, CurrencyConfiguration>">
|
|
|
|
<span>map<string, CurrencyConfiguration></span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Map of lower-cased ISO 3 currency codes to currency-specific configuration</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
levels
|
|
</td>
|
|
<td>
|
|
<code title="map<uint64, LevelConfiguration>">
|
|
|
|
<span>map<uint64, LevelConfiguration></span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Map of numeric donation level IDs to level-specific badge configuration</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>
|
|
backup
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.GetConfigurationResponse.BackupConfiguration">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetConfigurationResponse.BackupConfiguration"><span title="org.signal.chat.subscriptions.GetConfigurationResponse.BackupConfiguration">org.signal.chat.subscriptions.GetConfigurationResponse.BackupConfiguration</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>4</td>
|
|
<td>
|
|
sepa_maximum_euros
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Maximum value of a one-time SEPA donation</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetReceiptCredentialsRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetReceiptCredentialsRequest" title="org.signal.chat.subscriptions.GetReceiptCredentialsRequest">message GetReceiptCredentialsRequest</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
subscriberId
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
receiptCredentialRequest
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse" title="org.signal.chat.subscriptions.GetReceiptCredentialsResponse">message GetReceiptCredentialsResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
<tr class="nohover"><td style="border: 0px"></td></tr>
|
|
<tr class="nohover">
|
|
<td class="oneof-heading" colspan="4">
|
|
<div class="oneof-heading">
|
|
<strong>oneof response</strong>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
1
|
|
</td>
|
|
<td>
|
|
success
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.GetReceiptCredentialsResponse.GetReceiptCredentialsResult">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse.GetReceiptCredentialsResult"><span title="org.signal.chat.subscriptions.GetReceiptCredentialsResponse.GetReceiptCredentialsResult">org.signal.chat.subscriptions.GetReceiptCredentialsResponse.GetReceiptCredentialsResult</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
2
|
|
</td>
|
|
<td>
|
|
subscriber_not_found
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.NotFound">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.NotFound"><span title="org.signal.chat.errors.NotFound">org.signal.chat.errors.NotFound</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
3
|
|
</td>
|
|
<td>
|
|
subscriber_id_mismatch
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedUnidentifiedAuthorization">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedUnidentifiedAuthorization"><span title="org.signal.chat.errors.FailedUnidentifiedAuthorization">org.signal.chat.errors.FailedUnidentifiedAuthorization</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>subscriberId authentication failure</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
4
|
|
</td>
|
|
<td>
|
|
no_paid_invoice
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>No invoice has been issued for this subscription OR invoice is in 'draft' or 'open' state</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
5
|
|
</td>
|
|
<td>
|
|
payment_required
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.GetReceiptCredentialsResponse.PaymentRequired">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse.PaymentRequired"><span title="org.signal.chat.subscriptions.GetReceiptCredentialsResponse.PaymentRequired">org.signal.chat.subscriptions.GetReceiptCredentialsResponse.PaymentRequired</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Invoice is in any state other than 'draft', 'open', or 'paid'; Charge failure details may be present</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
6
|
|
</td>
|
|
<td>
|
|
already_redeemed
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Latest paid receipt on subscription was already redeemed for a receipt credential but with a different GetReceiptCredentialRequest</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse.GetReceiptCredentialsResult">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse.GetReceiptCredentialsResult" title="org.signal.chat.subscriptions.GetReceiptCredentialsResponse.GetReceiptCredentialsResult">message GetReceiptCredentialsResult</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse"><span title="org.signal.chat.subscriptions.GetReceiptCredentialsResponse">org.signal.chat.subscriptions.GetReceiptCredentialsResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
receiptCredentialResponse
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetSubscriptionInformationRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetSubscriptionInformationRequest" title="org.signal.chat.subscriptions.GetSubscriptionInformationRequest">message GetSubscriptionInformationRequest</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
subscriberId
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetSubscriptionInformationResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetSubscriptionInformationResponse" title="org.signal.chat.subscriptions.GetSubscriptionInformationResponse">message GetSubscriptionInformationResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
<tr class="nohover"><td style="border: 0px"></td></tr>
|
|
<tr class="nohover">
|
|
<td class="oneof-heading" colspan="4">
|
|
<div class="oneof-heading">
|
|
<strong>oneof response</strong>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
1
|
|
</td>
|
|
<td>
|
|
success
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.GetSubscriptionInformationResponse.Subscription">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetSubscriptionInformationResponse.Subscription"><span title="org.signal.chat.subscriptions.GetSubscriptionInformationResponse.Subscription">org.signal.chat.subscriptions.GetSubscriptionInformationResponse.Subscription</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
2
|
|
</td>
|
|
<td>
|
|
no_subscription
|
|
</td>
|
|
<td>
|
|
<code title="google.protobuf.Empty">
|
|
|
|
<span>google.protobuf.Empty</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
3
|
|
</td>
|
|
<td>
|
|
subscriber_not_found
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.NotFound">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.NotFound"><span title="org.signal.chat.errors.NotFound">org.signal.chat.errors.NotFound</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
4
|
|
</td>
|
|
<td>
|
|
subscriber_id_mismatch
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedUnidentifiedAuthorization">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedUnidentifiedAuthorization"><span title="org.signal.chat.errors.FailedUnidentifiedAuthorization">org.signal.chat.errors.FailedUnidentifiedAuthorization</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>subscriberId authentication failure</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetConfigurationResponse.LevelConfiguration">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetConfigurationResponse.LevelConfiguration" title="org.signal.chat.subscriptions.GetConfigurationResponse.LevelConfiguration">message LevelConfiguration</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetConfigurationResponse"><span title="org.signal.chat.subscriptions.GetConfigurationResponse">org.signal.chat.subscriptions.GetConfigurationResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
badge
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.GetConfigurationResponse.Badge">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetConfigurationResponse.Badge"><span title="org.signal.chat.subscriptions.GetConfigurationResponse.Badge">org.signal.chat.subscriptions.GetConfigurationResponse.Badge</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse.PaymentRequired">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse.PaymentRequired" title="org.signal.chat.subscriptions.GetReceiptCredentialsResponse.PaymentRequired">message PaymentRequired</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetReceiptCredentialsResponse"><span title="org.signal.chat.subscriptions.GetReceiptCredentialsResponse">org.signal.chat.subscriptions.GetReceiptCredentialsResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
charge_failure
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.ChargeFailure">
|
|
|
|
optional
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.ChargeFailure"><span title="org.signal.chat.subscriptions.ChargeFailure">org.signal.chat.subscriptions.ChargeFailure</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetIapSubscriptionRequest.PlayBillingPurchase">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetIapSubscriptionRequest.PlayBillingPurchase" title="org.signal.chat.subscriptions.SetIapSubscriptionRequest.PlayBillingPurchase">message PlayBillingPurchase</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetIapSubscriptionRequest"><span title="org.signal.chat.subscriptions.SetIapSubscriptionRequest">org.signal.chat.subscriptions.SetIapSubscriptionRequest</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
purchase_token
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.SepaPaymentMethod">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.SepaPaymentMethod" title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.SepaPaymentMethod">message SepaPaymentMethod</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest"><span title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest">org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
setupIntentId
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest" title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest">message SetDefaultPaymentMethodRequest</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
subscriberId
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr class="nohover"><td style="border: 0px"></td></tr>
|
|
<tr class="nohover">
|
|
<td class="oneof-heading" colspan="4">
|
|
<div class="oneof-heading">
|
|
<strong>oneof request</strong>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
2
|
|
</td>
|
|
<td>
|
|
stripe
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.StripePaymentMethod">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.StripePaymentMethod"><span title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.StripePaymentMethod">org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.StripePaymentMethod</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
3
|
|
</td>
|
|
<td>
|
|
braintree
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.BraintreePaymentMethod">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.BraintreePaymentMethod"><span title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.BraintreePaymentMethod">org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.BraintreePaymentMethod</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
4
|
|
</td>
|
|
<td>
|
|
sepa
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.SepaPaymentMethod">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.SepaPaymentMethod"><span title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.SepaPaymentMethod">org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.SepaPaymentMethod</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetDefaultPaymentMethodResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodResponse" title="org.signal.chat.subscriptions.SetDefaultPaymentMethodResponse">message SetDefaultPaymentMethodResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
<tr class="nohover"><td style="border: 0px"></td></tr>
|
|
<tr class="nohover">
|
|
<td class="oneof-heading" colspan="4">
|
|
<div class="oneof-heading">
|
|
<strong>oneof response</strong>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
1
|
|
</td>
|
|
<td>
|
|
success
|
|
</td>
|
|
<td>
|
|
<code title="google.protobuf.Empty">
|
|
|
|
<span>google.protobuf.Empty</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
2
|
|
</td>
|
|
<td>
|
|
subscriber_not_found
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.NotFound">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.NotFound"><span title="org.signal.chat.errors.NotFound">org.signal.chat.errors.NotFound</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
3
|
|
</td>
|
|
<td>
|
|
subscriber_id_mismatch
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedUnidentifiedAuthorization">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedUnidentifiedAuthorization"><span title="org.signal.chat.errors.FailedUnidentifiedAuthorization">org.signal.chat.errors.FailedUnidentifiedAuthorization</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>subscriberId authentication failure</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
4
|
|
</td>
|
|
<td>
|
|
payment_method_not_set_up
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetIapSubscriptionRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetIapSubscriptionRequest" title="org.signal.chat.subscriptions.SetIapSubscriptionRequest">message SetIapSubscriptionRequest</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
subscriberId
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr class="nohover"><td style="border: 0px"></td></tr>
|
|
<tr class="nohover">
|
|
<td class="oneof-heading" colspan="4">
|
|
<div class="oneof-heading">
|
|
<strong>oneof request</strong>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
2
|
|
</td>
|
|
<td>
|
|
app_store
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.SetIapSubscriptionRequest.AppStorePurchase">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetIapSubscriptionRequest.AppStorePurchase"><span title="org.signal.chat.subscriptions.SetIapSubscriptionRequest.AppStorePurchase">org.signal.chat.subscriptions.SetIapSubscriptionRequest.AppStorePurchase</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
3
|
|
</td>
|
|
<td>
|
|
play_billing
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.SetIapSubscriptionRequest.PlayBillingPurchase">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetIapSubscriptionRequest.PlayBillingPurchase"><span title="org.signal.chat.subscriptions.SetIapSubscriptionRequest.PlayBillingPurchase">org.signal.chat.subscriptions.SetIapSubscriptionRequest.PlayBillingPurchase</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetIapSubscriptionResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetIapSubscriptionResponse" title="org.signal.chat.subscriptions.SetIapSubscriptionResponse">message SetIapSubscriptionResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
<tr class="nohover"><td style="border: 0px"></td></tr>
|
|
<tr class="nohover">
|
|
<td class="oneof-heading" colspan="4">
|
|
<div class="oneof-heading">
|
|
<strong>oneof response</strong>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
1
|
|
</td>
|
|
<td>
|
|
success
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.SetIapSubscriptionResponse.SetIapSubscriptionResult">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetIapSubscriptionResponse.SetIapSubscriptionResult"><span title="org.signal.chat.subscriptions.SetIapSubscriptionResponse.SetIapSubscriptionResult">org.signal.chat.subscriptions.SetIapSubscriptionResponse.SetIapSubscriptionResult</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
2
|
|
</td>
|
|
<td>
|
|
subscriber_not_found
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.NotFound">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.NotFound"><span title="org.signal.chat.errors.NotFound">org.signal.chat.errors.NotFound</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
3
|
|
</td>
|
|
<td>
|
|
subscriber_id_mismatch
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedUnidentifiedAuthorization">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedUnidentifiedAuthorization"><span title="org.signal.chat.errors.FailedUnidentifiedAuthorization">org.signal.chat.errors.FailedUnidentifiedAuthorization</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>subscriberId authentication failure</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
4
|
|
</td>
|
|
<td>
|
|
subscription_processor_conflict
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>New payment processor does not match existing processor associated with the subscription</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
5
|
|
</td>
|
|
<td>
|
|
payment_required
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
6
|
|
</td>
|
|
<td>
|
|
invalid_transaction
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetIapSubscriptionResponse.SetIapSubscriptionResult">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetIapSubscriptionResponse.SetIapSubscriptionResult" title="org.signal.chat.subscriptions.SetIapSubscriptionResponse.SetIapSubscriptionResult">message SetIapSubscriptionResult</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetIapSubscriptionResponse"><span title="org.signal.chat.subscriptions.SetIapSubscriptionResponse">org.signal.chat.subscriptions.SetIapSubscriptionResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
level
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetSubscriptionLevelRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetSubscriptionLevelRequest" title="org.signal.chat.subscriptions.SetSubscriptionLevelRequest">message SetSubscriptionLevelRequest</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
subscriberId
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
level
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>
|
|
currency
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>4</td>
|
|
<td>
|
|
idempotencyKey
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetSubscriptionLevelResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetSubscriptionLevelResponse" title="org.signal.chat.subscriptions.SetSubscriptionLevelResponse">message SetSubscriptionLevelResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
<tr class="nohover"><td style="border: 0px"></td></tr>
|
|
<tr class="nohover">
|
|
<td class="oneof-heading" colspan="4">
|
|
<div class="oneof-heading">
|
|
<strong>oneof response</strong>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
1
|
|
</td>
|
|
<td>
|
|
success
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.SetSubscriptionLevelResponse.SetSubscriptionLevelResult">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetSubscriptionLevelResponse.SetSubscriptionLevelResult"><span title="org.signal.chat.subscriptions.SetSubscriptionLevelResponse.SetSubscriptionLevelResult">org.signal.chat.subscriptions.SetSubscriptionLevelResponse.SetSubscriptionLevelResult</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
2
|
|
</td>
|
|
<td>
|
|
subscriber_not_found
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.NotFound">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.NotFound"><span title="org.signal.chat.errors.NotFound">org.signal.chat.errors.NotFound</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
3
|
|
</td>
|
|
<td>
|
|
subscriber_id_mismatch
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedUnidentifiedAuthorization">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedUnidentifiedAuthorization"><span title="org.signal.chat.errors.FailedUnidentifiedAuthorization">org.signal.chat.errors.FailedUnidentifiedAuthorization</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>subscriberId authentication failure</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
4
|
|
</td>
|
|
<td>
|
|
subscription_processor_conflict
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>New payment processor does not match existing processor associated with the subscription</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
5
|
|
</td>
|
|
<td>
|
|
payment_method_not_set_up
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
6
|
|
</td>
|
|
<td>
|
|
unsupported_operation
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The payment processor does not support this operation</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
7
|
|
</td>
|
|
<td>
|
|
unsupported_level
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The requested level was invalid</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
8
|
|
</td>
|
|
<td>
|
|
unsupported_currency
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The requested currency was invalid</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
9
|
|
</td>
|
|
<td>
|
|
payment_requires_action
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The card could not be charged</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
10
|
|
</td>
|
|
<td>
|
|
invalid_level_transition
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Cannot transition from existing level to the requested level</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
11
|
|
</td>
|
|
<td>
|
|
invalid_idempotency_key
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedPrecondition">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The idempotency key was invalid or re-used with a modified request</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
12
|
|
</td>
|
|
<td>
|
|
charge_failure
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.ChargeFailure">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.ChargeFailure"><span title="org.signal.chat.subscriptions.ChargeFailure">org.signal.chat.subscriptions.ChargeFailure</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The payment failed; see charge failure details</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetSubscriptionLevelResponse.SetSubscriptionLevelResult">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetSubscriptionLevelResponse.SetSubscriptionLevelResult" title="org.signal.chat.subscriptions.SetSubscriptionLevelResponse.SetSubscriptionLevelResult">message SetSubscriptionLevelResult</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetSubscriptionLevelResponse"><span title="org.signal.chat.subscriptions.SetSubscriptionLevelResponse">org.signal.chat.subscriptions.SetSubscriptionLevelResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
level
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.StripePaymentMethod">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.StripePaymentMethod" title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.StripePaymentMethod">message StripePaymentMethod</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest"><span title="org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest">org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
paymentMethodToken
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.GetSubscriptionInformationResponse.Subscription">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.GetSubscriptionInformationResponse.Subscription" title="org.signal.chat.subscriptions.GetSubscriptionInformationResponse.Subscription">message Subscription</a>
|
|
|
|
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.GetSubscriptionInformationResponse"><span title="org.signal.chat.subscriptions.GetSubscriptionInformationResponse">org.signal.chat.subscriptions.GetSubscriptionInformationResponse</span>
|
|
</a>)</span>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
level
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The subscription level</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
billing_cycle_anchor
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
optional
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>If present, UNIX Epoch Timestamp in seconds, can be used to calculate next billing date.</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>
|
|
end_of_current_period
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>UNIX Epoch Timestamp in seconds, when the current subscription period ends</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>4</td>
|
|
<td>
|
|
active
|
|
</td>
|
|
<td>
|
|
<code title="bool">
|
|
|
|
<span>bool</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Whether there is a currently active subscription</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>5</td>
|
|
<td>
|
|
cancel_at_period_end
|
|
</td>
|
|
<td>
|
|
<code title="bool">
|
|
|
|
<span>bool</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>If true, an active subscription will not auto-renew at the end of the current period</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>6</td>
|
|
<td>
|
|
currency
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A three-letter ISO 4217 currency code for currency used in the subscription</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>7</td>
|
|
<td>
|
|
amount
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The amount paid for the subscription in the currency's smallest unit</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>8</td>
|
|
<td>
|
|
status
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.SubscriptionStatus">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#enum-org.signal.chat.subscriptions.SubscriptionStatus"><span title="org.signal.chat.subscriptions.SubscriptionStatus">org.signal.chat.subscriptions.SubscriptionStatus</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The subscription's status, mapped to Stripe's statuses. trialing will never be returned</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>9</td>
|
|
<td>
|
|
processor
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.PaymentProvider">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#enum-org.signal.chat.subscriptions.PaymentProvider"><span title="org.signal.chat.subscriptions.PaymentProvider">org.signal.chat.subscriptions.PaymentProvider</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The payment provider associated with the subscription</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>10</td>
|
|
<td>
|
|
payment_method
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.PaymentMethod">
|
|
|
|
<a href="org.signal.chat.subscriptions.html#enum-org.signal.chat.subscriptions.PaymentMethod"><span title="org.signal.chat.subscriptions.PaymentMethod">org.signal.chat.subscriptions.PaymentMethod</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The payment method associated with the subscription</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>11</td>
|
|
<td>
|
|
payment_processing
|
|
</td>
|
|
<td>
|
|
<code title="bool">
|
|
|
|
<span>bool</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>Whether the latest charge for the subscription is in a non-terminal state</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>12</td>
|
|
<td>
|
|
charge_failure
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.subscriptions.ChargeFailure">
|
|
|
|
optional
|
|
|
|
<a href="org.signal.chat.subscriptions.html#message-org.signal.chat.subscriptions.ChargeFailure"><span title="org.signal.chat.subscriptions.ChargeFailure">org.signal.chat.subscriptions.ChargeFailure</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>if present, contains information that may be interpreted to help the user fix a failure</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.UpdateSubscriberRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.UpdateSubscriberRequest" title="org.signal.chat.subscriptions.UpdateSubscriberRequest">message UpdateSubscriberRequest</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>
|
|
subscriberId
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.subscriptions.UpdateSubscriberResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.subscriptions.UpdateSubscriberResponse" title="org.signal.chat.subscriptions.UpdateSubscriberResponse">message UpdateSubscriberResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
|
|
|
|
|
|
<tr class="nohover"><td style="border: 0px"></td></tr>
|
|
<tr class="nohover">
|
|
<td class="oneof-heading" colspan="4">
|
|
<div class="oneof-heading">
|
|
<strong>oneof response</strong>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
1
|
|
</td>
|
|
<td>
|
|
success
|
|
</td>
|
|
<td>
|
|
<code title="google.protobuf.Empty">
|
|
|
|
<span>google.protobuf.Empty</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
2
|
|
</td>
|
|
<td>
|
|
subscriber_id_mismatch
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.errors.FailedUnidentifiedAuthorization">
|
|
|
|
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedUnidentifiedAuthorization"><span title="org.signal.chat.errors.FailedUnidentifiedAuthorization">org.signal.chat.errors.FailedUnidentifiedAuthorization</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>subscriberId authentication failure</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 class="title is-3">
|
|
Enums
|
|
</h3>
|
|
|
|
|
|
<div class="block">
|
|
<h4 class="title is-4 type-heading" id="enum-org.signal.chat.subscriptions.BankTransferType">
|
|
<a href="#enum-org.signal.chat.subscriptions.BankTransferType" title="org.signal.chat.subscriptions.BankTransferType">enum BankTransferType</a>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p></p>
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Number</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td><code>BANK_TRANSFER_TYPE_UNKNOWN</code></td>
|
|
<td>0</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>BANK_TRANSFER_TYPE_SEPA_DEBIT</code></td>
|
|
<td>1</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="block">
|
|
<h4 class="title is-4 type-heading" id="enum-org.signal.chat.subscriptions.PaymentMethod">
|
|
<a href="#enum-org.signal.chat.subscriptions.PaymentMethod" title="org.signal.chat.subscriptions.PaymentMethod">enum PaymentMethod</a>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p></p>
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Number</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td><code>PAYMENT_METHOD_UNKNOWN</code></td>
|
|
<td>0</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>PAYMENT_METHOD_CARD</code></td>
|
|
<td>1</td>
|
|
<td class="content"><p>A credit card or debit card, including those from Apple Pay and Google Pay</p></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>PAYMENT_METHOD_SEPA_DEBIT</code></td>
|
|
<td>2</td>
|
|
<td class="content"><p>A SEPA debit account</p></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>PAYMENT_METHOD_IDEAL</code></td>
|
|
<td>3</td>
|
|
<td class="content"><p>An iDEAL account</p></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>PAYMENT_METHOD_PAYPAL</code></td>
|
|
<td>4</td>
|
|
<td class="content"><p>A PayPal account</p></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>PAYMENT_METHOD_GOOGLE_PLAY_BILLING</code></td>
|
|
<td>5</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>PAYMENT_METHOD_APPLE_APP_STORE</code></td>
|
|
<td>6</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="block">
|
|
<h4 class="title is-4 type-heading" id="enum-org.signal.chat.subscriptions.PaymentProvider">
|
|
<a href="#enum-org.signal.chat.subscriptions.PaymentProvider" title="org.signal.chat.subscriptions.PaymentProvider">enum PaymentProvider</a>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p></p>
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Number</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td><code>PAYMENT_PROVIDER_UNKNOWN</code></td>
|
|
<td>0</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>PAYMENT_PROVIDER_STRIPE</code></td>
|
|
<td>1</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>PAYMENT_PROVIDER_BRAINTREE</code></td>
|
|
<td>2</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>PAYMENT_PROVIDER_GOOGLE_PLAY_BILLING</code></td>
|
|
<td>3</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>PAYMENT_PROVIDER_APPLE_APP_STORE</code></td>
|
|
<td>4</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="block">
|
|
<h4 class="title is-4 type-heading" id="enum-org.signal.chat.subscriptions.SubscriptionStatus">
|
|
<a href="#enum-org.signal.chat.subscriptions.SubscriptionStatus" title="org.signal.chat.subscriptions.SubscriptionStatus">enum SubscriptionStatus</a>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p></p>
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Number</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td><code>SUBSCRIPTION_STATUS_UNKNOWN</code></td>
|
|
<td>0</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>SUBSCRIPTION_STATUS_ACTIVE</code></td>
|
|
<td>1</td>
|
|
<td class="content"><p>The subscription is in good standing and the most recent payment was successful.</p></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>SUBSCRIPTION_STATUS_INCOMPLETE</code></td>
|
|
<td>2</td>
|
|
<td class="content"><p>Payment failed when creating the subscription, or the subscription's start date is in the future.</p></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>SUBSCRIPTION_STATUS_PAST_DUE</code></td>
|
|
<td>3</td>
|
|
<td class="content"><p>Payment on the latest renewal failed but there are processor retries left, or payment wasn't attempted.</p></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>SUBSCRIPTION_STATUS_CANCELED</code></td>
|
|
<td>4</td>
|
|
<td class="content"><p>The subscription has been canceled.</p></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>SUBSCRIPTION_STATUS_UNPAID</code></td>
|
|
<td>5</td>
|
|
<td class="content"><p>The latest renewal hasn't been paid but the subscription remains in place.</p></td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<footer class="footer">
|
|
<div class="content has-text-centered">
|
|
|
|
<p>Built with <strong><a href="https://github.com/markvincze/sabledocs" target="_blank">sabledocs</a></strong>.</p>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html> |