zernio-sdk 0.0.966 → 0.0.967
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/docs/PhoneNumbersApi.md +1 -1
- data/lib/zernio-sdk/api/phone_numbers_api.rb +2 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +7 -0
- data/spec/api/phone_numbers_api_spec.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: 73e4feea3bb8624c86396f54a8af7492348b9c8afb8eaaf00c99ed998ccba607
|
|
4
|
+
data.tar.gz: 31a54b874bd084af8eff39a987217469d811660e845dac247c46d83a05753a28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 561498daf1f6b15f0a55aea5e193ed995b6684afb0676eba4734a61661bd980a01220bf3ab223136bc80bfecc9bbfd18fa89a16faee14c38eb924b02793dcc73
|
|
7
|
+
data.tar.gz: 98f90baf3f448b6c82e9a49c12eade2da4fff1f10365b967e5a6149701d284f603b5120cf0a032f24da969a6e6e0e36da27466d4ada80f39008dbd73af940a80
|
data/docs/PhoneNumbersApi.md
CHANGED
|
@@ -253,7 +253,7 @@ end
|
|
|
253
253
|
|
|
254
254
|
Create a hosted KYC link
|
|
255
255
|
|
|
256
|
-
Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
256
|
+
Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. Pass `numberType` (`local`, `mobile`, `national`, `toll_free`) to choose which of the country's offered types the shared form collects KYC for and eventually orders; omitted defaults to the country's default type (which may be `national` and therefore have no inventory in a geographic area code). Pass `areaCode` (NDC digits) to constrain the eventual order to a specific area; it is validated against the chosen `numberType`. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
257
257
|
|
|
258
258
|
### Examples
|
|
259
259
|
|
|
@@ -225,7 +225,7 @@ module Zernio
|
|
|
225
225
|
end
|
|
226
226
|
|
|
227
227
|
# Create a hosted KYC link
|
|
228
|
-
# Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
228
|
+
# Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. Pass `numberType` (`local`, `mobile`, `national`, `toll_free`) to choose which of the country's offered types the shared form collects KYC for and eventually orders; omitted defaults to the country's default type (which may be `national` and therefore have no inventory in a geographic area code). Pass `areaCode` (NDC digits) to constrain the eventual order to a specific area; it is validated against the chosen `numberType`. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
229
229
|
# @param create_phone_number_kyc_link_request [CreatePhoneNumberKycLinkRequest]
|
|
230
230
|
# @param [Hash] opts the optional parameters
|
|
231
231
|
# @return [CreatePhoneNumberKycLink200Response]
|
|
@@ -235,7 +235,7 @@ module Zernio
|
|
|
235
235
|
end
|
|
236
236
|
|
|
237
237
|
# Create a hosted KYC link
|
|
238
|
-
# Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
238
|
+
# Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. Pass `numberType` (`local`, `mobile`, `national`, `toll_free`) to choose which of the country's offered types the shared form collects KYC for and eventually orders; omitted defaults to the country's default type (which may be `national` and therefore have no inventory in a geographic area code). Pass `areaCode` (NDC digits) to constrain the eventual order to a specific area; it is validated against the chosen `numberType`. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
239
239
|
# @param create_phone_number_kyc_link_request [CreatePhoneNumberKycLinkRequest]
|
|
240
240
|
# @param [Hash] opts the optional parameters
|
|
241
241
|
# @return [Array<(CreatePhoneNumberKycLink200Response, Integer, Hash)>] CreatePhoneNumberKycLink200Response data, response status code and response headers
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -38126,6 +38126,13 @@ paths:
|
|
|
38126
38126
|
submit. Only regulated (KYC) countries are valid: a country that does not
|
|
38127
38127
|
require KYC returns 400.
|
|
38128
38128
|
|
|
38129
|
+
Pass `numberType` (`local`, `mobile`, `national`, `toll_free`) to choose
|
|
38130
|
+
which of the country's offered types the shared form collects KYC for and
|
|
38131
|
+
eventually orders; omitted defaults to the country's default type (which
|
|
38132
|
+
may be `national` and therefore have no inventory in a geographic area
|
|
38133
|
+
code). Pass `areaCode` (NDC digits) to constrain the eventual order to a
|
|
38134
|
+
specific area; it is validated against the chosen `numberType`.
|
|
38135
|
+
|
|
38129
38136
|
White-label the page with `branding` (your company name, logo, brand
|
|
38130
38137
|
color). Supply `redirect_url` to send the end customer back to your own
|
|
38131
38138
|
site after a successful submit (completion params are appended; see
|
|
@@ -72,7 +72,7 @@ describe 'PhoneNumbersApi' do
|
|
|
72
72
|
|
|
73
73
|
# unit tests for create_phone_number_kyc_link
|
|
74
74
|
# Create a hosted KYC link
|
|
75
|
-
# Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
75
|
+
# Create a single-use, 7-day hosted KYC link that your end customer completes WITHOUT a Zernio login. Useful when the person who holds the ID and address is not your team. They fill the regulated verification on a Zernio-hosted page; the number provisions under YOUR account once they submit. Only regulated (KYC) countries are valid: a country that does not require KYC returns 400. Pass `numberType` (`local`, `mobile`, `national`, `toll_free`) to choose which of the country's offered types the shared form collects KYC for and eventually orders; omitted defaults to the country's default type (which may be `national` and therefore have no inventory in a geographic area code). Pass `areaCode` (NDC digits) to constrain the eventual order to a specific area; it is validated against the chosen `numberType`. White-label the page with `branding` (your company name, logo, brand color). Supply `redirect_url` to send the end customer back to your own site after a successful submit (completion params are appended; see below). Listen for the `whatsapp.number.kyc_submitted` webhook to react when the form is completed.
|
|
76
76
|
# @param create_phone_number_kyc_link_request
|
|
77
77
|
# @param [Hash] opts the optional parameters
|
|
78
78
|
# @return [CreatePhoneNumberKycLink200Response]
|