didit-sdk 2.1.1 → 2.1.2
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/CHANGELOG.md +8 -0
- data/lib/didit/resources/bank.rb +5 -9
- data/lib/didit/resources/email.rb +3 -2
- data/lib/didit/resources/pricing.rb +2 -3
- data/lib/didit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 75e7989e163c261e1874b2364284742fb3055b87e3cb7a04b9b44b17a4cad721
|
|
4
|
+
data.tar.gz: 45ab740c6754aa34b26b52a582a0e0f5c0ae91ac7d042a28df512385980a9339
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83d4c5f5da7a60ee9967a13dd81a2995f2ff11aa8a872d6fb9c9b47f863cd6f9dbff5d1d07e81f1b75a91eeb327e63390e3fb987ba145af7c7ff52997cc28e1b
|
|
7
|
+
data.tar.gz: ba47419cad5abce47ef1139c7f77b38db529f49f6126c60142ebdd087c73fd65d4e99af35d14a4f87a1a366946f61243ff7cada0e4bc8923398d8891a44964c2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.1.2](https://github.com/didit-protocol/sdk-ruby/compare/v2.1.1...v2.1.2) (2026-11-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### API Spec Updates
|
|
7
|
+
|
|
8
|
+
* **spec:** sync API spec 2026-11-07 ([2a75a53](https://github.com/didit-protocol/sdk-ruby/commit/2a75a5351502a982285b2588f9c95d696ececb0c))
|
|
9
|
+
* **spec:** sync API spec 2026-11-07 ([d8b0851](https://github.com/didit-protocol/sdk-ruby/commit/d8b08515b4c0b773f0f5003c8f4cd9eb41558632))
|
|
10
|
+
|
|
3
11
|
## [2.1.1](https://github.com/didit-protocol/sdk-ruby/compare/v2.1.0...v2.1.1) (2026-11-06)
|
|
4
12
|
|
|
5
13
|
|
data/lib/didit/resources/bank.rb
CHANGED
|
@@ -7,10 +7,6 @@ module Didit
|
|
|
7
7
|
class Bank < Didit::Resource
|
|
8
8
|
# Check a bank account
|
|
9
9
|
#
|
|
10
|
-
# **Not available in production yet.** Bank Verification is switched off in production, so until it is switched
|
|
11
|
-
# on this endpoint answers `404` with `bank_verification_not_available`. Do not build on it yet. The rest of
|
|
12
|
-
# this description is what the endpoint does once it is available.
|
|
13
|
-
#
|
|
14
10
|
# Check that a bank account belongs to the person or company you name, before you send money to it. No session
|
|
15
11
|
# and no sign-in: send the name and the account, read the result. It is the [account
|
|
16
12
|
# check](/core-technology/bank-verification/account-check) of the Bank Verification step, run from your backend.
|
|
@@ -30,16 +26,16 @@ module Didit
|
|
|
30
26
|
# **Every request is a new check.** There is no idempotency key and no endpoint to read a check back, so a
|
|
31
27
|
# retried request runs, and is billed, again. Store the response.
|
|
32
28
|
#
|
|
33
|
-
# **Sandbox.**
|
|
34
|
-
# last 4 characters of the IBAN, else of the account number, choose the answer: `0001` a
|
|
35
|
-
# `holder_name`, `0002` a `close_match` without one, `0003` and `0006` a `no_match`, `0004`
|
|
36
|
-
# `0005` a `503` and `0009` a `400`. Any other ending is a `match`.
|
|
29
|
+
# **Sandbox.** Use a sandbox API key with the sample account details. A sandbox key calls no bank and is charged
|
|
30
|
+
# nothing. The last 4 characters of the IBAN, else of the account number, choose the answer: `0001` a
|
|
31
|
+
# `close_match` with a `holder_name`, `0002` a `close_match` without one, `0003` and `0006` a `no_match`, `0004`
|
|
32
|
+
# `cannot_verify`, `0005` a `503` and `0009` a `400`. Any other ending is a `match`.
|
|
37
33
|
#
|
|
38
34
|
# **API keys.** A scoped API key needs write access to sessions.
|
|
39
35
|
#
|
|
40
36
|
# +POST /v3/bank/account-check/+
|
|
41
37
|
#
|
|
42
|
-
# @param country [String] The account's country, as an ISO 3166-1 alpha-3 code, for example `
|
|
38
|
+
# @param country [String] The account's country, as an ISO 3166-1 alpha-3 code, for example `NGA`. Lowercase is
|
|
43
39
|
# accepted.
|
|
44
40
|
# @param account [Hash] The account the way its country writes it: an `iban`, or an `account_number` with the
|
|
45
41
|
# bank or branch code the country needs (`sort_code`, `routing_number`, `transit_institution`, `bsb`, `ifsc`,
|
|
@@ -214,8 +214,9 @@ module Didit
|
|
|
214
214
|
# **Deliverability pre-check.** Before anything is sent, the address goes through syntax and DNS/MX validation.
|
|
215
215
|
# Addresses that cannot receive mail return `200` with `status: "Undeliverable"` and `reason:
|
|
216
216
|
# "email_can_not_be_delivered"` - no email is sent, nothing is billed, and the verification is immediately
|
|
217
|
-
# finalized as `Declined` (a follow-up check returns `Expired or Not Found`). A
|
|
218
|
-
# the
|
|
217
|
+
# finalized as `Declined` (a follow-up check returns `Expired or Not Found`). A send that fails for a reason
|
|
218
|
+
# that is not the address (the email could not be handed over for delivery) returns `503` instead: no code is
|
|
219
|
+
# sent, nothing is billed, the verification stays open and the same request can be repeated.
|
|
219
220
|
#
|
|
220
221
|
# **Code format and branding.** Codes are 4-8 characters (`options.code_size`, default 6), numeric by default;
|
|
221
222
|
# set `options.alphanumeric_code: true` for uppercase letters and digits (the check comparison is
|
|
@@ -8,9 +8,8 @@ module Didit
|
|
|
8
8
|
# Get bank verification prices (public, unauthenticated)
|
|
9
9
|
#
|
|
10
10
|
# Returns the list price of each Bank Verification method in every country: bank sign-in with its balance and
|
|
11
|
-
# transactions add-ons, and the account check.
|
|
12
|
-
#
|
|
13
|
-
# can buy today. Use it to quote a bank step before you build a workflow, or to show bank prices in your own
|
|
11
|
+
# transactions add-ons, and the account check. A method a country does not offer today shows as not available,
|
|
12
|
+
# with no price. Use it to quote a bank step before you build a workflow, or to show bank prices in your own
|
|
14
13
|
# product.
|
|
15
14
|
#
|
|
16
15
|
# Public: send no auth header. The response contains no organization data and is the same for every caller. It
|
data/lib/didit/version.rb
CHANGED