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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +93 -93
- data/docs/AccessKey.md +2 -2
- data/docs/AccessKeysApi.md +14 -14
- data/docs/AccountAttributes.md +2 -2
- data/docs/AccountCreateRequest.md +2 -2
- data/docs/AccountResponse.md +2 -2
- data/docs/AccountsApi.md +14 -14
- data/docs/BalanceTransactionResponse.md +2 -2
- data/docs/BalanceTransactionsApi.md +5 -5
- data/docs/BankAccountProfile.md +2 -2
- data/docs/BillingAddress.md +2 -2
- data/docs/CardProfile.md +2 -2
- data/docs/ChargeAttributes.md +2 -2
- data/docs/ChargeResponse.md +2 -2
- data/docs/ChargesApi.md +9 -9
- data/docs/ConnectedAccountAttributes.md +2 -2
- data/docs/ConnectedAccountResponse.md +2 -2
- data/docs/CreateWebhookEndpointRequest.md +2 -2
- data/docs/CreateWebhookEndpointRequestWebhookEndpoint.md +2 -2
- data/docs/Customer.md +2 -2
- data/docs/CustomerAttributes.md +2 -2
- data/docs/CustomerCreateRequest.md +2 -2
- data/docs/CustomerUpdateAttributes.md +2 -2
- data/docs/CustomerUpdateRequest.md +2 -2
- data/docs/CustomersApi.md +19 -19
- data/docs/Event.md +2 -2
- data/docs/EventsApi.md +9 -9
- data/docs/ListAccessKeysResponse.md +2 -2
- data/docs/ListAccountsResponse.md +2 -2
- data/docs/ListBalanceTransactionsResponse.md +2 -2
- data/docs/ListChargesResponse.md +2 -2
- data/docs/ListCustomersResponse.md +2 -2
- data/docs/ListEventsResponse.md +2 -2
- data/docs/ListPaymentIntentsResponse.md +2 -2
- data/docs/ListPaymentMethodsResponse.md +2 -2
- data/docs/ListRefundsResponse.md +2 -2
- data/docs/ListWebhookEndpointsResponse.md +2 -2
- data/docs/ListWebhookRequestsResponse.md +2 -2
- data/docs/Meta.md +2 -2
- data/docs/PaymentIntentAttributes.md +2 -2
- data/docs/PaymentIntentCreateRequest.md +2 -2
- data/docs/PaymentIntentResponse.md +2 -2
- data/docs/PaymentIntentUpdateAttributes.md +2 -2
- data/docs/PaymentIntentUpdateAttributesPaymentIntent.md +2 -2
- data/docs/PaymentIntentsApi.md +31 -31
- data/docs/PaymentMethodAttributes.md +2 -2
- data/docs/PaymentMethodResponse.md +2 -2
- data/docs/PaymentMethodsApi.md +14 -14
- data/docs/RefundAttributes.md +2 -2
- data/docs/RefundResponse.md +2 -2
- data/docs/RefundsApi.md +18 -18
- data/docs/RollAccessKeyAttributes.md +2 -2
- data/docs/RollAccessKeyAttributesAccessKey.md +2 -2
- data/docs/SubscriptionAttributes.md +2 -2
- data/docs/SubscriptionCreateRequest.md +2 -2
- data/docs/SubscriptionResponse.md +2 -2
- data/docs/SubscriptionsApi.md +10 -10
- data/docs/WebhookEndpoint.md +2 -2
- data/docs/WebhookEndpointsApi.md +23 -23
- data/docs/WebhookRequest.md +2 -2
- data/docs/WebhookRequestsApi.md +5 -5
- data/lib/subfi_pay/api/access_keys_api.rb +1 -1
- data/lib/subfi_pay/api/accounts_api.rb +1 -1
- data/lib/subfi_pay/api/balance_transactions_api.rb +1 -1
- data/lib/subfi_pay/api/charges_api.rb +1 -1
- data/lib/subfi_pay/api/customers_api.rb +1 -1
- data/lib/subfi_pay/api/events_api.rb +1 -1
- data/lib/subfi_pay/api/payment_intents_api.rb +1 -1
- data/lib/subfi_pay/api/payment_methods_api.rb +1 -1
- data/lib/subfi_pay/api/refunds_api.rb +1 -1
- data/lib/subfi_pay/api/subscriptions_api.rb +1 -1
- data/lib/subfi_pay/api/webhook_endpoints_api.rb +1 -1
- data/lib/subfi_pay/api/webhook_requests_api.rb +1 -1
- data/lib/subfi_pay/api_client.rb +2 -2
- data/lib/subfi_pay/api_error.rb +1 -1
- data/lib/subfi_pay/configuration.rb +1 -1
- data/lib/subfi_pay/models/access_key.rb +4 -4
- data/lib/subfi_pay/models/account_attributes.rb +4 -4
- data/lib/subfi_pay/models/account_create_request.rb +4 -4
- data/lib/subfi_pay/models/account_response.rb +4 -4
- data/lib/subfi_pay/models/balance_transaction_response.rb +4 -4
- data/lib/subfi_pay/models/bank_account_profile.rb +4 -4
- data/lib/subfi_pay/models/billing_address.rb +4 -4
- data/lib/subfi_pay/models/card_profile.rb +4 -4
- data/lib/subfi_pay/models/charge_attributes.rb +4 -4
- data/lib/subfi_pay/models/charge_response.rb +4 -4
- data/lib/subfi_pay/models/connected_account_attributes.rb +4 -4
- data/lib/subfi_pay/models/connected_account_response.rb +4 -4
- data/lib/subfi_pay/models/create_webhook_endpoint_request.rb +4 -4
- data/lib/subfi_pay/models/create_webhook_endpoint_request_webhook_endpoint.rb +4 -4
- data/lib/subfi_pay/models/customer.rb +4 -4
- data/lib/subfi_pay/models/customer_attributes.rb +4 -4
- data/lib/subfi_pay/models/customer_create_request.rb +4 -4
- data/lib/subfi_pay/models/customer_update_attributes.rb +4 -4
- data/lib/subfi_pay/models/customer_update_request.rb +4 -4
- data/lib/subfi_pay/models/event.rb +4 -4
- data/lib/subfi_pay/models/list_access_keys_response.rb +4 -4
- data/lib/subfi_pay/models/list_accounts_response.rb +4 -4
- data/lib/subfi_pay/models/list_balance_transactions_response.rb +4 -4
- data/lib/subfi_pay/models/list_charges_response.rb +4 -4
- data/lib/subfi_pay/models/list_customers_response.rb +4 -4
- data/lib/subfi_pay/models/list_events_response.rb +4 -4
- data/lib/subfi_pay/models/list_payment_intents_response.rb +4 -4
- data/lib/subfi_pay/models/list_payment_methods_response.rb +4 -4
- data/lib/subfi_pay/models/list_refunds_response.rb +4 -4
- data/lib/subfi_pay/models/list_webhook_endpoints_response.rb +4 -4
- data/lib/subfi_pay/models/list_webhook_requests_response.rb +4 -4
- data/lib/subfi_pay/models/meta.rb +4 -4
- data/lib/subfi_pay/models/payment_intent_attributes.rb +4 -4
- data/lib/subfi_pay/models/payment_intent_create_request.rb +4 -4
- data/lib/subfi_pay/models/payment_intent_response.rb +4 -4
- data/lib/subfi_pay/models/payment_intent_update_attributes.rb +4 -4
- data/lib/subfi_pay/models/payment_intent_update_attributes_payment_intent.rb +4 -4
- data/lib/subfi_pay/models/payment_method_attributes.rb +4 -4
- data/lib/subfi_pay/models/payment_method_response.rb +4 -4
- data/lib/subfi_pay/models/refund_attributes.rb +4 -4
- data/lib/subfi_pay/models/refund_response.rb +4 -4
- data/lib/subfi_pay/models/roll_access_key_attributes.rb +4 -4
- data/lib/subfi_pay/models/roll_access_key_attributes_access_key.rb +4 -4
- data/lib/subfi_pay/models/subscription_attributes.rb +4 -4
- data/lib/subfi_pay/models/subscription_create_request.rb +4 -4
- data/lib/subfi_pay/models/subscription_response.rb +4 -4
- data/lib/subfi_pay/models/webhook_endpoint.rb +4 -4
- data/lib/subfi_pay/models/webhook_request.rb +4 -4
- data/lib/subfi_pay/version.rb +2 -2
- data/lib/subfi_pay.rb +2 -2
- data/spec/api/access_keys_api_spec.rb +6 -6
- data/spec/api/accounts_api_spec.rb +6 -6
- data/spec/api/balance_transactions_api_spec.rb +4 -4
- data/spec/api/charges_api_spec.rb +5 -5
- data/spec/api/customers_api_spec.rb +10 -10
- data/spec/api/events_api_spec.rb +7 -6
- data/spec/api/payment_intents_api_spec.rb +10 -10
- data/spec/api/payment_methods_api_spec.rb +11 -11
- data/spec/api/refunds_api_spec.rb +7 -7
- data/spec/api/subscriptions_api_spec.rb +5 -5
- data/spec/api/webhook_endpoints_api_spec.rb +9 -9
- data/spec/api/webhook_requests_api_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/access_key_spec.rb +4 -4
- data/spec/models/account_attributes_spec.rb +4 -4
- data/spec/models/account_create_request_spec.rb +4 -4
- data/spec/models/account_response_spec.rb +4 -4
- data/spec/models/balance_transaction_response_spec.rb +4 -4
- data/spec/models/bank_account_profile_spec.rb +4 -4
- data/spec/models/billing_address_spec.rb +4 -4
- data/spec/models/card_profile_spec.rb +4 -4
- data/spec/models/charge_attributes_spec.rb +4 -4
- data/spec/models/charge_response_spec.rb +4 -4
- data/spec/models/connected_account_attributes_spec.rb +4 -4
- data/spec/models/connected_account_response_spec.rb +4 -4
- data/spec/models/create_account_request_account_spec.rb +4 -4
- data/spec/models/create_account_request_spec.rb +4 -4
- data/spec/models/create_webhook_endpoint_request_spec.rb +4 -4
- data/spec/models/create_webhook_endpoint_request_webhook_endpoint_spec.rb +4 -4
- data/spec/models/customer_attributes_spec.rb +4 -4
- data/spec/models/customer_create_request_spec.rb +4 -4
- data/spec/models/customer_spec.rb +4 -4
- data/spec/models/customer_update_attributes_spec.rb +4 -4
- data/spec/models/customer_update_request_spec.rb +4 -4
- data/spec/models/event_spec.rb +4 -4
- data/spec/models/list_access_keys_response_spec.rb +4 -4
- data/spec/models/list_accounts_response_spec.rb +4 -4
- data/spec/models/list_balance_transactions_response_spec.rb +4 -4
- data/spec/models/list_charges_response_spec.rb +4 -4
- data/spec/models/list_customers_response_spec.rb +4 -4
- data/spec/models/list_events_response_spec.rb +4 -4
- data/spec/models/list_payment_intents_response_spec.rb +4 -4
- data/spec/models/list_payment_methods_response_spec.rb +4 -4
- data/spec/models/list_refunds_response_spec.rb +4 -4
- data/spec/models/list_webhook_endpoints_response_spec.rb +4 -4
- data/spec/models/list_webhook_requests_response_spec.rb +4 -4
- data/spec/models/meta_spec.rb +4 -4
- data/spec/models/payment_intent_attributes_spec.rb +4 -4
- data/spec/models/payment_intent_create_request_spec.rb +4 -4
- data/spec/models/payment_intent_response_spec.rb +4 -4
- data/spec/models/payment_intent_update_attributes_payment_intent_spec.rb +4 -4
- data/spec/models/payment_intent_update_attributes_spec.rb +4 -4
- data/spec/models/payment_method_attributes_spec.rb +4 -4
- data/spec/models/payment_method_response_spec.rb +4 -4
- data/spec/models/refund_attributes_spec.rb +4 -4
- data/spec/models/refund_response_spec.rb +4 -4
- data/spec/models/roll_access_key_attributes_access_key_spec.rb +4 -4
- data/spec/models/roll_access_key_attributes_spec.rb +4 -4
- data/spec/models/roll_access_key_request_access_key_spec.rb +4 -4
- data/spec/models/roll_access_key_request_spec.rb +4 -4
- data/spec/models/subscription_attributes_spec.rb +4 -4
- data/spec/models/subscription_create_request_spec.rb +4 -4
- data/spec/models/subscription_response_spec.rb +4 -4
- data/spec/models/webhook_endpoint_spec.rb +4 -4
- data/spec/models/webhook_request_spec.rb +4 -4
- data/subfi_pay.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c9913e5bc8cc033d59405897052e3bb4433927500b697ce93f1a2e77a40a996
|
4
|
+
data.tar.gz: 911013a33e74a496c8ffec94006ab5e1d4cde76bfcf77576186def8a7343508d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e29ad2155d50a229a868faf6ddb4c1a9b527455d47436d96d03d42ebe20a274b381f5df35df921b5c0fe6110bd83c7b3be845ce9b82cc9a411cca429f10591ec
|
7
|
+
data.tar.gz: 0dde0d3ca4b45045d294439a523795cad38e084e8dee3ea348ef9c6788d7fca2a46ed8abff5718c193fb3bf6eacd86958ac03a7b4889fd3eee57878e32fbabce
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# subfi_pay
|
2
2
|
|
3
|
-
|
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.
|
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.
|
27
|
+
gem install ./subfi_pay-0.1.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./subfi_pay-0.1.
|
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.
|
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
|
-
|
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 =
|
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
|
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
|
-
*
|
88
|
-
*
|
89
|
-
*
|
90
|
-
*
|
91
|
-
*
|
92
|
-
*
|
93
|
-
*
|
94
|
-
*
|
95
|
-
*
|
96
|
-
*
|
97
|
-
*
|
98
|
-
*
|
99
|
-
*
|
100
|
-
*
|
101
|
-
*
|
102
|
-
*
|
103
|
-
*
|
104
|
-
*
|
105
|
-
*
|
106
|
-
*
|
107
|
-
*
|
108
|
-
*
|
109
|
-
*
|
110
|
-
*
|
111
|
-
*
|
112
|
-
*
|
113
|
-
*
|
114
|
-
*
|
115
|
-
*
|
116
|
-
*
|
117
|
-
*
|
118
|
-
*
|
119
|
-
*
|
120
|
-
*
|
121
|
-
*
|
122
|
-
*
|
123
|
-
*
|
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
|
-
- [
|
129
|
-
- [
|
130
|
-
- [
|
131
|
-
- [
|
132
|
-
- [
|
133
|
-
- [
|
134
|
-
- [
|
135
|
-
- [
|
136
|
-
- [
|
137
|
-
- [
|
138
|
-
- [
|
139
|
-
- [
|
140
|
-
- [
|
141
|
-
- [
|
142
|
-
- [
|
143
|
-
- [
|
144
|
-
- [
|
145
|
-
- [
|
146
|
-
- [
|
147
|
-
- [
|
148
|
-
- [
|
149
|
-
- [
|
150
|
-
- [
|
151
|
-
- [
|
152
|
-
- [
|
153
|
-
- [
|
154
|
-
- [
|
155
|
-
- [
|
156
|
-
- [
|
157
|
-
- [
|
158
|
-
- [
|
159
|
-
- [
|
160
|
-
- [
|
161
|
-
- [
|
162
|
-
- [
|
163
|
-
- [
|
164
|
-
- [
|
165
|
-
- [
|
166
|
-
- [
|
167
|
-
- [
|
168
|
-
- [
|
169
|
-
- [
|
170
|
-
- [
|
171
|
-
- [
|
172
|
-
- [
|
173
|
-
- [
|
174
|
-
- [
|
175
|
-
- [
|
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
data/docs/AccessKeysApi.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
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
|
-
|
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 =
|
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
|
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
|
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
|
-
|
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 =
|
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
|
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
|
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
|
-
|
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 =
|
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 =
|
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
|
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
|
203
|
+
rescue SubfiPay::ApiError => e
|
204
204
|
puts "Error when calling AccessKeysApi->roll_access_key_with_http_info: #{e}"
|
205
205
|
end
|
206
206
|
```
|
data/docs/AccountAttributes.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
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 =
|
15
|
+
instance = SubfiPay::AccountAttributes.new(
|
16
16
|
name: null,
|
17
17
|
worldpay_merchant_id: null
|
18
18
|
)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
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 =
|
14
|
+
instance = SubfiPay::AccountCreateRequest.new(
|
15
15
|
account: null
|
16
16
|
)
|
17
17
|
```
|
data/docs/AccountResponse.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
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 =
|
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
|
-
#
|
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
|
-
|
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 =
|
31
|
+
api_instance = SubfiPay::AccountsApi.new
|
32
32
|
x_api_version = 'x_api_version_example' # String |
|
33
|
-
account_create_request =
|
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
|
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
|
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
|
-
|
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 =
|
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
|
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
|
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
|
-
|
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 =
|
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
|
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
|
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
|
-
#
|
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 =
|
24
|
+
instance = SubfiPay::BalanceTransactionResponse.new(
|
25
25
|
id: null,
|
26
26
|
created_at: null,
|
27
27
|
updated_at: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
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
|
-
|
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 =
|
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
|
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
|
60
|
+
rescue SubfiPay::ApiError => e
|
61
61
|
puts "Error when calling BalanceTransactionsApi->list_balance_transactions_with_http_info: #{e}"
|
62
62
|
end
|
63
63
|
```
|
data/docs/BankAccountProfile.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
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 =
|
19
|
+
instance = SubfiPay::BankAccountProfile.new(
|
20
20
|
account_holder_name: null,
|
21
21
|
bank_name: null,
|
22
22
|
account_holder_type: null,
|
data/docs/BillingAddress.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
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 =
|
23
|
+
instance = SubfiPay::BillingAddress.new(
|
24
24
|
first_name: null,
|
25
25
|
last_name: null,
|
26
26
|
email: null,
|