payabli 3.0.14 → 3.0.15
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/.fern/metadata.json +3 -3
- data/lib/payabli/client.rb +1 -1
- data/lib/payabli/money_out/client.rb +4 -0
- data/lib/payabli/notificationlogs/client.rb +5 -5
- data/lib/payabli/query/client.rb +3 -3
- data/lib/payabli/token_storage/client.rb +2 -2
- data/lib/payabli/types/add_method_response.rb +2 -0
- data/lib/payabli/types/add_method_response_response_data.rb +8 -0
- data/lib/payabli/types/get_method_response_response_data.rb +2 -0
- data/lib/payabli/types/get_method_response_response_data_customers_item.rb +38 -33
- data/lib/payabli/types/notification_log.rb +18 -1
- data/lib/payabli/types/notification_log_base.rb +40 -0
- data/lib/payabli/types/notification_log_detail.rb +14 -4
- data/lib/payabli/types/notification_retry_response.rb +9 -0
- data/lib/payabli/types/ocr_result_data.rb +4 -0
- data/lib/payabli/version.rb +1 -1
- data/lib/payabli.rb +2 -0
- data/reference.md +15 -13
- data/wiremock/wiremock-mappings.json +16 -16
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d12141d2f16c743d39455869141df8b9c7a0d86a43cfcca30413bcbc9e278c0
|
|
4
|
+
data.tar.gz: d5c7acd5e29adf978adf824ff64f0d36bd1e21c9928049fe00eae5b486f1046b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7fb60dff74018e7d8c7ea4771ee5696950d130fd99def890e9f03e6fc76100789071cbe469fc51f87c09a2ca61e9905d6ea28b68dbf3dc8b2b1e20e45aea4d0e
|
|
7
|
+
data.tar.gz: cd2f0776b6bf4e04aee493d6e33813ffe21352bf48fee61da81d3faa53f826d709df0521fcee8b8b9966aa88483f08ddb36ae8223fd47d2cd44ae4ec3bd42953
|
data/.fern/metadata.json
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
"rubocopVariableNumberStyle": "snake_case",
|
|
8
8
|
"respectOptionalRequestBody": true
|
|
9
9
|
},
|
|
10
|
-
"originGitCommit": "
|
|
10
|
+
"originGitCommit": "0566725547b6e687f9adb28dcf875097c4989bc1",
|
|
11
11
|
"originGitCommitIsDirty": true,
|
|
12
12
|
"invokedBy": "ci",
|
|
13
|
-
"requestedVersion": "3.0.
|
|
13
|
+
"requestedVersion": "3.0.15",
|
|
14
14
|
"ciProvider": "github",
|
|
15
|
-
"sdkVersion": "3.0.
|
|
15
|
+
"sdkVersion": "3.0.15"
|
|
16
16
|
}
|
data/lib/payabli/client.rb
CHANGED
|
@@ -32,7 +32,7 @@ module Payabli
|
|
|
32
32
|
@raw_client = Payabli::Internal::Http::RawClient.new(
|
|
33
33
|
base_url: base_url || Payabli::Environment::SANDBOX,
|
|
34
34
|
headers: {
|
|
35
|
-
"User-Agent" => "payabli/3.0.
|
|
35
|
+
"User-Agent" => "payabli/3.0.15",
|
|
36
36
|
"X-Fern-Language" => "Ruby"
|
|
37
37
|
},
|
|
38
38
|
auth_provider: Payabli::Internal::RoutingAuthProvider.new(
|
|
@@ -682,6 +682,10 @@ module Payabli
|
|
|
682
682
|
# The new transaction goes through the standard authorize-and-capture flow automatically. Both the original and
|
|
683
683
|
# new transactions are linked through their event histories for audit purposes.
|
|
684
684
|
#
|
|
685
|
+
# The reissue request doesn't accept a service fee. Payabli always charges the fee configured in the paypoint's
|
|
686
|
+
# ACH payout pricing, even when the pricing allows fee overrides. The new transaction keeps the original payout's
|
|
687
|
+
# total amount. The vendor receives that amount minus the configured fee.
|
|
688
|
+
#
|
|
685
689
|
# @param request_options [Hash]
|
|
686
690
|
# @param params [Payabli::MoneyOut::Types::ReissueOutRequest]
|
|
687
691
|
# @option request_options [String] :base_url
|
|
@@ -31,7 +31,7 @@ module Payabli
|
|
|
31
31
|
# page_size: 20,
|
|
32
32
|
# start_date: "2024-01-01T00:00:00Z",
|
|
33
33
|
# end_date: "2024-01-31T23:59:59Z",
|
|
34
|
-
# notification_event: "
|
|
34
|
+
# notification_event: "approvedpayment",
|
|
35
35
|
# succeeded: true,
|
|
36
36
|
# org_id: 123
|
|
37
37
|
# )
|
|
@@ -125,7 +125,7 @@ module Payabli
|
|
|
125
125
|
# @example
|
|
126
126
|
# client.notificationlogs.retry_notification_log(uuid: "550e8400-e29b-41d4-a716-446655440000")
|
|
127
127
|
#
|
|
128
|
-
# @return [Payabli::Types::
|
|
128
|
+
# @return [Payabli::Types::NotificationRetryResponse]
|
|
129
129
|
def retry_notification_log(request_options: {}, **params)
|
|
130
130
|
params = Payabli::Internal::Types::Utils.normalize_keys(params)
|
|
131
131
|
headers = @client.auth_headers_for_endpoint(security: [{ "BearerAuth" => [] }, { "APIKeyAuth" => [] }])
|
|
@@ -143,7 +143,7 @@ module Payabli
|
|
|
143
143
|
end
|
|
144
144
|
code = response.code.to_i
|
|
145
145
|
if code.between?(200, 299)
|
|
146
|
-
Payabli::Types::
|
|
146
|
+
Payabli::Types::NotificationRetryResponse.load(response.body)
|
|
147
147
|
else
|
|
148
148
|
error_class = Payabli::Errors::ResponseError.subclass_for_code(code)
|
|
149
149
|
raise error_class.new(response.body, code: code)
|
|
@@ -164,9 +164,9 @@ module Payabli
|
|
|
164
164
|
# @option request_options [Integer] :timeout_in_seconds
|
|
165
165
|
#
|
|
166
166
|
# @example
|
|
167
|
-
# client.notificationlogs.bulk_retry_notification_logs(request: %w[
|
|
167
|
+
# client.notificationlogs.bulk_retry_notification_logs(request: %w[string string])
|
|
168
168
|
#
|
|
169
|
-
# @return [
|
|
169
|
+
# @return [String]
|
|
170
170
|
def bulk_retry_notification_logs(request_options: {}, **params)
|
|
171
171
|
params = Payabli::Internal::Types::Utils.normalize_keys(params)
|
|
172
172
|
headers = @client.auth_headers_for_endpoint(security: [{ "BearerAuth" => [] }, { "APIKeyAuth" => [] }])
|
data/lib/payabli/query/client.rb
CHANGED
|
@@ -592,8 +592,8 @@ module Payabli
|
|
|
592
592
|
end
|
|
593
593
|
end
|
|
594
594
|
|
|
595
|
-
# Returns a list of cloud devices for a single paypoint. Use filters to limit results. Include the
|
|
596
|
-
# query parameter to return the results as a file instead of a JSON response.
|
|
595
|
+
# Returns a list of cloud and AXIUM devices for a single paypoint. Use filters to limit results. Include the
|
|
596
|
+
# `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
597
597
|
#
|
|
598
598
|
# @param request_options [Hash]
|
|
599
599
|
# @param params [Hash]
|
|
@@ -650,7 +650,7 @@ module Payabli
|
|
|
650
650
|
end
|
|
651
651
|
end
|
|
652
652
|
|
|
653
|
-
# Returns a list of cloud devices for a single organization. Use filters to limit results. Include the
|
|
653
|
+
# Returns a list of cloud and AXIUM devices for a single organization. Use filters to limit results. Include the
|
|
654
654
|
# `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
655
655
|
#
|
|
656
656
|
# @param request_options [Hash]
|
|
@@ -11,8 +11,8 @@ module Payabli
|
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
# Saves a payment method for reuse. This call exchanges sensitive payment information for a token that can be used
|
|
14
|
-
# to process future transactions. The `
|
|
15
|
-
# transactions.
|
|
14
|
+
# to process future transactions. The `referenceId` value in the response is the `storedMethodId` to use with
|
|
15
|
+
# transactions, and the `methodId` to use when you manage the saved payment method.
|
|
16
16
|
#
|
|
17
17
|
# @param request_options [Hash]
|
|
18
18
|
# @param params [Payabli::Types::RequestTokenStorage]
|
|
@@ -7,6 +7,8 @@ module Payabli
|
|
|
7
7
|
|
|
8
8
|
field :response_text, -> { String }, optional: false, nullable: false, api_name: "responseText"
|
|
9
9
|
|
|
10
|
+
field :page_identifier, -> { String }, optional: true, nullable: false, api_name: "pageIdentifier"
|
|
11
|
+
|
|
10
12
|
field :response_data, -> { Payabli::Types::AddMethodResponseResponseData }, optional: true, nullable: false, api_name: "responseData"
|
|
11
13
|
end
|
|
12
14
|
end
|
|
@@ -11,6 +11,14 @@ module Payabli
|
|
|
11
11
|
|
|
12
12
|
field :customer_id, -> { Integer }, optional: true, nullable: false, api_name: "customerId"
|
|
13
13
|
|
|
14
|
+
field :auth_code, -> { String }, optional: true, nullable: false, api_name: "authCode"
|
|
15
|
+
|
|
16
|
+
field :avs_response_text, -> { String }, optional: true, nullable: false, api_name: "avsResponseText"
|
|
17
|
+
|
|
18
|
+
field :cvv_response_text, -> { String }, optional: true, nullable: false, api_name: "cvvResponseText"
|
|
19
|
+
|
|
20
|
+
field :vendor_id, -> { Integer }, optional: true, nullable: false, api_name: "vendorId"
|
|
21
|
+
|
|
14
22
|
field :method_reference_id, -> { String }, optional: true, nullable: false, api_name: "methodReferenceId"
|
|
15
23
|
end
|
|
16
24
|
end
|
|
@@ -38,6 +38,8 @@ module Payabli
|
|
|
38
38
|
field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode"
|
|
39
39
|
|
|
40
40
|
field :vendors, -> { Internal::Types::Array[Payabli::Types::GetMethodResponseResponseDataVendorsItem] }, optional: true, nullable: false
|
|
41
|
+
|
|
42
|
+
field :wallet_type, -> { String }, optional: true, nullable: false, api_name: "walletType"
|
|
41
43
|
end
|
|
42
44
|
end
|
|
43
45
|
end
|
|
@@ -2,54 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
module Payabli
|
|
4
4
|
module Types
|
|
5
|
+
# The customer record that owns the stored payment method.
|
|
5
6
|
class GetMethodResponseResponseDataCustomersItem < Internal::Types::Model
|
|
6
|
-
field :
|
|
7
|
+
field :additional_fields, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false, api_name: "additionalFields"
|
|
7
8
|
|
|
8
|
-
field :
|
|
9
|
+
field :address, -> { String }, optional: true, nullable: false
|
|
9
10
|
|
|
10
|
-
field :
|
|
11
|
+
field :address_1, -> { String }, optional: true, nullable: false, api_name: "address1"
|
|
11
12
|
|
|
12
|
-
field :
|
|
13
|
+
field :balance, -> { Integer }, optional: true, nullable: false
|
|
13
14
|
|
|
14
|
-
field :
|
|
15
|
+
field :city, -> { String }, optional: true, nullable: false
|
|
15
16
|
|
|
16
|
-
field :
|
|
17
|
+
field :company, -> { String }, optional: true, nullable: false
|
|
17
18
|
|
|
18
|
-
field :
|
|
19
|
+
field :country, -> { String }, optional: true, nullable: false
|
|
19
20
|
|
|
20
|
-
field :
|
|
21
|
+
field :created, -> { String }, optional: true, nullable: false
|
|
21
22
|
|
|
22
|
-
field :
|
|
23
|
+
field :customer_consent, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false, api_name: "customerConsent"
|
|
23
24
|
|
|
24
|
-
field :
|
|
25
|
+
field :customer_events, -> { Internal::Types::Array[Object] }, optional: true, nullable: false, api_name: "customerEvents"
|
|
25
26
|
|
|
26
27
|
field :customer_id, -> { Integer }, optional: true, nullable: false, api_name: "customerId"
|
|
27
28
|
|
|
28
29
|
field :customer_number, -> { String }, optional: true, nullable: false, api_name: "customerNumber"
|
|
29
30
|
|
|
30
|
-
field :
|
|
31
|
-
|
|
32
|
-
field :identifier_fields, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "identifierFields"
|
|
33
|
-
|
|
34
|
-
field :last_name, -> { String }, optional: true, nullable: false, api_name: "lastName"
|
|
35
|
-
|
|
36
|
-
field :shipping_address_1, -> { String }, optional: true, nullable: false, api_name: "shippingAddress1"
|
|
37
|
-
|
|
38
|
-
field :shipping_address_2, -> { String }, optional: true, nullable: false, api_name: "shippingAddress2"
|
|
39
|
-
|
|
40
|
-
field :shipping_city, -> { String }, optional: true, nullable: false, api_name: "shippingCity"
|
|
41
|
-
|
|
42
|
-
field :shipping_country, -> { String }, optional: true, nullable: false, api_name: "shippingCountry"
|
|
43
|
-
|
|
44
|
-
field :shipping_state, -> { String }, optional: true, nullable: false, api_name: "shippingState"
|
|
45
|
-
|
|
46
|
-
field :shipping_zip, -> { String }, optional: true, nullable: false, api_name: "shippingZip"
|
|
47
|
-
|
|
48
|
-
field :balance, -> { Integer }, optional: true, nullable: false
|
|
49
|
-
|
|
50
|
-
field :created, -> { String }, optional: true, nullable: false
|
|
51
|
-
|
|
52
|
-
field :customer_consent, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false, api_name: "customerConsent"
|
|
31
|
+
field :customer_portal, -> { String }, optional: true, nullable: false, api_name: "customerPortal"
|
|
53
32
|
|
|
54
33
|
field :customer_status, -> { Integer }, optional: true, nullable: false, api_name: "customerStatus"
|
|
55
34
|
|
|
@@ -57,8 +36,16 @@ module Payabli
|
|
|
57
36
|
|
|
58
37
|
field :customer_username, -> { String }, optional: true, nullable: false, api_name: "customerUsername"
|
|
59
38
|
|
|
39
|
+
field :email, -> { String }, optional: true, nullable: false
|
|
40
|
+
|
|
60
41
|
field :external_paypoint_id, -> { String }, optional: true, nullable: false, api_name: "externalPaypointID"
|
|
61
42
|
|
|
43
|
+
field :firstname, -> { String }, optional: true, nullable: false
|
|
44
|
+
|
|
45
|
+
field :identifier_fields, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "identifierFields"
|
|
46
|
+
|
|
47
|
+
field :lastname, -> { String }, optional: true, nullable: false
|
|
48
|
+
|
|
62
49
|
field :last_updated, -> { String }, optional: true, nullable: false, api_name: "lastUpdated"
|
|
63
50
|
|
|
64
51
|
field :mfa, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
@@ -77,17 +64,35 @@ module Payabli
|
|
|
77
64
|
|
|
78
65
|
field :paypoint_legalname, -> { String }, optional: true, nullable: false, api_name: "paypointLegalname"
|
|
79
66
|
|
|
67
|
+
field :phone, -> { String }, optional: true, nullable: false
|
|
68
|
+
|
|
69
|
+
field :shipping_address, -> { String }, optional: true, nullable: false, api_name: "shippingAddress"
|
|
70
|
+
|
|
71
|
+
field :shipping_address_1, -> { String }, optional: true, nullable: false, api_name: "shippingAddress1"
|
|
72
|
+
|
|
73
|
+
field :shipping_city, -> { String }, optional: true, nullable: false, api_name: "shippingCity"
|
|
74
|
+
|
|
75
|
+
field :shipping_country, -> { String }, optional: true, nullable: false, api_name: "shippingCountry"
|
|
76
|
+
|
|
77
|
+
field :shipping_state, -> { String }, optional: true, nullable: false, api_name: "shippingState"
|
|
78
|
+
|
|
79
|
+
field :shipping_zip, -> { String }, optional: true, nullable: false, api_name: "shippingZip"
|
|
80
|
+
|
|
80
81
|
field :sn_data, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false, api_name: "snData"
|
|
81
82
|
|
|
82
83
|
field :sn_identifier, -> { String }, optional: true, nullable: false, api_name: "snIdentifier"
|
|
83
84
|
|
|
84
85
|
field :sn_provider, -> { String }, optional: true, nullable: false, api_name: "snProvider"
|
|
85
86
|
|
|
87
|
+
field :state, -> { String }, optional: true, nullable: false
|
|
88
|
+
|
|
86
89
|
field :stored_methods, -> { Internal::Types::Array[Payabli::Types::MethodQueryRecords] }, optional: true, nullable: false, api_name: "storedMethods"
|
|
87
90
|
|
|
88
91
|
field :subscriptions, -> { Internal::Types::Array[Payabli::Types::SubscriptionQueryRecords] }, optional: true, nullable: false
|
|
89
92
|
|
|
90
93
|
field :time_zone, -> { Integer }, optional: true, nullable: false, api_name: "timeZone"
|
|
94
|
+
|
|
95
|
+
field :zip, -> { String }, optional: true, nullable: false
|
|
91
96
|
end
|
|
92
97
|
end
|
|
93
98
|
end
|
|
@@ -2,7 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
module Payabli
|
|
4
4
|
module Types
|
|
5
|
+
# A notification log entry returned by the search endpoint.
|
|
5
6
|
class NotificationLog < Internal::Types::Model
|
|
7
|
+
field :organization_name, -> { String }, optional: false, nullable: false, api_name: "organizationName"
|
|
8
|
+
|
|
9
|
+
field :paypoint_name, -> { String }, optional: false, nullable: false, api_name: "paypointName"
|
|
10
|
+
|
|
11
|
+
field :request_id, -> { String }, optional: false, nullable: false, api_name: "requestId"
|
|
12
|
+
|
|
6
13
|
field :id, -> { String }, optional: false, nullable: false
|
|
7
14
|
|
|
8
15
|
field :org_id, -> { Integer }, optional: false, nullable: true, api_name: "orgId"
|
|
@@ -13,7 +20,9 @@ module Payabli
|
|
|
13
20
|
|
|
14
21
|
field :target, -> { String }, optional: false, nullable: true
|
|
15
22
|
|
|
16
|
-
field :
|
|
23
|
+
field :response_status_code, -> { Integer }, optional: false, nullable: false, api_name: "responseStatusCode"
|
|
24
|
+
|
|
25
|
+
field :response_status, -> { String }, optional: false, nullable: false, api_name: "responseStatus"
|
|
17
26
|
|
|
18
27
|
field :success, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
19
28
|
|
|
@@ -26,6 +35,14 @@ module Payabli
|
|
|
26
35
|
field :last_failed_date, -> { String }, optional: false, nullable: true, api_name: "lastFailedDate"
|
|
27
36
|
|
|
28
37
|
field :is_in_progress, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isInProgress"
|
|
38
|
+
|
|
39
|
+
field :organization_logo, -> { String }, optional: false, nullable: false, api_name: "organizationLogo"
|
|
40
|
+
|
|
41
|
+
field :organization_fav_icon, -> { String }, optional: false, nullable: false, api_name: "organizationFavIcon"
|
|
42
|
+
|
|
43
|
+
field :paypoint_logo, -> { String }, optional: false, nullable: false, api_name: "paypointLogo"
|
|
44
|
+
|
|
45
|
+
field :notification_type, -> { Integer }, optional: false, nullable: false, api_name: "notificationType"
|
|
29
46
|
end
|
|
30
47
|
end
|
|
31
48
|
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
# Fields shared by the search and detail responses for a notification log entry.
|
|
6
|
+
class NotificationLogBase < Internal::Types::Model
|
|
7
|
+
field :organization_name, -> { String }, optional: false, nullable: false, api_name: "organizationName"
|
|
8
|
+
|
|
9
|
+
field :paypoint_name, -> { String }, optional: false, nullable: false, api_name: "paypointName"
|
|
10
|
+
|
|
11
|
+
field :request_id, -> { String }, optional: false, nullable: false, api_name: "requestId"
|
|
12
|
+
|
|
13
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :org_id, -> { Integer }, optional: false, nullable: true, api_name: "orgId"
|
|
16
|
+
|
|
17
|
+
field :paypoint_id, -> { Integer }, optional: false, nullable: true, api_name: "paypointId"
|
|
18
|
+
|
|
19
|
+
field :notification_event, -> { String }, optional: false, nullable: true, api_name: "notificationEvent"
|
|
20
|
+
|
|
21
|
+
field :target, -> { String }, optional: false, nullable: true
|
|
22
|
+
|
|
23
|
+
field :response_status_code, -> { Integer }, optional: false, nullable: false, api_name: "responseStatusCode"
|
|
24
|
+
|
|
25
|
+
field :response_status, -> { String }, optional: false, nullable: false, api_name: "responseStatus"
|
|
26
|
+
|
|
27
|
+
field :success, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
28
|
+
|
|
29
|
+
field :job_data, -> { String }, optional: false, nullable: true, api_name: "jobData"
|
|
30
|
+
|
|
31
|
+
field :created_date, -> { String }, optional: false, nullable: false, api_name: "createdDate"
|
|
32
|
+
|
|
33
|
+
field :success_date, -> { String }, optional: false, nullable: true, api_name: "successDate"
|
|
34
|
+
|
|
35
|
+
field :last_failed_date, -> { String }, optional: false, nullable: true, api_name: "lastFailedDate"
|
|
36
|
+
|
|
37
|
+
field :is_in_progress, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isInProgress"
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -2,7 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
module Payabli
|
|
4
4
|
module Types
|
|
5
|
+
# A notification log entry returned by the detail and retry endpoints, including the request and response captured
|
|
6
|
+
# for the delivery.
|
|
5
7
|
class NotificationLogDetail < Internal::Types::Model
|
|
8
|
+
field :organization_name, -> { String }, optional: false, nullable: false, api_name: "organizationName"
|
|
9
|
+
|
|
10
|
+
field :paypoint_name, -> { String }, optional: false, nullable: false, api_name: "paypointName"
|
|
11
|
+
|
|
12
|
+
field :request_id, -> { String }, optional: false, nullable: false, api_name: "requestId"
|
|
13
|
+
|
|
6
14
|
field :id, -> { String }, optional: false, nullable: false
|
|
7
15
|
|
|
8
16
|
field :org_id, -> { Integer }, optional: false, nullable: true, api_name: "orgId"
|
|
@@ -13,7 +21,9 @@ module Payabli
|
|
|
13
21
|
|
|
14
22
|
field :target, -> { String }, optional: false, nullable: true
|
|
15
23
|
|
|
16
|
-
field :
|
|
24
|
+
field :response_status_code, -> { Integer }, optional: false, nullable: false, api_name: "responseStatusCode"
|
|
25
|
+
|
|
26
|
+
field :response_status, -> { String }, optional: false, nullable: false, api_name: "responseStatus"
|
|
17
27
|
|
|
18
28
|
field :success, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
19
29
|
|
|
@@ -27,11 +37,11 @@ module Payabli
|
|
|
27
37
|
|
|
28
38
|
field :is_in_progress, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isInProgress"
|
|
29
39
|
|
|
30
|
-
field :web_headers, -> { Internal::Types::Array[Payabli::Types::StringStringKeyValuePair] }, optional:
|
|
40
|
+
field :web_headers, -> { Internal::Types::Array[Payabli::Types::StringStringKeyValuePair] }, optional: false, nullable: true, api_name: "webHeaders"
|
|
31
41
|
|
|
32
|
-
field :response_headers, -> { Internal::Types::Array[Payabli::Types::KeyValueArray] }, optional:
|
|
42
|
+
field :response_headers, -> { Internal::Types::Array[Payabli::Types::KeyValueArray] }, optional: false, nullable: true, api_name: "responseHeaders"
|
|
33
43
|
|
|
34
|
-
field :response_content, -> { String }, optional:
|
|
44
|
+
field :response_content, -> { String }, optional: false, nullable: false, api_name: "responseContent"
|
|
35
45
|
end
|
|
36
46
|
end
|
|
37
47
|
end
|
|
@@ -7,6 +7,10 @@ module Payabli
|
|
|
7
7
|
|
|
8
8
|
field :net_amount, -> { Integer }, optional: true, nullable: false, api_name: "netAmount"
|
|
9
9
|
|
|
10
|
+
field :discount, -> { Integer }, optional: true, nullable: false
|
|
11
|
+
|
|
12
|
+
field :total_amount, -> { Integer }, optional: true, nullable: false, api_name: "totalAmount"
|
|
13
|
+
|
|
10
14
|
field :bill_date, -> { String }, optional: true, nullable: false, api_name: "billDate"
|
|
11
15
|
|
|
12
16
|
field :due_date, -> { String }, optional: true, nullable: false, api_name: "dueDate"
|
data/lib/payabli/version.rb
CHANGED
data/lib/payabli.rb
CHANGED
|
@@ -652,10 +652,12 @@ require_relative "payabli/types/ocr_attachment"
|
|
|
652
652
|
require_relative "payabli/types/ocr_result_data"
|
|
653
653
|
require_relative "payabli/types/ocr_response_data"
|
|
654
654
|
require_relative "payabli/types/payabli_api_response_ocr"
|
|
655
|
+
require_relative "payabli/types/notification_log_base"
|
|
655
656
|
require_relative "payabli/types/notification_log"
|
|
656
657
|
require_relative "payabli/types/string_string_key_value_pair"
|
|
657
658
|
require_relative "payabli/types/key_value_array"
|
|
658
659
|
require_relative "payabli/types/notification_log_detail"
|
|
660
|
+
require_relative "payabli/types/notification_retry_response"
|
|
659
661
|
require_relative "payabli/types/bulk_retry_request"
|
|
660
662
|
require_relative "payabli/types/device_challenge_data"
|
|
661
663
|
require_relative "payabli/types/device_challenge_response"
|
data/reference.md
CHANGED
|
@@ -6166,7 +6166,7 @@ client.payment_link.update_pay_link_out_from_id(
|
|
|
6166
6166
|
<dl>
|
|
6167
6167
|
<dd>
|
|
6168
6168
|
|
|
6169
|
-
Saves a payment method for reuse. This call exchanges sensitive payment information for a token that can be used to process future transactions. The `
|
|
6169
|
+
Saves a payment method for reuse. This call exchanges sensitive payment information for a token that can be used to process future transactions. The `referenceId` value in the response is the `storedMethodId` to use with transactions, and the `methodId` to use when you manage the saved payment method.
|
|
6170
6170
|
</dd>
|
|
6171
6171
|
</dl>
|
|
6172
6172
|
</dd>
|
|
@@ -9707,7 +9707,7 @@ See [Filters and Conditions Reference](/developers/developer-guides/pay-ops-repo
|
|
|
9707
9707
|
<dl>
|
|
9708
9708
|
<dd>
|
|
9709
9709
|
|
|
9710
|
-
Returns a list of cloud devices for a single paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
9710
|
+
Returns a list of cloud and AXIUM devices for a single paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
9711
9711
|
</dd>
|
|
9712
9712
|
</dl>
|
|
9713
9713
|
</dd>
|
|
@@ -9913,7 +9913,7 @@ for more information.
|
|
|
9913
9913
|
<dl>
|
|
9914
9914
|
<dd>
|
|
9915
9915
|
|
|
9916
|
-
Returns a list of cloud devices for a single organization. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
9916
|
+
Returns a list of cloud and AXIUM devices for a single organization. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
9917
9917
|
</dd>
|
|
9918
9918
|
</dl>
|
|
9919
9919
|
</dd>
|
|
@@ -15040,7 +15040,7 @@ client.notificationlogs.search_notification_logs(
|
|
|
15040
15040
|
page_size: 20,
|
|
15041
15041
|
start_date: "2024-01-01T00:00:00Z",
|
|
15042
15042
|
end_date: "2024-01-31T23:59:59Z",
|
|
15043
|
-
notification_event: "
|
|
15043
|
+
notification_event: "approvedpayment",
|
|
15044
15044
|
succeeded: true,
|
|
15045
15045
|
org_id: 123
|
|
15046
15046
|
)
|
|
@@ -15074,7 +15074,7 @@ client.notificationlogs.search_notification_logs(
|
|
|
15074
15074
|
<dl>
|
|
15075
15075
|
<dd>
|
|
15076
15076
|
|
|
15077
|
-
**start_date:** `String` — The start date for the search.
|
|
15077
|
+
**start_date:** `String` — The start date for the search. Can't be more than 30 days before `endDate`.
|
|
15078
15078
|
|
|
15079
15079
|
</dd>
|
|
15080
15080
|
</dl>
|
|
@@ -15082,7 +15082,7 @@ client.notificationlogs.search_notification_logs(
|
|
|
15082
15082
|
<dl>
|
|
15083
15083
|
<dd>
|
|
15084
15084
|
|
|
15085
|
-
**end_date:** `String` — The end date for the search.
|
|
15085
|
+
**end_date:** `String` — The end date for the search. Can't be more than 30 days after `startDate`.
|
|
15086
15086
|
|
|
15087
15087
|
</dd>
|
|
15088
15088
|
</dl>
|
|
@@ -15090,7 +15090,7 @@ client.notificationlogs.search_notification_logs(
|
|
|
15090
15090
|
<dl>
|
|
15091
15091
|
<dd>
|
|
15092
15092
|
|
|
15093
|
-
**notification_event:** `String` — The
|
|
15093
|
+
**notification_event:** `String` — The event to filter by, such as `approvedpayment`. Case-insensitive.
|
|
15094
15094
|
|
|
15095
15095
|
</dd>
|
|
15096
15096
|
</dl>
|
|
@@ -15098,7 +15098,7 @@ client.notificationlogs.search_notification_logs(
|
|
|
15098
15098
|
<dl>
|
|
15099
15099
|
<dd>
|
|
15100
15100
|
|
|
15101
|
-
**succeeded:** `Internal::Types::Boolean` —
|
|
15101
|
+
**succeeded:** `Internal::Types::Boolean` — Filter by delivery outcome. Set to `false` to return only failed notifications.
|
|
15102
15102
|
|
|
15103
15103
|
</dd>
|
|
15104
15104
|
</dl>
|
|
@@ -15106,7 +15106,7 @@ client.notificationlogs.search_notification_logs(
|
|
|
15106
15106
|
<dl>
|
|
15107
15107
|
<dd>
|
|
15108
15108
|
|
|
15109
|
-
**org_id:** `Integer` — The ID of the organization to filter by.
|
|
15109
|
+
**org_id:** `Integer` — The ID of the organization to filter by. Either `orgId` or `paypointId` is required.
|
|
15110
15110
|
|
|
15111
15111
|
</dd>
|
|
15112
15112
|
</dl>
|
|
@@ -15114,7 +15114,7 @@ client.notificationlogs.search_notification_logs(
|
|
|
15114
15114
|
<dl>
|
|
15115
15115
|
<dd>
|
|
15116
15116
|
|
|
15117
|
-
**paypoint_id:** `Integer` — The ID of the paypoint to filter by.
|
|
15117
|
+
**paypoint_id:** `Integer` — The ID of the paypoint to filter by. Either `orgId` or `paypointId` is required.
|
|
15118
15118
|
|
|
15119
15119
|
</dd>
|
|
15120
15120
|
</dl>
|
|
@@ -15197,7 +15197,7 @@ client.notificationlogs.get_notification_log(uuid: "550e8400-e29b-41d4-a716-4466
|
|
|
15197
15197
|
</dl>
|
|
15198
15198
|
</details>
|
|
15199
15199
|
|
|
15200
|
-
<details><summary><code>client.notificationlogs.<a href="/lib/payabli/notificationlogs/client.rb">retry_notification_log</a>(uuid:) -> Payabli::Types::
|
|
15200
|
+
<details><summary><code>client.notificationlogs.<a href="/lib/payabli/notificationlogs/client.rb">retry_notification_log</a>(uuid:) -> Payabli::Types::NotificationRetryResponse</code></summary>
|
|
15201
15201
|
<dl>
|
|
15202
15202
|
<dd>
|
|
15203
15203
|
|
|
@@ -15261,7 +15261,7 @@ client.notificationlogs.retry_notification_log(uuid: "550e8400-e29b-41d4-a716-44
|
|
|
15261
15261
|
</dl>
|
|
15262
15262
|
</details>
|
|
15263
15263
|
|
|
15264
|
-
<details><summary><code>client.notificationlogs.<a href="/lib/payabli/notificationlogs/client.rb">bulk_retry_notification_logs</a>(request) -> </code></summary>
|
|
15264
|
+
<details><summary><code>client.notificationlogs.<a href="/lib/payabli/notificationlogs/client.rb">bulk_retry_notification_logs</a>(request) -> String</code></summary>
|
|
15265
15265
|
<dl>
|
|
15266
15266
|
<dd>
|
|
15267
15267
|
|
|
@@ -15291,7 +15291,7 @@ This endpoint requires the `notifications_create` permission.
|
|
|
15291
15291
|
<dd>
|
|
15292
15292
|
|
|
15293
15293
|
```ruby
|
|
15294
|
-
client.notificationlogs.bulk_retry_notification_logs(request: %w[
|
|
15294
|
+
client.notificationlogs.bulk_retry_notification_logs(request: %w[string string])
|
|
15295
15295
|
```
|
|
15296
15296
|
</dd>
|
|
15297
15297
|
</dl>
|
|
@@ -27245,6 +27245,8 @@ Reissues a payout transaction with a new payment method. This creates a new tran
|
|
|
27245
27245
|
The original transaction must be in **Processing** or **Processed** status. The payment method in the request body is used directly. The endpoint doesn't fall back to vendor-managed payment methods.
|
|
27246
27246
|
|
|
27247
27247
|
The new transaction goes through the standard authorize-and-capture flow automatically. Both the original and new transactions are linked through their event histories for audit purposes.
|
|
27248
|
+
|
|
27249
|
+
The reissue request doesn't accept a service fee. Payabli always charges the fee configured in the paypoint's ACH payout pricing, even when the pricing allows fee overrides. The new transaction keeps the original payout's total amount. The vendor receives that amount minus the configured fee.
|
|
27248
27250
|
</dd>
|
|
27249
27251
|
</dl>
|
|
27250
27252
|
</dd>
|
|
@@ -2069,7 +2069,7 @@
|
|
|
2069
2069
|
},
|
|
2070
2070
|
"response": {
|
|
2071
2071
|
"status": 200,
|
|
2072
|
-
"body": "{\n \"isSuccess\": true,\n \"
|
|
2072
|
+
"body": "{\n \"responseText\": \"Success\",\n \"isSuccess\": true,\n \"pageIdentifier\": null,\n \"responseData\": {\n \"referenceId\": \"1ec55af9-7b5a-4ff0-81ed-c12d2f95e135-4440\",\n \"resultCode\": 1,\n \"resultText\": \"Added\",\n \"customerId\": 4440,\n \"methodReferenceId\": \"1ec55af9-7b5a-4ff0-81ed-c12d2f95e135-4440\"\n }\n}",
|
|
2073
2073
|
"headers": {
|
|
2074
2074
|
"Content-Type": "application/json"
|
|
2075
2075
|
}
|
|
@@ -2108,7 +2108,7 @@
|
|
|
2108
2108
|
},
|
|
2109
2109
|
"response": {
|
|
2110
2110
|
"status": 200,
|
|
2111
|
-
"body": "{\n \"isSuccess\": true,\n \"responseData\": {\n \"aba\": \"\",\n \"achHolderType\": \"personal\",\n \"achSecCode\": \"achSecCode\",\n \"bin\": \"401288\",\n \"binData\": {\n \"binMatchedLength\": \"6\",\n \"binCardBrand\": \"Visa\",\n \"binCardType\": \"Credit\",\n \"binCardCategory\": \"PLATINUM\",\n \"binCardIssuer\": \"Bank of Example\",\n \"binCardIssuerCountry\": \"United States\",\n \"binCardIssuerCountryCodeA2\": \"US\",\n \"binCardIssuerCountryNumber\": \"840\",\n \"binCardIsRegulated\": \"false\",\n \"binCardUseCategory\": \"Consumer\",\n \"binCardIssuerCountryCodeA3\": \"USA\"\n },\n \"customers\": [\n {\n \"
|
|
2111
|
+
"body": "{\n \"isSuccess\": true,\n \"responseData\": {\n \"aba\": \"\",\n \"achHolderType\": \"personal\",\n \"achSecCode\": \"achSecCode\",\n \"bin\": \"401288\",\n \"binData\": {\n \"binMatchedLength\": \"6\",\n \"binCardBrand\": \"Visa\",\n \"binCardType\": \"Credit\",\n \"binCardCategory\": \"PLATINUM\",\n \"binCardIssuer\": \"Bank of Example\",\n \"binCardIssuerCountry\": \"United States\",\n \"binCardIssuerCountryCodeA2\": \"US\",\n \"binCardIssuerCountryNumber\": \"840\",\n \"binCardIsRegulated\": \"false\",\n \"binCardUseCategory\": \"Consumer\",\n \"binCardIssuerCountryCodeA3\": \"USA\"\n },\n \"customers\": [\n {\n \"customerId\": 4440,\n \"customerNumber\": \"C-90010\",\n \"customerUsername\": \"Marcus\",\n \"customerStatus\": 1,\n \"company\": \"Bluesky Tech Inc\",\n \"firstname\": \"Marcus\",\n \"lastname\": \"Chen\",\n \"phone\": \"1234567890\",\n \"email\": \"marcus.chen@example.com\",\n \"address\": null,\n \"address1\": \"123 Market St\",\n \"city\": \"San Francisco\",\n \"state\": \"CA\",\n \"zip\": \"94105\",\n \"country\": \"US\",\n \"shippingAddress\": null,\n \"shippingAddress1\": \"Suite 500\",\n \"shippingCity\": \"San Francisco\",\n \"shippingState\": \"CA\",\n \"shippingZip\": \"94105\",\n \"shippingCountry\": \"US\",\n \"balance\": 250,\n \"timeZone\": -8,\n \"mfa\": true,\n \"mfaMode\": 1,\n \"snProvider\": null,\n \"snIdentifier\": null,\n \"snData\": null,\n \"lastUpdated\": \"2024-12-15T09:45:32Z\",\n \"created\": \"2023-06-01T14:30:00Z\",\n \"additionalFields\": {},\n \"identifierFields\": [\n \"firstname\",\n \"email\"\n ],\n \"subscriptions\": null,\n \"storedMethods\": null,\n \"customerSummary\": null,\n \"paypointLegalname\": \"Bluesky Technologies LLC\",\n \"paypointDbaname\": \"Bluesky Tech\",\n \"parentOrgName\": \"TechCorp\",\n \"parentOrgId\": 5,\n \"paypointEntryname\": \"45782932fcc\",\n \"customerEvents\": [],\n \"pageindentifier\": null,\n \"externalPaypointID\": null,\n \"customerConsent\": null,\n \"customerPortal\": null\n }\n ],\n \"descriptor\": \"visa\",\n \"expDate\": \"0926\",\n \"holderName\": \"Marcus Chen\",\n \"idPmethod\": \"81f7fde1-dd8b-4892-b2e1-cd60dd91f6b4-XXXC\",\n \"lastUpdated\": \"2025-01-15T16:30:22Z\",\n \"maskedAccount\": \"4XXXXXXX2345\",\n \"method\": \"card\",\n \"methodType\": \"Single Merchant\",\n \"postalCode\": \"94105\",\n \"walletType\": null\n },\n \"responseText\": \"Success\"\n}",
|
|
2112
2112
|
"headers": {
|
|
2113
2113
|
"Content-Type": "application/json"
|
|
2114
2114
|
}
|
|
@@ -2139,7 +2139,7 @@
|
|
|
2139
2139
|
},
|
|
2140
2140
|
"response": {
|
|
2141
2141
|
"status": 200,
|
|
2142
|
-
"body": "{\n \"isSuccess\": true,\n \"responseData\": {\n \"referenceId\": \"
|
|
2142
|
+
"body": "{\n \"responseText\": \"Success\",\n \"isSuccess\": true,\n \"responseData\": {\n \"referenceId\": \"32-8877drt00045632-678\",\n \"resultCode\": 1,\n \"resultText\": \"Updated\"\n }\n}",
|
|
2143
2143
|
"headers": {
|
|
2144
2144
|
"Content-Type": "application/json"
|
|
2145
2145
|
}
|
|
@@ -2170,7 +2170,7 @@
|
|
|
2170
2170
|
},
|
|
2171
2171
|
"response": {
|
|
2172
2172
|
"status": 200,
|
|
2173
|
-
"body": "{\n \"isSuccess\": true,\n \"responseData\": {\n \"referenceId\": \"
|
|
2173
|
+
"body": "{\n \"responseText\": \"Success\",\n \"isSuccess\": true,\n \"responseData\": {\n \"referenceId\": \"32-8877drt00045632-678\",\n \"resultCode\": 1,\n \"resultText\": \"Removed\"\n }\n}",
|
|
2174
2174
|
"headers": {
|
|
2175
2175
|
"Content-Type": "application/json"
|
|
2176
2176
|
}
|
|
@@ -3289,7 +3289,7 @@
|
|
|
3289
3289
|
},
|
|
3290
3290
|
"response": {
|
|
3291
3291
|
"status": 200,
|
|
3292
|
-
"body": "{\n \"Summary\": {\n \"pageidentifier\": null,\n \"pageSize\": 20,\n \"totalAmount\": 0,\n \"totalNetAmount\": 0,\n \"totalPages\": 2,\n \"totalRecords\": 28\n },\n \"Records\": [\n {\n \"deviceId\": \"499585-389fj484-3jcj8hj3\",\n \"idCloud\": 142,\n \"description\": \"Front Counter Terminal\",\n \"serialNumber\": \"SN-90210-XR\",\n \"friendlyName\": \"Front Counter\",\n \"make\":
|
|
3292
|
+
"body": "{\n \"Summary\": {\n \"pageidentifier\": null,\n \"pageSize\": 20,\n \"totalAmount\": 0,\n \"totalNetAmount\": 0,\n \"totalPages\": 2,\n \"totalRecords\": 28\n },\n \"Records\": [\n {\n \"deviceId\": \"499585-389fj484-3jcj8hj3\",\n \"idCloud\": 142,\n \"description\": \"Front Counter Terminal\",\n \"serialNumber\": \"SN-90210-XR\",\n \"friendlyName\": \"Front Counter\",\n \"make\": \"\",\n \"model\": \"DX8000\",\n \"deviceType\": 1,\n \"deviceStatus\": 1,\n \"deviceOs\": null,\n \"macAddress\": \"1A2B3C4D5E6F\",\n \"lastHealthCheck\": \"2026-04-09T14:49:42Z\",\n \"registrationCode\": \"REG-A1B2C3D4\",\n \"activationAttempts\": 0,\n \"activationCodeExpiry\": \"2026-04-09T14:49:42Z\",\n \"createdAt\": \"2026-04-09T01:14:37Z\",\n \"updatedAt\": \"2026-04-09T14:49:42Z\",\n \"paypointId\": 3040,\n \"paypointDba\": \"Gruzya Adventure Outfitters\",\n \"paypointLegal\": \"Gruzya Adventure Outfitters, LLC\",\n \"paypointEntry\": \"8cfec329267\",\n \"paypointLogo\": \"https://payabli-public-objects.s3.amazonaws.com/pe3040.png\",\n \"externalPaypointId\": \"GRUZYA-01\",\n \"parentOrgId\": 100,\n \"parentOrgName\": \"Mountain View Services\",\n \"transactionCount\": 342,\n \"volumeProcessed\": 28650.75\n }\n ]\n}",
|
|
3293
3293
|
"headers": {
|
|
3294
3294
|
"Content-Type": "application/json"
|
|
3295
3295
|
}
|
|
@@ -3331,7 +3331,7 @@
|
|
|
3331
3331
|
},
|
|
3332
3332
|
"response": {
|
|
3333
3333
|
"status": 200,
|
|
3334
|
-
"body": "{\n \"Summary\": {\n \"pageidentifier\": null,\n \"pageSize\": 20,\n \"totalAmount\": 0,\n \"totalNetAmount\": 0,\n \"totalPages\": 2,\n \"totalRecords\": 28\n },\n \"Records\": [\n {\n \"deviceId\": \"499585-389fj484-3jcj8hj3\",\n \"idCloud\": 142,\n \"description\": \"Front Counter Terminal\",\n \"serialNumber\": \"SN-90210-XR\",\n \"friendlyName\": \"Front Counter\",\n \"make\":
|
|
3334
|
+
"body": "{\n \"Summary\": {\n \"pageidentifier\": null,\n \"pageSize\": 20,\n \"totalAmount\": 0,\n \"totalNetAmount\": 0,\n \"totalPages\": 2,\n \"totalRecords\": 28\n },\n \"Records\": [\n {\n \"deviceId\": \"499585-389fj484-3jcj8hj3\",\n \"idCloud\": 142,\n \"description\": \"Front Counter Terminal\",\n \"serialNumber\": \"SN-90210-XR\",\n \"friendlyName\": \"Front Counter\",\n \"make\": \"\",\n \"model\": \"DX8000\",\n \"deviceType\": 1,\n \"deviceStatus\": 1,\n \"deviceOs\": null,\n \"macAddress\": \"1A2B3C4D5E6F\",\n \"lastHealthCheck\": \"2026-04-09T14:49:42Z\",\n \"registrationCode\": \"REG-A1B2C3D4\",\n \"activationAttempts\": 0,\n \"activationCodeExpiry\": \"2026-04-09T14:49:42Z\",\n \"createdAt\": \"2026-04-09T01:14:37Z\",\n \"updatedAt\": \"2026-04-09T14:49:42Z\",\n \"paypointId\": 3040,\n \"paypointDba\": \"Gruzya Adventure Outfitters\",\n \"paypointLegal\": \"Gruzya Adventure Outfitters, LLC\",\n \"paypointEntry\": \"8cfec329267\",\n \"paypointLogo\": \"https://payabli-public-objects.s3.amazonaws.com/pe3040.png\",\n \"externalPaypointId\": \"GRUZYA-01\",\n \"parentOrgId\": 100,\n \"parentOrgName\": \"Mountain View Services\",\n \"transactionCount\": 342,\n \"volumeProcessed\": 28650.75\n }\n ]\n}",
|
|
3335
3335
|
"headers": {
|
|
3336
3336
|
"Content-Type": "application/json"
|
|
3337
3337
|
}
|
|
@@ -4602,7 +4602,7 @@
|
|
|
4602
4602
|
},
|
|
4603
4603
|
"response": {
|
|
4604
4604
|
"status": 200,
|
|
4605
|
-
"body": "{\n \"isSuccess\": true,\n \"responseText\": \"responseText\",\n \"responseCode\": 1,\n \"responseData\": {\n \"resultData\": {\n \"billNumber\": \"billNumber\",\n \"netAmount\": 1.1,\n \"billDate\": \"2024-01-15T09:30:00Z\",\n \"dueDate\": \"2024-01-15T09:30:00Z\",\n \"comments\": \"comments\",\n \"billItems\": [\n {}\n ],\n \"mode\": 1,\n \"accountingField1\": \"accountingField1\",\n \"accountingField2\": \"accountingField2\",\n \"endDate\": \"2024-01-15T09:30:00Z\",\n \"frequency\": \"frequency\",\n \"terms\": \"terms\",\n \"status\": 1,\n \"lotNumber\": \"lotNumber\",\n \"attachments\": [\n {}\n ]\n }\n }\n}",
|
|
4605
|
+
"body": "{\n \"isSuccess\": true,\n \"responseText\": \"responseText\",\n \"responseCode\": 1,\n \"responseData\": {\n \"resultData\": {\n \"billNumber\": \"billNumber\",\n \"netAmount\": 1.1,\n \"discount\": 1.1,\n \"totalAmount\": 1.1,\n \"billDate\": \"2024-01-15T09:30:00Z\",\n \"dueDate\": \"2024-01-15T09:30:00Z\",\n \"comments\": \"comments\",\n \"billItems\": [\n {}\n ],\n \"mode\": 1,\n \"accountingField1\": \"accountingField1\",\n \"accountingField2\": \"accountingField2\",\n \"endDate\": \"2024-01-15T09:30:00Z\",\n \"frequency\": \"frequency\",\n \"terms\": \"terms\",\n \"status\": 1,\n \"lotNumber\": \"lotNumber\",\n \"attachments\": [\n {}\n ]\n }\n }\n}",
|
|
4606
4606
|
"headers": {
|
|
4607
4607
|
"Content-Type": "application/json"
|
|
4608
4608
|
}
|
|
@@ -4633,7 +4633,7 @@
|
|
|
4633
4633
|
},
|
|
4634
4634
|
"response": {
|
|
4635
4635
|
"status": 200,
|
|
4636
|
-
"body": "{\n \"isSuccess\": true,\n \"responseText\": \"responseText\",\n \"responseCode\": 1,\n \"responseData\": {\n \"resultData\": {\n \"billNumber\": \"billNumber\",\n \"netAmount\": 1.1,\n \"billDate\": \"2024-01-15T09:30:00Z\",\n \"dueDate\": \"2024-01-15T09:30:00Z\",\n \"comments\": \"comments\",\n \"billItems\": [\n {}\n ],\n \"mode\": 1,\n \"accountingField1\": \"accountingField1\",\n \"accountingField2\": \"accountingField2\",\n \"endDate\": \"2024-01-15T09:30:00Z\",\n \"frequency\": \"frequency\",\n \"terms\": \"terms\",\n \"status\": 1,\n \"lotNumber\": \"lotNumber\",\n \"attachments\": [\n {}\n ]\n }\n }\n}",
|
|
4636
|
+
"body": "{\n \"isSuccess\": true,\n \"responseText\": \"responseText\",\n \"responseCode\": 1,\n \"responseData\": {\n \"resultData\": {\n \"billNumber\": \"billNumber\",\n \"netAmount\": 1.1,\n \"discount\": 1.1,\n \"totalAmount\": 1.1,\n \"billDate\": \"2024-01-15T09:30:00Z\",\n \"dueDate\": \"2024-01-15T09:30:00Z\",\n \"comments\": \"comments\",\n \"billItems\": [\n {}\n ],\n \"mode\": 1,\n \"accountingField1\": \"accountingField1\",\n \"accountingField2\": \"accountingField2\",\n \"endDate\": \"2024-01-15T09:30:00Z\",\n \"frequency\": \"frequency\",\n \"terms\": \"terms\",\n \"status\": 1,\n \"lotNumber\": \"lotNumber\",\n \"attachments\": [\n {}\n ]\n }\n }\n}",
|
|
4637
4637
|
"headers": {
|
|
4638
4638
|
"Content-Type": "application/json"
|
|
4639
4639
|
}
|
|
@@ -4664,7 +4664,7 @@
|
|
|
4664
4664
|
},
|
|
4665
4665
|
"response": {
|
|
4666
4666
|
"status": 200,
|
|
4667
|
-
"body": "[\n {\n \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"orgId\": 123,\n \"paypointId\": 3040,\n \"notificationEvent\": \"
|
|
4667
|
+
"body": "[\n {\n \"organizationName\": \"The Pilgrim Planner\",\n \"organizationLogo\": \"https://example.com/org-logo.png\",\n \"organizationFavIcon\": \"https://example.com/org-favicon.png\",\n \"paypointName\": \"Pilgrim Planner\",\n \"paypointLogo\": \"https://example.com/paypoint-logo.png\",\n \"notificationType\": 1,\n \"requestId\": \"f47ac10b-58cc-4372-a567-0e02b2c3d479\",\n \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"orgId\": 123,\n \"paypointId\": 3040,\n \"notificationEvent\": \"approvedpayment\",\n \"target\": \"https://webhook.example.com/payments\",\n \"responseStatusCode\": 200,\n \"responseStatus\": \"OK\",\n \"success\": true,\n \"jobData\": \"{\\\"transactionId\\\":\\\"txn_123\\\"}\",\n \"createdDate\": \"2024-01-15T10:30:00Z\",\n \"successDate\": \"2024-01-15T10:30:05Z\",\n \"lastFailedDate\": null,\n \"isInProgress\": false\n }\n]",
|
|
4668
4668
|
"headers": {
|
|
4669
4669
|
"Content-Type": "application/json"
|
|
4670
4670
|
}
|
|
@@ -4695,7 +4695,7 @@
|
|
|
4695
4695
|
},
|
|
4696
4696
|
"response": {
|
|
4697
4697
|
"status": 200,
|
|
4698
|
-
"body": "{\n \"
|
|
4698
|
+
"body": "{\n \"webHeaders\": [\n {\n \"key\": \"Content-Type\",\n \"value\": \"application/json\"\n },\n {\n \"key\": \"User-Agent\",\n \"value\": \"PaymentSystem/1.0\"\n }\n ],\n \"responseHeaders\": [\n {\n \"key\": \"Content-Type\",\n \"value\": [\n \"application/json\"\n ]\n },\n {\n \"key\": \"X-Request-ID\",\n \"value\": [\n \"req_abc123\"\n ]\n }\n ],\n \"responseContent\": \"{\\\"status\\\":\\\"received\\\",\\\"id\\\":\\\"wh_123\\\"}\",\n \"organizationName\": \"The Pilgrim Planner\",\n \"paypointName\": \"Pilgrim Planner\",\n \"requestId\": \"f47ac10b-58cc-4372-a567-0e02b2c3d479\",\n \"id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"orgId\": 123,\n \"paypointId\": 3040,\n \"notificationEvent\": \"approvedpayment\",\n \"target\": \"https://webhook.example.com/payments\",\n \"responseStatusCode\": 200,\n \"responseStatus\": \"OK\",\n \"success\": true,\n \"jobData\": \"{\\\"transactionId\\\":\\\"txn_123\\\"}\",\n \"createdDate\": \"2024-01-15T10:30:00Z\",\n \"successDate\": \"2024-01-15T10:30:05Z\",\n \"lastFailedDate\": null,\n \"isInProgress\": false\n}",
|
|
4699
4699
|
"headers": {
|
|
4700
4700
|
"Content-Type": "application/json"
|
|
4701
4701
|
}
|
|
@@ -4726,7 +4726,7 @@
|
|
|
4726
4726
|
},
|
|
4727
4727
|
"response": {
|
|
4728
4728
|
"status": 200,
|
|
4729
|
-
"body": "{\n \"
|
|
4729
|
+
"body": "{\n \"message\": \"Notification retry succeeded.\"\n}",
|
|
4730
4730
|
"headers": {
|
|
4731
4731
|
"Content-Type": "application/json"
|
|
4732
4732
|
}
|
|
@@ -4744,20 +4744,20 @@
|
|
|
4744
4744
|
}
|
|
4745
4745
|
},
|
|
4746
4746
|
{
|
|
4747
|
-
"id": "
|
|
4748
|
-
"name": "bulkRetryNotificationLogs -
|
|
4747
|
+
"id": "950bc47f-eb3f-4269-98d8-58e0164ff967",
|
|
4748
|
+
"name": "bulkRetryNotificationLogs - default",
|
|
4749
4749
|
"request": {
|
|
4750
4750
|
"urlPathTemplate": "/v2/notificationlogs/retry",
|
|
4751
4751
|
"method": "POST"
|
|
4752
4752
|
},
|
|
4753
4753
|
"response": {
|
|
4754
|
-
"status":
|
|
4755
|
-
"body": "\"\"",
|
|
4754
|
+
"status": 201,
|
|
4755
|
+
"body": "\"string\"",
|
|
4756
4756
|
"headers": {
|
|
4757
4757
|
"Content-Type": "application/json"
|
|
4758
4758
|
}
|
|
4759
4759
|
},
|
|
4760
|
-
"uuid": "
|
|
4760
|
+
"uuid": "950bc47f-eb3f-4269-98d8-58e0164ff967",
|
|
4761
4761
|
"persistent": true,
|
|
4762
4762
|
"priority": 3,
|
|
4763
4763
|
"metadata": {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: payabli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Payabli
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: The Payabli Ruby library provides convenient access to the Payabli API
|
|
14
14
|
from Ruby.
|
|
@@ -695,6 +695,7 @@ files:
|
|
|
695
695
|
- lib/payabli/types/notification_content_report_name.rb
|
|
696
696
|
- lib/payabli/types/notification_id.rb
|
|
697
697
|
- lib/payabli/types/notification_log.rb
|
|
698
|
+
- lib/payabli/types/notification_log_base.rb
|
|
698
699
|
- lib/payabli/types/notification_log_detail.rb
|
|
699
700
|
- lib/payabli/types/notification_query_record.rb
|
|
700
701
|
- lib/payabli/types/notification_report_request.rb
|
|
@@ -705,6 +706,7 @@ files:
|
|
|
705
706
|
- lib/payabli/types/notification_report_request_frequency.rb
|
|
706
707
|
- lib/payabli/types/notification_report_request_method.rb
|
|
707
708
|
- lib/payabli/types/notification_request.rb
|
|
709
|
+
- lib/payabli/types/notification_retry_response.rb
|
|
708
710
|
- lib/payabli/types/notification_standard_request.rb
|
|
709
711
|
- lib/payabli/types/notification_standard_request_content.rb
|
|
710
712
|
- lib/payabli/types/notification_standard_request_content_event_type.rb
|