devdraft 1.0.2 → 1.0.3
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/README.md +155 -253
- data/Rakefile +2 -0
- data/devdraft-1.0.0.gem +0 -0
- data/{devdraft_ai_sdk.gemspec → devdraft.gemspec} +15 -11
- data/docs/APIHealthApi.md +82 -30
- data/docs/AggregatedBalanceResponse.md +19 -6
- data/docs/AllBalancesResponse.md +19 -6
- data/docs/AppBalancesApi.md +125 -65
- data/docs/BridgeFiatPaymentRail.md +15 -0
- data/docs/BridgePaymentRail.md +12 -3
- data/docs/CreateBankPaymentIntentDto.md +49 -21
- data/docs/CreateCustomerDto.md +25 -9
- data/docs/CreateDirectBankTransferDto.md +29 -11
- data/docs/CreateDirectWalletTransferDto.md +21 -7
- data/docs/CreateExternalBankTransferDto.md +40 -0
- data/docs/CreateExternalStablecoinTransferDto.md +28 -0
- data/docs/CreateInvoiceDto.md +45 -19
- data/docs/CreateLiquidationAddressDto.md +43 -18
- data/docs/CreatePaymentLinkDto.md +53 -28
- data/docs/CreateStablePaymentIntentDto.md +43 -18
- data/docs/CreateStablecoinConversionDto.md +23 -8
- data/docs/CreateTaxDto.md +26 -0
- data/docs/CreateWebhookDto.md +23 -8
- data/docs/CustomerStatus.md +12 -3
- data/docs/CustomerType.md +15 -0
- data/docs/CustomersApi.md +187 -114
- data/docs/DestinationCurrency.md +12 -3
- data/docs/ExchangeRateResponseDto.md +25 -9
- data/docs/ExchangeRatesApi.md +130 -72
- data/docs/FiatCurrency.md +12 -3
- data/docs/HealthResponseDto.md +25 -9
- data/docs/InvoiceProductDto.md +17 -5
- data/docs/InvoicesApi.md +177 -104
- data/docs/LiquidationAddressResponseDto.md +41 -17
- data/docs/LiquidationAddressesApi.md +115 -61
- data/docs/PaymentIntentsApi.md +93 -57
- data/docs/PaymentLinkProductDto.md +17 -5
- data/docs/PaymentLinksApi.md +175 -102
- data/docs/PaymentRequestDto.md +21 -7
- data/docs/PaymentResponseDto.md +23 -8
- data/docs/ProductsApi.md +307 -194
- data/docs/PublicHealthResponseDto.md +19 -6
- data/docs/RefundResponseDto.md +23 -8
- data/docs/StableCoinCurrency.md +12 -3
- data/docs/TaxControllerCreate201Response.md +30 -0
- data/docs/TaxControllerDeleteWithoutId400Response.md +22 -0
- data/docs/TaxControllerUpdateWithoutId400Response.md +22 -0
- data/docs/TaxesApi.md +374 -122
- data/docs/TestPaymentsApi.md +150 -60
- data/docs/TransfersApi.md +274 -72
- data/docs/UpdateCustomerDto.md +25 -9
- data/docs/UpdateTaxDto.md +26 -0
- data/docs/UpdateWebhookDto.md +23 -8
- data/docs/WalletsApi.md +44 -24
- data/docs/WebhookResponseDto.md +29 -11
- data/docs/WebhooksApi.md +225 -134
- data/git_push.sh +41 -28
- data/lib/devdraft/api/api_health_api.rb +32 -16
- data/lib/devdraft/api/app_balances_api.rb +45 -22
- data/lib/devdraft/api/customers_api.rb +124 -71
- data/lib/devdraft/api/exchange_rates_api.rb +49 -26
- data/lib/devdraft/api/invoices_api.rb +89 -53
- data/lib/devdraft/api/liquidation_addresses_api.rb +70 -44
- data/lib/devdraft/api/payment_intents_api.rb +62 -40
- data/lib/devdraft/api/payment_links_api.rb +85 -49
- data/lib/devdraft/api/products_api.rb +214 -216
- data/lib/devdraft/api/taxes_api.rb +257 -66
- data/lib/devdraft/api/test_payments_api.rb +70 -44
- data/lib/devdraft/api/transfers_api.rb +206 -46
- data/lib/devdraft/api/wallets_api.rb +18 -9
- data/lib/devdraft/api/webhooks_api.rb +109 -66
- data/lib/devdraft/api_client.rb +76 -71
- data/lib/devdraft/api_error.rb +5 -4
- data/lib/devdraft/api_model_base.rb +88 -0
- data/lib/devdraft/configuration.rb +121 -18
- data/lib/devdraft/models/aggregated_balance_response.rb +68 -101
- data/lib/devdraft/models/all_balances_response.rb +76 -99
- data/lib/devdraft/models/bridge_fiat_payment_rail.rb +45 -0
- data/lib/devdraft/models/bridge_payment_rail.rb +36 -24
- data/lib/devdraft/models/create_bank_payment_intent_dto.rb +191 -114
- data/lib/devdraft/models/create_customer_dto.rb +123 -113
- data/lib/devdraft/models/create_direct_bank_transfer_dto.rb +105 -104
- data/lib/devdraft/models/create_direct_wallet_transfer_dto.rb +89 -100
- data/lib/devdraft/models/create_external_bank_transfer_dto.rb +505 -0
- data/lib/devdraft/models/create_external_stablecoin_transfer_dto.rb +266 -0
- data/lib/devdraft/models/create_invoice_dto.rb +151 -121
- data/lib/devdraft/models/create_liquidation_address_dto.rb +195 -115
- data/lib/devdraft/models/create_payment_link_dto.rb +192 -214
- data/lib/devdraft/models/create_stable_payment_intent_dto.rb +324 -111
- data/lib/devdraft/models/create_stablecoin_conversion_dto.rb +102 -101
- data/lib/devdraft/models/create_tax_dto.rb +281 -0
- data/lib/devdraft/models/create_webhook_dto.rb +104 -101
- data/lib/devdraft/models/customer_status.rb +23 -10
- data/lib/devdraft/models/customer_type.rb +45 -0
- data/lib/devdraft/models/destination_currency.rb +27 -15
- data/lib/devdraft/models/exchange_rate_response_dto.rb +103 -102
- data/lib/devdraft/models/fiat_currency.rb +22 -10
- data/lib/devdraft/models/health_response_dto.rb +99 -106
- data/lib/devdraft/models/invoice_product_dto.rb +63 -98
- data/lib/devdraft/models/liquidation_address_response_dto.rb +147 -110
- data/lib/devdraft/models/payment_link_product_dto.rb +70 -98
- data/lib/devdraft/models/payment_request_dto.rb +77 -100
- data/lib/devdraft/models/payment_response_dto.rb +102 -101
- data/lib/devdraft/models/public_health_response_dto.rb +68 -101
- data/lib/devdraft/models/refund_response_dto.rb +102 -101
- data/lib/devdraft/models/stable_coin_currency.rb +21 -9
- data/lib/devdraft/models/tax_controller_create201_response.rb +201 -0
- data/lib/devdraft/models/tax_controller_delete_without_id400_response.rb +165 -0
- data/lib/devdraft/models/tax_controller_update_without_id400_response.rb +165 -0
- data/lib/devdraft/models/update_customer_dto.rb +117 -113
- data/lib/devdraft/models/update_tax_dto.rb +256 -0
- data/lib/devdraft/models/update_webhook_dto.rb +70 -101
- data/lib/devdraft/models/webhook_response_dto.rb +140 -103
- data/lib/devdraft/version.rb +6 -5
- data/lib/devdraft.rb +18 -27
- data/spec/api/api_health_api_spec.rb +10 -9
- data/spec/api/app_balances_api_spec.rb +11 -10
- data/spec/api/customers_api_spec.rb +25 -24
- data/spec/api/exchange_rates_api_spec.rb +11 -10
- data/spec/api/invoices_api_spec.rb +16 -15
- data/spec/api/liquidation_addresses_api_spec.rb +13 -12
- data/spec/api/payment_intents_api_spec.rb +12 -11
- data/spec/api/payment_links_api_spec.rb +14 -13
- data/spec/api/products_api_spec.rb +41 -40
- data/spec/api/taxes_api_spec.rb +51 -21
- data/spec/api/test_payments_api_spec.rb +14 -13
- data/spec/api/transfers_api_spec.rb +36 -13
- data/spec/api/wallets_api_spec.rb +9 -8
- data/spec/api/webhooks_api_spec.rb +20 -19
- data/spec/models/aggregated_balance_response_spec.rb +15 -19
- data/spec/models/all_balances_response_spec.rb +14 -18
- data/spec/models/bridge_fiat_payment_rail_spec.rb +30 -0
- data/spec/models/bridge_payment_rail_spec.rb +11 -15
- data/spec/models/create_bank_payment_intent_dto_spec.rb +29 -33
- data/spec/models/create_customer_dto_spec.rb +17 -25
- data/spec/models/create_direct_bank_transfer_dto_spec.rb +19 -23
- data/spec/models/create_direct_wallet_transfer_dto_spec.rb +15 -19
- data/spec/models/create_external_bank_transfer_dto_spec.rb +102 -0
- data/spec/models/create_external_stablecoin_transfer_dto_spec.rb +66 -0
- data/spec/models/create_invoice_dto_spec.rb +31 -35
- data/spec/models/create_liquidation_address_dto_spec.rb +28 -32
- data/spec/models/create_payment_link_dto_spec.rb +34 -76
- data/spec/models/create_stable_payment_intent_dto_spec.rb +26 -30
- data/spec/models/create_stablecoin_conversion_dto_spec.rb +16 -20
- data/spec/models/create_tax_dto_spec.rb +60 -0
- data/spec/models/create_webhook_dto_spec.rb +16 -20
- data/spec/models/customer_status_spec.rb +11 -15
- data/spec/models/customer_type_spec.rb +30 -0
- data/spec/models/destination_currency_spec.rb +11 -15
- data/spec/models/exchange_rate_response_dto_spec.rb +17 -21
- data/spec/models/fiat_currency_spec.rb +11 -15
- data/spec/models/health_response_dto_spec.rb +19 -23
- data/spec/models/invoice_product_dto_spec.rb +13 -17
- data/spec/models/liquidation_address_response_dto_spec.rb +25 -29
- data/spec/models/payment_link_product_dto_spec.rb +13 -17
- data/spec/models/payment_request_dto_spec.rb +15 -19
- data/spec/models/payment_response_dto_spec.rb +16 -20
- data/spec/models/public_health_response_dto_spec.rb +15 -19
- data/spec/models/refund_response_dto_spec.rb +16 -20
- data/spec/models/stable_coin_currency_spec.rb +11 -15
- data/spec/models/tax_controller_create201_response_spec.rb +72 -0
- data/spec/models/tax_controller_delete_without_id400_response_spec.rb +48 -0
- data/spec/models/tax_controller_update_without_id400_response_spec.rb +48 -0
- data/spec/models/update_customer_dto_spec.rb +17 -25
- data/spec/models/update_tax_dto_spec.rb +60 -0
- data/spec/models/update_webhook_dto_spec.rb +16 -20
- data/spec/models/webhook_response_dto_spec.rb +19 -23
- data/spec/spec_helper.rb +5 -4
- metadata +49 -116
- data/docs/AllOfAllBalancesResponseEurc.md +0 -9
- data/docs/AllOfAllBalancesResponseUsdc.md +0 -9
- data/docs/AllOfCreateBankPaymentIntentDtoDestinationCurrency.md +0 -6
- data/docs/AllOfCreateBankPaymentIntentDtoDestinationNetwork.md +0 -6
- data/docs/AllOfCreateBankPaymentIntentDtoSourceCurrency.md +0 -6
- data/docs/AllOfCreateBankPaymentIntentDtoSourcePaymentRail.md +0 -6
- data/docs/AllOfCreateCustomerDtoStatus.md +0 -6
- data/docs/AllOfCreateLiquidationAddressDtoDestinationCurrency.md +0 -6
- data/docs/AllOfCreateLiquidationAddressDtoDestinationPaymentRail.md +0 -6
- data/docs/AllOfCreateStablePaymentIntentDtoDestinationCurrency.md +0 -6
- data/docs/AllOfCreateStablePaymentIntentDtoDestinationNetwork.md +0 -6
- data/docs/AllOfCreateStablePaymentIntentDtoSourceCurrency.md +0 -6
- data/docs/AllOfCreateStablePaymentIntentDtoSourceNetwork.md +0 -6
- data/docs/AllOfUpdateCustomerDtoStatus.md +0 -6
- data/docs/CreateProductDto.md +0 -18
- data/docs/CreateTaxInput.md +0 -6
- data/docs/UpdatePaymentLinkDto.md +0 -6
- data/docs/UpdatePreferenceInput.md +0 -6
- data/docs/UpdateProductDto.md +0 -18
- data/docs/UpdateTaxInput.md +0 -6
- data/example.rb +0 -129
- data/lib/devdraft/models/all_of_all_balances_response_eurc.rb +0 -283
- data/lib/devdraft/models/all_of_all_balances_response_usdc.rb +0 -283
- data/lib/devdraft/models/all_of_create_bank_payment_intent_dto_destination_currency.rb +0 -202
- data/lib/devdraft/models/all_of_create_bank_payment_intent_dto_destination_network.rb +0 -202
- data/lib/devdraft/models/all_of_create_bank_payment_intent_dto_source_currency.rb +0 -202
- data/lib/devdraft/models/all_of_create_bank_payment_intent_dto_source_payment_rail.rb +0 -202
- data/lib/devdraft/models/all_of_create_customer_dto_status.rb +0 -202
- data/lib/devdraft/models/all_of_create_liquidation_address_dto_destination_currency.rb +0 -202
- data/lib/devdraft/models/all_of_create_liquidation_address_dto_destination_payment_rail.rb +0 -202
- data/lib/devdraft/models/all_of_create_stable_payment_intent_dto_destination_currency.rb +0 -202
- data/lib/devdraft/models/all_of_create_stable_payment_intent_dto_destination_network.rb +0 -202
- data/lib/devdraft/models/all_of_create_stable_payment_intent_dto_source_currency.rb +0 -202
- data/lib/devdraft/models/all_of_create_stable_payment_intent_dto_source_network.rb +0 -202
- data/lib/devdraft/models/all_of_update_customer_dto_status.rb +0 -202
- data/lib/devdraft/models/create_product_dto.rb +0 -370
- data/lib/devdraft/models/create_tax_input.rb +0 -197
- data/lib/devdraft/models/update_payment_link_dto.rb +0 -197
- data/lib/devdraft/models/update_preference_input.rb +0 -197
- data/lib/devdraft/models/update_product_dto.rb +0 -355
- data/lib/devdraft/models/update_tax_input.rb +0 -197
- data/spec/api_client_spec.rb +0 -225
- data/spec/base_object_spec.rb +0 -109
- data/spec/configuration_spec.rb +0 -41
- data/spec/models/all_of_all_balances_response_eurc_spec.rb +0 -56
- data/spec/models/all_of_all_balances_response_usdc_spec.rb +0 -56
- data/spec/models/all_of_create_bank_payment_intent_dto_destination_currency_spec.rb +0 -34
- data/spec/models/all_of_create_bank_payment_intent_dto_destination_network_spec.rb +0 -34
- data/spec/models/all_of_create_bank_payment_intent_dto_source_currency_spec.rb +0 -34
- data/spec/models/all_of_create_bank_payment_intent_dto_source_payment_rail_spec.rb +0 -34
- data/spec/models/all_of_create_customer_dto_status_spec.rb +0 -34
- data/spec/models/all_of_create_liquidation_address_dto_destination_currency_spec.rb +0 -34
- data/spec/models/all_of_create_liquidation_address_dto_destination_payment_rail_spec.rb +0 -34
- data/spec/models/all_of_create_stable_payment_intent_dto_destination_currency_spec.rb +0 -34
- data/spec/models/all_of_create_stable_payment_intent_dto_destination_network_spec.rb +0 -34
- data/spec/models/all_of_create_stable_payment_intent_dto_source_currency_spec.rb +0 -34
- data/spec/models/all_of_create_stable_payment_intent_dto_source_network_spec.rb +0 -34
- data/spec/models/all_of_update_customer_dto_status_spec.rb +0 -34
- data/spec/models/create_product_dto_spec.rb +0 -110
- data/spec/models/create_tax_input_spec.rb +0 -34
- data/spec/models/update_payment_link_dto_spec.rb +0 -34
- data/spec/models/update_preference_input_spec.rb +0 -34
- data/spec/models/update_product_dto_spec.rb +0 -110
- data/spec/models/update_tax_input_spec.rb +0 -34
data/docs/APIHealthApi.md
CHANGED
|
@@ -1,34 +1,68 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Devdraft::APIHealthApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *https://api.devdraft.ai*
|
|
4
4
|
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
|
|
7
|
-
[**health_controller_check_v0**](APIHealthApi.md#health_controller_check_v0) | **GET** /api/v0/health | Authenticated health check endpoint
|
|
8
|
-
[**health_controller_public_health_check_v0**](APIHealthApi.md#health_controller_public_health_check_v0) | **GET** /api/v0/health/public | Public health check endpoint
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**health_controller_check_v0**](APIHealthApi.md#health_controller_check_v0) | **GET** /api/v0/health | Authenticated health check endpoint |
|
|
8
|
+
| [**health_controller_public_health_check_v0**](APIHealthApi.md#health_controller_public_health_check_v0) | **GET** /api/v0/health/public | Public health check endpoint |
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
|
|
11
|
+
## health_controller_check_v0
|
|
12
|
+
|
|
13
|
+
> <HealthResponseDto> health_controller_check_v0
|
|
12
14
|
|
|
13
15
|
Authenticated health check endpoint
|
|
14
16
|
|
|
15
|
-
###
|
|
17
|
+
### Examples
|
|
18
|
+
|
|
16
19
|
```ruby
|
|
17
|
-
|
|
18
|
-
require '
|
|
20
|
+
require 'time'
|
|
21
|
+
require 'devdraft'
|
|
22
|
+
# setup authorization
|
|
23
|
+
Devdraft.configure do |config|
|
|
24
|
+
# Configure API key authorization: x-client-secret
|
|
25
|
+
config.api_key['x-client-secret'] = 'YOUR API KEY'
|
|
26
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
27
|
+
# config.api_key_prefix['x-client-secret'] = 'Bearer'
|
|
28
|
+
|
|
29
|
+
# Configure API key authorization: x-client-key
|
|
30
|
+
config.api_key['x-client-key'] = 'YOUR API KEY'
|
|
31
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
32
|
+
# config.api_key_prefix['x-client-key'] = 'Bearer'
|
|
33
|
+
end
|
|
19
34
|
|
|
20
|
-
api_instance =
|
|
35
|
+
api_instance = Devdraft::APIHealthApi.new
|
|
21
36
|
|
|
22
37
|
begin
|
|
23
|
-
#Authenticated health check endpoint
|
|
38
|
+
# Authenticated health check endpoint
|
|
24
39
|
result = api_instance.health_controller_check_v0
|
|
25
40
|
p result
|
|
26
|
-
rescue
|
|
27
|
-
puts "
|
|
41
|
+
rescue Devdraft::ApiError => e
|
|
42
|
+
puts "Error when calling APIHealthApi->health_controller_check_v0: #{e}"
|
|
43
|
+
end
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### Using the health_controller_check_v0_with_http_info variant
|
|
47
|
+
|
|
48
|
+
This returns an Array which contains the response data, status code and headers.
|
|
49
|
+
|
|
50
|
+
> <Array(<HealthResponseDto>, Integer, Hash)> health_controller_check_v0_with_http_info
|
|
51
|
+
|
|
52
|
+
```ruby
|
|
53
|
+
begin
|
|
54
|
+
# Authenticated health check endpoint
|
|
55
|
+
data, status_code, headers = api_instance.health_controller_check_v0_with_http_info
|
|
56
|
+
p status_code # => 2xx
|
|
57
|
+
p headers # => { ... }
|
|
58
|
+
p data # => <HealthResponseDto>
|
|
59
|
+
rescue Devdraft::ApiError => e
|
|
60
|
+
puts "Error when calling APIHealthApi->health_controller_check_v0_with_http_info: #{e}"
|
|
28
61
|
end
|
|
29
62
|
```
|
|
30
63
|
|
|
31
64
|
### Parameters
|
|
65
|
+
|
|
32
66
|
This endpoint does not need any parameter.
|
|
33
67
|
|
|
34
68
|
### Return type
|
|
@@ -37,37 +71,57 @@ This endpoint does not need any parameter.
|
|
|
37
71
|
|
|
38
72
|
### Authorization
|
|
39
73
|
|
|
40
|
-
|
|
74
|
+
[x-client-secret](../README.md#x-client-secret), [x-client-key](../README.md#x-client-key)
|
|
41
75
|
|
|
42
76
|
### HTTP request headers
|
|
43
77
|
|
|
44
|
-
|
|
45
|
-
|
|
78
|
+
- **Content-Type**: Not defined
|
|
79
|
+
- **Accept**: application/json
|
|
46
80
|
|
|
47
81
|
|
|
82
|
+
## health_controller_public_health_check_v0
|
|
48
83
|
|
|
49
|
-
|
|
50
|
-
> PublicHealthResponseDto health_controller_public_health_check_v0
|
|
84
|
+
> <PublicHealthResponseDto> health_controller_public_health_check_v0
|
|
51
85
|
|
|
52
86
|
Public health check endpoint
|
|
53
87
|
|
|
54
|
-
###
|
|
88
|
+
### Examples
|
|
89
|
+
|
|
55
90
|
```ruby
|
|
56
|
-
|
|
57
|
-
require '
|
|
91
|
+
require 'time'
|
|
92
|
+
require 'devdraft'
|
|
58
93
|
|
|
59
|
-
api_instance =
|
|
94
|
+
api_instance = Devdraft::APIHealthApi.new
|
|
60
95
|
|
|
61
96
|
begin
|
|
62
|
-
#Public health check endpoint
|
|
97
|
+
# Public health check endpoint
|
|
63
98
|
result = api_instance.health_controller_public_health_check_v0
|
|
64
99
|
p result
|
|
65
|
-
rescue
|
|
66
|
-
puts "
|
|
100
|
+
rescue Devdraft::ApiError => e
|
|
101
|
+
puts "Error when calling APIHealthApi->health_controller_public_health_check_v0: #{e}"
|
|
102
|
+
end
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
#### Using the health_controller_public_health_check_v0_with_http_info variant
|
|
106
|
+
|
|
107
|
+
This returns an Array which contains the response data, status code and headers.
|
|
108
|
+
|
|
109
|
+
> <Array(<PublicHealthResponseDto>, Integer, Hash)> health_controller_public_health_check_v0_with_http_info
|
|
110
|
+
|
|
111
|
+
```ruby
|
|
112
|
+
begin
|
|
113
|
+
# Public health check endpoint
|
|
114
|
+
data, status_code, headers = api_instance.health_controller_public_health_check_v0_with_http_info
|
|
115
|
+
p status_code # => 2xx
|
|
116
|
+
p headers # => { ... }
|
|
117
|
+
p data # => <PublicHealthResponseDto>
|
|
118
|
+
rescue Devdraft::ApiError => e
|
|
119
|
+
puts "Error when calling APIHealthApi->health_controller_public_health_check_v0_with_http_info: #{e}"
|
|
67
120
|
end
|
|
68
121
|
```
|
|
69
122
|
|
|
70
123
|
### Parameters
|
|
124
|
+
|
|
71
125
|
This endpoint does not need any parameter.
|
|
72
126
|
|
|
73
127
|
### Return type
|
|
@@ -80,8 +134,6 @@ No authorization required
|
|
|
80
134
|
|
|
81
135
|
### HTTP request headers
|
|
82
136
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
137
|
+
- **Content-Type**: Not defined
|
|
138
|
+
- **Accept**: application/json
|
|
87
139
|
|
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Devdraft::AggregatedBalanceResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
**
|
|
8
|
-
**
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **currency** | **String** | The stablecoin currency | |
|
|
8
|
+
| **total_balance** | **String** | The total aggregated balance across all wallets and chains | |
|
|
9
|
+
| **balances** | **Array<Object>** | Detailed breakdown of balances by wallet and chain | |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'devdraft'
|
|
15
|
+
|
|
16
|
+
instance = Devdraft::AggregatedBalanceResponse.new(
|
|
17
|
+
currency: usdc,
|
|
18
|
+
total_balance: 5678.90,
|
|
19
|
+
balances: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
9
22
|
|
data/docs/AllBalancesResponse.md
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Devdraft::AllBalancesResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
**
|
|
8
|
-
**
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **usdc** | [**AggregatedBalanceResponse**](AggregatedBalanceResponse.md) | USDC balance aggregation | |
|
|
8
|
+
| **eurc** | [**AggregatedBalanceResponse**](AggregatedBalanceResponse.md) | EURC balance aggregation | |
|
|
9
|
+
| **total_usd_value** | **String** | Total value in USD equivalent | |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'devdraft'
|
|
15
|
+
|
|
16
|
+
instance = Devdraft::AllBalancesResponse.new(
|
|
17
|
+
usdc: null,
|
|
18
|
+
eurc: null,
|
|
19
|
+
total_usd_value: 6890.45
|
|
20
|
+
)
|
|
21
|
+
```
|
|
9
22
|
|
data/docs/AppBalancesApi.md
CHANGED
|
@@ -1,49 +1,71 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Devdraft::AppBalancesApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *https://api.devdraft.ai*
|
|
4
4
|
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
|
|
7
|
-
[**balance_controller_get_all_balances**](AppBalancesApi.md#balance_controller_get_all_balances) | **GET** /api/v0/balance | Get all stablecoin balances for an app
|
|
8
|
-
[**balance_controller_get_eurc_balance**](AppBalancesApi.md#balance_controller_get_eurc_balance) | **GET** /api/v0/balance/eurc | Get EURC balance for an app
|
|
9
|
-
[**balance_controller_get_usdc_balance**](AppBalancesApi.md#balance_controller_get_usdc_balance) | **GET** /api/v0/balance/usdc | Get USDC balance for an app
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**balance_controller_get_all_balances**](AppBalancesApi.md#balance_controller_get_all_balances) | **GET** /api/v0/balance | Get all stablecoin balances for an app |
|
|
8
|
+
| [**balance_controller_get_eurc_balance**](AppBalancesApi.md#balance_controller_get_eurc_balance) | **GET** /api/v0/balance/eurc | Get EURC balance for an app |
|
|
9
|
+
| [**balance_controller_get_usdc_balance**](AppBalancesApi.md#balance_controller_get_usdc_balance) | **GET** /api/v0/balance/usdc | Get USDC balance for an app |
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
|
|
12
|
+
## balance_controller_get_all_balances
|
|
13
|
+
|
|
14
|
+
> <AllBalancesResponse> balance_controller_get_all_balances
|
|
13
15
|
|
|
14
16
|
Get all stablecoin balances for an app
|
|
15
17
|
|
|
16
18
|
Retrieves both USDC and EURC balances across all wallets for the specified app. This comprehensive endpoint provides: - Complete USDC balance aggregation with detailed breakdown - Complete EURC balance aggregation with detailed breakdown - Total USD equivalent value across both currencies - Individual wallet and chain-specific balance details ## Use Cases - Complete financial dashboard overview - Multi-currency balance reporting - Comprehensive wallet management - Cross-currency analytics and reporting ## Response Format The response includes separate aggregations for each currency plus a combined USD value estimate, providing complete visibility into stablecoin holdings.
|
|
17
19
|
|
|
18
|
-
###
|
|
20
|
+
### Examples
|
|
21
|
+
|
|
19
22
|
```ruby
|
|
20
|
-
|
|
21
|
-
require '
|
|
23
|
+
require 'time'
|
|
24
|
+
require 'devdraft'
|
|
22
25
|
# setup authorization
|
|
23
|
-
|
|
24
|
-
# Configure API key authorization: x-client-key
|
|
25
|
-
config.api_key['x-client-key'] = 'YOUR API KEY'
|
|
26
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
27
|
-
#config.api_key_prefix['x-client-key'] = 'Bearer'
|
|
28
|
-
|
|
26
|
+
Devdraft.configure do |config|
|
|
29
27
|
# Configure API key authorization: x-client-secret
|
|
30
28
|
config.api_key['x-client-secret'] = 'YOUR API KEY'
|
|
31
29
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
32
|
-
#config.api_key_prefix['x-client-secret'] = 'Bearer'
|
|
30
|
+
# config.api_key_prefix['x-client-secret'] = 'Bearer'
|
|
31
|
+
|
|
32
|
+
# Configure API key authorization: x-client-key
|
|
33
|
+
config.api_key['x-client-key'] = 'YOUR API KEY'
|
|
34
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
35
|
+
# config.api_key_prefix['x-client-key'] = 'Bearer'
|
|
33
36
|
end
|
|
34
37
|
|
|
35
|
-
api_instance =
|
|
38
|
+
api_instance = Devdraft::AppBalancesApi.new
|
|
36
39
|
|
|
37
40
|
begin
|
|
38
|
-
#Get all stablecoin balances for an app
|
|
41
|
+
# Get all stablecoin balances for an app
|
|
39
42
|
result = api_instance.balance_controller_get_all_balances
|
|
40
43
|
p result
|
|
41
|
-
rescue
|
|
42
|
-
puts "
|
|
44
|
+
rescue Devdraft::ApiError => e
|
|
45
|
+
puts "Error when calling AppBalancesApi->balance_controller_get_all_balances: #{e}"
|
|
46
|
+
end
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
#### Using the balance_controller_get_all_balances_with_http_info variant
|
|
50
|
+
|
|
51
|
+
This returns an Array which contains the response data, status code and headers.
|
|
52
|
+
|
|
53
|
+
> <Array(<AllBalancesResponse>, Integer, Hash)> balance_controller_get_all_balances_with_http_info
|
|
54
|
+
|
|
55
|
+
```ruby
|
|
56
|
+
begin
|
|
57
|
+
# Get all stablecoin balances for an app
|
|
58
|
+
data, status_code, headers = api_instance.balance_controller_get_all_balances_with_http_info
|
|
59
|
+
p status_code # => 2xx
|
|
60
|
+
p headers # => { ... }
|
|
61
|
+
p data # => <AllBalancesResponse>
|
|
62
|
+
rescue Devdraft::ApiError => e
|
|
63
|
+
puts "Error when calling AppBalancesApi->balance_controller_get_all_balances_with_http_info: #{e}"
|
|
43
64
|
end
|
|
44
65
|
```
|
|
45
66
|
|
|
46
67
|
### Parameters
|
|
68
|
+
|
|
47
69
|
This endpoint does not need any parameter.
|
|
48
70
|
|
|
49
71
|
### Return type
|
|
@@ -52,51 +74,71 @@ This endpoint does not need any parameter.
|
|
|
52
74
|
|
|
53
75
|
### Authorization
|
|
54
76
|
|
|
55
|
-
[x-client-
|
|
77
|
+
[x-client-secret](../README.md#x-client-secret), [x-client-key](../README.md#x-client-key)
|
|
56
78
|
|
|
57
79
|
### HTTP request headers
|
|
58
80
|
|
|
59
|
-
|
|
60
|
-
|
|
81
|
+
- **Content-Type**: Not defined
|
|
82
|
+
- **Accept**: application/json
|
|
61
83
|
|
|
62
84
|
|
|
85
|
+
## balance_controller_get_eurc_balance
|
|
63
86
|
|
|
64
|
-
|
|
65
|
-
> AggregatedBalanceResponse balance_controller_get_eurc_balance
|
|
87
|
+
> <AggregatedBalanceResponse> balance_controller_get_eurc_balance
|
|
66
88
|
|
|
67
89
|
Get EURC balance for an app
|
|
68
90
|
|
|
69
91
|
Retrieves the total EURC balance across all wallets for the specified app. This endpoint aggregates EURC balances from all associated wallets and provides: - Total EURC balance across all chains and wallets - Detailed breakdown by individual wallet and blockchain network - Contract addresses and wallet identifiers for each balance ## Use Cases - Dashboard balance display - European market operations - Euro-denominated financial reporting - Cross-currency balance tracking ## Response Format The response includes both the aggregated total and detailed breakdown, enabling comprehensive euro stablecoin balance management.
|
|
70
92
|
|
|
71
|
-
###
|
|
93
|
+
### Examples
|
|
94
|
+
|
|
72
95
|
```ruby
|
|
73
|
-
|
|
74
|
-
require '
|
|
96
|
+
require 'time'
|
|
97
|
+
require 'devdraft'
|
|
75
98
|
# setup authorization
|
|
76
|
-
|
|
77
|
-
# Configure API key authorization: x-client-key
|
|
78
|
-
config.api_key['x-client-key'] = 'YOUR API KEY'
|
|
79
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
80
|
-
#config.api_key_prefix['x-client-key'] = 'Bearer'
|
|
81
|
-
|
|
99
|
+
Devdraft.configure do |config|
|
|
82
100
|
# Configure API key authorization: x-client-secret
|
|
83
101
|
config.api_key['x-client-secret'] = 'YOUR API KEY'
|
|
84
102
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
85
|
-
#config.api_key_prefix['x-client-secret'] = 'Bearer'
|
|
103
|
+
# config.api_key_prefix['x-client-secret'] = 'Bearer'
|
|
104
|
+
|
|
105
|
+
# Configure API key authorization: x-client-key
|
|
106
|
+
config.api_key['x-client-key'] = 'YOUR API KEY'
|
|
107
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
108
|
+
# config.api_key_prefix['x-client-key'] = 'Bearer'
|
|
86
109
|
end
|
|
87
110
|
|
|
88
|
-
api_instance =
|
|
111
|
+
api_instance = Devdraft::AppBalancesApi.new
|
|
89
112
|
|
|
90
113
|
begin
|
|
91
|
-
#Get EURC balance for an app
|
|
114
|
+
# Get EURC balance for an app
|
|
92
115
|
result = api_instance.balance_controller_get_eurc_balance
|
|
93
116
|
p result
|
|
94
|
-
rescue
|
|
95
|
-
puts "
|
|
117
|
+
rescue Devdraft::ApiError => e
|
|
118
|
+
puts "Error when calling AppBalancesApi->balance_controller_get_eurc_balance: #{e}"
|
|
119
|
+
end
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
#### Using the balance_controller_get_eurc_balance_with_http_info variant
|
|
123
|
+
|
|
124
|
+
This returns an Array which contains the response data, status code and headers.
|
|
125
|
+
|
|
126
|
+
> <Array(<AggregatedBalanceResponse>, Integer, Hash)> balance_controller_get_eurc_balance_with_http_info
|
|
127
|
+
|
|
128
|
+
```ruby
|
|
129
|
+
begin
|
|
130
|
+
# Get EURC balance for an app
|
|
131
|
+
data, status_code, headers = api_instance.balance_controller_get_eurc_balance_with_http_info
|
|
132
|
+
p status_code # => 2xx
|
|
133
|
+
p headers # => { ... }
|
|
134
|
+
p data # => <AggregatedBalanceResponse>
|
|
135
|
+
rescue Devdraft::ApiError => e
|
|
136
|
+
puts "Error when calling AppBalancesApi->balance_controller_get_eurc_balance_with_http_info: #{e}"
|
|
96
137
|
end
|
|
97
138
|
```
|
|
98
139
|
|
|
99
140
|
### Parameters
|
|
141
|
+
|
|
100
142
|
This endpoint does not need any parameter.
|
|
101
143
|
|
|
102
144
|
### Return type
|
|
@@ -105,51 +147,71 @@ This endpoint does not need any parameter.
|
|
|
105
147
|
|
|
106
148
|
### Authorization
|
|
107
149
|
|
|
108
|
-
[x-client-
|
|
150
|
+
[x-client-secret](../README.md#x-client-secret), [x-client-key](../README.md#x-client-key)
|
|
109
151
|
|
|
110
152
|
### HTTP request headers
|
|
111
153
|
|
|
112
|
-
|
|
113
|
-
|
|
154
|
+
- **Content-Type**: Not defined
|
|
155
|
+
- **Accept**: application/json
|
|
114
156
|
|
|
115
157
|
|
|
158
|
+
## balance_controller_get_usdc_balance
|
|
116
159
|
|
|
117
|
-
|
|
118
|
-
> AggregatedBalanceResponse balance_controller_get_usdc_balance
|
|
160
|
+
> <AggregatedBalanceResponse> balance_controller_get_usdc_balance
|
|
119
161
|
|
|
120
162
|
Get USDC balance for an app
|
|
121
163
|
|
|
122
164
|
Retrieves the total USDC balance across all wallets for the specified app. This endpoint aggregates USDC balances from all associated wallets and provides: - Total USDC balance across all chains and wallets - Detailed breakdown by individual wallet and blockchain network - Contract addresses and wallet identifiers for each balance ## Use Cases - Dashboard balance display - Financial reporting and reconciliation - Real-time balance monitoring - Multi-chain balance aggregation ## Response Format The response includes both the aggregated total and detailed breakdown, allowing for comprehensive balance tracking and wallet-specific analysis.
|
|
123
165
|
|
|
124
|
-
###
|
|
166
|
+
### Examples
|
|
167
|
+
|
|
125
168
|
```ruby
|
|
126
|
-
|
|
127
|
-
require '
|
|
169
|
+
require 'time'
|
|
170
|
+
require 'devdraft'
|
|
128
171
|
# setup authorization
|
|
129
|
-
|
|
130
|
-
# Configure API key authorization: x-client-key
|
|
131
|
-
config.api_key['x-client-key'] = 'YOUR API KEY'
|
|
132
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
133
|
-
#config.api_key_prefix['x-client-key'] = 'Bearer'
|
|
134
|
-
|
|
172
|
+
Devdraft.configure do |config|
|
|
135
173
|
# Configure API key authorization: x-client-secret
|
|
136
174
|
config.api_key['x-client-secret'] = 'YOUR API KEY'
|
|
137
175
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
138
|
-
#config.api_key_prefix['x-client-secret'] = 'Bearer'
|
|
176
|
+
# config.api_key_prefix['x-client-secret'] = 'Bearer'
|
|
177
|
+
|
|
178
|
+
# Configure API key authorization: x-client-key
|
|
179
|
+
config.api_key['x-client-key'] = 'YOUR API KEY'
|
|
180
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
181
|
+
# config.api_key_prefix['x-client-key'] = 'Bearer'
|
|
139
182
|
end
|
|
140
183
|
|
|
141
|
-
api_instance =
|
|
184
|
+
api_instance = Devdraft::AppBalancesApi.new
|
|
142
185
|
|
|
143
186
|
begin
|
|
144
|
-
#Get USDC balance for an app
|
|
187
|
+
# Get USDC balance for an app
|
|
145
188
|
result = api_instance.balance_controller_get_usdc_balance
|
|
146
189
|
p result
|
|
147
|
-
rescue
|
|
148
|
-
puts "
|
|
190
|
+
rescue Devdraft::ApiError => e
|
|
191
|
+
puts "Error when calling AppBalancesApi->balance_controller_get_usdc_balance: #{e}"
|
|
192
|
+
end
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
#### Using the balance_controller_get_usdc_balance_with_http_info variant
|
|
196
|
+
|
|
197
|
+
This returns an Array which contains the response data, status code and headers.
|
|
198
|
+
|
|
199
|
+
> <Array(<AggregatedBalanceResponse>, Integer, Hash)> balance_controller_get_usdc_balance_with_http_info
|
|
200
|
+
|
|
201
|
+
```ruby
|
|
202
|
+
begin
|
|
203
|
+
# Get USDC balance for an app
|
|
204
|
+
data, status_code, headers = api_instance.balance_controller_get_usdc_balance_with_http_info
|
|
205
|
+
p status_code # => 2xx
|
|
206
|
+
p headers # => { ... }
|
|
207
|
+
p data # => <AggregatedBalanceResponse>
|
|
208
|
+
rescue Devdraft::ApiError => e
|
|
209
|
+
puts "Error when calling AppBalancesApi->balance_controller_get_usdc_balance_with_http_info: #{e}"
|
|
149
210
|
end
|
|
150
211
|
```
|
|
151
212
|
|
|
152
213
|
### Parameters
|
|
214
|
+
|
|
153
215
|
This endpoint does not need any parameter.
|
|
154
216
|
|
|
155
217
|
### Return type
|
|
@@ -158,12 +220,10 @@ This endpoint does not need any parameter.
|
|
|
158
220
|
|
|
159
221
|
### Authorization
|
|
160
222
|
|
|
161
|
-
[x-client-
|
|
223
|
+
[x-client-secret](../README.md#x-client-secret), [x-client-key](../README.md#x-client-key)
|
|
162
224
|
|
|
163
225
|
### HTTP request headers
|
|
164
226
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
227
|
+
- **Content-Type**: Not defined
|
|
228
|
+
- **Accept**: application/json
|
|
169
229
|
|
data/docs/BridgePaymentRail.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Devdraft::BridgePaymentRail
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'devdraft'
|
|
12
|
+
|
|
13
|
+
instance = Devdraft::BridgePaymentRail.new()
|
|
14
|
+
```
|
|
6
15
|
|
|
@@ -1,24 +1,52 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Devdraft::CreateBankPaymentIntentDto
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
**
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**
|
|
11
|
-
**
|
|
12
|
-
**
|
|
13
|
-
**
|
|
14
|
-
**
|
|
15
|
-
**
|
|
16
|
-
**
|
|
17
|
-
**
|
|
18
|
-
**
|
|
19
|
-
**
|
|
20
|
-
**
|
|
21
|
-
**
|
|
22
|
-
**
|
|
23
|
-
**
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **source_payment_rail** | [**BridgePaymentRail**](BridgePaymentRail.md) | The banking payment method to use for the transfer. Determines processing time and fees. | |
|
|
8
|
+
| **source_currency** | [**FiatCurrency**](FiatCurrency.md) | The fiat currency to convert FROM. Must match the currency of the source payment rail. | |
|
|
9
|
+
| **destination_currency** | [**StableCoinCurrency**](StableCoinCurrency.md) | The stablecoin currency to convert TO. The customer will receive this currency. | |
|
|
10
|
+
| **destination_network** | [**BridgePaymentRail**](BridgePaymentRail.md) | The blockchain network where the stablecoin will be delivered. Must support the destination currency. | |
|
|
11
|
+
| **destination_address** | **String** | Destination wallet address. Supports Ethereum (0x...) and Solana address formats. | [optional] |
|
|
12
|
+
| **amount** | **String** | Payment amount (optional for flexible amount) | [optional] |
|
|
13
|
+
| **customer_first_name** | **String** | Customer first name | [optional] |
|
|
14
|
+
| **customer_last_name** | **String** | Customer last name | [optional] |
|
|
15
|
+
| **customer_email** | **String** | Customer email address | [optional] |
|
|
16
|
+
| **customer_address** | **String** | Customer address | [optional] |
|
|
17
|
+
| **customer_country** | **String** | Customer country | [optional] |
|
|
18
|
+
| **customer_country_iso** | **String** | Customer country ISO code | [optional] |
|
|
19
|
+
| **customer_province** | **String** | Customer province/state | [optional] |
|
|
20
|
+
| **customer_province_iso** | **String** | Customer province/state ISO code | [optional] |
|
|
21
|
+
| **phone_number** | **String** | Customer phone number | [optional] |
|
|
22
|
+
| **wire_message** | **String** | Wire transfer message (for WIRE transfers) | [optional] |
|
|
23
|
+
| **sepa_reference** | **String** | SEPA reference (for SEPA transfers) | [optional] |
|
|
24
|
+
| **ach_reference** | **String** | ACH reference (for ACH transfers) | [optional] |
|
|
25
|
+
|
|
26
|
+
## Example
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
require 'devdraft'
|
|
30
|
+
|
|
31
|
+
instance = Devdraft::CreateBankPaymentIntentDto.new(
|
|
32
|
+
source_payment_rail: null,
|
|
33
|
+
source_currency: null,
|
|
34
|
+
destination_currency: null,
|
|
35
|
+
destination_network: null,
|
|
36
|
+
destination_address: 0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8e1,
|
|
37
|
+
amount: 1000.00,
|
|
38
|
+
customer_first_name: John,
|
|
39
|
+
customer_last_name: Doe,
|
|
40
|
+
customer_email: john.doe@example.com,
|
|
41
|
+
customer_address: 123 Main St, New York, NY 10001,
|
|
42
|
+
customer_country: United States,
|
|
43
|
+
customer_country_iso: US,
|
|
44
|
+
customer_province: New York,
|
|
45
|
+
customer_province_iso: NY,
|
|
46
|
+
phone_number: +1-555-123-4567,
|
|
47
|
+
wire_message: Payment for invoice #12345,
|
|
48
|
+
sepa_reference: REF-123456789,
|
|
49
|
+
ach_reference: ACH123456
|
|
50
|
+
)
|
|
51
|
+
```
|
|
24
52
|
|