diff --git a/grpc/org.signal.chat.purchase.html b/grpc/org.signal.chat.purchase.html index ddb53d577..dce89082d 100644 --- a/grpc/org.signal.chat.purchase.html +++ b/grpc/org.signal.chat.purchase.html @@ -70,6 +70,13 @@
+
+ Service
+ LoginPurchase
+
+
Service
@@ -242,6 +249,33 @@
+
+
+ Message
+
+
+ Message
+
+
+ Message
+
Message
@@ -638,6 +672,42 @@
Service for one-time purchases of logins Obtain a ZK receipt credential for a completed one-time login payment. The receipt credential can then be presented at registration The payment processor. Currently, only GOOGLE_PLAY_BILLING and
+APPLE_APP_STORE are supported. The identifier of a completed purchase for a signal login within the
+payment provider The receipt credential request. Subsequent retries to create a login
+credential for the same purchase_identifier must use an identical
+receipt_credential_request. Callers must validate that the generated receipt credential has the
+following properties: The purchase is still pending with the payment provider. The client may retry later. The purchase did not complete successfully. The payment provider has no purchase with the provided purchase_identifier The purchase was already redeemed for a receipt credential, but with a different receipt credential requestCreateLoginReceiptCredentialRequest
+
+ CreateLoginReceiptCredentialResponse
+
+ CreateLoginReceiptCredentialResult
+
+
+ service LoginPurchase
+
+
+
+
+
+ rpc
+ Request: CreateLoginReceiptCredential
+
+ org.signal.chat.purchase.CreateLoginReceiptCredentialRequest
+
+ Response: org.signal.chat.purchase.CreateLoginReceiptCredentialResponse
+
+
service OneTimeDonations
@@ -2496,6 +2566,297 @@ depending on which processor was used
+
+
+ message CreateLoginReceiptCredentialRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+ 1
+
+ processor
+
+
+
+
+
+ org.signal.chat.purchase.PaymentProvider
+
+
+
+
+
+
+
+ 2
+
+ purchase_identifier
+
+
+
+
+
+ string
+
+
+
+
+
+
+
+
+3
+
+ receipt_credential_request
+
+
+
+
+
+ bytes
+
+
+
+
+
+
+ message CreateLoginReceiptCredentialResponse
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+ result
+
+
+
+
+
+ org.signal.chat.purchase.CreateLoginReceiptCredentialResponse.CreateLoginReceiptCredentialResult
+
+
+
+
+
+
+
+
+
+
+ 2
+
+
+ payment_still_processing
+
+
+
+
+
+ org.signal.chat.errors.FailedPrecondition
+
+
+
+
+
+
+
+
+
+
+ 3
+
+
+ payment_required
+
+
+
+
+
+ org.signal.chat.purchase.PaymentRequired
+
+
+
+
+
+
+
+
+
+
+ 4
+
+
+ payment_not_found
+
+
+
+
+
+ org.signal.chat.errors.NotFound
+
+
+
+
+
+
+
+
+
+
+ 5
+
+
+ receipt_already_issued
+
+
+
+
+
+ org.signal.chat.errors.FailedPrecondition
+
+
+
+
+
+
+ message CreateLoginReceiptCredentialResult
+
+
+
+
(Nested in org.signal.chat.purchase.CreateLoginReceiptCredentialResponse
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+1
+
+ receipt_credential_response
+
+
+
+
+
+ bytes
+
+
+
+