diff --git a/grpc/index.html b/grpc/index.html index 710db2a10..191c0d92f 100644 --- a/grpc/index.html +++ b/grpc/index.html @@ -236,13 +236,6 @@ header. If provided, the request will fail with a BAD_AUTHENTICATION -

- - org.signal.chat.one_time_donations - -

- -

org.signal.chat.payments @@ -259,14 +252,14 @@ header. If provided, the request will fail with a BAD_AUTHENTICATION - org.signal.chat.require + org.signal.chat.purchase

- org.signal.chat.subscriptions + org.signal.chat.require

diff --git a/grpc/org.signal.chat.common.html b/grpc/org.signal.chat.common.html index 2b5baa2be..7eee3eeea 100644 --- a/grpc/org.signal.chat.common.html +++ b/grpc/org.signal.chat.common.html @@ -272,6 +272,22 @@ empty if no username is associated with the identified account.

+ + 4 + + username_link_handle + + + + + bytes + + +

The username link handle UUID associated with the identified account. +May be empty if no username is associated with the identified account.

+ + + diff --git a/grpc/org.signal.chat.one_time_donations.html b/grpc/org.signal.chat.one_time_donations.html deleted file mode 100644 index c5783dd33..000000000 --- a/grpc/org.signal.chat.one_time_donations.html +++ /dev/null @@ -1,1606 +0,0 @@ - - - - - - Protobuf module documentation - - - - - - -
- -
- -
-

- ← Back to packages -

-

- - Package org.signal.chat.one_time_donations - -

- -
- -

- - Service - OneTimeDonations - -

- - - - -

- - Message - AmountAboveSepaLimitError - -

- - - -

- - Message - AmountBelowMinimumError - -

- - - -

- - Message - ConfirmPayPalBoostRequest - -

- - - -

- - Message - ConfirmPayPalBoostResponse - -

- - - -

- - Message - ConfirmPayPalBoostResult - -

- - - -

- - Message - CreateBoostReceiptCredentialsRequest - -

- - - -

- - Message - CreateBoostReceiptCredentialsResponse - -

- - - -

- - Message - CreateBoostReceiptCredentialsResult - -

- - - -

- - Message - CreateBoostRequest - -

- - - -

- - Message - CreateBoostResponse - -

- - - -

- - Message - CreatePayPalBoostRequest - -

- - - -

- - Message - CreatePayPalBoostResponse - -

- - - -

- - Message - CreatePayPalBoostResult - -

- - - - -
- -
- -
- - - -
-

- Services -

- - -
- - -

- service OneTimeDonations - -

- -
-

Service for making one-time donation payments (boost and gift)

-

Note that these are siblings of the RPCs in the Subscriptions service. One-time payments do -not require the subscription management methods in that service, though the configuration at -Subscriptions.GetConfiguration is shared between subscription and one-time payments.

-
- - -
- - - -
-

Create a Stripe payment intent and return a client secret that can be used to complete the payment. -Once the payment is complete, the paymentIntentId can be used with CreateBoostReceiptCredentials

-
- -
- -
- - - -
-

Create a PayPal one-time payment. -Once the payment is complete, call ConfirmPayPalBoost with the payment ID and token

-
- -
- - - -
- - - -
-

Obtain a ZK receipt credential for a completed one-time donation payment. -The receipt credential can then be used to redeem the one-time donation entitlement -via Donations.RedeemReceipt

-
- -
- -
- -
- - - - - -

- Messages -

- - - -
- - -

- - message AmountAboveSepaLimitError - - - -

- -
-

The SEPA Direct Debit amount exceeds the allowed maximum.

-
- - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - maximum - - - - string - -

The maximum amount for a SEPA transaction

- -
- - - -
- - -

- - message AmountBelowMinimumError - - - -

- -
-

The amount is below the minimum for the currency.

-
- - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - minimum - - - - string - -

The minimum amount for the currency

- -
- - - -
- - -

- - message ConfirmPayPalBoostRequest - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - currency - - - - string - -

ISO 4217 currency code, case-insensitive (e.g. "usd", "EUR")

2 - amount - - - - uint64 - -

Amount in the currency's minor unit, must be >= 1

3 - level - - - - uint64 - -

Donation level.

4 - payer_id - - - - string - -

PayPal payer ID from the approval redirect

5 - payment_id - - - - string - -

PayPal payment ID (PAYID-…) from CreatePayPalBoost

6 - payment_token - - - - string - -

PayPal payment token (EC-…) from the approval redirect

- -
- - - -
- - -

- - message ConfirmPayPalBoostResponse - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
-
- oneof response -
-
- 1 - - result - - - - org.signal.chat.one_time_donations.ConfirmPayPalBoostResponse.ConfirmPayPalBoostResult - - -
- 2 - - amount_below_minimum - - - - org.signal.chat.one_time_donations.AmountBelowMinimumError - - -

The amount is below the minimum for the currency

- 3 - - unsupported_currency - - - - org.signal.chat.errors.FailedPrecondition - - -

The requested currency is not supported for PayPal

- 4 - - unsupported_level - - - - org.signal.chat.errors.FailedPrecondition - - -

The requested level is not a valid one-time donation level

- -
- - - -
- - -

- - message ConfirmPayPalBoostResult - -
(Nested in org.signal.chat.one_time_donations.ConfirmPayPalBoostResponse - ) - -
- -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - payment_id - - - - string - -
- -
- - - -
- - -

- - message CreateBoostReceiptCredentialsRequest - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - payment_intent_id - - - - string - -

a payment ID from the processor

2 - receipt_credential_request - - - - bytes - -

ZK blind-signature receipt credential request bytes

3 - processor - - - - org.signal.chat.subscriptions.PaymentProvider - - -

The processor that handled the payment

- -
- - - -
- - -

- - message CreateBoostReceiptCredentialsResponse - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
-
- oneof response -
-
- 1 - - result - - - - org.signal.chat.one_time_donations.CreateBoostReceiptCredentialsResponse.CreateBoostReceiptCredentialsResult - - -
- 2 - - payment_still_processing - - - - org.signal.chat.errors.FailedPrecondition - - -

Payment is still processing; client should retry

- 3 - - payment_required - - - - org.signal.chat.subscriptions.PaymentRequired - - -

Payment failed

- 4 - - payment_not_found - - - - org.signal.chat.errors.NotFound - - -

Payment intent not found

- 5 - - receipt_already_issued - - - - org.signal.chat.errors.FailedPrecondition - - -

A receipt credential was already issued for this payment

- -
- - - -
- - -

- - message CreateBoostReceiptCredentialsResult - -
(Nested in org.signal.chat.one_time_donations.CreateBoostReceiptCredentialsResponse - ) - -
- -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - receipt_credential_response - - - - bytes - -
- -
- - - -
- - -

- - message CreateBoostRequest - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - currency - - - - string - -

ISO 4217 currency code, case-insensitive (e.g. "usd", "EUR")

2 - amount - - - - uint64 - -

The amount to pay in the currency's minor unit

3 - level - - - - uint64 - -

The level for the boost payment

4 - payment_method - - - - org.signal.chat.subscriptions.PaymentMethod - - -

The payment method

5 - donation_permit - - - - bytes - -

A donation permit retrieved from Donations.createDonationPermit

- -
- - - -
- - -

- - message CreateBoostResponse - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
-
- oneof response -
-
- 1 - - client_secret - - - - string - -

A client secret that can be used to complete a stripe PaymentIntent

- 2 - - amount_below_minimum - - - - org.signal.chat.one_time_donations.AmountBelowMinimumError - - -

The amount is below the minimum for the currency

- 3 - - amount_above_sepa_limit - - - - org.signal.chat.one_time_donations.AmountAboveSepaLimitError - - -

The amount exceeds the maximum for SEPA Direct Debit

- 4 - - unsupported_currency - - - - org.signal.chat.errors.FailedPrecondition - - -

The requested currency is not supported for the given payment method

- 5 - - unsupported_level - - - - org.signal.chat.errors.FailedPrecondition - - -

The requested level is not a valid one-time donation level

- 6 - - permit_rejected - - - - org.signal.chat.errors.FailedZkAuthentication - - -

Donation permit was invalid or already spent

- -
- - - -
- - -

- - message CreatePayPalBoostRequest - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - currency - - - - string - -

ISO 4217 currency code, case-insensitive (e.g. "usd", "EUR")

2 - amount - - - - uint64 - -

Amount in the currency's minor unit (e.g. cents for USD), must be >= 1

3 - level - - - - uint64 - -

Donation level.

4 - return_url - - - - string - -

URL to redirect the user to after PayPal approval

5 - cancel_url - - - - string - -

URL to redirect the user to if they cancel

- -
- - - -
- - -

- - message CreatePayPalBoostResponse - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
-
- oneof response -
-
- 1 - - result - - - - org.signal.chat.one_time_donations.CreatePayPalBoostResponse.CreatePayPalBoostResult - - -
- 2 - - amount_below_minimum - - - - org.signal.chat.one_time_donations.AmountBelowMinimumError - - -

The amount is below the minimum for the currency

- 3 - - unsupported_currency - - - - org.signal.chat.errors.FailedPrecondition - - -

The requested currency is not supported for PayPal

- 4 - - unsupported_level - - - - org.signal.chat.errors.FailedPrecondition - - -

The requested level is not a valid one-time donation level

- -
- - - -
- - -

- - message CreatePayPalBoostResult - -
(Nested in org.signal.chat.one_time_donations.CreatePayPalBoostResponse - ) - -
- -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - approval_url - - - - string - -
2 - payment_id - - - - string - -
- -
- - - - - - - -
- - - - \ No newline at end of file diff --git a/grpc/org.signal.chat.subscriptions.html b/grpc/org.signal.chat.purchase.html similarity index 54% rename from grpc/org.signal.chat.subscriptions.html rename to grpc/org.signal.chat.purchase.html index 291413ef0..ef727fd72 100644 --- a/grpc/org.signal.chat.subscriptions.html +++ b/grpc/org.signal.chat.purchase.html @@ -64,14 +64,28 @@

- Package org.signal.chat.subscriptions + Package org.signal.chat.purchase

- + + Service + OneTimeDonations + +

+ +

+ + Service + ProductConfiguration + +

+ +

+ Service Subscriptions @@ -81,7 +95,25 @@

- + + Message + AmountAboveSepaLimitError + +

+ + + +

+ + Message + AmountBelowMinimumError + +

+ + + +

+ Message AmountList @@ -90,7 +122,7 @@

- + Message AppStorePurchase @@ -99,7 +131,7 @@

- + Message BackupConfiguration @@ -108,7 +140,7 @@

- + Message BackupLevelConfiguration @@ -118,17 +150,10 @@ -

- - Message - Badge - -

-

- + Message BraintreePaymentMethod @@ -137,7 +162,7 @@

- + Message ChargeFailure @@ -146,7 +171,115 @@

- + + Message + Configuration + +

+ + + +

+ + Message + ConfirmPayPalBoostRequest + +

+ + + +

+ + Message + ConfirmPayPalBoostResponse + +

+ + + +

+ + Message + ConfirmPayPalBoostResult + +

+ + + +

+ + Message + CreateBoostReceiptCredentialsRequest + +

+ + + +

+ + Message + CreateBoostReceiptCredentialsResponse + +

+ + + +

+ + Message + CreateBoostReceiptCredentialsResult + +

+ + + +

+ + Message + CreateBoostRequest + +

+ + + +

+ + Message + CreateBoostResponse + +

+ + + +

+ + Message + CreatePayPalBoostRequest + +

+ + + +

+ + Message + CreatePayPalBoostResponse + +

+ + + +

+ + Message + CreatePayPalBoostResult + +

+ + + +

+ Message CreatePayPalPaymentMethodRequest @@ -155,7 +288,7 @@

- + Message CreatePayPalPaymentMethodResponse @@ -164,7 +297,7 @@

- + Message CreatePayPalPaymentMethodResult @@ -173,7 +306,7 @@

- + Message CreatePaymentMethodRequest @@ -182,7 +315,7 @@

- + Message CreatePaymentMethodResponse @@ -191,7 +324,7 @@

- + Message CreatePaymentMethodResult @@ -202,7 +335,7 @@

- + Message CurrencyConfiguration @@ -211,7 +344,7 @@

- + Message DeleteSubscriberRequest @@ -220,7 +353,7 @@

- + Message DeleteSubscriberResponse @@ -229,7 +362,7 @@

- + Message GetBankMandateRequest @@ -238,7 +371,7 @@

- + Message GetBankMandateResponse @@ -247,7 +380,7 @@

- + Message GetConfigurationRequest @@ -256,7 +389,7 @@

- + Message GetConfigurationResponse @@ -265,7 +398,7 @@

- + Message GetReceiptCredentialsRequest @@ -274,7 +407,7 @@

- + Message GetReceiptCredentialsResponse @@ -283,7 +416,7 @@

- + Message GetReceiptCredentialsResult @@ -292,7 +425,7 @@

- + Message GetSubscriptionInformationRequest @@ -301,7 +434,7 @@

- + Message GetSubscriptionInformationResponse @@ -310,7 +443,7 @@

- + Message LevelConfiguration @@ -322,10 +455,8 @@ - -

- + Message PaymentRequired @@ -334,7 +465,7 @@

- + Message PlayBillingPurchase @@ -343,7 +474,7 @@

- + Message SepaPaymentMethod @@ -352,7 +483,7 @@

- + Message SetDefaultPaymentMethodRequest @@ -361,7 +492,7 @@

- + Message SetDefaultPaymentMethodResponse @@ -370,7 +501,7 @@

- + Message SetIapSubscriptionRequest @@ -379,7 +510,7 @@

- + Message SetIapSubscriptionResponse @@ -388,7 +519,7 @@

- + Message SetIapSubscriptionResult @@ -397,7 +528,7 @@

- + Message SetSubscriptionLevelRequest @@ -406,7 +537,7 @@

- + Message SetSubscriptionLevelResponse @@ -415,7 +546,7 @@

- + Message SetSubscriptionLevelResult @@ -424,7 +555,7 @@

- + Message StripePaymentMethod @@ -433,7 +564,7 @@

- + Message Subscription @@ -444,7 +575,16 @@

- + + Message + TaggedConfiguration + +

+ + + +

+ Message UpdateSubscriberRequest @@ -453,7 +593,7 @@

- + Message UpdateSubscriberResponse @@ -463,28 +603,28 @@

- + Enum BankTransferType

- + Enum PaymentMethod

- + Enum PaymentProvider

- + Enum SubscriptionStatus @@ -507,26 +647,166 @@

-

- service Subscriptions +

+ service OneTimeDonations

-

+

Service for making one-time donation payments (boost and gift)

+

Configuration for one-time donations can be found in ProductConfiguration.

+ + +
+

Create a Stripe payment intent and return a client secret that can be used to complete the payment. +Once the payment is complete, the paymentIntentId can be used with CreateBoostReceiptCredentials

+
+ +
+ +
+ + + +
+

Create a PayPal one-time payment. +Once the payment is complete, call ConfirmPayPalBoost with the payment ID and token

+
+ +
+ + + +
+ + + +
+

Obtain a ZK receipt credential for a completed one-time donation payment. +The receipt credential can then be used to redeem the one-time donation entitlement +via Donations.RedeemReceipt

+
+ +
+ +
+ +
+ + +

+ service ProductConfiguration + +

+ +
+

Retrieve product metadata for one-time donations, subscriptions, and backups

+
+ + +
+ + + +
+

Returns all configuration for badges, donation subscriptions, backup subscriptions, and one-time donation ( +"boost" and "gift") minimum and suggested amounts.

+

Product descriptions may contain localized strings. Callers should set +their language preferences via an "Accept-Language" header on the request +https://datatracker.ietf.org/doc/html/rfc3282#section-3

+
+ +
+ +
+ +
+ + +

+ service Subscriptions + +

+ +
+

Service for creating donation subscriptions

+

Configuration for subscription levels can be found in ProductConfiguration.

+
+ + +
+ @@ -541,14 +821,14 @@
@@ -563,14 +843,14 @@ cancelling a subscription from storekit to keep server data up to date.

@@ -583,14 +863,14 @@ cancelling a subscription from storekit to keep server data up to date.

@@ -603,14 +883,14 @@ cancelling a subscription from storekit to keep server data up to date.

@@ -623,14 +903,14 @@ cancelling a subscription from storekit to keep server data up to date.

@@ -643,14 +923,14 @@ cancelling a subscription from storekit to keep server data up to date.

@@ -667,14 +947,14 @@ by the API.

@@ -701,14 +981,14 @@ cannot be redeemed.

@@ -742,35 +1022,14 @@ associated with the old purchaseToken will be cancelled.

- - -
-

Returns all configuration for badges, donation subscriptions, backup subscriptions, and one-time donation ( -"boost" and "gift") minimum and suggested amounts.

-
- -
- -
- @@ -798,12 +1057,109 @@ associated with the old purchaseToken will be cancelled.

-

+

- message AmountList + message AmountAboveSepaLimitError -
(Nested in org.signal.chat.subscriptions.GetConfigurationResponse - ) +
+ +

+ +
+

The SEPA Direct Debit amount exceeds the allowed maximum.

+
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + maximum + + + + string + +

The maximum amount for a SEPA transaction

+ +
+ + + +
+ + +

+ + message AmountBelowMinimumError + + + +

+ +
+

The amount is below the minimum for the currency.

+
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + minimum + + + + string + +

The minimum amount for the currency

+ +
+ + + +
+ + +

+ + message AmountList @@ -854,11 +1210,11 @@ for display purposes only

-

+

- message AppStorePurchase + message AppStorePurchase -
(Nested in org.signal.chat.subscriptions.SetIapSubscriptionRequest +
(Nested in
org.signal.chat.purchase.SetIapSubscriptionRequest )
@@ -907,12 +1263,9 @@ for display purposes only

-

+

- message BackupConfiguration - -
(Nested in org.signal.chat.subscriptions.GetConfigurationResponse - ) + message BackupConfiguration
@@ -975,12 +1328,9 @@ for display purposes only

-

+

- message BackupLevelConfiguration - -
(Nested in org.signal.chat.subscriptions.GetConfigurationResponse - ) + message BackupLevelConfiguration
@@ -1057,85 +1407,16 @@ for display purposes only

-
- - -

- - message Badge - -
(Nested in org.signal.chat.subscriptions.GetConfigurationResponse - ) - -
- -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - badge - - - - org.signal.chat.common.Badge - - -
2 - duration_seconds - - - - optional - - uint64 - -

Present only for one-time (purchasable) badges

- -
-
-

+

- message BraintreePaymentMethod + message BraintreePaymentMethod -
(Nested in org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest +
(Nested in
org.signal.chat.purchase.SetDefaultPaymentMethodRequest )
@@ -1184,9 +1465,9 @@ for display purposes only

-

+

- message ChargeFailure + message ChargeFailure @@ -1223,9 +1504,9 @@ retrieved from the payment processor directly

processor - + - org.signal.chat.subscriptions.PaymentProvider + org.signal.chat.purchase.PaymentProvider @@ -1329,9 +1610,1309 @@ depending on which processor was used

-

+

- message CreatePayPalPaymentMethodRequest + message Configuration + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + currencies + + + + map<string, CurrencyConfiguration> + +

Map of lower-cased ISO 3 currency codes to currency-specific configuration

2 + badge_levels + + + + map<uint64, LevelConfiguration> + +

Map of numeric donation level IDs to level-specific badge configuration

3 + backup + + + + org.signal.chat.purchase.BackupConfiguration + + +

Configuration for backup subscription options

4 + sepa_maximum_euros + + + + string + +

Maximum value of a one-time SEPA donation

+ +
+ + + +
+ + +

+ + message ConfirmPayPalBoostRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + currency + + + + string + +

ISO 4217 currency code, case-insensitive (e.g. "usd", "EUR")

2 + amount + + + + uint64 + +

Amount in the currency's minor unit, must be >= 1

3 + level + + + + uint64 + +

Donation level.

4 + payer_id + + + + string + +

PayPal payer ID from the approval redirect

5 + payment_id + + + + string + +

PayPal payment ID (PAYID-…) from CreatePayPalBoost

6 + payment_token + + + + string + +

PayPal payment token (EC-…) from the approval redirect

+ +
+ + + +
+ + +

+ + message ConfirmPayPalBoostResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + result + + + + org.signal.chat.purchase.ConfirmPayPalBoostResponse.ConfirmPayPalBoostResult + + +
+ 2 + + amount_below_minimum + + + + org.signal.chat.purchase.AmountBelowMinimumError + + +

The amount is below the minimum for the currency

+ 3 + + unsupported_currency + + + + org.signal.chat.errors.FailedPrecondition + + +

The requested currency is not supported for PayPal

+ 4 + + unsupported_level + + + + org.signal.chat.errors.FailedPrecondition + + +

The requested level is not a valid one-time donation level

+ 5 + + charge_failure + + + + org.signal.chat.purchase.ChargeFailure + + +

The payment failed; see charge failure details

+ +
+ + + +
+ + +

+ + message ConfirmPayPalBoostResult + +
(Nested in org.signal.chat.purchase.ConfirmPayPalBoostResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + payment_id + + + + string + +
+ +
+ + + +
+ + +

+ + message CreateBoostReceiptCredentialsRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + payment_intent_id + + + + string + +

a payment ID from the processor

2 + receipt_credential_request + + + + bytes + +

ZK blind-signature receipt credential request bytes

3 + processor + + + + org.signal.chat.purchase.PaymentProvider + + +

The processor that handled the payment

+ +
+ + + +
+ + +

+ + message CreateBoostReceiptCredentialsResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + result + + + + org.signal.chat.purchase.CreateBoostReceiptCredentialsResponse.CreateBoostReceiptCredentialsResult + + +
+ 2 + + payment_still_processing + + + + org.signal.chat.errors.FailedPrecondition + + +

Payment is still processing; client should retry

+ 3 + + payment_required + + + + org.signal.chat.purchase.PaymentRequired + + +

Payment failed

+ 4 + + payment_not_found + + + + org.signal.chat.errors.NotFound + + +

Payment intent not found

+ 5 + + receipt_already_issued + + + + org.signal.chat.errors.FailedPrecondition + + +

A receipt credential was already issued for this payment

+ +
+ + + +
+ + +

+ + message CreateBoostReceiptCredentialsResult + +
(Nested in org.signal.chat.purchase.CreateBoostReceiptCredentialsResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + receipt_credential_response + + + + bytes + +
+ +
+ + + +
+ + +

+ + message CreateBoostRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + currency + + + + string + +

ISO 4217 currency code, case-insensitive (e.g. "usd", "EUR")

2 + amount + + + + uint64 + +

The amount to pay in the currency's minor unit

3 + level + + + + uint64 + +

The level for the boost payment

4 + payment_method + + + + org.signal.chat.purchase.PaymentMethod + + +

The payment method

5 + donation_permit + + + + bytes + +

A donation permit retrieved from Donations.createDonationPermit

+ +
+ + + +
+ + +

+ + message CreateBoostResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + client_secret + + + + string + +

A client secret that can be used to complete a stripe PaymentIntent

+ 2 + + amount_below_minimum + + + + org.signal.chat.purchase.AmountBelowMinimumError + + +

The amount is below the minimum for the currency

+ 3 + + amount_above_sepa_limit + + + + org.signal.chat.purchase.AmountAboveSepaLimitError + + +

The amount exceeds the maximum for SEPA Direct Debit

+ 4 + + unsupported_currency + + + + org.signal.chat.errors.FailedPrecondition + + +

The requested currency is not supported for the given payment method

+ 5 + + unsupported_level + + + + org.signal.chat.errors.FailedPrecondition + + +

The requested level is not a valid one-time donation level

+ 6 + + permit_rejected + + + + org.signal.chat.errors.FailedZkAuthentication + + +

Donation permit was invalid or already spent

+ 7 + + invalid_amount + + + + org.signal.chat.errors.FailedPrecondition + + +

The amount in the specified currency is not supported by the payment provider

+ +
+ + + +
+ + +

+ + message CreatePayPalBoostRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + currency + + + + string + +

ISO 4217 currency code, case-insensitive (e.g. "usd", "EUR")

2 + amount + + + + uint64 + +

Amount in the currency's minor unit (e.g. cents for USD), must be >= 1

3 + level + + + + uint64 + +

Donation level.

4 + return_url + + + + string + +

URL to redirect the user to after PayPal approval

5 + cancel_url + + + + string + +

URL to redirect the user to if they cancel

+ +
+ + + +
+ + +

+ + message CreatePayPalBoostResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + result + + + + org.signal.chat.purchase.CreatePayPalBoostResponse.CreatePayPalBoostResult + + +
+ 2 + + amount_below_minimum + + + + org.signal.chat.purchase.AmountBelowMinimumError + + +

The amount is below the minimum for the currency

+ 3 + + unsupported_currency + + + + org.signal.chat.errors.FailedPrecondition + + +

The requested currency is not supported for PayPal

+ 4 + + unsupported_level + + + + org.signal.chat.errors.FailedPrecondition + + +

The requested level is not a valid one-time donation level

+ +
+ + + +
+ + +

+ + message CreatePayPalBoostResult + +
(Nested in org.signal.chat.purchase.CreatePayPalBoostResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + approval_url + + + + string + +
2 + payment_id + + + + string + +
+ +
+ + + +
+ + +

+ + message CreatePayPalPaymentMethodRequest @@ -1409,9 +2990,9 @@ depending on which processor was used

-

+

- message CreatePayPalPaymentMethodResponse + message CreatePayPalPaymentMethodResponse @@ -1454,9 +3035,9 @@ depending on which processor was used

result - + - org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse.CreatePayPalPaymentMethodResult + org.signal.chat.purchase.CreatePayPalPaymentMethodResponse.CreatePayPalPaymentMethodResult @@ -1535,11 +3116,11 @@ depending on which processor was used

-

+

- message CreatePayPalPaymentMethodResult + message CreatePayPalPaymentMethodResult -
(Nested in org.signal.chat.subscriptions.CreatePayPalPaymentMethodResponse +
(Nested in
org.signal.chat.purchase.CreatePayPalPaymentMethodResponse )
@@ -1603,9 +3184,9 @@ depending on which processor was used

-

+

- message CreatePaymentMethodRequest + message CreatePaymentMethodRequest @@ -1649,9 +3230,9 @@ other values will result in an INVALID_ARGUMENT error.

payment_method - + - org.signal.chat.subscriptions.PaymentMethod + org.signal.chat.purchase.PaymentMethod @@ -1685,9 +3266,9 @@ other values will result in an INVALID_ARGUMENT error.

-

+

- message CreatePaymentMethodResponse + message CreatePaymentMethodResponse @@ -1730,9 +3311,9 @@ other values will result in an INVALID_ARGUMENT error.

result - + - org.signal.chat.subscriptions.CreatePaymentMethodResponse.CreatePaymentMethodResult + org.signal.chat.purchase.CreatePaymentMethodResponse.CreatePaymentMethodResult @@ -1831,11 +3412,11 @@ other values will result in an INVALID_ARGUMENT error.

-

+

- message CreatePaymentMethodResult + message CreatePaymentMethodResult -
(Nested in org.signal.chat.subscriptions.CreatePaymentMethodResponse +
(Nested in
org.signal.chat.purchase.CreatePaymentMethodResponse )
@@ -1879,9 +3460,9 @@ other values will result in an INVALID_ARGUMENT error.

paymentProvider - + - org.signal.chat.subscriptions.PaymentProvider + org.signal.chat.purchase.PaymentProvider @@ -1902,12 +3483,9 @@ other values will result in an INVALID_ARGUMENT error.

-

+

- message CurrencyConfiguration - -
(Nested in org.signal.chat.subscriptions.GetConfigurationResponse - ) + message CurrencyConfiguration
@@ -1997,11 +3575,11 @@ for display purposes only

supported_payment_methods - + repeated - org.signal.chat.subscriptions.PaymentMethod + org.signal.chat.purchase.PaymentMethod @@ -2020,9 +3598,9 @@ for display purposes only

-

+

- message DeleteSubscriberRequest + message DeleteSubscriberRequest @@ -2070,9 +3648,9 @@ for display purposes only

-

+

- message DeleteSubscriberResponse + message DeleteSubscriberResponse @@ -2175,9 +3753,9 @@ for display purposes only

-

+

- message GetBankMandateRequest + message GetBankMandateRequest @@ -2205,9 +3783,9 @@ for display purposes only

bank_transfer_type - + - org.signal.chat.subscriptions.BankTransferType + org.signal.chat.purchase.BankTransferType @@ -2226,9 +3804,9 @@ for display purposes only

-

+

- message GetBankMandateResponse + message GetBankMandateResponse @@ -2276,44 +3854,9 @@ for display purposes only

-

+

- message GetConfigurationRequest - - - -

- -
- -
- - - - - - - - - - - - - - - -
FieldTypeDescription
- -
- - - -
- - -

- - message GetConfigurationResponse + message GetConfigurationRequest @@ -2338,61 +3881,17 @@ for display purposes only

1 - currencies + etag - + - map<string, CurrencyConfiguration> + bytes -

Map of lower-cased ISO 3 currency codes to currency-specific configuration

- - - - - 2 - - levels - - - - - map<uint64, LevelConfiguration> - - -

Map of numeric donation level IDs to level-specific badge configuration

- - - - - 3 - - backup - - - - - org.signal.chat.subscriptions.GetConfigurationResponse.BackupConfiguration - - - - - - - - - 4 - - sepa_maximum_euros - - - - - string - - -

Maximum value of a one-time SEPA donation

+

If present, the etag from a prior GetConfigurationResponse. If the +provided etag matches the current configuration etag, the server may elide +the configuration response.

@@ -2407,9 +3906,94 @@ for display purposes only

-

+

- message GetReceiptCredentialsRequest + message GetConfigurationResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + tagged_configuration + + + + org.signal.chat.purchase.TaggedConfiguration + + +

The full configuration and corresponding ETag.

+ 2 + + etag_matched + + + + bool + +

The etag in the request matched the current configuration ETag

+ +
+ + + +
+ + +

+ + message GetReceiptCredentialsRequest @@ -2472,9 +4056,9 @@ for display purposes only

-

+

- message GetReceiptCredentialsResponse + message GetReceiptCredentialsResponse @@ -2517,9 +4101,9 @@ for display purposes only

success - + - org.signal.chat.subscriptions.GetReceiptCredentialsResponse.GetReceiptCredentialsResult + org.signal.chat.purchase.GetReceiptCredentialsResponse.GetReceiptCredentialsResult @@ -2597,9 +4181,9 @@ for display purposes only

payment_required - + - org.signal.chat.subscriptions.PaymentRequired + org.signal.chat.purchase.PaymentRequired @@ -2638,11 +4222,11 @@ for display purposes only

-

+

- message GetReceiptCredentialsResult + message GetReceiptCredentialsResult -
(Nested in org.signal.chat.subscriptions.GetReceiptCredentialsResponse +
(Nested in
org.signal.chat.purchase.GetReceiptCredentialsResponse )
@@ -2691,9 +4275,9 @@ for display purposes only

-

+

- message GetSubscriptionInformationRequest + message GetSubscriptionInformationRequest @@ -2741,9 +4325,9 @@ for display purposes only

-

+

- message GetSubscriptionInformationResponse + message GetSubscriptionInformationResponse @@ -2786,9 +4370,9 @@ for display purposes only

success - + - org.signal.chat.subscriptions.GetSubscriptionInformationResponse.Subscription + org.signal.chat.purchase.GetSubscriptionInformationResponse.Subscription @@ -2866,12 +4450,9 @@ for display purposes only

-

+

- message LevelConfiguration - -
(Nested in org.signal.chat.subscriptions.GetConfigurationResponse - ) + message LevelConfiguration
@@ -2899,9 +4480,9 @@ for display purposes only

badge - + - org.signal.chat.subscriptions.GetConfigurationResponse.Badge + org.signal.chat.common.Badge @@ -2909,6 +4490,24 @@ for display purposes only

+ + 2 + + badge_duration_seconds + + + + + optional + + uint64 + + +

The duration for which a badge is valid. Present only for +one-time (boost, gift) badges

+ + + @@ -2921,14 +4520,12 @@ for display purposes only

- -
-

+

- message PaymentRequired + message PaymentRequired @@ -2956,11 +4553,11 @@ for display purposes only

charge_failure - + optional - org.signal.chat.subscriptions.ChargeFailure + org.signal.chat.purchase.ChargeFailure @@ -2979,11 +4576,11 @@ for display purposes only

-

+

- message PlayBillingPurchase + message PlayBillingPurchase -
(Nested in org.signal.chat.subscriptions.SetIapSubscriptionRequest +
(Nested in
org.signal.chat.purchase.SetIapSubscriptionRequest )
@@ -3032,11 +4629,11 @@ for display purposes only

-

+

- message SepaPaymentMethod + message SepaPaymentMethod -
(Nested in org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest +
(Nested in
org.signal.chat.purchase.SetDefaultPaymentMethodRequest )
@@ -3085,9 +4682,9 @@ for display purposes only

-

+

- message SetDefaultPaymentMethodRequest + message SetDefaultPaymentMethodRequest @@ -3145,9 +4742,9 @@ for display purposes only

stripe - + - org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.StripePaymentMethod + org.signal.chat.purchase.SetDefaultPaymentMethodRequest.StripePaymentMethod @@ -3165,9 +4762,9 @@ for display purposes only

braintree - + - org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.BraintreePaymentMethod + org.signal.chat.purchase.SetDefaultPaymentMethodRequest.BraintreePaymentMethod @@ -3185,9 +4782,9 @@ for display purposes only

sepa - + - org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest.SepaPaymentMethod + org.signal.chat.purchase.SetDefaultPaymentMethodRequest.SepaPaymentMethod @@ -3206,9 +4803,9 @@ for display purposes only

-

+

- message SetDefaultPaymentMethodResponse + message SetDefaultPaymentMethodResponse @@ -3320,6 +4917,26 @@ for display purposes only

+ + + + + 5 + + + subscription_processor_conflict + + + + + org.signal.chat.errors.FailedPrecondition + + + +

Payment processor does not match existing processor associated with the subscription

+ + + @@ -3331,9 +4948,9 @@ for display purposes only

-

+

- message SetIapSubscriptionRequest + message SetIapSubscriptionRequest @@ -3391,9 +5008,9 @@ for display purposes only

app_store - + - org.signal.chat.subscriptions.SetIapSubscriptionRequest.AppStorePurchase + org.signal.chat.purchase.SetIapSubscriptionRequest.AppStorePurchase @@ -3411,9 +5028,9 @@ for display purposes only

play_billing - + - org.signal.chat.subscriptions.SetIapSubscriptionRequest.PlayBillingPurchase + org.signal.chat.purchase.SetIapSubscriptionRequest.PlayBillingPurchase @@ -3432,9 +5049,9 @@ for display purposes only

-

+

- message SetIapSubscriptionResponse + message SetIapSubscriptionResponse @@ -3477,9 +5094,9 @@ for display purposes only

success - + - org.signal.chat.subscriptions.SetIapSubscriptionResponse.SetIapSubscriptionResult + org.signal.chat.purchase.SetIapSubscriptionResponse.SetIapSubscriptionResult @@ -3598,11 +5215,11 @@ for display purposes only

-

+

- message SetIapSubscriptionResult + message SetIapSubscriptionResult -
(Nested in org.signal.chat.subscriptions.SetIapSubscriptionResponse +
(Nested in
org.signal.chat.purchase.SetIapSubscriptionResponse )
@@ -3651,9 +5268,9 @@ for display purposes only

-

+

- message SetSubscriptionLevelRequest + message SetSubscriptionLevelRequest @@ -3746,9 +5363,9 @@ for display purposes only

-

+

- message SetSubscriptionLevelResponse + message SetSubscriptionLevelResponse @@ -3791,9 +5408,9 @@ for display purposes only

success - + - org.signal.chat.subscriptions.SetSubscriptionLevelResponse.SetSubscriptionLevelResult + org.signal.chat.purchase.SetSubscriptionLevelResponse.SetSubscriptionLevelResult @@ -4011,9 +5628,9 @@ for display purposes only

charge_failure - + - org.signal.chat.subscriptions.ChargeFailure + org.signal.chat.purchase.ChargeFailure @@ -4032,11 +5649,11 @@ for display purposes only

-

+

- message SetSubscriptionLevelResult + message SetSubscriptionLevelResult -
(Nested in org.signal.chat.subscriptions.SetSubscriptionLevelResponse +
(Nested in
org.signal.chat.purchase.SetSubscriptionLevelResponse )
@@ -4085,11 +5702,11 @@ for display purposes only

-

+

- message StripePaymentMethod + message StripePaymentMethod -
(Nested in org.signal.chat.subscriptions.SetDefaultPaymentMethodRequest +
(Nested in
org.signal.chat.purchase.SetDefaultPaymentMethodRequest )
@@ -4138,11 +5755,11 @@ for display purposes only

-

+

- message Subscription + message Subscription -
(Nested in org.signal.chat.subscriptions.GetSubscriptionInformationResponse +
(Nested in
org.signal.chat.purchase.GetSubscriptionInformationResponse )
@@ -4278,9 +5895,9 @@ for display purposes only

status - + - org.signal.chat.subscriptions.SubscriptionStatus + org.signal.chat.purchase.SubscriptionStatus @@ -4294,9 +5911,9 @@ for display purposes only

processor - + - org.signal.chat.subscriptions.PaymentProvider + org.signal.chat.purchase.PaymentProvider @@ -4310,9 +5927,9 @@ for display purposes only

payment_method - + - org.signal.chat.subscriptions.PaymentMethod + org.signal.chat.purchase.PaymentMethod @@ -4341,11 +5958,11 @@ for display purposes only

charge_failure - + optional - org.signal.chat.subscriptions.ChargeFailure + org.signal.chat.purchase.ChargeFailure @@ -4366,9 +5983,76 @@ for display purposes only

-

+

- message UpdateSubscriberRequest + message TaggedConfiguration + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + configuration + + + + org.signal.chat.purchase.Configuration + + +
2 + etag + + + + bytes + +

An entity tag for configuration. This may be used in subsequent +requests for the configuration version to optimize bandwidth.

+ +
+ + + +
+ + +

+ + message UpdateSubscriberRequest @@ -4432,9 +6116,9 @@ Not required if the subscriber already exists.

-

+

- message UpdateSubscriberResponse + message UpdateSubscriberResponse @@ -4544,8 +6228,8 @@ Not required if the subscriber already exists.

-

- enum BankTransferType +

+ enum BankTransferType

@@ -4580,8 +6264,8 @@ Not required if the subscriber already exists.

-

- enum PaymentMethod +

+ enum PaymentMethod

@@ -4646,8 +6330,8 @@ Not required if the subscriber already exists.

-

- enum PaymentProvider +

+ enum PaymentProvider

@@ -4700,8 +6384,8 @@ Not required if the subscriber already exists.

-

- enum SubscriptionStatus +

+ enum SubscriptionStatus

diff --git a/grpc/search.html b/grpc/search.html index 71bb22055..a7b0f6fa0 100644 --- a/grpc/search.html +++ b/grpc/search.html @@ -60,8 +60,8 @@