V4
Customers
Access to customers
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| body | body | any | true | ‘none’ |
Request body - JsonObject
|
|
None
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 201 | Created | successful operation | CustomerCreated |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 405 | Method Not Allowed | Method not allowed | None |
| 409 | Conflict | Conflict | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| identity_document | query | string | false | Document with numbers and letters |
| identity_document_type | query | string | false | Document type |
| query | string | false | Email used by customer to authenticate |
Enumerated Values
| Property | Values |
|---|---|
| identity_document_type | one of [NIF, NIE, PASSPORT, CIF] |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | successful operation | CustomerSearchResponse |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| customer_id | path | string(uuid) | true | Customer identifier |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | successful operation | CustomerResponse |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 405 | Method Not Allowed | Method not allowed | None |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| customer_id | path | string(uuid) | true | Customer identifier |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 204 | No Content | successful operation | None |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 409 | Conflict | Conflict | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| customer_id | path | string(uuid) | true | Customer identifier |
| body | body | PatchCustomerRequest | true | ‘none’ |
Request body - JsonObject
|
|
| 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 |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 204 | No Content | successful operation | None |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 409 | Conflict | Conflict | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| customer_id | path | string(uuid) | true | Customer identifier |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Credit cards returned successfully | CustomerTokenizedCreditCards |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org_id | path | string | true | organization name |
| customer_id | path | string(uuid) | true | Customer identifier |
| body | body | ConvertNieToNifRequest | true | ‘none’ |
Request body - instance of ConvertNieToNifRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| nif | string | true | NIF |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 204 | No Content | NIE converted successfully | None |
| 400 | Bad Request | Invalid request body | ErrorResponse |
| 401 | Unauthorized | Unauthorized | ErrorResponse |
| 403 | Forbidden | Forbidden resource | ErrorResponse |
| 404 | Not Found | Resource not found | ErrorResponse |
| 409 | Conflict | Conflict | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| 503 | Service Unavailable | Service unavailable | ErrorResponse |
| 504 | Gateway Time-out | Repository timeout | ErrorResponse |
Endpoints
Accounts
External accounts
Customers
External customers
Categories
Customers Categories
Special Treatment
Customer Special Treatment
Customer credentials
Customer identification processes