recurly 4.62.0 → 4.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41a9b56094ce43db43642988272dc0177597ed7985883a934061a10cfcd16088
4
- data.tar.gz: 4be1a63d519b8901ea44fdf0f888f383b4d0d6e4550aabed50500cd6d1e6d0c8
3
+ metadata.gz: a2b423c29b03e3ece31a18fa41ad5b52a6f1d23c68c2e9aa346dfde9f948a179
4
+ data.tar.gz: 640b7806f97778059ef0d301616a00cd04a57e4140584348b4c21b734bc88c82
5
5
  SHA512:
6
- metadata.gz: 8104a2fcfebe0f66a31b07eb916446dce62fe8ac710a53d610063df7d69d7e2b7e098e9fb05b6568f2a63dbf212e18fc25b8591ae851bf55da39fe32d64b750c
7
- data.tar.gz: f6f3eb51d8bc7b19344a8399c3e12ddc72938d9d2bbc2c1baea6dee963afbd7ff2c225d23136fa55b7af2881a5a1a122a3b42d99a1b23b84ff8ffb5540a4a0e2
6
+ metadata.gz: 42ac8c24f569ec13bdc3b0689328a0fab71c800c4ba634d3784bb625d4f4ea60d85a38872569ef706d0741cdecd0ddc8a40dc499f8ec9213d7534930d2f0e326
7
+ data.tar.gz: 1ef7f980560ef757d8b78a709e7a3920938f70bb75881a06fe3539b93cf3800fb731ddc28bdd1c2aaf606070cab753bacf0a689cfd936942171a9f53ee8c34a2
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 4.62.0
2
+ current_version = 4.64.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.64.0](https://github.com/recurly/recurly-client-ruby/tree/4.64.0) (2025-06-11)
4
+
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.63.0...4.64.0)
6
+
7
+
8
+ **Merged Pull Requests**
9
+
10
+ - Generated Latest Changes for v2021-02-25 [#929](https://github.com/recurly/recurly-client-ruby/pull/929) ([recurly-integrations](https://github.com/recurly-integrations))
11
+ - Generated Latest Changes for v2021-02-25 [#928](https://github.com/recurly/recurly-client-ruby/pull/928) ([recurly-integrations](https://github.com/recurly-integrations))
12
+
13
+
14
+
15
+ ## [4.63.0](https://github.com/recurly/recurly-client-ruby/tree/4.63.0) (2025-04-16)
16
+
17
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.62.0...4.63.0)
18
+
19
+
20
+ **Merged Pull Requests**
21
+
22
+ - Generated Latest Changes for v2021-02-25 [#927](https://github.com/recurly/recurly-client-ruby/pull/927) ([recurly-integrations](https://github.com/recurly-integrations))
23
+
24
+
25
+
3
26
  ## [4.62.0](https://github.com/recurly/recurly-client-ruby/tree/4.62.0) (2025-04-10)
4
27
 
5
28
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.61.0...4.62.0)
data/GETTING_STARTED.md CHANGED
@@ -5,7 +5,7 @@ This repository houses the official ruby client for Recurly's V3 API.
5
5
  In your Gemfile, add `recurly` as a dependency.
6
6
 
7
7
  ```ruby
8
- gem 'recurly', '~> 4.62'
8
+ gem 'recurly', '~> 4.64'
9
9
  ```
10
10
 
11
11
  > *Note*: We try to follow [semantic versioning](https://semver.org/) and will only apply breaking changes to major versions.
@@ -589,6 +589,38 @@ module Recurly
589
589
  delete(path, **options)
590
590
  end
591
591
 
592
+ # Verify a billing information's credit card
593
+ #
594
+ # {https://developers.recurly.com/api/v2021-02-25#operation/verify_billing_infos verify_billing_infos api documentation}
595
+ #
596
+ # @param account_id [String] Account ID or code. For ID no prefix is used e.g. +e28zov4fw0v2+. For code use prefix +code-+, e.g. +code-bob+.
597
+ # @param billing_info_id [String] Billing Info ID. Can ONLY be used for sites utilizing the Wallet feature.
598
+ # @param params [Hash] Optional query string parameters:
599
+ # :body [Requests::BillingInfoVerify] The Hash representing the JSON request to send to the server. It should conform to the schema of {Requests::BillingInfoVerify}
600
+ #
601
+ # @return [Resources::Transaction] Transaction information from verify.
602
+ #
603
+ def verify_billing_infos(account_id:, billing_info_id:, **options)
604
+ path = interpolate_path("/accounts/{account_id}/billing_infos/{billing_info_id}/verify", account_id: account_id, billing_info_id: billing_info_id)
605
+ post(path, options[:body], Requests::BillingInfoVerify, **options)
606
+ end
607
+
608
+ # Verify a billing information's credit card cvv
609
+ #
610
+ # {https://developers.recurly.com/api/v2021-02-25#operation/verify_billing_infos_cvv verify_billing_infos_cvv api documentation}
611
+ #
612
+ # @param account_id [String] Account ID or code. For ID no prefix is used e.g. +e28zov4fw0v2+. For code use prefix +code-+, e.g. +code-bob+.
613
+ # @param billing_info_id [String] Billing Info ID. Can ONLY be used for sites utilizing the Wallet feature.
614
+ # @param body [Requests::BillingInfoVerifyCVV] The Hash representing the JSON request to send to the server. It should conform to the schema of {Requests::BillingInfoVerifyCVV}
615
+ # @param params [Hash] Optional query string parameters:
616
+ #
617
+ # @return [Resources::Transaction] Transaction information from verify.
618
+ #
619
+ def verify_billing_infos_cvv(account_id:, billing_info_id:, body:, **options)
620
+ path = interpolate_path("/accounts/{account_id}/billing_infos/{billing_info_id}/verify_cvv", account_id: account_id, billing_info_id: billing_info_id)
621
+ post(path, body, Requests::BillingInfoVerifyCVV, **options)
622
+ end
623
+
592
624
  # List the coupon redemptions for an account
593
625
  #
594
626
  # {https://developers.recurly.com/api/v2021-02-25#operation/list_account_coupon_redemptions list_account_coupon_redemptions api documentation}
@@ -19,7 +19,7 @@ module Recurly
19
19
  define_attribute :address, :Address
20
20
 
21
21
  # @!attribute amazon_billing_agreement_id
22
- # @return [String] Amazon billing agreement ID
22
+ # @return [String] Only supported on Amazon V1. For Amazon V2, use token_id with Recurly.js.
23
23
  define_attribute :amazon_billing_agreement_id, String
24
24
 
25
25
  # @!attribute backup_payment_method
@@ -9,6 +9,10 @@ module Recurly
9
9
  # @!attribute gateway_code
10
10
  # @return [String] An identifier for a specific payment gateway.
11
11
  define_attribute :gateway_code, String
12
+
13
+ # @!attribute three_d_secure_action_result_token_id
14
+ # @return [String] A token generated by Recurly.js after completing a 3-D Secure device fingerprinting or authentication challenge.
15
+ define_attribute :three_d_secure_action_result_token_id, String
12
16
  end
13
17
  end
14
18
  end
@@ -6,6 +6,18 @@ module Recurly
6
6
  module Requests
7
7
  class BillingInfoVerifyCVV < Request
8
8
 
9
+ # @!attribute gateway_code
10
+ # @return [String] An identifier for a specific payment gateway.
11
+ define_attribute :gateway_code, String
12
+
13
+ # @!attribute three_d_secure_action_result_token_id
14
+ # @return [String] A token generated by Recurly.js after completing a 3-D Secure device fingerprinting or authentication challenge.
15
+ define_attribute :three_d_secure_action_result_token_id, String
16
+
17
+ # @!attribute token_id
18
+ # @return [String] A token [generated by Recurly.js](https://recurly.com/developers/reference/recurly-js/#getting-a-token).
19
+ define_attribute :token_id, String
20
+
9
21
  # @!attribute verification_value
10
22
  # @return [String] Unique security code for a credit card.
11
23
  define_attribute :verification_value, String
@@ -55,7 +55,7 @@ module Recurly
55
55
  define_attribute :liability_gl_account_id, String
56
56
 
57
57
  # @!attribute origin
58
- # @return [String] Origin `external_gift_card` is allowed if the Gift Cards feature is enabled on your site and `type` is `credit`. Set this value in order to track gift card credits from external gift cards (like InComm). It also skips billing information requirements. Origin `prepayment` is only allowed if `type` is `charge` and `tax_exempt` is left blank or set to true. This origin creates a charge and opposite credit on the account to be used for future invoices.
58
+ # @return [String] Origin `external_gift_card` is allowed if the Gift Cards feature is enabled on your site, `type` is `credit` and `tax_exempt` is `true` if you are using taxes. Set this value in order to track gift card credits from external gift cards (like InComm). It also skips billing information requirements. Origin `prepayment` is only allowed if `type` is `charge` and `tax_exempt` is left blank or set to true. This origin creates a charge and opposite credit on the account to be used for future invoices.
59
59
  define_attribute :origin, String
60
60
 
61
61
  # @!attribute origin_tax_address_source
@@ -111,7 +111,7 @@ module Recurly
111
111
  define_attribute :shipping, :SubscriptionShippingCreate
112
112
 
113
113
  # @!attribute starts_at
114
- # @return [DateTime] If set, the subscription will begin on this specified date. The subscription will apply the setup fee and trial period, unless the plan has no trial.
114
+ # @return [DateTime] If set, the subscription will begin on this specified date. The subscription will apply the setup fee and trial period, unless the plan has no trial. Omit this field if the subscription should be started immediately.
115
115
  define_attribute :starts_at, DateTime
116
116
 
117
117
  # @!attribute tax_inclusive
@@ -55,7 +55,7 @@ module Recurly
55
55
  define_attribute :shipping, :SubscriptionShippingPurchase
56
56
 
57
57
  # @!attribute starts_at
58
- # @return [DateTime] If set, the subscription will begin on this specified date. The subscription will apply the setup fee and trial period, unless the plan has no trial.
58
+ # @return [DateTime] If set, the subscription will begin on this specified date. The subscription will apply the setup fee and trial period, unless the plan has no trial. Omit this field if the subscription should be started immediately.
59
59
  define_attribute :starts_at, DateTime
60
60
 
61
61
  # @!attribute tax_inclusive
@@ -11,8 +11,8 @@ module Recurly
11
11
  define_attribute :starting_billing_cycle, Integer
12
12
 
13
13
  # @!attribute unit_amount
14
- # @return [Integer] Represents the price for the ramp interval.
15
- define_attribute :unit_amount, Integer
14
+ # @return [Float] Represents the price for the ramp interval.
15
+ define_attribute :unit_amount, Float
16
16
  end
17
17
  end
18
18
  end
@@ -138,6 +138,10 @@ module Recurly
138
138
  # @return [Float] The summation of charges and credits, before discounts and taxes.
139
139
  define_attribute :subtotal, Float
140
140
 
141
+ # @!attribute subtotal_after_discount
142
+ # @return [Float] The summation of charges and credits, after discounts applied.
143
+ define_attribute :subtotal_after_discount, Float
144
+
141
145
  # @!attribute tax
142
146
  # @return [Float] The total tax on this invoice.
143
147
  define_attribute :tax, Float
@@ -23,7 +23,7 @@ module Recurly
23
23
  define_attribute :add_on_id, String
24
24
 
25
25
  # @!attribute amount
26
- # @return [Float] `(quantity * unit_amount) - (discount + tax)`
26
+ # @return [Float] `(quantity * unit_amount) - discount + tax`
27
27
  define_attribute :amount, Float
28
28
 
29
29
  # @!attribute avalara_service_type
@@ -90,9 +90,9 @@ module Recurly
90
90
  # @return [String] Transaction ID
91
91
  define_attribute :id, String
92
92
 
93
- # @!attribute indicator
93
+ # @!attribute initiator
94
94
  # @return [String] Must be sent for one-time transactions in order to provide context on which entity is submitting the transaction to ensure proper fraud checks are observed, such as 3DS. If the customer is in session, send `customer`. If this is a merchant initiated one-time transaction, send `merchant`.
95
- define_attribute :indicator, String
95
+ define_attribute :initiator, String
96
96
 
97
97
  # @!attribute invoice
98
98
  # @return [InvoiceMini] Invoice mini details
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "4.62.0"
2
+ VERSION = "4.64.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -2793,6 +2793,97 @@ paths:
2793
2793
  schema:
2794
2794
  "$ref": "#/components/schemas/Error"
2795
2795
  x-code-samples: []
2796
+ "/accounts/{account_id}/billing_infos/{billing_info_id}/verify":
2797
+ post:
2798
+ tags:
2799
+ - billing_infos
2800
+ operationId: verify_billing_infos
2801
+ summary: Verify a billing information's credit card
2802
+ parameters:
2803
+ - "$ref": "#/components/parameters/account_id"
2804
+ - "$ref": "#/components/parameters/billing_info_id"
2805
+ requestBody:
2806
+ content:
2807
+ application/json:
2808
+ schema:
2809
+ "$ref": "#/components/schemas/BillingInfoVerify"
2810
+ required: false
2811
+ responses:
2812
+ '200':
2813
+ description: Transaction information from verify.
2814
+ content:
2815
+ application/json:
2816
+ schema:
2817
+ "$ref": "#/components/schemas/Transaction"
2818
+ '404':
2819
+ description: Billing information not found, or incorrect site or account
2820
+ ID.
2821
+ content:
2822
+ application/json:
2823
+ schema:
2824
+ "$ref": "#/components/schemas/Error"
2825
+ default:
2826
+ description: Unexpected error.
2827
+ content:
2828
+ application/json:
2829
+ schema:
2830
+ "$ref": "#/components/schemas/Error"
2831
+ '422':
2832
+ description: Invalid billing information, or error running the verification
2833
+ transaction.
2834
+ content:
2835
+ application/json:
2836
+ schema:
2837
+ "$ref": "#/components/schemas/ErrorMayHaveTransaction"
2838
+ x-code-samples: []
2839
+ "/accounts/{account_id}/billing_infos/{billing_info_id}/verify_cvv":
2840
+ post:
2841
+ tags:
2842
+ - billing_infos
2843
+ operationId: verify_billing_infos_cvv
2844
+ summary: Verify a billing information's credit card cvv
2845
+ parameters:
2846
+ - "$ref": "#/components/parameters/account_id"
2847
+ - "$ref": "#/components/parameters/billing_info_id"
2848
+ requestBody:
2849
+ content:
2850
+ application/json:
2851
+ schema:
2852
+ "$ref": "#/components/schemas/BillingInfoVerifyCVV"
2853
+ responses:
2854
+ '200':
2855
+ description: Transaction information from verify.
2856
+ content:
2857
+ application/json:
2858
+ schema:
2859
+ "$ref": "#/components/schemas/Transaction"
2860
+ '404':
2861
+ description: Billing information not found, or incorrect site or account
2862
+ ID.
2863
+ content:
2864
+ application/json:
2865
+ schema:
2866
+ "$ref": "#/components/schemas/Error"
2867
+ default:
2868
+ description: Unexpected error.
2869
+ content:
2870
+ application/json:
2871
+ schema:
2872
+ "$ref": "#/components/schemas/Error"
2873
+ '422':
2874
+ description: Invalid billing information, or error running the verification
2875
+ transaction.
2876
+ content:
2877
+ application/json:
2878
+ schema:
2879
+ "$ref": "#/components/schemas/ErrorMayHaveTransaction"
2880
+ '429':
2881
+ description: Too many CVV verification attempts.
2882
+ content:
2883
+ application/json:
2884
+ schema:
2885
+ "$ref": "#/components/schemas/Error"
2886
+ x-code-samples: []
2796
2887
  "/accounts/{account_id}/coupon_redemptions":
2797
2888
  get:
2798
2889
  tags:
@@ -10830,7 +10921,7 @@ paths:
10830
10921
  }
10831
10922
  - lang: Go
10832
10923
  source: "planReq := &recurly.PlanCreate{\n\tCode: &planCode,\n\tName: recurly.String(\"Monthly
10833
- Coffee Subscription\"),\n\tCurrencies: []recurly.PlanPricingCreate{\n\t\t{\n\t\t\tCurrency:
10924
+ Coffee Subscription\"),\n\tCurrencies: &[]recurly.PlanPricingCreate{\n\t\t{\n\t\t\tCurrency:
10834
10925
  \ recurly.String(\"USD\"),\n\t\t\tUnitAmount: recurly.Float(10000),\n\t\t},\n\t},\n}\n\nplan,
10835
10926
  err := client.CreatePlan(planReq)\nif e, ok := err.(*recurly.Error); ok
10836
10927
  {\n\tif e.Type == recurly.ErrorTypeValidation {\n\t\tfmt.Printf(\"Failed
@@ -11499,7 +11590,7 @@ paths:
11499
11590
  }
11500
11591
  - lang: Go
11501
11592
  source: "addOnReq := &recurly.AddOnCreate{\n\tCode: &addOnCode,\n\tName: recurly.String(\"Fresh
11502
- beans shipped monthly\"),\n\tCurrencies: []recurly.AddOnPricingCreate{\n\t\t{\n\t\t\tCurrency:
11593
+ beans shipped monthly\"),\n\tCurrencies: &[]recurly.AddOnPricingCreate{\n\t\t{\n\t\t\tCurrency:
11503
11594
  \ recurly.String(\"USD\"),\n\t\t\tUnitAmount: recurly.Float(10),\n\t\t},\n\t},\n}\n\nplanAddOn,
11504
11595
  err := client.CreatePlanAddOn(planID, addOnReq)\nif e, ok := err.(*recurly.Error);
11505
11596
  ok {\n\tif e.Type == recurly.ErrorTypeValidation {\n\t\tfmt.Printf(\"Failed
@@ -15274,7 +15365,7 @@ paths:
15274
15365
  - lang: Go
15275
15366
  source: "purchaseReq := &recurly.PurchaseCreate{\n\tCurrency: recurly.String(\"USD\"),\n\tAccount:
15276
15367
  &recurly.AccountPurchase{\n\t\tCode: recurly.String(accountCode),\n\t},\n\tSubscriptions:
15277
- []recurly.SubscriptionPurchase{\n\t\t{\n\t\t\tPlanCode: recurly.String(planCode),\n\t\t\tNextBillDate:
15368
+ &[]recurly.SubscriptionPurchase{\n\t\t{\n\t\t\tPlanCode: recurly.String(planCode),\n\t\t\tNextBillDate:
15278
15369
  recurly.Time(time.Date(2078, time.November, 10, 23, 0, 0, 0, time.UTC)),\n\t\t},\n\t},\n\tShipping:
15279
15370
  &recurly.ShippingPurchase{\n\t\tAddressId: recurly.String(shippingAddressID),\n\t},\n}\n\ncollection,
15280
15371
  err := client.CreatePurchase(purchaseReq)\nif e, ok := err.(*recurly.Error);
@@ -15508,7 +15599,7 @@ paths:
15508
15599
  - lang: Go
15509
15600
  source: "purchaseReq := &recurly.PurchaseCreate{\n\tCurrency: recurly.String(\"USD\"),\n\tAccount:
15510
15601
  &recurly.AccountPurchase{\n\t\tCode: recurly.String(account.Code),\n\t},\n\tSubscriptions:
15511
- []recurly.SubscriptionPurchase{\n\t\t{\n\t\t\tPlanCode: recurly.String(plan.Code),\n\t\t\tNextBillDate:
15602
+ &[]recurly.SubscriptionPurchase{\n\t\t{\n\t\t\tPlanCode: recurly.String(plan.Code),\n\t\t\tNextBillDate:
15512
15603
  recurly.Time(time.Date(2078, time.November, 10, 23, 0, 0, 0, time.UTC)),\n\t\t},\n\t},\n\tShipping:
15513
15604
  &recurly.ShippingPurchase{\n\t\tAddressId: recurly.String(shippingAddressID),\n\t},\n}\ncollection,
15514
15605
  err := client.PreviewPurchase(purchaseReq)\nif e, ok := err.(*recurly.Error);
@@ -15776,12 +15867,12 @@ paths:
15776
15867
  var_dump($e);
15777
15868
  }
15778
15869
  - lang: Go
15779
- source: "purchaseReq := &recurly.PurchaseCreate{\n\tCurrency: recurly.String(\"EUR\"),\n\tAccount:
15870
+ source: "purchaseReq := &recurly.PurchaseCreate{\n\tCurrency: recurly.String(\"USD\"),\n\tAccount:
15780
15871
  &recurly.AccountPurchase{\n\t\tCode: recurly.String(accountCode),\n\t\tEmail:
15781
15872
  recurly.String(\"benjamin@example.com\"),\n\t\tBillingInfo: &recurly.BillingInfoCreate{\n\t\t\tFirstName:
15782
15873
  \ recurly.String(\"Benjamin\"),\n\t\t\tLastName: recurly.String(\"Du
15783
15874
  Monde\"),\n\t\t\tOnlineBankingPaymentType: recurly.String(\"ideal\"),\n\t\t},\n\t},\n\tLineItems:
15784
- []recurly.LineItemCreate{\n\t\t{\n\t\t\tCurrency: recurly.String(\"EUR\"),\n\t\t\tUnitAmount:
15875
+ &[]recurly.LineItemCreate{\n\t\t{\n\t\t\tCurrency: recurly.String(\"USD\"),\n\t\t\tUnitAmount:
15785
15876
  recurly.Float(1000),\n\t\t\tType: recurly.String(\"charge\"),\n\t\t},\n\t},\n}\ncollection,
15786
15877
  err := client.CreatePendingPurchase(purchaseReq)\nif e, ok := err.(*recurly.Error);
15787
15878
  ok {\n\tif e.Type == recurly.ErrorTypeValidation {\n\t\tfmt.Printf(\"Failed
@@ -18896,6 +18987,8 @@ components:
18896
18987
  amazon_billing_agreement_id:
18897
18988
  type: string
18898
18989
  title: Amazon billing agreement ID
18990
+ description: Only supported on Amazon V1. For Amazon V2, use token_id with
18991
+ Recurly.js.
18899
18992
  paypal_billing_agreement_id:
18900
18993
  type: string
18901
18994
  title: PayPal billing agreement ID
@@ -18999,12 +19092,27 @@ components:
18999
19092
  type: string
19000
19093
  description: An identifier for a specific payment gateway.
19001
19094
  maxLength: 13
19095
+ three_d_secure_action_result_token_id:
19096
+ type: string
19097
+ description: A token generated by Recurly.js after completing a 3-D Secure
19098
+ device fingerprinting or authentication challenge.
19002
19099
  BillingInfoVerifyCVV:
19003
19100
  type: object
19004
19101
  properties:
19005
19102
  verification_value:
19006
19103
  type: string
19007
19104
  description: Unique security code for a credit card.
19105
+ gateway_code:
19106
+ type: string
19107
+ description: An identifier for a specific payment gateway.
19108
+ maxLength: 13
19109
+ three_d_secure_action_result_token_id:
19110
+ type: string
19111
+ description: A token generated by Recurly.js after completing a 3-D Secure
19112
+ device fingerprinting or authentication challenge.
19113
+ token_id:
19114
+ type: string
19115
+ description: A token [generated by Recurly.js](https://recurly.com/developers/reference/recurly-js/#getting-a-token).
19008
19116
  Coupon:
19009
19117
  type: object
19010
19118
  properties:
@@ -20315,6 +20423,11 @@ components:
20315
20423
  title: Subtotal
20316
20424
  description: The summation of charges and credits, before discounts and
20317
20425
  taxes.
20426
+ subtotal_after_discount:
20427
+ type: number
20428
+ format: float
20429
+ title: Subtotal After Discount
20430
+ description: The summation of charges and credits, after discounts applied.
20318
20431
  tax:
20319
20432
  type: number
20320
20433
  format: float
@@ -20958,7 +21071,7 @@ components:
20958
21071
  type: number
20959
21072
  format: float
20960
21073
  title: Total after discounts and taxes
20961
- description: "`(quantity * unit_amount) - (discount + tax)`"
21074
+ description: "`(quantity * unit_amount) - discount + tax`"
20962
21075
  description:
20963
21076
  type: string
20964
21077
  title: Description
@@ -21327,12 +21440,12 @@ components:
21327
21440
  origin:
21328
21441
  title: Origin
21329
21442
  description: Origin `external_gift_card` is allowed if the Gift Cards feature
21330
- is enabled on your site and `type` is `credit`. Set this value in order
21331
- to track gift card credits from external gift cards (like InComm). It
21332
- also skips billing information requirements. Origin `prepayment` is only
21333
- allowed if `type` is `charge` and `tax_exempt` is left blank or set to
21334
- true. This origin creates a charge and opposite credit on the account
21335
- to be used for future invoices.
21443
+ is enabled on your site, `type` is `credit` and `tax_exempt` is `true`
21444
+ if you are using taxes. Set this value in order to track gift card credits
21445
+ from external gift cards (like InComm). It also skips billing information
21446
+ requirements. Origin `prepayment` is only allowed if `type` is `charge`
21447
+ and `tax_exempt` is left blank or set to true. This origin creates a
21448
+ charge and opposite credit on the account to be used for future invoices.
21336
21449
  "$ref": "#/components/schemas/LineItemCreateOriginEnum"
21337
21450
  custom_fields:
21338
21451
  "$ref": "#/components/schemas/CustomFields"
@@ -23728,7 +23841,8 @@ components:
23728
23841
  title: Start date
23729
23842
  description: If set, the subscription will begin on this specified date.
23730
23843
  The subscription will apply the setup fee and trial period, unless the
23731
- plan has no trial.
23844
+ plan has no trial. Omit this field if the subscription should be started
23845
+ immediately.
23732
23846
  next_bill_date:
23733
23847
  type: string
23734
23848
  format: date-time
@@ -23901,7 +24015,8 @@ components:
23901
24015
  title: Start date
23902
24016
  description: If set, the subscription will begin on this specified date.
23903
24017
  The subscription will apply the setup fee and trial period, unless the
23904
- plan has no trial.
24018
+ plan has no trial. Omit this field if the subscription should be started
24019
+ immediately.
23905
24020
  next_bill_date:
23906
24021
  type: string
23907
24022
  format: date-time
@@ -24150,7 +24265,8 @@ components:
24150
24265
  description: Represents the billing cycle where a ramp interval starts.
24151
24266
  default: 1
24152
24267
  unit_amount:
24153
- type: integer
24268
+ type: number
24269
+ format: float
24154
24270
  description: Represents the price for the ramp interval.
24155
24271
  SubscriptionRampIntervalResponse:
24156
24272
  type: object
@@ -24277,8 +24393,8 @@ components:
24277
24393
  maxLength: 13
24278
24394
  account:
24279
24395
  "$ref": "#/components/schemas/AccountMini"
24280
- indicator:
24281
- "$ref": "#/components/schemas/TransactionIndicatorEnum"
24396
+ initiator:
24397
+ "$ref": "#/components/schemas/TransactionInitiatorEnum"
24282
24398
  invoice:
24283
24399
  "$ref": "#/components/schemas/InvoiceMini"
24284
24400
  merchant_reason_code:
@@ -24835,8 +24951,8 @@ components:
24835
24951
  allOf:
24836
24952
  - type: object
24837
24953
  properties:
24838
- indicator:
24839
- "$ref": "#/components/schemas/Transaction/properties/indicator"
24954
+ initiator:
24955
+ "$ref": "#/components/schemas/Transaction/properties/initiator"
24840
24956
  merchant_reason_code:
24841
24957
  "$ref": "#/components/schemas/Transaction/properties/merchant_reason_code"
24842
24958
  customer_notes:
@@ -26611,8 +26727,6 @@ components:
26611
26727
  Stripe Gateway or Ebanx UPI.
26612
26728
  enum:
26613
26729
  - stripe_confirmation_token
26614
- - stripe_customer
26615
- - stripe_payment_method
26616
26730
  - upi_vpa
26617
26731
  GatewayTransactionTypeEnum:
26618
26732
  type: string
@@ -26976,6 +27090,12 @@ components:
26976
27090
  - recurring
26977
27091
  - refunded_externally
26978
27092
  - transparent
27093
+ - token_api
27094
+ - api_force_collect
27095
+ - api_sub_change
27096
+ - api_verify_card
27097
+ - refund_balance
27098
+ - amazon_v2_ipn
26979
27099
  TransactionStatusEnum:
26980
27100
  type: string
26981
27101
  enum:
@@ -27060,6 +27180,7 @@ components:
27060
27180
  - braintree_v_zero
27061
27181
  - boleto
27062
27182
  - cash_app
27183
+ - upi_autopay
27063
27184
  CardTypeEnum:
27064
27185
  type: string
27065
27186
  enum:
@@ -27461,7 +27582,7 @@ components:
27461
27582
  - service_extension
27462
27583
  - split_shipment
27463
27584
  - top_up
27464
- TransactionIndicatorEnum:
27585
+ TransactionInitiatorEnum:
27465
27586
  type: string
27466
27587
  description: Must be sent for one-time transactions in order to provide context
27467
27588
  on which entity is submitting the transaction to ensure proper fraud checks
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recurly
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.62.0
4
+ version: 4.64.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-10 00:00:00.000000000 Z
11
+ date: 2025-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -381,7 +381,7 @@ metadata:
381
381
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
382
382
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
383
383
  homepage_uri: https://github.com/recurly/recurly-client-ruby
384
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.62.0
384
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.64.0
385
385
  post_install_message:
386
386
  rdoc_options: []
387
387
  require_paths: