subfi_pay 0.1.0 → 0.1.1

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.
Files changed (195) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +93 -93
  4. data/docs/AccessKey.md +2 -2
  5. data/docs/AccessKeysApi.md +14 -14
  6. data/docs/AccountAttributes.md +2 -2
  7. data/docs/AccountCreateRequest.md +2 -2
  8. data/docs/AccountResponse.md +2 -2
  9. data/docs/AccountsApi.md +14 -14
  10. data/docs/BalanceTransactionResponse.md +2 -2
  11. data/docs/BalanceTransactionsApi.md +5 -5
  12. data/docs/BankAccountProfile.md +2 -2
  13. data/docs/BillingAddress.md +2 -2
  14. data/docs/CardProfile.md +2 -2
  15. data/docs/ChargeAttributes.md +2 -2
  16. data/docs/ChargeResponse.md +2 -2
  17. data/docs/ChargesApi.md +9 -9
  18. data/docs/ConnectedAccountAttributes.md +2 -2
  19. data/docs/ConnectedAccountResponse.md +2 -2
  20. data/docs/CreateWebhookEndpointRequest.md +2 -2
  21. data/docs/CreateWebhookEndpointRequestWebhookEndpoint.md +2 -2
  22. data/docs/Customer.md +2 -2
  23. data/docs/CustomerAttributes.md +2 -2
  24. data/docs/CustomerCreateRequest.md +2 -2
  25. data/docs/CustomerUpdateAttributes.md +2 -2
  26. data/docs/CustomerUpdateRequest.md +2 -2
  27. data/docs/CustomersApi.md +19 -19
  28. data/docs/Event.md +2 -2
  29. data/docs/EventsApi.md +9 -9
  30. data/docs/ListAccessKeysResponse.md +2 -2
  31. data/docs/ListAccountsResponse.md +2 -2
  32. data/docs/ListBalanceTransactionsResponse.md +2 -2
  33. data/docs/ListChargesResponse.md +2 -2
  34. data/docs/ListCustomersResponse.md +2 -2
  35. data/docs/ListEventsResponse.md +2 -2
  36. data/docs/ListPaymentIntentsResponse.md +2 -2
  37. data/docs/ListPaymentMethodsResponse.md +2 -2
  38. data/docs/ListRefundsResponse.md +2 -2
  39. data/docs/ListWebhookEndpointsResponse.md +2 -2
  40. data/docs/ListWebhookRequestsResponse.md +2 -2
  41. data/docs/Meta.md +2 -2
  42. data/docs/PaymentIntentAttributes.md +2 -2
  43. data/docs/PaymentIntentCreateRequest.md +2 -2
  44. data/docs/PaymentIntentResponse.md +2 -2
  45. data/docs/PaymentIntentUpdateAttributes.md +2 -2
  46. data/docs/PaymentIntentUpdateAttributesPaymentIntent.md +2 -2
  47. data/docs/PaymentIntentsApi.md +31 -31
  48. data/docs/PaymentMethodAttributes.md +2 -2
  49. data/docs/PaymentMethodResponse.md +2 -2
  50. data/docs/PaymentMethodsApi.md +14 -14
  51. data/docs/RefundAttributes.md +2 -2
  52. data/docs/RefundResponse.md +2 -2
  53. data/docs/RefundsApi.md +18 -18
  54. data/docs/RollAccessKeyAttributes.md +2 -2
  55. data/docs/RollAccessKeyAttributesAccessKey.md +2 -2
  56. data/docs/SubscriptionAttributes.md +2 -2
  57. data/docs/SubscriptionCreateRequest.md +2 -2
  58. data/docs/SubscriptionResponse.md +2 -2
  59. data/docs/SubscriptionsApi.md +10 -10
  60. data/docs/WebhookEndpoint.md +2 -2
  61. data/docs/WebhookEndpointsApi.md +23 -23
  62. data/docs/WebhookRequest.md +2 -2
  63. data/docs/WebhookRequestsApi.md +5 -5
  64. data/lib/subfi_pay/api/access_keys_api.rb +1 -1
  65. data/lib/subfi_pay/api/accounts_api.rb +1 -1
  66. data/lib/subfi_pay/api/balance_transactions_api.rb +1 -1
  67. data/lib/subfi_pay/api/charges_api.rb +1 -1
  68. data/lib/subfi_pay/api/customers_api.rb +1 -1
  69. data/lib/subfi_pay/api/events_api.rb +1 -1
  70. data/lib/subfi_pay/api/payment_intents_api.rb +1 -1
  71. data/lib/subfi_pay/api/payment_methods_api.rb +1 -1
  72. data/lib/subfi_pay/api/refunds_api.rb +1 -1
  73. data/lib/subfi_pay/api/subscriptions_api.rb +1 -1
  74. data/lib/subfi_pay/api/webhook_endpoints_api.rb +1 -1
  75. data/lib/subfi_pay/api/webhook_requests_api.rb +1 -1
  76. data/lib/subfi_pay/api_client.rb +2 -2
  77. data/lib/subfi_pay/api_error.rb +1 -1
  78. data/lib/subfi_pay/configuration.rb +1 -1
  79. data/lib/subfi_pay/models/access_key.rb +4 -4
  80. data/lib/subfi_pay/models/account_attributes.rb +4 -4
  81. data/lib/subfi_pay/models/account_create_request.rb +4 -4
  82. data/lib/subfi_pay/models/account_response.rb +4 -4
  83. data/lib/subfi_pay/models/balance_transaction_response.rb +4 -4
  84. data/lib/subfi_pay/models/bank_account_profile.rb +4 -4
  85. data/lib/subfi_pay/models/billing_address.rb +4 -4
  86. data/lib/subfi_pay/models/card_profile.rb +4 -4
  87. data/lib/subfi_pay/models/charge_attributes.rb +4 -4
  88. data/lib/subfi_pay/models/charge_response.rb +4 -4
  89. data/lib/subfi_pay/models/connected_account_attributes.rb +4 -4
  90. data/lib/subfi_pay/models/connected_account_response.rb +4 -4
  91. data/lib/subfi_pay/models/create_webhook_endpoint_request.rb +4 -4
  92. data/lib/subfi_pay/models/create_webhook_endpoint_request_webhook_endpoint.rb +4 -4
  93. data/lib/subfi_pay/models/customer.rb +4 -4
  94. data/lib/subfi_pay/models/customer_attributes.rb +4 -4
  95. data/lib/subfi_pay/models/customer_create_request.rb +4 -4
  96. data/lib/subfi_pay/models/customer_update_attributes.rb +4 -4
  97. data/lib/subfi_pay/models/customer_update_request.rb +4 -4
  98. data/lib/subfi_pay/models/event.rb +4 -4
  99. data/lib/subfi_pay/models/list_access_keys_response.rb +4 -4
  100. data/lib/subfi_pay/models/list_accounts_response.rb +4 -4
  101. data/lib/subfi_pay/models/list_balance_transactions_response.rb +4 -4
  102. data/lib/subfi_pay/models/list_charges_response.rb +4 -4
  103. data/lib/subfi_pay/models/list_customers_response.rb +4 -4
  104. data/lib/subfi_pay/models/list_events_response.rb +4 -4
  105. data/lib/subfi_pay/models/list_payment_intents_response.rb +4 -4
  106. data/lib/subfi_pay/models/list_payment_methods_response.rb +4 -4
  107. data/lib/subfi_pay/models/list_refunds_response.rb +4 -4
  108. data/lib/subfi_pay/models/list_webhook_endpoints_response.rb +4 -4
  109. data/lib/subfi_pay/models/list_webhook_requests_response.rb +4 -4
  110. data/lib/subfi_pay/models/meta.rb +4 -4
  111. data/lib/subfi_pay/models/payment_intent_attributes.rb +4 -4
  112. data/lib/subfi_pay/models/payment_intent_create_request.rb +4 -4
  113. data/lib/subfi_pay/models/payment_intent_response.rb +4 -4
  114. data/lib/subfi_pay/models/payment_intent_update_attributes.rb +4 -4
  115. data/lib/subfi_pay/models/payment_intent_update_attributes_payment_intent.rb +4 -4
  116. data/lib/subfi_pay/models/payment_method_attributes.rb +4 -4
  117. data/lib/subfi_pay/models/payment_method_response.rb +4 -4
  118. data/lib/subfi_pay/models/refund_attributes.rb +4 -4
  119. data/lib/subfi_pay/models/refund_response.rb +4 -4
  120. data/lib/subfi_pay/models/roll_access_key_attributes.rb +4 -4
  121. data/lib/subfi_pay/models/roll_access_key_attributes_access_key.rb +4 -4
  122. data/lib/subfi_pay/models/subscription_attributes.rb +4 -4
  123. data/lib/subfi_pay/models/subscription_create_request.rb +4 -4
  124. data/lib/subfi_pay/models/subscription_response.rb +4 -4
  125. data/lib/subfi_pay/models/webhook_endpoint.rb +4 -4
  126. data/lib/subfi_pay/models/webhook_request.rb +4 -4
  127. data/lib/subfi_pay/version.rb +2 -2
  128. data/lib/subfi_pay.rb +2 -2
  129. data/spec/api/access_keys_api_spec.rb +6 -6
  130. data/spec/api/accounts_api_spec.rb +6 -6
  131. data/spec/api/balance_transactions_api_spec.rb +4 -4
  132. data/spec/api/charges_api_spec.rb +5 -5
  133. data/spec/api/customers_api_spec.rb +10 -10
  134. data/spec/api/events_api_spec.rb +7 -6
  135. data/spec/api/payment_intents_api_spec.rb +10 -10
  136. data/spec/api/payment_methods_api_spec.rb +11 -11
  137. data/spec/api/refunds_api_spec.rb +7 -7
  138. data/spec/api/subscriptions_api_spec.rb +5 -5
  139. data/spec/api/webhook_endpoints_api_spec.rb +9 -9
  140. data/spec/api/webhook_requests_api_spec.rb +4 -4
  141. data/spec/configuration_spec.rb +3 -3
  142. data/spec/models/access_key_spec.rb +4 -4
  143. data/spec/models/account_attributes_spec.rb +4 -4
  144. data/spec/models/account_create_request_spec.rb +4 -4
  145. data/spec/models/account_response_spec.rb +4 -4
  146. data/spec/models/balance_transaction_response_spec.rb +4 -4
  147. data/spec/models/bank_account_profile_spec.rb +4 -4
  148. data/spec/models/billing_address_spec.rb +4 -4
  149. data/spec/models/card_profile_spec.rb +4 -4
  150. data/spec/models/charge_attributes_spec.rb +4 -4
  151. data/spec/models/charge_response_spec.rb +4 -4
  152. data/spec/models/connected_account_attributes_spec.rb +4 -4
  153. data/spec/models/connected_account_response_spec.rb +4 -4
  154. data/spec/models/create_account_request_account_spec.rb +4 -4
  155. data/spec/models/create_account_request_spec.rb +4 -4
  156. data/spec/models/create_webhook_endpoint_request_spec.rb +4 -4
  157. data/spec/models/create_webhook_endpoint_request_webhook_endpoint_spec.rb +4 -4
  158. data/spec/models/customer_attributes_spec.rb +4 -4
  159. data/spec/models/customer_create_request_spec.rb +4 -4
  160. data/spec/models/customer_spec.rb +4 -4
  161. data/spec/models/customer_update_attributes_spec.rb +4 -4
  162. data/spec/models/customer_update_request_spec.rb +4 -4
  163. data/spec/models/event_spec.rb +4 -4
  164. data/spec/models/list_access_keys_response_spec.rb +4 -4
  165. data/spec/models/list_accounts_response_spec.rb +4 -4
  166. data/spec/models/list_balance_transactions_response_spec.rb +4 -4
  167. data/spec/models/list_charges_response_spec.rb +4 -4
  168. data/spec/models/list_customers_response_spec.rb +4 -4
  169. data/spec/models/list_events_response_spec.rb +4 -4
  170. data/spec/models/list_payment_intents_response_spec.rb +4 -4
  171. data/spec/models/list_payment_methods_response_spec.rb +4 -4
  172. data/spec/models/list_refunds_response_spec.rb +4 -4
  173. data/spec/models/list_webhook_endpoints_response_spec.rb +4 -4
  174. data/spec/models/list_webhook_requests_response_spec.rb +4 -4
  175. data/spec/models/meta_spec.rb +4 -4
  176. data/spec/models/payment_intent_attributes_spec.rb +4 -4
  177. data/spec/models/payment_intent_create_request_spec.rb +4 -4
  178. data/spec/models/payment_intent_response_spec.rb +4 -4
  179. data/spec/models/payment_intent_update_attributes_payment_intent_spec.rb +4 -4
  180. data/spec/models/payment_intent_update_attributes_spec.rb +4 -4
  181. data/spec/models/payment_method_attributes_spec.rb +4 -4
  182. data/spec/models/payment_method_response_spec.rb +4 -4
  183. data/spec/models/refund_attributes_spec.rb +4 -4
  184. data/spec/models/refund_response_spec.rb +4 -4
  185. data/spec/models/roll_access_key_attributes_access_key_spec.rb +4 -4
  186. data/spec/models/roll_access_key_attributes_spec.rb +4 -4
  187. data/spec/models/roll_access_key_request_access_key_spec.rb +4 -4
  188. data/spec/models/roll_access_key_request_spec.rb +4 -4
  189. data/spec/models/subscription_attributes_spec.rb +4 -4
  190. data/spec/models/subscription_create_request_spec.rb +4 -4
  191. data/spec/models/subscription_response_spec.rb +4 -4
  192. data/spec/models/webhook_endpoint_spec.rb +4 -4
  193. data/spec/models/webhook_request_spec.rb +4 -4
  194. data/subfi_pay.gemspec +1 -1
  195. metadata +2 -2
data/docs/CardProfile.md CHANGED
@@ -1,4 +1,4 @@
1
- # SubFiPay::CardProfile
1
+ # SubfiPay::CardProfile
2
2
 
3
3
  ## Properties
4
4
 
@@ -23,7 +23,7 @@
23
23
  ```ruby
24
24
  require 'subfi_pay'
25
25
 
26
- instance = SubFiPay::CardProfile.new(
26
+ instance = SubfiPay::CardProfile.new(
27
27
  avs_check: null,
28
28
  avs_check_message: null,
29
29
  brand: null,
@@ -1,4 +1,4 @@
1
- # SubFiPay::ChargeAttributes
1
+ # SubfiPay::ChargeAttributes
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@
15
15
  ```ruby
16
16
  require 'subfi_pay'
17
17
 
18
- instance = SubFiPay::ChargeAttributes.new(
18
+ instance = SubfiPay::ChargeAttributes.new(
19
19
  amount: null,
20
20
  description: null,
21
21
  payment_method_id: null,
@@ -1,4 +1,4 @@
1
- # SubFiPay::ChargeResponse
1
+ # SubfiPay::ChargeResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -23,7 +23,7 @@
23
23
  ```ruby
24
24
  require 'subfi_pay'
25
25
 
26
- instance = SubFiPay::ChargeResponse.new(
26
+ instance = SubfiPay::ChargeResponse.new(
27
27
  id: null,
28
28
  captured_at: null,
29
29
  failure_reason: null,
data/docs/ChargesApi.md CHANGED
@@ -1,4 +1,4 @@
1
- # SubFiPay::ChargesApi
1
+ # SubfiPay::ChargesApi
2
2
 
3
3
  All URIs are relative to *https://pay-sandbox.subfi.com*
4
4
 
@@ -20,14 +20,14 @@ Retrieve a charge
20
20
  require 'time'
21
21
  require 'subfi_pay'
22
22
  # setup authorization
23
- SubFiPay.configure do |config|
23
+ SubfiPay.configure do |config|
24
24
  # Configure API key authorization: ApiKeyAuth
25
25
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
26
26
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27
27
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
28
28
  end
29
29
 
30
- api_instance = SubFiPay::ChargesApi.new
30
+ api_instance = SubfiPay::ChargesApi.new
31
31
  x_api_version = 'x_api_version_example' # String |
32
32
  x_account_id = 'x_account_id_example' # String |
33
33
  id = 'id_example' # String |
@@ -39,7 +39,7 @@ begin
39
39
  # Retrieve a charge
40
40
  result = api_instance.get_charge(x_api_version, x_account_id, id, opts)
41
41
  p result
42
- rescue SubFiPay::ApiError => e
42
+ rescue SubfiPay::ApiError => e
43
43
  puts "Error when calling ChargesApi->get_charge: #{e}"
44
44
  end
45
45
  ```
@@ -57,7 +57,7 @@ begin
57
57
  p status_code # => 2xx
58
58
  p headers # => { ... }
59
59
  p data # => <ChargeResponse>
60
- rescue SubFiPay::ApiError => e
60
+ rescue SubfiPay::ApiError => e
61
61
  puts "Error when calling ChargesApi->get_charge_with_http_info: #{e}"
62
62
  end
63
63
  ```
@@ -97,14 +97,14 @@ List all charges
97
97
  require 'time'
98
98
  require 'subfi_pay'
99
99
  # setup authorization
100
- SubFiPay.configure do |config|
100
+ SubfiPay.configure do |config|
101
101
  # Configure API key authorization: ApiKeyAuth
102
102
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
103
103
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
104
104
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
105
105
  end
106
106
 
107
- api_instance = SubFiPay::ChargesApi.new
107
+ api_instance = SubfiPay::ChargesApi.new
108
108
  x_api_version = 'x_api_version_example' # String |
109
109
  x_account_id = 'x_account_id_example' # String |
110
110
  opts = {
@@ -118,7 +118,7 @@ begin
118
118
  # List all charges
119
119
  result = api_instance.list_charges(x_api_version, x_account_id, opts)
120
120
  p result
121
- rescue SubFiPay::ApiError => e
121
+ rescue SubfiPay::ApiError => e
122
122
  puts "Error when calling ChargesApi->list_charges: #{e}"
123
123
  end
124
124
  ```
@@ -136,7 +136,7 @@ begin
136
136
  p status_code # => 2xx
137
137
  p headers # => { ... }
138
138
  p data # => <ListChargesResponse>
139
- rescue SubFiPay::ApiError => e
139
+ rescue SubfiPay::ApiError => e
140
140
  puts "Error when calling ChargesApi->list_charges_with_http_info: #{e}"
141
141
  end
142
142
  ```
@@ -1,4 +1,4 @@
1
- # SubFiPay::ConnectedAccountAttributes
1
+ # SubfiPay::ConnectedAccountAttributes
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::ConnectedAccountAttributes.new(
15
+ instance = SubfiPay::ConnectedAccountAttributes.new(
16
16
  name: null,
17
17
  worldpay_merchant_id: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::ConnectedAccountResponse
1
+ # SubfiPay::ConnectedAccountResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@
15
15
  ```ruby
16
16
  require 'subfi_pay'
17
17
 
18
- instance = SubFiPay::ConnectedAccountResponse.new(
18
+ instance = SubfiPay::ConnectedAccountResponse.new(
19
19
  id: null,
20
20
  created_at: null,
21
21
  updated_at: null,
@@ -1,4 +1,4 @@
1
- # SubFiPay::CreateWebhookEndpointRequest
1
+ # SubfiPay::CreateWebhookEndpointRequest
2
2
 
3
3
  ## Properties
4
4
 
@@ -11,7 +11,7 @@
11
11
  ```ruby
12
12
  require 'subfi_pay'
13
13
 
14
- instance = SubFiPay::CreateWebhookEndpointRequest.new(
14
+ instance = SubfiPay::CreateWebhookEndpointRequest.new(
15
15
  webhook_endpoint: null
16
16
  )
17
17
  ```
@@ -1,4 +1,4 @@
1
- # SubFiPay::CreateWebhookEndpointRequestWebhookEndpoint
1
+ # SubfiPay::CreateWebhookEndpointRequestWebhookEndpoint
2
2
 
3
3
  ## Properties
4
4
 
@@ -16,7 +16,7 @@
16
16
  ```ruby
17
17
  require 'subfi_pay'
18
18
 
19
- instance = SubFiPay::CreateWebhookEndpointRequestWebhookEndpoint.new(
19
+ instance = SubfiPay::CreateWebhookEndpointRequestWebhookEndpoint.new(
20
20
  event: null,
21
21
  metadata: null,
22
22
  enabled: null,
data/docs/Customer.md CHANGED
@@ -1,4 +1,4 @@
1
- # SubFiPay::Customer
1
+ # SubfiPay::Customer
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@
15
15
  ```ruby
16
16
  require 'subfi_pay'
17
17
 
18
- instance = SubFiPay::Customer.new(
18
+ instance = SubfiPay::Customer.new(
19
19
  name: null,
20
20
  email: null,
21
21
  phone: null,
@@ -1,4 +1,4 @@
1
- # SubFiPay::CustomerAttributes
1
+ # SubfiPay::CustomerAttributes
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,7 +14,7 @@
14
14
  ```ruby
15
15
  require 'subfi_pay'
16
16
 
17
- instance = SubFiPay::CustomerAttributes.new(
17
+ instance = SubfiPay::CustomerAttributes.new(
18
18
  name: null,
19
19
  email: null,
20
20
  phone: null,
@@ -1,4 +1,4 @@
1
- # SubFiPay::CustomerCreateRequest
1
+ # SubfiPay::CustomerCreateRequest
2
2
 
3
3
  ## Properties
4
4
 
@@ -11,7 +11,7 @@
11
11
  ```ruby
12
12
  require 'subfi_pay'
13
13
 
14
- instance = SubFiPay::CustomerCreateRequest.new(
14
+ instance = SubfiPay::CustomerCreateRequest.new(
15
15
  customer: null
16
16
  )
17
17
  ```
@@ -1,4 +1,4 @@
1
- # SubFiPay::CustomerUpdateAttributes
1
+ # SubfiPay::CustomerUpdateAttributes
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::CustomerUpdateAttributes.new(
15
+ instance = SubfiPay::CustomerUpdateAttributes.new(
16
16
  name: null,
17
17
  default_payment_method_id: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::CustomerUpdateRequest
1
+ # SubfiPay::CustomerUpdateRequest
2
2
 
3
3
  ## Properties
4
4
 
@@ -11,7 +11,7 @@
11
11
  ```ruby
12
12
  require 'subfi_pay'
13
13
 
14
- instance = SubFiPay::CustomerUpdateRequest.new(
14
+ instance = SubfiPay::CustomerUpdateRequest.new(
15
15
  customer: null
16
16
  )
17
17
  ```
data/docs/CustomersApi.md CHANGED
@@ -1,4 +1,4 @@
1
- # SubFiPay::CustomersApi
1
+ # SubfiPay::CustomersApi
2
2
 
3
3
  All URIs are relative to *https://pay-sandbox.subfi.com*
4
4
 
@@ -22,22 +22,22 @@ Create a new customer
22
22
  require 'time'
23
23
  require 'subfi_pay'
24
24
  # setup authorization
25
- SubFiPay.configure do |config|
25
+ SubfiPay.configure do |config|
26
26
  # Configure API key authorization: ApiKeyAuth
27
27
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
28
28
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
29
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
30
30
  end
31
31
 
32
- api_instance = SubFiPay::CustomersApi.new
32
+ api_instance = SubfiPay::CustomersApi.new
33
33
  x_api_version = 'x_api_version_example' # String |
34
- customer_create_request = SubFiPay::CustomerCreateRequest.new # CustomerCreateRequest |
34
+ customer_create_request = SubfiPay::CustomerCreateRequest.new # CustomerCreateRequest |
35
35
 
36
36
  begin
37
37
  # Create a new customer
38
38
  result = api_instance.create_customer(x_api_version, customer_create_request)
39
39
  p result
40
- rescue SubFiPay::ApiError => e
40
+ rescue SubfiPay::ApiError => e
41
41
  puts "Error when calling CustomersApi->create_customer: #{e}"
42
42
  end
43
43
  ```
@@ -55,7 +55,7 @@ begin
55
55
  p status_code # => 2xx
56
56
  p headers # => { ... }
57
57
  p data # => <Customer>
58
- rescue SubFiPay::ApiError => e
58
+ rescue SubfiPay::ApiError => e
59
59
  puts "Error when calling CustomersApi->create_customer_with_http_info: #{e}"
60
60
  end
61
61
  ```
@@ -93,14 +93,14 @@ Retrieve a customer by ID
93
93
  require 'time'
94
94
  require 'subfi_pay'
95
95
  # setup authorization
96
- SubFiPay.configure do |config|
96
+ SubfiPay.configure do |config|
97
97
  # Configure API key authorization: ApiKeyAuth
98
98
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
99
99
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
100
100
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
101
101
  end
102
102
 
103
- api_instance = SubFiPay::CustomersApi.new
103
+ api_instance = SubfiPay::CustomersApi.new
104
104
  x_api_version = 'x_api_version_example' # String |
105
105
  x_account_id = 'x_account_id_example' # String |
106
106
  id = 'id_example' # String |
@@ -109,7 +109,7 @@ begin
109
109
  # Retrieve a customer by ID
110
110
  result = api_instance.get_customer(x_api_version, x_account_id, id)
111
111
  p result
112
- rescue SubFiPay::ApiError => e
112
+ rescue SubfiPay::ApiError => e
113
113
  puts "Error when calling CustomersApi->get_customer: #{e}"
114
114
  end
115
115
  ```
@@ -127,7 +127,7 @@ begin
127
127
  p status_code # => 2xx
128
128
  p headers # => { ... }
129
129
  p data # => <Customer>
130
- rescue SubFiPay::ApiError => e
130
+ rescue SubfiPay::ApiError => e
131
131
  puts "Error when calling CustomersApi->get_customer_with_http_info: #{e}"
132
132
  end
133
133
  ```
@@ -166,14 +166,14 @@ List all customers
166
166
  require 'time'
167
167
  require 'subfi_pay'
168
168
  # setup authorization
169
- SubFiPay.configure do |config|
169
+ SubfiPay.configure do |config|
170
170
  # Configure API key authorization: ApiKeyAuth
171
171
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
172
172
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
173
173
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
174
174
  end
175
175
 
176
- api_instance = SubFiPay::CustomersApi.new
176
+ api_instance = SubfiPay::CustomersApi.new
177
177
  x_api_version = 'x_api_version_example' # String |
178
178
  x_account_id = 'x_account_id_example' # String |
179
179
  opts = {
@@ -185,7 +185,7 @@ begin
185
185
  # List all customers
186
186
  result = api_instance.list_customers(x_api_version, x_account_id, opts)
187
187
  p result
188
- rescue SubFiPay::ApiError => e
188
+ rescue SubfiPay::ApiError => e
189
189
  puts "Error when calling CustomersApi->list_customers: #{e}"
190
190
  end
191
191
  ```
@@ -203,7 +203,7 @@ begin
203
203
  p status_code # => 2xx
204
204
  p headers # => { ... }
205
205
  p data # => <ListCustomersResponse>
206
- rescue SubFiPay::ApiError => e
206
+ rescue SubfiPay::ApiError => e
207
207
  puts "Error when calling CustomersApi->list_customers_with_http_info: #{e}"
208
208
  end
209
209
  ```
@@ -243,24 +243,24 @@ Update a customer by ID
243
243
  require 'time'
244
244
  require 'subfi_pay'
245
245
  # setup authorization
246
- SubFiPay.configure do |config|
246
+ SubfiPay.configure do |config|
247
247
  # Configure API key authorization: ApiKeyAuth
248
248
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
249
249
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
250
250
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
251
251
  end
252
252
 
253
- api_instance = SubFiPay::CustomersApi.new
253
+ api_instance = SubfiPay::CustomersApi.new
254
254
  x_api_version = 'x_api_version_example' # String |
255
255
  x_account_id = 'x_account_id_example' # String |
256
256
  id = 'id_example' # String |
257
- customer_update_request = SubFiPay::CustomerUpdateRequest.new # CustomerUpdateRequest |
257
+ customer_update_request = SubfiPay::CustomerUpdateRequest.new # CustomerUpdateRequest |
258
258
 
259
259
  begin
260
260
  # Update a customer by ID
261
261
  result = api_instance.update_customer(x_api_version, x_account_id, id, customer_update_request)
262
262
  p result
263
- rescue SubFiPay::ApiError => e
263
+ rescue SubfiPay::ApiError => e
264
264
  puts "Error when calling CustomersApi->update_customer: #{e}"
265
265
  end
266
266
  ```
@@ -278,7 +278,7 @@ begin
278
278
  p status_code # => 2xx
279
279
  p headers # => { ... }
280
280
  p data # => <Customer>
281
- rescue SubFiPay::ApiError => e
281
+ rescue SubfiPay::ApiError => e
282
282
  puts "Error when calling CustomersApi->update_customer_with_http_info: #{e}"
283
283
  end
284
284
  ```
data/docs/Event.md CHANGED
@@ -1,4 +1,4 @@
1
- # SubFiPay::Event
1
+ # SubfiPay::Event
2
2
 
3
3
  ## Properties
4
4
 
@@ -17,7 +17,7 @@
17
17
  ```ruby
18
18
  require 'subfi_pay'
19
19
 
20
- instance = SubFiPay::Event.new(
20
+ instance = SubfiPay::Event.new(
21
21
  id: null,
22
22
  event: null,
23
23
  data: null,
data/docs/EventsApi.md CHANGED
@@ -1,4 +1,4 @@
1
- # SubFiPay::EventsApi
1
+ # SubfiPay::EventsApi
2
2
 
3
3
  All URIs are relative to *https://pay-sandbox.subfi.com*
4
4
 
@@ -20,14 +20,14 @@ Retrieve a single event by ID
20
20
  require 'time'
21
21
  require 'subfi_pay'
22
22
  # setup authorization
23
- SubFiPay.configure do |config|
23
+ SubfiPay.configure do |config|
24
24
  # Configure API key authorization: ApiKeyAuth
25
25
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
26
26
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27
27
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
28
28
  end
29
29
 
30
- api_instance = SubFiPay::EventsApi.new
30
+ api_instance = SubfiPay::EventsApi.new
31
31
  x_api_version = 'x_api_version_example' # String |
32
32
  x_account_id = 'x_account_id_example' # String |
33
33
  id = 'id_example' # String |
@@ -36,7 +36,7 @@ begin
36
36
  # Retrieve a single event by ID
37
37
  result = api_instance.get_event(x_api_version, x_account_id, id)
38
38
  p result
39
- rescue SubFiPay::ApiError => e
39
+ rescue SubfiPay::ApiError => e
40
40
  puts "Error when calling EventsApi->get_event: #{e}"
41
41
  end
42
42
  ```
@@ -54,7 +54,7 @@ begin
54
54
  p status_code # => 2xx
55
55
  p headers # => { ... }
56
56
  p data # => <Event>
57
- rescue SubFiPay::ApiError => e
57
+ rescue SubfiPay::ApiError => e
58
58
  puts "Error when calling EventsApi->get_event_with_http_info: #{e}"
59
59
  end
60
60
  ```
@@ -93,14 +93,14 @@ List all events
93
93
  require 'time'
94
94
  require 'subfi_pay'
95
95
  # setup authorization
96
- SubFiPay.configure do |config|
96
+ SubfiPay.configure do |config|
97
97
  # Configure API key authorization: ApiKeyAuth
98
98
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
99
99
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
100
100
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
101
101
  end
102
102
 
103
- api_instance = SubFiPay::EventsApi.new
103
+ api_instance = SubfiPay::EventsApi.new
104
104
  x_api_version = 'x_api_version_example' # String |
105
105
  x_account_id = 'x_account_id_example' # String |
106
106
  opts = {
@@ -112,7 +112,7 @@ begin
112
112
  # List all events
113
113
  result = api_instance.list_events(x_api_version, x_account_id, opts)
114
114
  p result
115
- rescue SubFiPay::ApiError => e
115
+ rescue SubfiPay::ApiError => e
116
116
  puts "Error when calling EventsApi->list_events: #{e}"
117
117
  end
118
118
  ```
@@ -130,7 +130,7 @@ begin
130
130
  p status_code # => 2xx
131
131
  p headers # => { ... }
132
132
  p data # => <ListEventsResponse>
133
- rescue SubFiPay::ApiError => e
133
+ rescue SubfiPay::ApiError => e
134
134
  puts "Error when calling EventsApi->list_events_with_http_info: #{e}"
135
135
  end
136
136
  ```
@@ -1,4 +1,4 @@
1
- # SubFiPay::ListAccessKeysResponse
1
+ # SubfiPay::ListAccessKeysResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::ListAccessKeysResponse.new(
15
+ instance = SubfiPay::ListAccessKeysResponse.new(
16
16
  data: null,
17
17
  meta: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::ListAccountsResponse
1
+ # SubfiPay::ListAccountsResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::ListAccountsResponse.new(
15
+ instance = SubfiPay::ListAccountsResponse.new(
16
16
  data: null,
17
17
  meta: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::ListBalanceTransactionsResponse
1
+ # SubfiPay::ListBalanceTransactionsResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::ListBalanceTransactionsResponse.new(
15
+ instance = SubfiPay::ListBalanceTransactionsResponse.new(
16
16
  data: null,
17
17
  meta: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::ListChargesResponse
1
+ # SubfiPay::ListChargesResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::ListChargesResponse.new(
15
+ instance = SubfiPay::ListChargesResponse.new(
16
16
  data: null,
17
17
  meta: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::ListCustomersResponse
1
+ # SubfiPay::ListCustomersResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::ListCustomersResponse.new(
15
+ instance = SubfiPay::ListCustomersResponse.new(
16
16
  data: null,
17
17
  meta: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::ListEventsResponse
1
+ # SubfiPay::ListEventsResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::ListEventsResponse.new(
15
+ instance = SubfiPay::ListEventsResponse.new(
16
16
  data: null,
17
17
  meta: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::ListPaymentIntentsResponse
1
+ # SubfiPay::ListPaymentIntentsResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::ListPaymentIntentsResponse.new(
15
+ instance = SubfiPay::ListPaymentIntentsResponse.new(
16
16
  data: null,
17
17
  meta: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::ListPaymentMethodsResponse
1
+ # SubfiPay::ListPaymentMethodsResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::ListPaymentMethodsResponse.new(
15
+ instance = SubfiPay::ListPaymentMethodsResponse.new(
16
16
  data: null,
17
17
  meta: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::ListRefundsResponse
1
+ # SubfiPay::ListRefundsResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::ListRefundsResponse.new(
15
+ instance = SubfiPay::ListRefundsResponse.new(
16
16
  data: null,
17
17
  meta: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::ListWebhookEndpointsResponse
1
+ # SubfiPay::ListWebhookEndpointsResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::ListWebhookEndpointsResponse.new(
15
+ instance = SubfiPay::ListWebhookEndpointsResponse.new(
16
16
  data: null,
17
17
  meta: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::ListWebhookRequestsResponse
1
+ # SubfiPay::ListWebhookRequestsResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::ListWebhookRequestsResponse.new(
15
+ instance = SubfiPay::ListWebhookRequestsResponse.new(
16
16
  data: null,
17
17
  meta: null
18
18
  )