@@ -4732,6 +4732,172 @@ paths:
4732
4732
' 503 ' :
4733
4733
$ref : ' #/components/responses/InternalError'
4734
4734
description : ' This endpoint requires the following permission(s): <code>charts_metrics:overview:read</code>.'
4735
+ /projects/{project_id}/subscriptions :
4736
+ get :
4737
+ summary : Search subscriptions by store subscription identifier
4738
+ operationId : search-subscriptions
4739
+ x-revenuecat-rate-limiting-domain : customer_information
4740
+ x-scopes :
4741
+ - customer_information:subscriptions:read
4742
+ x-release-status : public
4743
+ tags :
4744
+ - Subscription
4745
+ parameters :
4746
+ - name : project_id
4747
+ description : ID of the project
4748
+ required : true
4749
+ in : path
4750
+ schema :
4751
+ type : string
4752
+ maxLength : 255
4753
+ example : proj1ab2c3d4
4754
+ - name : store_subscription_identifier
4755
+ description : Store ID associated with the subscription for the current or
4756
+ next period.
4757
+ required : true
4758
+ in : query
4759
+ schema :
4760
+ type : string
4761
+ nullable : false
4762
+ minLength : 1
4763
+ maxLength : 255
4764
+ examples :
4765
+ amazon :
4766
+ value : 9aJscueFTxLPZXXo-AlBTkI0OnFXR2qiH14C1aqWnOT=:3:11..8
4767
+ summary : ' Amazon Appstore '
4768
+ app_store :
4769
+ value : ' 100001234567890'
4770
+ summary : Apple App Store
4771
+ paddle :
4772
+ value : txn_01jss4bz50g1z5yw121npeb3ag
4773
+ summary : Paddle
4774
+ play_store :
4775
+ value : GPA.1234-5678-9012-34567..0
4776
+ summary : Google Play Store
4777
+ rc_billing :
4778
+ value : txRcb553a54d4738816a63f1a05cfcb1723e3..1746748685
4779
+ summary : RevenueCat Web Billing
4780
+ roku :
4781
+ value : 4ab8df12-3003-11f0-9646-8ac68bcdcaed
4782
+ summary : Roku
4783
+ stripe :
4784
+ value : si_Rww1psqupbKxmt
4785
+ summary : Stripe
4786
+ responses :
4787
+ ' 200 ' :
4788
+ description : Success
4789
+ content :
4790
+ application/json :
4791
+ schema :
4792
+ $ref : ' #/components/schemas/ListSubscriptions'
4793
+ headers :
4794
+ RevenueCat-Rate-Limit-Current-Usage :
4795
+ $ref : ' #/components/headers/RateLimitCurrentUsage'
4796
+ RevenueCat-Rate-Limit-Current-Limit :
4797
+ $ref : ' #/components/headers/RateLimitCurrentLimit'
4798
+ ' 400 ' :
4799
+ $ref : ' #/components/responses/BadRequest'
4800
+ ' 401 ' :
4801
+ $ref : ' #/components/responses/Unauthorized'
4802
+ ' 403 ' :
4803
+ $ref : ' #/components/responses/Forbidden'
4804
+ ' 404 ' :
4805
+ $ref : ' #/components/responses/NotFound'
4806
+ ' 423 ' :
4807
+ $ref : ' #/components/responses/Locked'
4808
+ ' 429 ' :
4809
+ $ref : ' #/components/responses/RateLimited'
4810
+ ' 500 ' :
4811
+ $ref : ' #/components/responses/InternalError'
4812
+ ' 503 ' :
4813
+ $ref : ' #/components/responses/InternalError'
4814
+ description : " Search for a subscription by any of its associated `store_subscription_identifier`\
4815
+ \ values, whether from a past or current subscription period.\n\n For example,\
4816
+ \ this may include the `transactionId` of any transaction in an Apple App\
4817
+ \ Store subscription, or any order ID from a Google Play Store subscription.\n \
4818
+ \ This endpoint requires the following permission(s): <code>customer_information:subscriptions:read</code>."
4819
+ /projects/{project_id}/purchases :
4820
+ get :
4821
+ summary : Search one-time purchases by store purchase identifier
4822
+ operationId : search-purchases
4823
+ x-revenuecat-rate-limiting-domain : customer_information
4824
+ x-scopes :
4825
+ - customer_information:purchases:read
4826
+ x-release-status : public
4827
+ tags :
4828
+ - Purchase
4829
+ parameters :
4830
+ - name : project_id
4831
+ description : ID of the project
4832
+ required : true
4833
+ in : path
4834
+ schema :
4835
+ type : string
4836
+ maxLength : 255
4837
+ example : proj1ab2c3d4
4838
+ - name : store_purchase_identifier
4839
+ description : Store ID associated with the one-time purchase.
4840
+ required : true
4841
+ in : query
4842
+ schema :
4843
+ type : string
4844
+ nullable : false
4845
+ minLength : 1
4846
+ maxLength : 255
4847
+ examples :
4848
+ amazon :
4849
+ value : 9aJscueFTxLPZXXo-AlBTkI0OnFXR2qiH14C1aqWnOT=:3:11
4850
+ summary : ' Amazon Appstore '
4851
+ app_store :
4852
+ value : ' 100001234567890'
4853
+ summary : Apple App Store
4854
+ paddle :
4855
+ value : txn_01jss4bz50g1z5yw121npeb3ag
4856
+ summary : Paddle
4857
+ play_store :
4858
+ value : GPA.1234-5678-9012-34567
4859
+ summary : Google Play Store
4860
+ rc_billing :
4861
+ value : txRcb553a54d4738816a63f1a05cfcb1723e3
4862
+ summary : RevenueCat Web Billing
4863
+ roku :
4864
+ value : 4ab8df12-3003-11f0-9646-8ac68bcdcaed
4865
+ summary : Roku
4866
+ stripe :
4867
+ value : si_Rww1psqupbKxmt
4868
+ summary : Stripe
4869
+ responses :
4870
+ ' 200 ' :
4871
+ description : Success
4872
+ content :
4873
+ application/json :
4874
+ schema :
4875
+ $ref : ' #/components/schemas/ListPurchases'
4876
+ headers :
4877
+ RevenueCat-Rate-Limit-Current-Usage :
4878
+ $ref : ' #/components/headers/RateLimitCurrentUsage'
4879
+ RevenueCat-Rate-Limit-Current-Limit :
4880
+ $ref : ' #/components/headers/RateLimitCurrentLimit'
4881
+ ' 400 ' :
4882
+ $ref : ' #/components/responses/BadRequest'
4883
+ ' 401 ' :
4884
+ $ref : ' #/components/responses/Unauthorized'
4885
+ ' 403 ' :
4886
+ $ref : ' #/components/responses/Forbidden'
4887
+ ' 404 ' :
4888
+ $ref : ' #/components/responses/NotFound'
4889
+ ' 423 ' :
4890
+ $ref : ' #/components/responses/Locked'
4891
+ ' 429 ' :
4892
+ $ref : ' #/components/responses/RateLimited'
4893
+ ' 500 ' :
4894
+ $ref : ' #/components/responses/InternalError'
4895
+ ' 503 ' :
4896
+ $ref : ' #/components/responses/InternalError'
4897
+ description : " Search for a one-time purchases by any of its associated `store_purchase_identifier`\
4898
+ \ values.\n\n For example, this may include the `transactionId` of any transaction\
4899
+ \ in an Apple App Store purchase, or any order ID from a Google Play Store\
4900
+ \ purchase.\n This endpoint requires the following permission(s): <code>customer_information:purchases:read</code>."
4735
4901
components :
4736
4902
securitySchemes :
4737
4903
BearerAuth :
0 commit comments