|
3436 | 3436 | "type": "object", |
3437 | 3437 | "properties": { |
3438 | 3438 | "nickname": { |
3439 | | - "description": "User's preferred name. Used for display purposes only.", |
| 3439 | + "description": "User's nickname. Used for display purposes only.", |
3440 | 3440 | "type": "string", |
3441 | 3441 | "example": "Test User" |
3442 | 3442 | }, |
|
8016 | 8016 | "format": "date-time" |
8017 | 8017 | }, |
8018 | 8018 | "nickname": { |
8019 | | - "description": "User's preferred name. Used for display purposes only.", |
| 8019 | + "description": "User's nickname. Used for display purposes only.", |
8020 | 8020 | "type": "string", |
8021 | 8021 | "example": "Test User" |
8022 | 8022 | }, |
|
8226 | 8226 | }, |
8227 | 8227 | "title": "Merchant" |
8228 | 8228 | }, |
8229 | | - "Company": { |
8230 | | - "description": "Information about the company or business. This is legal information that is used for verification.\n", |
8231 | | - "type": "object", |
8232 | | - "properties": { |
8233 | | - "name": { |
8234 | | - "description": "The company's legal name.", |
8235 | | - "type": "string", |
8236 | | - "example": "Gin & Doughnuts Bar GmbH", |
8237 | | - "maxLength": 150, |
8238 | | - "minLength": 1 |
8239 | | - }, |
8240 | | - "merchant_category_code": { |
8241 | | - "description": "The merchant category code for the account as specified by [ISO18245](https://www.iso.org/standard/33365.html). MCCs are used to classify businesses based on the goods or services they provide.\n", |
8242 | | - "type": "string", |
8243 | | - "example": "1532", |
8244 | | - "pattern": "^[0-9]{4}$" |
8245 | | - }, |
8246 | | - "legal_type": { |
8247 | | - "$ref": "#/components/schemas/LegalType" |
8248 | | - }, |
8249 | | - "address": { |
8250 | | - "$ref": "#/components/schemas/Address" |
8251 | | - }, |
8252 | | - "trading_address": { |
8253 | | - "$ref": "#/components/schemas/Address" |
8254 | | - }, |
8255 | | - "identifiers": { |
8256 | | - "$ref": "#/components/schemas/CompanyIdentifiers" |
8257 | | - }, |
8258 | | - "phone_number": { |
8259 | | - "$ref": "#/components/schemas/PhoneNumber" |
8260 | | - }, |
8261 | | - "website": { |
8262 | | - "description": "HTTP(S) URL of the company's website.\n", |
8263 | | - "type": "string", |
8264 | | - "format": "uri", |
8265 | | - "examples": [ |
8266 | | - "https://www.sumup.com" |
8267 | | - ], |
8268 | | - "maxLength": 255, |
8269 | | - "nullable": true |
8270 | | - }, |
8271 | | - "attributes": { |
8272 | | - "$ref": "#/components/schemas/Attributes" |
8273 | | - } |
8274 | | - }, |
8275 | | - "externalDocs": { |
8276 | | - "description": "Company documentation", |
8277 | | - "url": "https://developer.sumup.com/tools/glossary/merchant#company" |
8278 | | - } |
8279 | | - }, |
8280 | 8229 | "Meta": { |
8281 | 8230 | "description": "A set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.\n\n**Warning**: Updating Meta will overwrite the existing data. Make sure to always include the complete JSON object.", |
8282 | 8231 | "type": "object", |
|
8308 | 8257 | "website": { |
8309 | 8258 | "description": "The business's publicly available website.", |
8310 | 8259 | "type": "string", |
8311 | | - "format": "uri", |
8312 | 8260 | "example": "https://example.com", |
8313 | 8261 | "maxLength": 255 |
8314 | 8262 | }, |
|
8668 | 8616 | "share" |
8669 | 8617 | ] |
8670 | 8618 | }, |
8671 | | - "PersonalIdentifier": { |
8672 | | - "type": "object", |
8673 | | - "properties": { |
8674 | | - "ref": { |
8675 | | - "description": "The unique reference for the personal identifier type as defined in the country SDK.\n", |
8676 | | - "type": "string", |
8677 | | - "examples": [ |
8678 | | - "br.cpf" |
8679 | | - ] |
8680 | | - }, |
8681 | | - "value": { |
8682 | | - "description": "The company identifier value.\n", |
8683 | | - "type": "string", |
8684 | | - "examples": [ |
8685 | | - "847.060.136-90" |
8686 | | - ], |
8687 | | - "maxLength": 30 |
8688 | | - } |
| 8619 | + "PersonalIdentifiers": { |
| 8620 | + "description": "A list of country-specific personal identifiers.\n", |
| 8621 | + "type": "array", |
| 8622 | + "items": { |
| 8623 | + "$ref": "#/components/schemas/PersonalIdentifier" |
8689 | 8624 | }, |
8690 | | - "examples": [ |
8691 | | - { |
8692 | | - "ref": "br.cpf", |
8693 | | - "value": "847.060.136-90" |
8694 | | - } |
8695 | | - ], |
8696 | | - "required": [ |
8697 | | - "ref", |
8698 | | - "value" |
8699 | | - ] |
| 8625 | + "maxItems": 5 |
8700 | 8626 | }, |
8701 | 8627 | "Version": { |
8702 | 8628 | "description": "The version of the resource. The version reflects a specific change submitted to the API via one of the `PATCH` endpoints.\n", |
|
8778 | 8704 | "$ref": "#/components/schemas/Address" |
8779 | 8705 | }, |
8780 | 8706 | "identifiers": { |
8781 | | - "description": "A list of country-specific personal identifiers.\n", |
8782 | | - "type": "array", |
8783 | | - "items": { |
8784 | | - "$ref": "#/components/schemas/PersonalIdentifier" |
8785 | | - }, |
8786 | | - "maxItems": 5 |
| 8707 | + "$ref": "#/components/schemas/PersonalIdentifiers" |
8787 | 8708 | }, |
8788 | 8709 | "citizenship": { |
8789 | 8710 | "$ref": "#/components/schemas/CountryCode" |
|
8815 | 8736 | "id" |
8816 | 8737 | ] |
8817 | 8738 | }, |
| 8739 | + "PersonalIdentifier": { |
| 8740 | + "type": "object", |
| 8741 | + "properties": { |
| 8742 | + "ref": { |
| 8743 | + "description": "The unique reference for the personal identifier type as defined in the country SDK.\n", |
| 8744 | + "type": "string", |
| 8745 | + "examples": [ |
| 8746 | + "br.cpf" |
| 8747 | + ] |
| 8748 | + }, |
| 8749 | + "value": { |
| 8750 | + "description": "The value of the personal identifier.\n", |
| 8751 | + "type": "string", |
| 8752 | + "examples": [ |
| 8753 | + "847.060.136-90" |
| 8754 | + ], |
| 8755 | + "maxLength": 30 |
| 8756 | + } |
| 8757 | + }, |
| 8758 | + "examples": [ |
| 8759 | + { |
| 8760 | + "ref": "br.cpf", |
| 8761 | + "value": "847.060.136-90" |
| 8762 | + } |
| 8763 | + ], |
| 8764 | + "required": [ |
| 8765 | + "ref", |
| 8766 | + "value" |
| 8767 | + ] |
| 8768 | + }, |
| 8769 | + "Company": { |
| 8770 | + "description": "Information about the company or business. This is legal information that is used for verification.\n", |
| 8771 | + "type": "object", |
| 8772 | + "properties": { |
| 8773 | + "name": { |
| 8774 | + "description": "The company's legal name.", |
| 8775 | + "type": "string", |
| 8776 | + "example": "Gin & Doughnuts Bar GmbH", |
| 8777 | + "maxLength": 150, |
| 8778 | + "minLength": 1 |
| 8779 | + }, |
| 8780 | + "merchant_category_code": { |
| 8781 | + "description": "The merchant category code for the account as specified by [ISO18245](https://www.iso.org/standard/33365.html). MCCs are used to classify businesses based on the goods or services they provide.\n", |
| 8782 | + "type": "string", |
| 8783 | + "example": "1532", |
| 8784 | + "pattern": "^[0-9]{4}$" |
| 8785 | + }, |
| 8786 | + "legal_type": { |
| 8787 | + "$ref": "#/components/schemas/LegalType" |
| 8788 | + }, |
| 8789 | + "address": { |
| 8790 | + "$ref": "#/components/schemas/Address" |
| 8791 | + }, |
| 8792 | + "trading_address": { |
| 8793 | + "$ref": "#/components/schemas/Address" |
| 8794 | + }, |
| 8795 | + "identifiers": { |
| 8796 | + "$ref": "#/components/schemas/CompanyIdentifiers" |
| 8797 | + }, |
| 8798 | + "phone_number": { |
| 8799 | + "$ref": "#/components/schemas/PhoneNumber" |
| 8800 | + }, |
| 8801 | + "website": { |
| 8802 | + "description": "HTTP(S) URL of the company's website.\n", |
| 8803 | + "type": "string", |
| 8804 | + "examples": [ |
| 8805 | + "https://www.sumup.com" |
| 8806 | + ], |
| 8807 | + "maxLength": 255 |
| 8808 | + }, |
| 8809 | + "attributes": { |
| 8810 | + "$ref": "#/components/schemas/Attributes" |
| 8811 | + } |
| 8812 | + }, |
| 8813 | + "externalDocs": { |
| 8814 | + "description": "Company documentation", |
| 8815 | + "url": "https://developer.sumup.com/tools/glossary/merchant#company" |
| 8816 | + } |
| 8817 | + }, |
8818 | 8818 | "ClassicMerchantIdentifiers": { |
8819 | 8819 | "type": "object", |
8820 | 8820 | "properties": { |
|
0 commit comments