Skip to content

Commit f000cb6

Browse files
authored
Add date_of_birth and national_id parameters to customer schemas (#77)
- Added the "date_of_birth" parameter to the customer, customer_response, and update_customer schemas. - The "date_of_birth" parameter allows identifying the date of birth of the client. - Updated the descriptions and examples for the "date_of_birth" parameter in all affected schemas. - Added the "national_id" parameter to the customer, customer_response, and update_customer schemas. - The "national_id" parameter allows identifying the national identification number of the client. - Updated the descriptions and examples for the "national_id" parameter in all affected schemas.
1 parent 8a19314 commit f000cb6

File tree

4 files changed

+54
-0
lines changed

4 files changed

+54
-0
lines changed

_build/api.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12571,6 +12571,11 @@ components:
1257112571
description: Custom reference
1257212572
example: custom_reference
1257312573
type: string
12574+
date_of_birth:
12575+
description: It is a parameter that allows to identify the date of birth
12576+
of the client.
12577+
example: 24/07/1992
12578+
type: string
1257412579
default_fiscal_entity_id:
1257512580
example: fis_ent_2tKqqAfqPi21oCmEJ
1257612581
nullable: true
@@ -12601,6 +12606,11 @@ components:
1260112606
description: Customer's name
1260212607
example: Felipe
1260312608
type: string
12609+
national_id:
12610+
description: It is a parameter that allows to identify the national identification
12611+
number of the client.
12612+
example: HEGG560427MVZRRL04
12613+
type: string
1260412614
metadata:
1260512615
additionalProperties: true
1260612616
maxProperties: 100
@@ -13829,6 +13839,11 @@ components:
1382913839
custom_reference:
1383013840
description: It is an undefined value.
1383113841
type: string
13842+
date_of_birth:
13843+
description: It is a parameter that allows to identify the date of birth
13844+
of the client.
13845+
example: 24/07/1992
13846+
type: string
1383213847
email:
1383313848
description: "An email address is a series of customizable characters followed\
1383413849
\ by a universal Internet symbol, the at symbol (@), the name of a host\
@@ -13858,6 +13873,11 @@ components:
1385813873
description: Client's name
1385913874
example: miguel
1386013875
type: string
13876+
national_id:
13877+
description: It is a parameter that allows to identify the national identification
13878+
number of the client.
13879+
example: HEGG560427MVZRRL04
13880+
type: string
1386113881
payment_sources:
1386213882
description: Contains details of the payment methods that the customer has
1386313883
active or has used in Conekta
@@ -13892,6 +13912,11 @@ components:
1389213912
properties:
1389313913
antifraud_info:
1389413914
$ref: '#/components/schemas/update_customer_antifraud_info'
13915+
date_of_birth:
13916+
description: It is a parameter that allows to identify the date of birth
13917+
of the client.
13918+
example: 24/07/1992
13919+
type: string
1389513920
default_payment_source_id:
1389613921
description: "It is a parameter that allows to identify in the response,\
1389713922
\ the Conekta ID of a payment method (payment_id)"
@@ -13938,6 +13963,11 @@ components:
1393813963
additionalProperties: true
1393913964
maxProperties: 100
1394013965
type: object
13966+
national_id:
13967+
description: It is a parameter that allows to identify the national identification
13968+
number of the client.
13969+
example: HEGG560427MVZRRL04
13970+
type: string
1394113971
payment_sources:
1394213972
description: Contains details of the payment methods that the customer has
1394313973
active or has used in Conekta

schemas/customers/customer.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ properties:
2626
custom_reference:
2727
type: string
2828
description: It is an undefined value.
29+
date_of_birth:
30+
type: string
31+
description: "It is a parameter that allows to identify the date of birth of the client."
32+
example: "24/07/1992"
2933
email:
3034
type: string
3135
description: "An email address is a series of customizable characters followed by a universal Internet symbol, the at symbol (@), the name of a host server, and a web domain ending (.mx, .com, .org, . net, etc)."
@@ -51,6 +55,10 @@ properties:
5155
type: string
5256
description: Client's name
5357
example: miguel
58+
national_id:
59+
type: string
60+
description: "It is a parameter that allows to identify the national identification number of the client."
61+
example: "HEGG560427MVZRRL04"
5462
payment_sources:
5563
description: Contains details of the payment methods that the customer has active or has used in Conekta
5664
type: array

schemas/customers/customer_response.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ properties:
3232
type: string
3333
example: "custom_reference"
3434
description: Custom reference
35+
date_of_birth:
36+
type: string
37+
description: "It is a parameter that allows to identify the date of birth of the client."
38+
example: "24/07/1992"
3539
default_fiscal_entity_id:
3640
type: string
3741
nullable: true
@@ -92,6 +96,10 @@ properties:
9296
type: string
9397
example: Felipe
9498
description: Customer's name
99+
national_id:
100+
type: string
101+
description: "It is a parameter that allows to identify the national identification number of the client."
102+
example: "HEGG560427MVZRRL04"
95103
metadata:
96104
type: object
97105
additionalProperties: true

schemas/customers/update_customer.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ properties:
1313
first_paid_at:
1414
type: integer
1515
example: 1485151007
16+
date_of_birth:
17+
type: string
18+
description: "It is a parameter that allows to identify the date of birth of the client."
19+
example: "24/07/1992"
1620
default_payment_source_id:
1721
type: string
1822
description: "It is a parameter that allows to identify in the response, the Conekta ID of a payment method (payment_id)"
@@ -53,6 +57,10 @@ properties:
5357
type: object
5458
additionalProperties: true
5559
maxProperties: 100
60+
national_id:
61+
type: string
62+
description: "It is a parameter that allows to identify the national identification number of the client."
63+
example: "HEGG560427MVZRRL04"
5664
payment_sources:
5765
description: Contains details of the payment methods that the customer has active or has used in Conekta
5866
type: array

0 commit comments

Comments
 (0)