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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a1f2721715c4661d7cc4e497c4cf2e64ea59ef11cd194ab817dd2ecc1addd3f
4
- data.tar.gz: 94a5cb434ff9d154033f788c0a3646fe7f1d139e8f10b95fb757fac6a6f9ec8d
3
+ metadata.gz: 9c9913e5bc8cc033d59405897052e3bb4433927500b697ce93f1a2e77a40a996
4
+ data.tar.gz: 911013a33e74a496c8ffec94006ab5e1d4cde76bfcf77576186def8a7343508d
5
5
  SHA512:
6
- metadata.gz: dd82b92bd7cec8c36edbeac136007ecab7d1373c5205d374a60b1766d34fc50d62a59a9b3e0d73f3c90c98281949159696fe0027bb3e82f5947e4c33a9f496fc
7
- data.tar.gz: 95b0c1cbd062a3f6fc60fe70cace564f6a6971034af60d21973bc0494161b1c16dbe44b74bd8fd9baca95cfad7cf58c018d0d6f35b1fea2c166d651c15c0dc53
6
+ metadata.gz: e29ad2155d50a229a868faf6ddb4c1a9b527455d47436d96d03d42ebe20a274b381f5df35df921b5c0fe6110bd83c7b3be845ce9b82cc9a411cca429f10591ec
7
+ data.tar.gz: 0dde0d3ca4b45045d294439a523795cad38e084e8dee3ea348ef9c6788d7fca2a46ed8abff5718c193fb3bf6eacd86958ac03a7b4889fd3eee57878e32fbabce
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- subfi_pay (0.1.0)
4
+ subfi_pay (0.1.1)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # subfi_pay
2
2
 
3
- SubFiPay - the Ruby gem for the SubFi Pay API
3
+ SubfiPay - the Ruby gem for the SubFi Pay API
4
4
 
5
5
  API for SubFi Pay services
6
6
 
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 0.1.0
10
- - Package version: 0.1.0
10
+ - Package version: 0.1.1
11
11
  - Generator version: 7.7.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
 
@@ -24,16 +24,16 @@ gem build subfi_pay.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./subfi_pay-0.1.0.gem
27
+ gem install ./subfi_pay-0.1.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./subfi_pay-0.1.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./subfi_pay-0.1.1.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'subfi_pay', '~> 0.1.0'
36
+ gem 'subfi_pay', '~> 0.1.1'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -58,21 +58,21 @@ Please follow the [installation](#installation) procedure and then run the follo
58
58
  require 'subfi_pay'
59
59
 
60
60
  # Setup authorization
61
- SubFiPay.configure do |config|
61
+ SubfiPay.configure do |config|
62
62
  # Configure API key authorization: ApiKeyAuth
63
63
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
64
64
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
65
65
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
66
66
  end
67
67
 
68
- api_instance = SubFiPay::AccessKeysApi.new
68
+ api_instance = SubfiPay::AccessKeysApi.new
69
69
  x_api_version = 'x_api_version_example' # String |
70
70
  id = 'id_example' # String |
71
71
 
72
72
  begin
73
73
  #Delete an access key by ID
74
74
  api_instance.delete_access_key(x_api_version, id)
75
- rescue SubFiPay::ApiError => e
75
+ rescue SubfiPay::ApiError => e
76
76
  puts "Exception when calling AccessKeysApi->delete_access_key: #{e}"
77
77
  end
78
78
 
@@ -84,95 +84,95 @@ All URIs are relative to *https://pay-sandbox.subfi.com*
84
84
 
85
85
  Class | Method | HTTP request | Description
86
86
  ------------ | ------------- | ------------- | -------------
87
- *SubFiPay::AccessKeysApi* | [**delete_access_key**](docs/AccessKeysApi.md#delete_access_key) | **DELETE** /access_keys/{id} | Delete an access key by ID
88
- *SubFiPay::AccessKeysApi* | [**list_access_keys**](docs/AccessKeysApi.md#list_access_keys) | **GET** /access_keys | List all access keys
89
- *SubFiPay::AccessKeysApi* | [**roll_access_key**](docs/AccessKeysApi.md#roll_access_key) | **POST** /access_keys/{id}/roll | Roll an access key by ID
90
- *SubFiPay::AccountsApi* | [**create_account**](docs/AccountsApi.md#create_account) | **POST** /accounts | Create a new account
91
- *SubFiPay::AccountsApi* | [**get_account**](docs/AccountsApi.md#get_account) | **GET** /accounts/{id} | Retrieve an account by ID
92
- *SubFiPay::AccountsApi* | [**list_accounts**](docs/AccountsApi.md#list_accounts) | **GET** /accounts | List all accounts
93
- *SubFiPay::BalanceTransactionsApi* | [**list_balance_transactions**](docs/BalanceTransactionsApi.md#list_balance_transactions) | **GET** /balance_transactions | List all balance transactions
94
- *SubFiPay::ChargesApi* | [**get_charge**](docs/ChargesApi.md#get_charge) | **GET** /charges/{id} | Retrieve a charge
95
- *SubFiPay::ChargesApi* | [**list_charges**](docs/ChargesApi.md#list_charges) | **GET** /charges | List all charges
96
- *SubFiPay::CustomersApi* | [**create_customer**](docs/CustomersApi.md#create_customer) | **POST** /customers | Create a new customer
97
- *SubFiPay::CustomersApi* | [**get_customer**](docs/CustomersApi.md#get_customer) | **GET** /customers/{id} | Retrieve a customer by ID
98
- *SubFiPay::CustomersApi* | [**list_customers**](docs/CustomersApi.md#list_customers) | **GET** /customers | List all customers
99
- *SubFiPay::CustomersApi* | [**update_customer**](docs/CustomersApi.md#update_customer) | **PATCH** /customers/{id} | Update a customer by ID
100
- *SubFiPay::EventsApi* | [**get_event**](docs/EventsApi.md#get_event) | **GET** /events/{id} | Retrieve a single event by ID
101
- *SubFiPay::EventsApi* | [**list_events**](docs/EventsApi.md#list_events) | **GET** /events | List all events
102
- *SubFiPay::PaymentIntentsApi* | [**cancel_payment_intent**](docs/PaymentIntentsApi.md#cancel_payment_intent) | **POST** /payment_intents/{id}/cancel | Cancel a payment intent
103
- *SubFiPay::PaymentIntentsApi* | [**capture_payment_intent**](docs/PaymentIntentsApi.md#capture_payment_intent) | **POST** /payment_intents/{id}/capture | Capture a payment intent
104
- *SubFiPay::PaymentIntentsApi* | [**confirm_payment_intent**](docs/PaymentIntentsApi.md#confirm_payment_intent) | **POST** /payment_intents/{id}/confirm | Confirm a payment intent
105
- *SubFiPay::PaymentIntentsApi* | [**create_payment_intent**](docs/PaymentIntentsApi.md#create_payment_intent) | **POST** /payment_intents | Create a new payment intent
106
- *SubFiPay::PaymentIntentsApi* | [**get_payment_intent**](docs/PaymentIntentsApi.md#get_payment_intent) | **GET** /payment_intents/{id} | Retrieve a payment intent by ID
107
- *SubFiPay::PaymentIntentsApi* | [**list_payment_intents**](docs/PaymentIntentsApi.md#list_payment_intents) | **GET** /payment_intents | List payment intents
108
- *SubFiPay::PaymentIntentsApi* | [**update_payment_intent**](docs/PaymentIntentsApi.md#update_payment_intent) | **PATCH** /payment_intents/{id} | Update a payment intent
109
- *SubFiPay::PaymentMethodsApi* | [**create_payment_method**](docs/PaymentMethodsApi.md#create_payment_method) | **POST** /payment_methods | Create a payment method
110
- *SubFiPay::PaymentMethodsApi* | [**get_payment_method**](docs/PaymentMethodsApi.md#get_payment_method) | **GET** /payment_methods/{id} | Retrieve a payment method
111
- *SubFiPay::PaymentMethodsApi* | [**list_payment_methods**](docs/PaymentMethodsApi.md#list_payment_methods) | **GET** /payment_methods | List all payment methods
112
- *SubFiPay::RefundsApi* | [**cancel_refund**](docs/RefundsApi.md#cancel_refund) | **PUT** /refunds/{id}/cancel | Cancel a refund
113
- *SubFiPay::RefundsApi* | [**create_refund**](docs/RefundsApi.md#create_refund) | **POST** /refunds | Create a refund
114
- *SubFiPay::RefundsApi* | [**get_refund**](docs/RefundsApi.md#get_refund) | **GET** /refunds/{id} | Get a refund by ID
115
- *SubFiPay::RefundsApi* | [**list_refunds**](docs/RefundsApi.md#list_refunds) | **GET** /refunds | List refunds for a Charge
116
- *SubFiPay::SubscriptionsApi* | [**create_subscription**](docs/SubscriptionsApi.md#create_subscription) | **POST** /subscriptions | Create a new subscription
117
- *SubFiPay::SubscriptionsApi* | [**get_subscription**](docs/SubscriptionsApi.md#get_subscription) | **GET** /subscriptions/{id} | Retrieve a subscription by ID
118
- *SubFiPay::WebhookEndpointsApi* | [**create_webhook_endpoint**](docs/WebhookEndpointsApi.md#create_webhook_endpoint) | **POST** /webhook_endpoints | Create a webhook endpoint
119
- *SubFiPay::WebhookEndpointsApi* | [**delete_webhook_endpoint**](docs/WebhookEndpointsApi.md#delete_webhook_endpoint) | **DELETE** /webhook_endpoints/{id} | Delete a webhook endpoint by ID
120
- *SubFiPay::WebhookEndpointsApi* | [**get_webhook_endpoint**](docs/WebhookEndpointsApi.md#get_webhook_endpoint) | **GET** /webhook_endpoints/{id} | Retrieve a webhook endpoint by ID
121
- *SubFiPay::WebhookEndpointsApi* | [**list_webhook_endpoints**](docs/WebhookEndpointsApi.md#list_webhook_endpoints) | **GET** /webhook_endpoints | List all webhook endpoints
122
- *SubFiPay::WebhookEndpointsApi* | [**update_webhook_endpoint**](docs/WebhookEndpointsApi.md#update_webhook_endpoint) | **PATCH** /webhook_endpoints/{id} | Update a webhook endpoint by ID
123
- *SubFiPay::WebhookRequestsApi* | [**list_webhook_requests**](docs/WebhookRequestsApi.md#list_webhook_requests) | **GET** /webhook_requests | List all webhook requests
87
+ *SubfiPay::AccessKeysApi* | [**delete_access_key**](docs/AccessKeysApi.md#delete_access_key) | **DELETE** /access_keys/{id} | Delete an access key by ID
88
+ *SubfiPay::AccessKeysApi* | [**list_access_keys**](docs/AccessKeysApi.md#list_access_keys) | **GET** /access_keys | List all access keys
89
+ *SubfiPay::AccessKeysApi* | [**roll_access_key**](docs/AccessKeysApi.md#roll_access_key) | **POST** /access_keys/{id}/roll | Roll an access key by ID
90
+ *SubfiPay::AccountsApi* | [**create_account**](docs/AccountsApi.md#create_account) | **POST** /accounts | Create a new account
91
+ *SubfiPay::AccountsApi* | [**get_account**](docs/AccountsApi.md#get_account) | **GET** /accounts/{id} | Retrieve an account by ID
92
+ *SubfiPay::AccountsApi* | [**list_accounts**](docs/AccountsApi.md#list_accounts) | **GET** /accounts | List all accounts
93
+ *SubfiPay::BalanceTransactionsApi* | [**list_balance_transactions**](docs/BalanceTransactionsApi.md#list_balance_transactions) | **GET** /balance_transactions | List all balance transactions
94
+ *SubfiPay::ChargesApi* | [**get_charge**](docs/ChargesApi.md#get_charge) | **GET** /charges/{id} | Retrieve a charge
95
+ *SubfiPay::ChargesApi* | [**list_charges**](docs/ChargesApi.md#list_charges) | **GET** /charges | List all charges
96
+ *SubfiPay::CustomersApi* | [**create_customer**](docs/CustomersApi.md#create_customer) | **POST** /customers | Create a new customer
97
+ *SubfiPay::CustomersApi* | [**get_customer**](docs/CustomersApi.md#get_customer) | **GET** /customers/{id} | Retrieve a customer by ID
98
+ *SubfiPay::CustomersApi* | [**list_customers**](docs/CustomersApi.md#list_customers) | **GET** /customers | List all customers
99
+ *SubfiPay::CustomersApi* | [**update_customer**](docs/CustomersApi.md#update_customer) | **PATCH** /customers/{id} | Update a customer by ID
100
+ *SubfiPay::EventsApi* | [**get_event**](docs/EventsApi.md#get_event) | **GET** /events/{id} | Retrieve a single event by ID
101
+ *SubfiPay::EventsApi* | [**list_events**](docs/EventsApi.md#list_events) | **GET** /events | List all events
102
+ *SubfiPay::PaymentIntentsApi* | [**cancel_payment_intent**](docs/PaymentIntentsApi.md#cancel_payment_intent) | **POST** /payment_intents/{id}/cancel | Cancel a payment intent
103
+ *SubfiPay::PaymentIntentsApi* | [**capture_payment_intent**](docs/PaymentIntentsApi.md#capture_payment_intent) | **POST** /payment_intents/{id}/capture | Capture a payment intent
104
+ *SubfiPay::PaymentIntentsApi* | [**confirm_payment_intent**](docs/PaymentIntentsApi.md#confirm_payment_intent) | **POST** /payment_intents/{id}/confirm | Confirm a payment intent
105
+ *SubfiPay::PaymentIntentsApi* | [**create_payment_intent**](docs/PaymentIntentsApi.md#create_payment_intent) | **POST** /payment_intents | Create a new payment intent
106
+ *SubfiPay::PaymentIntentsApi* | [**get_payment_intent**](docs/PaymentIntentsApi.md#get_payment_intent) | **GET** /payment_intents/{id} | Retrieve a payment intent by ID
107
+ *SubfiPay::PaymentIntentsApi* | [**list_payment_intents**](docs/PaymentIntentsApi.md#list_payment_intents) | **GET** /payment_intents | List payment intents
108
+ *SubfiPay::PaymentIntentsApi* | [**update_payment_intent**](docs/PaymentIntentsApi.md#update_payment_intent) | **PATCH** /payment_intents/{id} | Update a payment intent
109
+ *SubfiPay::PaymentMethodsApi* | [**create_payment_method**](docs/PaymentMethodsApi.md#create_payment_method) | **POST** /payment_methods | Create a payment method
110
+ *SubfiPay::PaymentMethodsApi* | [**get_payment_method**](docs/PaymentMethodsApi.md#get_payment_method) | **GET** /payment_methods/{id} | Retrieve a payment method
111
+ *SubfiPay::PaymentMethodsApi* | [**list_payment_methods**](docs/PaymentMethodsApi.md#list_payment_methods) | **GET** /payment_methods | List all payment methods
112
+ *SubfiPay::RefundsApi* | [**cancel_refund**](docs/RefundsApi.md#cancel_refund) | **PUT** /refunds/{id}/cancel | Cancel a refund
113
+ *SubfiPay::RefundsApi* | [**create_refund**](docs/RefundsApi.md#create_refund) | **POST** /refunds | Create a refund
114
+ *SubfiPay::RefundsApi* | [**get_refund**](docs/RefundsApi.md#get_refund) | **GET** /refunds/{id} | Get a refund by ID
115
+ *SubfiPay::RefundsApi* | [**list_refunds**](docs/RefundsApi.md#list_refunds) | **GET** /refunds | List refunds for a Charge
116
+ *SubfiPay::SubscriptionsApi* | [**create_subscription**](docs/SubscriptionsApi.md#create_subscription) | **POST** /subscriptions | Create a new subscription
117
+ *SubfiPay::SubscriptionsApi* | [**get_subscription**](docs/SubscriptionsApi.md#get_subscription) | **GET** /subscriptions/{id} | Retrieve a subscription by ID
118
+ *SubfiPay::WebhookEndpointsApi* | [**create_webhook_endpoint**](docs/WebhookEndpointsApi.md#create_webhook_endpoint) | **POST** /webhook_endpoints | Create a webhook endpoint
119
+ *SubfiPay::WebhookEndpointsApi* | [**delete_webhook_endpoint**](docs/WebhookEndpointsApi.md#delete_webhook_endpoint) | **DELETE** /webhook_endpoints/{id} | Delete a webhook endpoint by ID
120
+ *SubfiPay::WebhookEndpointsApi* | [**get_webhook_endpoint**](docs/WebhookEndpointsApi.md#get_webhook_endpoint) | **GET** /webhook_endpoints/{id} | Retrieve a webhook endpoint by ID
121
+ *SubfiPay::WebhookEndpointsApi* | [**list_webhook_endpoints**](docs/WebhookEndpointsApi.md#list_webhook_endpoints) | **GET** /webhook_endpoints | List all webhook endpoints
122
+ *SubfiPay::WebhookEndpointsApi* | [**update_webhook_endpoint**](docs/WebhookEndpointsApi.md#update_webhook_endpoint) | **PATCH** /webhook_endpoints/{id} | Update a webhook endpoint by ID
123
+ *SubfiPay::WebhookRequestsApi* | [**list_webhook_requests**](docs/WebhookRequestsApi.md#list_webhook_requests) | **GET** /webhook_requests | List all webhook requests
124
124
 
125
125
 
126
126
  ## Documentation for Models
127
127
 
128
- - [SubFiPay::AccessKey](docs/AccessKey.md)
129
- - [SubFiPay::AccountAttributes](docs/AccountAttributes.md)
130
- - [SubFiPay::AccountCreateRequest](docs/AccountCreateRequest.md)
131
- - [SubFiPay::AccountResponse](docs/AccountResponse.md)
132
- - [SubFiPay::BalanceTransactionResponse](docs/BalanceTransactionResponse.md)
133
- - [SubFiPay::BankAccountProfile](docs/BankAccountProfile.md)
134
- - [SubFiPay::BillingAddress](docs/BillingAddress.md)
135
- - [SubFiPay::CardProfile](docs/CardProfile.md)
136
- - [SubFiPay::ChargeAttributes](docs/ChargeAttributes.md)
137
- - [SubFiPay::ChargeResponse](docs/ChargeResponse.md)
138
- - [SubFiPay::ConnectedAccountAttributes](docs/ConnectedAccountAttributes.md)
139
- - [SubFiPay::ConnectedAccountResponse](docs/ConnectedAccountResponse.md)
140
- - [SubFiPay::CreateWebhookEndpointRequest](docs/CreateWebhookEndpointRequest.md)
141
- - [SubFiPay::CreateWebhookEndpointRequestWebhookEndpoint](docs/CreateWebhookEndpointRequestWebhookEndpoint.md)
142
- - [SubFiPay::Customer](docs/Customer.md)
143
- - [SubFiPay::CustomerAttributes](docs/CustomerAttributes.md)
144
- - [SubFiPay::CustomerCreateRequest](docs/CustomerCreateRequest.md)
145
- - [SubFiPay::CustomerUpdateAttributes](docs/CustomerUpdateAttributes.md)
146
- - [SubFiPay::CustomerUpdateRequest](docs/CustomerUpdateRequest.md)
147
- - [SubFiPay::Event](docs/Event.md)
148
- - [SubFiPay::ListAccessKeysResponse](docs/ListAccessKeysResponse.md)
149
- - [SubFiPay::ListAccountsResponse](docs/ListAccountsResponse.md)
150
- - [SubFiPay::ListBalanceTransactionsResponse](docs/ListBalanceTransactionsResponse.md)
151
- - [SubFiPay::ListChargesResponse](docs/ListChargesResponse.md)
152
- - [SubFiPay::ListCustomersResponse](docs/ListCustomersResponse.md)
153
- - [SubFiPay::ListEventsResponse](docs/ListEventsResponse.md)
154
- - [SubFiPay::ListPaymentIntentsResponse](docs/ListPaymentIntentsResponse.md)
155
- - [SubFiPay::ListPaymentMethodsResponse](docs/ListPaymentMethodsResponse.md)
156
- - [SubFiPay::ListRefundsResponse](docs/ListRefundsResponse.md)
157
- - [SubFiPay::ListWebhookEndpointsResponse](docs/ListWebhookEndpointsResponse.md)
158
- - [SubFiPay::ListWebhookRequestsResponse](docs/ListWebhookRequestsResponse.md)
159
- - [SubFiPay::Meta](docs/Meta.md)
160
- - [SubFiPay::PaymentIntentAttributes](docs/PaymentIntentAttributes.md)
161
- - [SubFiPay::PaymentIntentCreateRequest](docs/PaymentIntentCreateRequest.md)
162
- - [SubFiPay::PaymentIntentResponse](docs/PaymentIntentResponse.md)
163
- - [SubFiPay::PaymentIntentUpdateAttributes](docs/PaymentIntentUpdateAttributes.md)
164
- - [SubFiPay::PaymentIntentUpdateAttributesPaymentIntent](docs/PaymentIntentUpdateAttributesPaymentIntent.md)
165
- - [SubFiPay::PaymentMethodAttributes](docs/PaymentMethodAttributes.md)
166
- - [SubFiPay::PaymentMethodResponse](docs/PaymentMethodResponse.md)
167
- - [SubFiPay::RefundAttributes](docs/RefundAttributes.md)
168
- - [SubFiPay::RefundResponse](docs/RefundResponse.md)
169
- - [SubFiPay::RollAccessKeyAttributes](docs/RollAccessKeyAttributes.md)
170
- - [SubFiPay::RollAccessKeyAttributesAccessKey](docs/RollAccessKeyAttributesAccessKey.md)
171
- - [SubFiPay::SubscriptionAttributes](docs/SubscriptionAttributes.md)
172
- - [SubFiPay::SubscriptionCreateRequest](docs/SubscriptionCreateRequest.md)
173
- - [SubFiPay::SubscriptionResponse](docs/SubscriptionResponse.md)
174
- - [SubFiPay::WebhookEndpoint](docs/WebhookEndpoint.md)
175
- - [SubFiPay::WebhookRequest](docs/WebhookRequest.md)
128
+ - [SubfiPay::AccessKey](docs/AccessKey.md)
129
+ - [SubfiPay::AccountAttributes](docs/AccountAttributes.md)
130
+ - [SubfiPay::AccountCreateRequest](docs/AccountCreateRequest.md)
131
+ - [SubfiPay::AccountResponse](docs/AccountResponse.md)
132
+ - [SubfiPay::BalanceTransactionResponse](docs/BalanceTransactionResponse.md)
133
+ - [SubfiPay::BankAccountProfile](docs/BankAccountProfile.md)
134
+ - [SubfiPay::BillingAddress](docs/BillingAddress.md)
135
+ - [SubfiPay::CardProfile](docs/CardProfile.md)
136
+ - [SubfiPay::ChargeAttributes](docs/ChargeAttributes.md)
137
+ - [SubfiPay::ChargeResponse](docs/ChargeResponse.md)
138
+ - [SubfiPay::ConnectedAccountAttributes](docs/ConnectedAccountAttributes.md)
139
+ - [SubfiPay::ConnectedAccountResponse](docs/ConnectedAccountResponse.md)
140
+ - [SubfiPay::CreateWebhookEndpointRequest](docs/CreateWebhookEndpointRequest.md)
141
+ - [SubfiPay::CreateWebhookEndpointRequestWebhookEndpoint](docs/CreateWebhookEndpointRequestWebhookEndpoint.md)
142
+ - [SubfiPay::Customer](docs/Customer.md)
143
+ - [SubfiPay::CustomerAttributes](docs/CustomerAttributes.md)
144
+ - [SubfiPay::CustomerCreateRequest](docs/CustomerCreateRequest.md)
145
+ - [SubfiPay::CustomerUpdateAttributes](docs/CustomerUpdateAttributes.md)
146
+ - [SubfiPay::CustomerUpdateRequest](docs/CustomerUpdateRequest.md)
147
+ - [SubfiPay::Event](docs/Event.md)
148
+ - [SubfiPay::ListAccessKeysResponse](docs/ListAccessKeysResponse.md)
149
+ - [SubfiPay::ListAccountsResponse](docs/ListAccountsResponse.md)
150
+ - [SubfiPay::ListBalanceTransactionsResponse](docs/ListBalanceTransactionsResponse.md)
151
+ - [SubfiPay::ListChargesResponse](docs/ListChargesResponse.md)
152
+ - [SubfiPay::ListCustomersResponse](docs/ListCustomersResponse.md)
153
+ - [SubfiPay::ListEventsResponse](docs/ListEventsResponse.md)
154
+ - [SubfiPay::ListPaymentIntentsResponse](docs/ListPaymentIntentsResponse.md)
155
+ - [SubfiPay::ListPaymentMethodsResponse](docs/ListPaymentMethodsResponse.md)
156
+ - [SubfiPay::ListRefundsResponse](docs/ListRefundsResponse.md)
157
+ - [SubfiPay::ListWebhookEndpointsResponse](docs/ListWebhookEndpointsResponse.md)
158
+ - [SubfiPay::ListWebhookRequestsResponse](docs/ListWebhookRequestsResponse.md)
159
+ - [SubfiPay::Meta](docs/Meta.md)
160
+ - [SubfiPay::PaymentIntentAttributes](docs/PaymentIntentAttributes.md)
161
+ - [SubfiPay::PaymentIntentCreateRequest](docs/PaymentIntentCreateRequest.md)
162
+ - [SubfiPay::PaymentIntentResponse](docs/PaymentIntentResponse.md)
163
+ - [SubfiPay::PaymentIntentUpdateAttributes](docs/PaymentIntentUpdateAttributes.md)
164
+ - [SubfiPay::PaymentIntentUpdateAttributesPaymentIntent](docs/PaymentIntentUpdateAttributesPaymentIntent.md)
165
+ - [SubfiPay::PaymentMethodAttributes](docs/PaymentMethodAttributes.md)
166
+ - [SubfiPay::PaymentMethodResponse](docs/PaymentMethodResponse.md)
167
+ - [SubfiPay::RefundAttributes](docs/RefundAttributes.md)
168
+ - [SubfiPay::RefundResponse](docs/RefundResponse.md)
169
+ - [SubfiPay::RollAccessKeyAttributes](docs/RollAccessKeyAttributes.md)
170
+ - [SubfiPay::RollAccessKeyAttributesAccessKey](docs/RollAccessKeyAttributesAccessKey.md)
171
+ - [SubfiPay::SubscriptionAttributes](docs/SubscriptionAttributes.md)
172
+ - [SubfiPay::SubscriptionCreateRequest](docs/SubscriptionCreateRequest.md)
173
+ - [SubfiPay::SubscriptionResponse](docs/SubscriptionResponse.md)
174
+ - [SubfiPay::WebhookEndpoint](docs/WebhookEndpoint.md)
175
+ - [SubfiPay::WebhookRequest](docs/WebhookRequest.md)
176
176
 
177
177
 
178
178
  ## Documentation for Authorization
data/docs/AccessKey.md CHANGED
@@ -1,4 +1,4 @@
1
- # SubFiPay::AccessKey
1
+ # SubfiPay::AccessKey
2
2
 
3
3
  ## Properties
4
4
 
@@ -18,7 +18,7 @@
18
18
  ```ruby
19
19
  require 'subfi_pay'
20
20
 
21
- instance = SubFiPay::AccessKey.new(
21
+ instance = SubfiPay::AccessKey.new(
22
22
  expires_at: null,
23
23
  key: null,
24
24
  live: null,
@@ -1,4 +1,4 @@
1
- # SubFiPay::AccessKeysApi
1
+ # SubfiPay::AccessKeysApi
2
2
 
3
3
  All URIs are relative to *https://pay-sandbox.subfi.com*
4
4
 
@@ -21,21 +21,21 @@ Delete an access key by ID
21
21
  require 'time'
22
22
  require 'subfi_pay'
23
23
  # setup authorization
24
- SubFiPay.configure do |config|
24
+ SubfiPay.configure do |config|
25
25
  # Configure API key authorization: ApiKeyAuth
26
26
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
27
27
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
28
28
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
29
29
  end
30
30
 
31
- api_instance = SubFiPay::AccessKeysApi.new
31
+ api_instance = SubfiPay::AccessKeysApi.new
32
32
  x_api_version = 'x_api_version_example' # String |
33
33
  id = 'id_example' # String |
34
34
 
35
35
  begin
36
36
  # Delete an access key by ID
37
37
  api_instance.delete_access_key(x_api_version, id)
38
- rescue SubFiPay::ApiError => e
38
+ rescue SubfiPay::ApiError => e
39
39
  puts "Error when calling AccessKeysApi->delete_access_key: #{e}"
40
40
  end
41
41
  ```
@@ -53,7 +53,7 @@ begin
53
53
  p status_code # => 2xx
54
54
  p headers # => { ... }
55
55
  p data # => nil
56
- rescue SubFiPay::ApiError => e
56
+ rescue SubfiPay::ApiError => e
57
57
  puts "Error when calling AccessKeysApi->delete_access_key_with_http_info: #{e}"
58
58
  end
59
59
  ```
@@ -91,14 +91,14 @@ List all access keys
91
91
  require 'time'
92
92
  require 'subfi_pay'
93
93
  # setup authorization
94
- SubFiPay.configure do |config|
94
+ SubfiPay.configure do |config|
95
95
  # Configure API key authorization: ApiKeyAuth
96
96
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
97
97
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
98
98
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
99
99
  end
100
100
 
101
- api_instance = SubFiPay::AccessKeysApi.new
101
+ api_instance = SubfiPay::AccessKeysApi.new
102
102
  x_api_version = 'x_api_version_example' # String |
103
103
  opts = {
104
104
  page: 56, # Integer | The page of results to retrieve.
@@ -109,7 +109,7 @@ begin
109
109
  # List all access keys
110
110
  result = api_instance.list_access_keys(x_api_version, opts)
111
111
  p result
112
- rescue SubFiPay::ApiError => e
112
+ rescue SubfiPay::ApiError => e
113
113
  puts "Error when calling AccessKeysApi->list_access_keys: #{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 # => <ListAccessKeysResponse>
130
- rescue SubFiPay::ApiError => e
130
+ rescue SubfiPay::ApiError => e
131
131
  puts "Error when calling AccessKeysApi->list_access_keys_with_http_info: #{e}"
132
132
  end
133
133
  ```
@@ -166,23 +166,23 @@ Roll an access key by ID
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::AccessKeysApi.new
176
+ api_instance = SubfiPay::AccessKeysApi.new
177
177
  x_api_version = 'x_api_version_example' # String |
178
178
  id = 'id_example' # String |
179
- roll_access_key_attributes = SubFiPay::RollAccessKeyAttributes.new # RollAccessKeyAttributes |
179
+ roll_access_key_attributes = SubfiPay::RollAccessKeyAttributes.new # RollAccessKeyAttributes |
180
180
 
181
181
  begin
182
182
  # Roll an access key by ID
183
183
  result = api_instance.roll_access_key(x_api_version, id, roll_access_key_attributes)
184
184
  p result
185
- rescue SubFiPay::ApiError => e
185
+ rescue SubfiPay::ApiError => e
186
186
  puts "Error when calling AccessKeysApi->roll_access_key: #{e}"
187
187
  end
188
188
  ```
@@ -200,7 +200,7 @@ begin
200
200
  p status_code # => 2xx
201
201
  p headers # => { ... }
202
202
  p data # => <AccessKey>
203
- rescue SubFiPay::ApiError => e
203
+ rescue SubfiPay::ApiError => e
204
204
  puts "Error when calling AccessKeysApi->roll_access_key_with_http_info: #{e}"
205
205
  end
206
206
  ```
@@ -1,4 +1,4 @@
1
- # SubFiPay::AccountAttributes
1
+ # SubfiPay::AccountAttributes
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'subfi_pay'
14
14
 
15
- instance = SubFiPay::AccountAttributes.new(
15
+ instance = SubfiPay::AccountAttributes.new(
16
16
  name: null,
17
17
  worldpay_merchant_id: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # SubFiPay::AccountCreateRequest
1
+ # SubfiPay::AccountCreateRequest
2
2
 
3
3
  ## Properties
4
4
 
@@ -11,7 +11,7 @@
11
11
  ```ruby
12
12
  require 'subfi_pay'
13
13
 
14
- instance = SubFiPay::AccountCreateRequest.new(
14
+ instance = SubfiPay::AccountCreateRequest.new(
15
15
  account: null
16
16
  )
17
17
  ```
@@ -1,4 +1,4 @@
1
- # SubFiPay::AccountResponse
1
+ # SubfiPay::AccountResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@
15
15
  ```ruby
16
16
  require 'subfi_pay'
17
17
 
18
- instance = SubFiPay::AccountResponse.new(
18
+ instance = SubfiPay::AccountResponse.new(
19
19
  name: null,
20
20
  active: null,
21
21
  worldpay_merchant_id: null,
data/docs/AccountsApi.md CHANGED
@@ -1,4 +1,4 @@
1
- # SubFiPay::AccountsApi
1
+ # SubfiPay::AccountsApi
2
2
 
3
3
  All URIs are relative to *https://pay-sandbox.subfi.com*
4
4
 
@@ -21,22 +21,22 @@ Create a new account
21
21
  require 'time'
22
22
  require 'subfi_pay'
23
23
  # setup authorization
24
- SubFiPay.configure do |config|
24
+ SubfiPay.configure do |config|
25
25
  # Configure API key authorization: ApiKeyAuth
26
26
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
27
27
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
28
28
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
29
29
  end
30
30
 
31
- api_instance = SubFiPay::AccountsApi.new
31
+ api_instance = SubfiPay::AccountsApi.new
32
32
  x_api_version = 'x_api_version_example' # String |
33
- account_create_request = SubFiPay::AccountCreateRequest.new # AccountCreateRequest |
33
+ account_create_request = SubfiPay::AccountCreateRequest.new # AccountCreateRequest |
34
34
 
35
35
  begin
36
36
  # Create a new account
37
37
  result = api_instance.create_account(x_api_version, account_create_request)
38
38
  p result
39
- rescue SubFiPay::ApiError => e
39
+ rescue SubfiPay::ApiError => e
40
40
  puts "Error when calling AccountsApi->create_account: #{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 # => <AccountResponse>
57
- rescue SubFiPay::ApiError => e
57
+ rescue SubfiPay::ApiError => e
58
58
  puts "Error when calling AccountsApi->create_account_with_http_info: #{e}"
59
59
  end
60
60
  ```
@@ -92,14 +92,14 @@ Retrieve an account by ID
92
92
  require 'time'
93
93
  require 'subfi_pay'
94
94
  # setup authorization
95
- SubFiPay.configure do |config|
95
+ SubfiPay.configure do |config|
96
96
  # Configure API key authorization: ApiKeyAuth
97
97
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
98
98
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
99
99
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
100
100
  end
101
101
 
102
- api_instance = SubFiPay::AccountsApi.new
102
+ api_instance = SubfiPay::AccountsApi.new
103
103
  x_api_version = 'x_api_version_example' # String |
104
104
  id = 'id_example' # String |
105
105
 
@@ -107,7 +107,7 @@ begin
107
107
  # Retrieve an account by ID
108
108
  result = api_instance.get_account(x_api_version, id)
109
109
  p result
110
- rescue SubFiPay::ApiError => e
110
+ rescue SubfiPay::ApiError => e
111
111
  puts "Error when calling AccountsApi->get_account: #{e}"
112
112
  end
113
113
  ```
@@ -125,7 +125,7 @@ begin
125
125
  p status_code # => 2xx
126
126
  p headers # => { ... }
127
127
  p data # => <AccountResponse>
128
- rescue SubFiPay::ApiError => e
128
+ rescue SubfiPay::ApiError => e
129
129
  puts "Error when calling AccountsApi->get_account_with_http_info: #{e}"
130
130
  end
131
131
  ```
@@ -163,14 +163,14 @@ List all accounts
163
163
  require 'time'
164
164
  require 'subfi_pay'
165
165
  # setup authorization
166
- SubFiPay.configure do |config|
166
+ SubfiPay.configure do |config|
167
167
  # Configure API key authorization: ApiKeyAuth
168
168
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
169
169
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
170
170
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
171
171
  end
172
172
 
173
- api_instance = SubFiPay::AccountsApi.new
173
+ api_instance = SubfiPay::AccountsApi.new
174
174
  x_api_version = 'x_api_version_example' # String |
175
175
  opts = {
176
176
  page: 56, # Integer | The page of results to retrieve.
@@ -181,7 +181,7 @@ begin
181
181
  # List all accounts
182
182
  result = api_instance.list_accounts(x_api_version, opts)
183
183
  p result
184
- rescue SubFiPay::ApiError => e
184
+ rescue SubfiPay::ApiError => e
185
185
  puts "Error when calling AccountsApi->list_accounts: #{e}"
186
186
  end
187
187
  ```
@@ -199,7 +199,7 @@ begin
199
199
  p status_code # => 2xx
200
200
  p headers # => { ... }
201
201
  p data # => <ListAccountsResponse>
202
- rescue SubFiPay::ApiError => e
202
+ rescue SubfiPay::ApiError => e
203
203
  puts "Error when calling AccountsApi->list_accounts_with_http_info: #{e}"
204
204
  end
205
205
  ```
@@ -1,4 +1,4 @@
1
- # SubFiPay::BalanceTransactionResponse
1
+ # SubfiPay::BalanceTransactionResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -21,7 +21,7 @@
21
21
  ```ruby
22
22
  require 'subfi_pay'
23
23
 
24
- instance = SubFiPay::BalanceTransactionResponse.new(
24
+ instance = SubfiPay::BalanceTransactionResponse.new(
25
25
  id: null,
26
26
  created_at: null,
27
27
  updated_at: null,
@@ -1,4 +1,4 @@
1
- # SubFiPay::BalanceTransactionsApi
1
+ # SubfiPay::BalanceTransactionsApi
2
2
 
3
3
  All URIs are relative to *https://pay-sandbox.subfi.com*
4
4
 
@@ -19,14 +19,14 @@ List all balance transactions
19
19
  require 'time'
20
20
  require 'subfi_pay'
21
21
  # setup authorization
22
- SubFiPay.configure do |config|
22
+ SubfiPay.configure do |config|
23
23
  # Configure API key authorization: ApiKeyAuth
24
24
  config.api_key['ApiKeyAuth'] = 'YOUR API KEY'
25
25
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
26
  # config.api_key_prefix['ApiKeyAuth'] = 'Bearer'
27
27
  end
28
28
 
29
- api_instance = SubFiPay::BalanceTransactionsApi.new
29
+ api_instance = SubfiPay::BalanceTransactionsApi.new
30
30
  x_api_version = 'x_api_version_example' # String |
31
31
  x_account_id = 'x_account_id_example' # String |
32
32
  opts = {
@@ -39,7 +39,7 @@ begin
39
39
  # List all balance transactions
40
40
  result = api_instance.list_balance_transactions(x_api_version, x_account_id, opts)
41
41
  p result
42
- rescue SubFiPay::ApiError => e
42
+ rescue SubfiPay::ApiError => e
43
43
  puts "Error when calling BalanceTransactionsApi->list_balance_transactions: #{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 # => <ListBalanceTransactionsResponse>
60
- rescue SubFiPay::ApiError => e
60
+ rescue SubfiPay::ApiError => e
61
61
  puts "Error when calling BalanceTransactionsApi->list_balance_transactions_with_http_info: #{e}"
62
62
  end
63
63
  ```
@@ -1,4 +1,4 @@
1
- # SubFiPay::BankAccountProfile
1
+ # SubfiPay::BankAccountProfile
2
2
 
3
3
  ## Properties
4
4
 
@@ -16,7 +16,7 @@
16
16
  ```ruby
17
17
  require 'subfi_pay'
18
18
 
19
- instance = SubFiPay::BankAccountProfile.new(
19
+ instance = SubfiPay::BankAccountProfile.new(
20
20
  account_holder_name: null,
21
21
  bank_name: null,
22
22
  account_holder_type: null,
@@ -1,4 +1,4 @@
1
- # SubFiPay::BillingAddress
1
+ # SubfiPay::BillingAddress
2
2
 
3
3
  ## Properties
4
4
 
@@ -20,7 +20,7 @@
20
20
  ```ruby
21
21
  require 'subfi_pay'
22
22
 
23
- instance = SubFiPay::BillingAddress.new(
23
+ instance = SubfiPay::BillingAddress.new(
24
24
  first_name: null,
25
25
  last_name: null,
26
26
  email: null,