Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add date_of_birth and national_id parameters to customer schemas #77

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions _build/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12571,6 +12571,11 @@ components:
description: Custom reference
example: custom_reference
type: string
date_of_birth:
description: It is a parameter that allows to identify the date of birth
of the client.
example: 24/07/1992
type: string
default_fiscal_entity_id:
example: fis_ent_2tKqqAfqPi21oCmEJ
nullable: true
Expand Down Expand Up @@ -12601,6 +12606,11 @@ components:
description: Customer's name
example: Felipe
type: string
national_id:
description: It is a parameter that allows to identify the national identification
number of the client.
example: HEGG560427MVZRRL04
type: string
metadata:
additionalProperties: true
maxProperties: 100
Expand Down Expand Up @@ -13829,6 +13839,11 @@ components:
custom_reference:
description: It is an undefined value.
type: string
date_of_birth:
description: It is a parameter that allows to identify the date of birth
of the client.
example: 24/07/1992
type: string
email:
description: "An email address is a series of customizable characters followed\
\ by a universal Internet symbol, the at symbol (@), the name of a host\
Expand Down Expand Up @@ -13858,6 +13873,11 @@ components:
description: Client's name
example: miguel
type: string
national_id:
description: It is a parameter that allows to identify the national identification
number of the client.
example: HEGG560427MVZRRL04
type: string
payment_sources:
description: Contains details of the payment methods that the customer has
active or has used in Conekta
Expand Down Expand Up @@ -13892,6 +13912,11 @@ components:
properties:
antifraud_info:
$ref: '#/components/schemas/update_customer_antifraud_info'
date_of_birth:
description: It is a parameter that allows to identify the date of birth
of the client.
example: 24/07/1992
type: string
default_payment_source_id:
description: "It is a parameter that allows to identify in the response,\
\ the Conekta ID of a payment method (payment_id)"
Expand Down Expand Up @@ -13938,6 +13963,11 @@ components:
additionalProperties: true
maxProperties: 100
type: object
national_id:
description: It is a parameter that allows to identify the national identification
number of the client.
example: HEGG560427MVZRRL04
type: string
payment_sources:
description: Contains details of the payment methods that the customer has
active or has used in Conekta
Expand Down
8 changes: 8 additions & 0 deletions schemas/customers/customer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ properties:
custom_reference:
type: string
description: It is an undefined value.
date_of_birth:
type: string
description: "It is a parameter that allows to identify the date of birth of the client."
example: "24/07/1992"
email:
type: string
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)."
Expand All @@ -51,6 +55,10 @@ properties:
type: string
description: Client's name
example: miguel
national_id:
type: string
description: "It is a parameter that allows to identify the national identification number of the client."
example: "HEGG560427MVZRRL04"
payment_sources:
description: Contains details of the payment methods that the customer has active or has used in Conekta
type: array
Expand Down
8 changes: 8 additions & 0 deletions schemas/customers/customer_response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ properties:
type: string
example: "custom_reference"
description: Custom reference
date_of_birth:
type: string
description: "It is a parameter that allows to identify the date of birth of the client."
example: "24/07/1992"
default_fiscal_entity_id:
type: string
nullable: true
Expand Down Expand Up @@ -92,6 +96,10 @@ properties:
type: string
example: Felipe
description: Customer's name
national_id:
type: string
description: "It is a parameter that allows to identify the national identification number of the client."
example: "HEGG560427MVZRRL04"
metadata:
type: object
additionalProperties: true
Expand Down
8 changes: 8 additions & 0 deletions schemas/customers/update_customer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ properties:
first_paid_at:
type: integer
example: 1485151007
date_of_birth:
type: string
description: "It is a parameter that allows to identify the date of birth of the client."
example: "24/07/1992"
default_payment_source_id:
type: string
description: "It is a parameter that allows to identify in the response, the Conekta ID of a payment method (payment_id)"
Expand Down Expand Up @@ -53,6 +57,10 @@ properties:
type: object
additionalProperties: true
maxProperties: 100
national_id:
type: string
description: "It is a parameter that allows to identify the national identification number of the client."
example: "HEGG560427MVZRRL04"
payment_sources:
description: Contains details of the payment methods that the customer has active or has used in Conekta
type: array
Expand Down
Loading