Select
Schemas
ListIdentificationProcessesResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
processes | [IdentificationProcessSummaryResponse] | true | none |
GetIdentificationProcessResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | IdentificationProcessSummaryResponse | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» document | DocumentResponse | false | none |
IdentificationProcessSummaryResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
process_id | string(uuid) | true | Identification process id |
process_date | string(date-time) | true | Date of the identification process. Format according to ISO 8601 |
DocumentResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
url_expiration_date | string(date-time) | true | Expiration date for the supplied link. Format according to ISO 8601 |
public_url | string | true | Link to download the contract |
media_type | string | true | Format of the document to be stored. It must match the format of the binary document Allowed values: pdf, jpeg, jpg, png |
name | string | true | Name of the document (without spaces) |
type | string | true | Type of contract |
size_bytes | integer | true | Size of the document in bytes |
AccountCreated
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | true | Account id |
external_id | string¦null | false | Account external id |
BillingAddress
|
|
Name | Type | Required | Description |
---|---|---|---|
address_lines | [string] | true | none |
postal_code | string | true | none |
state_id | string | false | none |
locality | string | true | none |
administrative_area | string | true | none |
region_code | string | true | none |
GetAccount
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | true | Account id |
external_id | string¦null | false | Account external id |
customer_id | string(uuid) | true | Customer id |
contract_reference | string¦null | false | Contract reference |
modality | string | true | none |
billing_address | BillingAddress | false | none |
payment_method | GetPaymentMethod | true | none |
invoice | AccountInvoice | false | Account invoice info |
created_at | string(date-time) | true | Account creation date |
ended_at | string(date-time)¦null | false | Account end date |
updated_at | string(date-time) | true | Account end date |
Property | Values |
---|---|
modality | one of [PREPAID, RECURRING_PREPAID, POSTPAID] |
AccountInvoice
|
|
Name | Type | Required | Description |
---|---|---|---|
cycle | InvoiceCycle | false | Invoice cycle info |
InvoiceCycle
|
|
Name | Type | Required | Description |
---|---|---|---|
name | string | false | Invoice cycle name |
day | integer(int32) | false | Invoice cycle day |
type | string | false | Invoice cycle type (‘M’ for monthly…etc) |
frequency | integer(int32) | false | Invoice cycle frequency (once a month, twice a year…etc) |
PaymentType
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | none |
Property | Values |
---|---|
anonymous | one of [BANK_TRANSFER, DIRECT_DEBIT, CREDIT_CARD] |
GetPaymentType
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | none |
Property | Values |
---|---|
anonymous | one of [BANK_TRANSFER, DIRECT_DEBIT, CREDIT_CARD, TECI] |
PatchPaymentType
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | none |
Property | Values |
---|---|
anonymous | one of [BANK_TRANSFER, DIRECT_DEBIT, CREDIT_CARD] |
AvailablePaymentMethods
|
|
Name | Type | Required | Description |
---|---|---|---|
payment_methods | [AvailablePaymentMethod] | false | none |
AvailablePaymentMethod
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | none |
Property | Values |
---|---|
anonymous | one of [BANK_TRANSFER, DIRECT_DEBIT, CREDIT_CARD, TECI] |
PaymentMethod
|
|
Name | Type | Required | Description |
---|---|---|---|
type | PaymentType | true | none |
details | object¦null | false | iban is mandatory when type is DIRECT_DEBIT, token_id is mandatory when type is CREDIT_CARD |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | object | false | none |
»» iban | string | true | Only for direct debit payment method |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | object | false | none |
»» token_id | string(uuid) | true | Only for credit card payment method, this value is the token id of the tokenized credit card |
PatchAccountPaymentMethod
|
|
Name | Type | Required | Description |
---|---|---|---|
type | PatchPaymentType | true | none |
details | object¦null | false | iban is mandatory when type is DIRECT_DEBIT, token_id is mandatory when type is CREDIT_CARD |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | object | false | none |
»» iban | string | true | Only for direct debit payment method |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | object | false | none |
»» token_id | string(uuid) | true | Only for credit card payment method, this value is the id of the tokenized credit card |
GetPaymentMethod
|
|
Name | Type | Required | Description |
---|---|---|---|
type | GetPaymentType | true | none |
details | object¦null | false | iban is mandatory when type is DIRECT_DEBIT, credit_card is mandatory when type is CREDIT_CARD, token-teci is mandatory when type is TECI |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | GetDirectDebitPaymentMethodDetails | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | GetCreditCardPaymentMethodDetails | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | GetTeciPaymentMethodDetails | false | none |
GetDirectDebitPaymentMethodDetails
|
|
Name | Type | Required | Description |
---|---|---|---|
iban | string | true | Only for direct debit payment method |
GetCreditCardPaymentMethodDetails
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | true | Credit card id. Only for credit card payment method |
summary | string | true | Masked credit card number. Only for credit card payment method |
expiration_date | string | true | Credit card expiration date (MM/yyyy format). Only for credit card payment method |
GetTeciPaymentMethodDetails
|
|
Name | Type | Required | Description |
---|---|---|---|
token-teci | string | true | Only for TECI payment method |
CustomerTokenizedCreditCards
|
|
Name | Type | Required | Description |
---|---|---|---|
available_credit_cards | [CustomerTokenizedCreditCard] | false | none |
CustomerTokenizedCreditCard
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | false | Credit card id |
created_at | string(date-time) | false | Credit card creation date |
summary | string | false | Masked credit card number |
expiration_date | string | false | Credit card expiration date (MM/yyyy format) |
PostAccount
|
|
Name | Type | Required | Description |
---|---|---|---|
modality | string | true | none |
billing_address | BillingAddress | false | none |
payment_method | PaymentMethod | true | none |
Property | Values |
---|---|
modality | one of [RECURRING_PREPAID, POSTPAID] |
AccountIds
|
|
Name | Type | Required | Description |
---|---|---|---|
accounts | [AccountId] | false | none |
AccountId
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | false | Account id |
CustomerSearchResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
customer | object | false | none |
» id | string(uuid) | false | Customer’s identifier |
CustomerResponseCommonProperties
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | true | Customer’s identifier |
external_id | string¦null | false | Customer’s external identifier |
created_at | string(date-time) | true | Customer’s creation date |
ended_at | string(date-time)¦null | false | Customer’s deactivation date |
updated_at | string(date-time) | true | Customer’s last modification date |
type | CustomerType | true | none |
preferred_language | LanguageCode | true | Customer’s preferred language code in ISO-639-1 lowercase format |
segment | Segment | true | Customer’s segment, whether it is an individual, a self-employed customer, or a company (although so far we just support SME - Small Medium Enterprise). For PrivateCustomer: * CONSUMER For CorporateCustomer: * SELF_EMPLOYEE * SME |
contact_info | ContactInfoResponse | true | none |
CustomerResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | PrivateCustomerResponse | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | CorporateCustomerResponse | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | DigitalCustomerResponse | false | none |
DigitalCustomerResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | true | Customer’s identifier |
created_at | string(date-time) | true | Customer’s creation date |
ended_at | string(date-time)¦null | false | Customer’s deactivation date |
updated_at | string(date-time) | true | Customer’s last modification date |
type | CustomerType | true | none |
preferred_language | LanguageCode | true | Customer’s preferred language code in ISO-639-1 lowercase format |
digital_personal_info | DigitalPersonalInfoResponse | true | Digital customer personal information |
PrivateCustomerResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | CustomerResponseCommonProperties | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» personal_info | PersonalInfoResponse | false | Private customer personal information |
CorporateCustomerResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | CustomerResponseCommonProperties | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
» company_info | CompanyInfoResponse | false | none |
PersonalInfoName
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | Customer’s first name (including middle name if applicable) |
PersonalInfoFirstSurname
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | Customer’s first surname |
PersonalInfoSecondSurname
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string¦null | false | Consumer’s rest of surnames |
PersonalInfoBirthdate
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string(date) | false | Customer’s date of birth |
PersonalInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
identity_document | PersonalIdentityDocument | true | Private customer identification document |
name | PersonalInfoName | true | Customer’s first name (including middle name if applicable) |
first_surname | PersonalInfoFirstSurname | true | Customer’s first surname |
second_surname | PersonalInfoSecondSurname | false | Consumer’s rest of surnames |
gender | string | false | Customer’s gender |
nationality | string | true | Customer’s nationality code in ISO 3166-1 alpha-2 uppercase format. ‘ZZ’ is used for unknown countries. |
birthdate | PersonalInfoBirthdate | true | Customer’s date of birth |
Property | Values |
---|---|
gender | one of [MALE, FEMALE, UNSPECIFIED] |
PatchPersonalInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
name | PersonalInfoName | false | Customer’s first name (including middle name if applicable) |
first_surname | PersonalInfoFirstSurname | false | Customer’s first surname |
second_surname | PersonalInfoSecondSurname | false | Consumer’s rest of surnames |
birthdate | PersonalInfoBirthdate | false | Customer’s date of birth |
CompanyInfoLegalName
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | Company’s legal name |
CompanyInfoFoundingDate
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string(date) | false | Company’s foundation date |
PatchDigitalPersonalInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
name | DigitalPersonalInfoName | false | Customer’s first name |
first_surname | DigitalPersonalInfoFirstSurname | false | Customer’s first surname |
second_surname | DigitalPersonalInfoSecondSurname | false | Consumer’s rest of surnames |
mobile_phone_number | MobilePhoneNumber | false | none |
DigitalPersonalInfoResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
name | DigitalPersonalInfoName | false | Customer’s first name |
first_surname | DigitalPersonalInfoFirstSurname | false | Customer’s first surname |
second_surname | DigitalPersonalInfoSecondSurname | false | Consumer’s rest of surnames |
DigitalEmail | false | Case insensitive customer’s email, no accent marks allowed | |
mobile_phone_number | MobilePhoneNumber | false | none |
PersonalInfoResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
identity_document | PersonalIdentityDocument | false | Private customer identification document |
name | string | false | Customer’s first name (including middle name if applicable) |
first_surname | string¦null | false | Customer’s first surname |
second_surname | string¦null | false | Consumer’s rest of surnames |
gender | string¦null | false | Customer’s gender |
nationality | string¦null | false | Customer’s nationality code in ISO 3166-1 alpha-2 uppercase format. ‘ZZ’ is used for unknown countries. |
birthdate | string(date)¦null | false | Customer’s date of birth |
Property | Values |
---|---|
gender | one of [MALE, FEMALE, UNSPECIFIED] |
CompanyInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
identity_document | CorporateIdentityDocument | true | Corporate customer identification document |
legal_name | CompanyInfoLegalName | true | Company’s legal name |
founding_date | CompanyInfoFoundingDate | true | Company’s foundation date |
associated_users | [AssociatedUser] | true | [Business Customer associated user] |
CompanyInfoResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
identity_document | CorporateIdentityDocument | false | Corporate customer identification document |
legal_name | string | false | Company’s legal name |
founding_date | string(date)¦null | false | Company’s foundation date |
associated_users | [AssociatedUser] | false | [Business Customer associated user] |
PatchCompanyInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
legal_name | CompanyInfoLegalName | false | Company’s legal name |
founding_date | CompanyInfoFoundingDate | false | Company’s foundation date |
associated_users | [PatchAssociatedUser] | false | [Update Business Customer associated user] |
AssociatedUser
|
|
Name | Type | Required | Description |
---|---|---|---|
identity_document | PersonalIdentityDocument | true | Private customer identification document |
role | string | false | The role of the user in the relationship between their company and us |
name | string | true | Associated user’s first name (including middle name if applicable) |
first_surname | string | true | Associated user’s first surname |
second_surname | string¦null | false | Associated user’s rest of surnames |
nationality | string | true | Associated user’s nationality code in ISO 3166-1 alpha-2 uppercase format. ‘ZZ’ is used for unknown countries. |
Property | Values |
---|---|
role | one of [AUTHORIZED_REPRESENTATIVE] |
PatchAssociatedUser
|
|
Name | Type | Required | Description |
---|---|---|---|
identity_document | PersonalIdentityDocument | true | Private customer identification document |
LanguageCode
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | Customer’s preferred language code in ISO-639-1 lowercase format |
Property | Values |
---|---|
anonymous | one of [es, ca, gl, eu, en, pt] |
Segment
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | Customer’s segment, whether it is an individual, a self-employed customer, or a company (although so far we just support SME - Small Medium Enterprise). For PrivateCustomer: * CONSUMER For CorporateCustomer: * SELF_EMPLOYEE * SME |
Property | Values |
---|---|
anonymous | one of [CONSUMER, SELF_EMPLOYEE, SME] |
PatchPhoneNumberArray
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | [PatchPhoneNumber] | false | List of phone numbers that the customer can be contacted with. At least one phone number is required |
ContactInfoPhoneNumbers
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | [PhoneNumber] | false | List of phone numbers that the customer can be contacted with. At least one default phone number is required |
PatchEmailArray
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | [PatchEmail] | false | List of emails that the customer can be contacted with. At least one email is required |
ContactInfoEmails
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | [Email] | false | List of emails that the customer can be contacted with. At least one default email is required |
PatchContactInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
phone_numbers | PatchPhoneNumberArray | false | List of phone numbers that the customer can be contacted with. At least one phone number is required |
emails | PatchEmailArray | false | List of emails that the customer can be contacted with. At least one email is required |
ContactInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
phone_numbers | ContactInfoPhoneNumbers | true | List of phone numbers that the customer can be contacted with. At least one default phone number is required |
emails | ContactInfoEmails | true | List of emails that the customer can be contacted with. At least one default email is required |
postal_address | Address | true | Postal address of the customer or user |
ContactInfoResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
phone_numbers | [PhoneNumberResponse] | true | List of 0 to 1 phone numbers that the customer can be contacted with. |
emails | [EmailResponse] | true | List of 0 to 1 emails that the customer can be contacted with. |
addresses | [Address] | true | List of 0 or more postal addresses that the customer can be contacted with. |
PatchEmail
|
|
Name | Type | Required | Description |
---|---|---|---|
string | true | Case insensitive customer’s email, no accent marks allowed |
|
|
Name | Type | Required | Description |
---|---|---|---|
string | true | Case insensitive customer’s email, no accent marks allowed | |
is_default | boolean | false | If the payload contains ony one email, this boolean value is ignored, and this email is set as the default one. If the payload contains more than one email, only one of them can be set as the default one. |
EmailResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
string | false | Case insensitive customer’s email, no accent marks allowed |
Address
|
|
Name | Type | Required | Description |
---|---|---|---|
address_lines | [string] | true | The full address, including the floor, door, and other supplements. |
postal_code | string | true | Address postal code, which identifies the subdivision within a locality where the address is located. |
locality | string | true | Name of the city, town, or similar where the address is located. |
administrative_area | string¦null | true | Name of the state, province, or similar where the address is located. |
region_code | string | true | Region or country code in ISO 3166-1 alpha-2 uppercase format. ‘ZZ’ is used for unknown countries. |
PhoneNumberType
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | Phone number type, which determines if it can receive SMS or not |
Property | Values |
---|---|
anonymous | one of [MOBILE] |
PatchPhoneNumber
|
|
Name | Type | Required | Description |
---|---|---|---|
country_code | string | true | Phone number country code according to the ITU (optionally preceded with a ‘+') |
number | string | true | Phone number value |
type | PhoneNumberType | true | Phone number type, which determines if it can receive SMS or not |
PhoneNumber
|
|
Name | Type | Required | Description |
---|---|---|---|
country_code | string | true | Phone number country code according to the ITU (optionally preceded with a ‘+') |
number | string | true | Phone number value |
type | PhoneNumberType | true | Phone number type, which determines if it can receive SMS or not |
is_default | boolean | false | If the payload contains ony one phone number, this boolean value is ignored, and this phone number is set as the default one. If the payload contains more than one phone number, only one of them can be set as the default one. |
PhoneNumberResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
country_code | string | false | Phone number country code according to the ITU (optionally preceded with a ‘+') |
number | string | false | Phone number value |
type | string | false | Phone number type, which determines if it can receive SMS or not |
Property | Values |
---|---|
type | one of [MOBILE, LANDLINE] |
PersonalIdentityDocument
|
|
Name | Type | Required | Description |
---|---|---|---|
number | string | true | Alphanumeric part of the Identification Document |
type | string | true | Identification Document type |
Property | Values |
---|---|
type | one of [NIF, NIE, PASSPORT] |
CorporateIdentityDocument
|
|
Name | Type | Required | Description |
---|---|---|---|
number | string | true | Alphanumeric part of the Identification Document |
type | string | true | Identification Document type |
Property | Values |
---|---|
type | one of [CIF] |
CustomerType
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | none |
Property | Values |
---|---|
anonymous | one of [PRIVATE_CUSTOMER, CORPORATE_CUSTOMER, DIGITAL_CUSTOMER] |
NewPrivateCustomer
|
|
Name | Type | Required | Description |
---|---|---|---|
type | CustomerType | true | none |
preferred_language | LanguageCode | true | Customer’s preferred language code in ISO-639-1 lowercase format |
segment | Segment | true | Customer’s segment, whether it is an individual, a self-employed customer, or a company (although so far we just support SME - Small Medium Enterprise). For PrivateCustomer: * CONSUMER For CorporateCustomer: * SELF_EMPLOYEE * SME |
contact_info | ContactInfo | true | none |
personal_info | PersonalInfo | true | Private customer personal information |
NewDigitalCustomer
|
|
Name | Type | Required | Description |
---|---|---|---|
type | CustomerType | true | none |
preferred_language | LanguageCode | true | Customer’s preferred language code in ISO-639-1 lowercase format |
digital_personal_info | DigitalPersonalInfo | true | Digital customer personal information |
DigitalPersonalInfo
|
|
Name | Type | Required | Description |
---|---|---|---|
name | DigitalPersonalInfoName | false | Customer’s first name |
first_surname | DigitalPersonalInfoFirstSurname | false | Customer’s first surname |
second_surname | DigitalPersonalInfoSecondSurname | false | Consumer’s rest of surnames |
DigitalEmail | true | Case insensitive customer’s email, no accent marks allowed | |
mobile_phone_number | MobilePhoneNumber | false | none |
DigitalPersonalInfoName
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | Customer’s first name |
DigitalPersonalInfoFirstSurname
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | Customer’s first surname |
DigitalPersonalInfoSecondSurname
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string¦null | false | Consumer’s rest of surnames |
DigitalEmail
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | string | false | Case insensitive customer’s email, no accent marks allowed |
MobilePhoneNumber
|
|
Name | Type | Required | Description |
---|---|---|---|
country_code | string | true | Phone number country code according to the ITU (optionally preceded with a ‘+') |
number | string | true | Mobile Phone number value |
PatchCustomerRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | Information required to update a customer |
» preferred_language | LanguageCode | false | Customer’s preferred language code in ISO-639-1 lowercase format |
» contact_info | PatchContactInfo | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | any | false | none |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | object | false | none |
»» personal_info | PatchPersonalInfo | false | Private customer personal information |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | object | false | none |
»» company_info | PatchCompanyInfo | false | Update Company Info |
Name | Type | Required | Description |
---|---|---|---|
» anonymous | object | false | none |
»» digital_personal_info | PatchDigitalPersonalInfo | false | Update Digital Personal Info |
NewCorporateCustomer
|
|
Name | Type | Required | Description |
---|---|---|---|
type | CustomerType | true | none |
preferred_language | LanguageCode | true | Customer’s preferred language code in ISO-639-1 lowercase format |
segment | Segment | true | Customer’s segment, whether it is an individual, a self-employed customer, or a company (although so far we just support SME - Small Medium Enterprise). For PrivateCustomer: * CONSUMER For CorporateCustomer: * SELF_EMPLOYEE * SME |
contact_info | ContactInfo | true | none |
company_info | CompanyInfo | true | none |
CredentialCreated
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | false | Credential id |
CustomerCreated
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | false | Customer id |
external_id | string¦null | false | Customer external id. Only returned when inserted by ourselves. |
CustomerId
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | false | Customer id |
Categories
|
|
Name | Type | Required | Description |
---|---|---|---|
categories | [Category] | true | none |
Credentials
|
|
Name | Type | Required | Description |
---|---|---|---|
username | string | false | Username |
customer_id | string(uuid) | false | Customer id |
credentials | [CredentialResponse] | true | [Credential of customer] |
Credential
|
|
Name | Type | Required | Description |
---|---|---|---|
username | string | true | Username |
CredentialResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | true | Credential id |
username | string | true | Username |
Category
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | true | Category id |
name | string | true | Category name. Only accepts alphanumeric characters and underscore special character. Will not accept spaces |
description | string | false | Category description |
valid_values | [string] | false | Optional field to restrict the possible values that the category can have when it’s associated with the customer. If this field is empty or not present, the category can have any value when associated with the customer. |
PostCategories
|
|
Name | Type | Required | Description |
---|---|---|---|
categories | [PostCategory] | true | none |
PostCategory
|
|
Name | Type | Required | Description |
---|---|---|---|
name | string | true | Category name. Only accepts alphanumeric characters and underscore special character. Will not accept spaces |
description | string | false | Category description |
valid_values | [string] | false | Optional field to restrict the possible values that the category can have when it’s associated with the customer. If this field is empty or not present, the category can have any value when associated with the customer. |
PatchCategory
|
|
Name | Type | Required | Description |
---|---|---|---|
description | string | false | Category description |
valid_values | [string] | false | Must include all values already present and new values to be added, or less values to be removed. |
PostCustomerCategory
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | true | Category id |
value | string¦null | true | Category value. |
description | string | false | Description of the category value. |
reason | string | false | Reason for the set of value. |
CustomerCategories
|
|
Name | Type | Required | Description |
---|---|---|---|
customer_id | string(uuid) | true | Customer id |
categories | [CustomerCategory] | true | Customer categories |
CustomerCategory
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | true | Category ID |
name | string | false | Category name |
value | string¦null | false | Category value. If null, category won’t be shown |
description | string | false | Description of the category value |
reason | string | false | Reason for the set of value |
create_date_time | string(date-time) | false | Category creation date and time |
last_modified_date_time | string(date-time) | false | Category last modified date and time |
CustomerCategoryHistory
|
|
Name | Type | Required | Description |
---|---|---|---|
customer_id | string(uuid) | true | Customer id |
categories | [CategoryHistory] | true | Customer categories with history |
CategoryHistory
|
|
Name | Type | Required | Description |
---|---|---|---|
id | integer(int32) | true | Customer category id |
name | string | true | Category name |
historical_values | [object] | true | none |
» value | string | false | Category value |
» description | string | false | Description of the category value |
» reason | string | false | Reason for the set of value |
» create_date | string(date-time) | false | Category creation date time |
» end_date | string(date-time)¦null | false | Category end date time |
» last_modified_date | string(date-time) | false | Category last modified date time |
» modified_by | string | false | none |
PatchCustomerCategory
|
|
Name | Type | Required | Description |
---|---|---|---|
value | string¦null | false | Category value. |
description | string¦null | false | Description of the category value. |
reason | string¦null | false | Reason for the set of value. |
Contracts
|
|
Name | Type | Required | Description |
---|---|---|---|
contracts | [Contract] | true | Contracts |
Contract
|
|
Name | Type | Required | Description |
---|---|---|---|
id | string(uuid) | false | none |
account_external_id | string | false | Account external id |
start_date | string(date-time) | false | Contract start date |
end_date | string(date-time) | false | Contract end date |
requests | [ContractRequest] | false | Contract requests |
ContractRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
request_external_id | string | false | Request id |
create_date | string(date-time) | false | Category creation date |
contract_reference_id | string | false | Contract reference id |
type | string | false | Contract request type |
origin_user | string | false | Origin user |
ErrorResponse
|
|
Name | Type | Required | Description |
---|---|---|---|
errors | [object] | false | none |
» code | string | false | Customer error code |
» title | string | false | Customer error title |
» ref | string | false | none |
» details | string | false | Detailed description of the error |