This endpoint allows you to transition a user whose UserCategory is PAYER into an OWNER by providing the required information and redirecting them on the PendingUserAction.RedirectUrl response value to complete SCA enrollment.SCA applies to all LegalPersonType: BUSINESS, ORGANIZATION, PARTNERSHIP, and SOLETRADER. In Sandbox the RedirectUrl is returned for all legal user types (see legal user integration and SCA triggers in Sandbox).Optionally, you can update the LegalRepresentative.Email (in not already present) and provide or update the LegalRepresentative.PhoneNumber and LegalRepresentative.PhoneNumberCountry before SCA redirection.If the user’s UserCategory is already OWNER, use the POST Enroll a User in SCA endpoint to obtain an SCA session link.Read more about SCA redirection→
Note – Country-based restrictions apply to usersDue to Mangopay’s country restrictions, it is not possible to use blocked countries as the following:
The date of birth of the individual.Note: This is a Unix timestamp in UTC. Ensure you convert your timezone to UTC to avoid midnight being interpreted as the day before.
Format: A valid email addressThe individual’s email address. For OWNER users, SCA uses this email address to build a behavioral biometrics profile and as a backup communication channel.
Format: International E.164 standard (preceded by plus sign and country code) or local formatThe individual’s phone number. The local format (recommended) requires PhoneNumberCountry to ensure correct formatting.If present, the phone number forms part of card transaction data that is passed to issuers to improve authentication rates.For users with UserCategoryOWNER , the phone number is used to pre-populate the SCA session for them to confirm and receive an SMS OTP. If the individual modifies the phone number during the session, this data is not updated in the API.
Format: Two-letter country code (ISO 3166-1 alpha-2 format)Required if the PhoneNumber is provided in local format (recommended), to render the value in the E.164 standard.
Required if LegalPersonType is BUSINESS.The registration number of the entity, assigned by the relevant national authority. For information on the expected format for a specific country, see the Company number guide. To validate the format of a number before submitting documents for verification, use POST Validate the format of User data.
Possible values:USER_PRESENT, USER_NOT_PRESENTDefault value:USER_PRESENTThe SCA context of the request, which is required if the OWNER value is being assigned for UserCategory:
USER_PRESENT – The user is on session during OWNER account creation and can enroll in SCA at the same time. The platform must redirect the user using the PendingUserAction.RedirectUrl returned so that the user can complete the SCA session.
USER_NOT_PRESENT – The platform has explicit permission from Mangopay to create the OWNER user account without simultaneous SCA enrollment.
Read more about asynchronous SCA enrollment→Note: On User endpoints, ScaContext is not returned in the API response as it does not form part of the User data – it’s only related to the action being performed on the user.
Returned values: BUSINESS, PARTNERSHIP, ORGANIZATION, SOLETRADERThe type of legal user. For information on which LegalPersonType to use for a particular local legal structure, see the verification requirements.Caution: Modification of the LegalPersonType may result in a verification downgrade.
Returned null if UserCategory is PAYER.The date of birth of the individual.Note: This is a Unix timestamp in UTC. Ensure you convert your timezone to UTC to avoid midnight being interpreted as the day before.
Format: A valid email addressRequired if UserCategory is OWNER. Returned null if UserCategory is PAYER.The individual’s email address. For OWNER users, SCA uses this email address to build a behavioral biometrics profile and as a backup communication channel.
Format: Two-letter country code (ISO 3166-1 alpha-2 format)Required if the PhoneNumber is provided in local format (recommended), to render the value in the E.164 standard.
Format: International E.164 standard (preceded by plus sign and country code) or local formatThe individual’s phone number. The local format (recommended) requires PhoneNumberCountry to ensure correct formatting.If present, the phone number forms part of card transaction data that is passed to issuers to improve authentication rates.For users with UserCategoryOWNER , the phone number is used to pre-populate the SCA session for them to confirm and receive an SMS OTP. If the individual modifies the phone number during the session, this data is not updated in the API.
The Id of the KYC Document whose Type is SHAREHOLDERS_DECLARATION if validated for the user. If no Shareholder Declaration is validated, then this value is null.
The Id of the KYC Document whose Type is ARTICLES_OF_ASSOCIATION if validated for the user. If no articles of association document is validated, then this value is null.
Required if UserCategory is OWNER and LegalPersonType is BUSINESS. Returned null if UserCategory is PAYER.The registration number of the entity, assigned by the relevant national authority. For information on the expected format for a specific country, see the Company number guide. To validate the format of a number before submitting documents for verification, use POST Validate the format of User data.
The URL to which to redirect the user to perform strong customer authentication (SCA) via a Mangopay-hosted webpage. This value is a variable and should not be hardcoded.The SCA session link expires 10 minutes after it’s generated.Caution: Before redirecting the user on this URL, you must add the query parameter ReturnUrl with the percent-encoded URL to which you want the SCA session to return the user after authentication (whether successful or not).For more details, see How to redirect a user for an SCA session.
Default value:LIGHTReturned values:LIGHT, REGULARThe verification status of the user set by Mangopay:
LIGHT – Unverified, assigned by default to all users.
REGULAR – Verified, meaning the user has successfully completed the verification process and had the necessary documents validated by Mangopay. Only users whose UserCategory is OWNER can submit verification documents for validation. Only users whose KYCLevel is REGULAR can request payouts.
Whether the user has accepted Mangopay’s terms and conditions (as defined by your contract, see the T&Cs guide for details).Must be true if UserCategory is OWNER.
Possible values:PAYER, OWNER, PLATFORMThe category of the user:
PAYER – User who can only make pay-ins to their wallets and transfers to other wallets (as well as refunds for pay-ins and transfers).
OWNER – User who can also receive transfers to their wallets. Owners are able to request KYC verification, which if successful gives them the KYCLevel of REGULAR and the ability to request payouts.
PLATFORM – Single specific user that represents the platform. The PLATFORM value is only assigned by Mangopay and may be used as part of the validated workflow implemented by the platform.
Returned values:PENDING_USER_ACTION, ACTIVE, CLOSEDThe status of the user:
PENDING_USER_ACTION – The user must enroll in SCA before they can become ACTIVE.
ACTIVE – The user account is active and the user can access Mangopay features.
CLOSED – The user account is permanently closed. This value is used by Mangopay to close an account following the procedure outlined in the terms and conditions.
400 - LegalRepresentative.Email required
{ "Message": "One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.", "Type": "param_error", "Id": "939c4b8c-3e82-4012-a5bd-a3aa2727432a", "Date": 1751881519.0, "errors": { "LegalRepresentative.Email": "'Email' must not be empty." }}
400 - Endpoint not allowed if category already OWNER
{ "Message": "This endpoint is not allowed for User categorized as OWNER", "Type": "not_allowed_for_user_category_owner", "Id": "68d1c3e0-ea28-465b-9ef1-36f388fc896d", "Date": 1734348365.0, "errors": null}
If the user’s UserCategory is OWNER, use the POST Enroll a User in SCA endpoint to obtain an SCA session link.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mangopay docs","description":"Product guides and API reference for Mangopay's wallet-first payment infrastructure","colors":{"primary":"#00000E","light":"#FFFFFF","dark":"#12282F"},"logo":{"light":"https://mintcdn.com/mangopay/EHwmKiFob2p48DHF/logo/mgp-light.svg?fit=max\u0026auto=format\u0026n=EHwmKiFob2p48DHF\u0026q=85\u0026s=f2bf5f88a1d39831377b5952b46b031c","dark":"https://mintcdn.com/mangopay/EHwmKiFob2p48DHF/logo/mgp-dark.svg?fit=max\u0026auto=format\u0026n=EHwmKiFob2p48DHF\u0026q=85\u0026s=98389a9237e8b1abb2aa34b3ca686ee4"},"favicon":"https://mintcdn.com/mangopay/EHwmKiFob2p48DHF/logo/mgp-favicon.svg?fit=max\u0026auto=format\u0026n=EHwmKiFob2p48DHF\u0026q=85\u0026s=ee5912ec577e98b0b72a31c063e9325f","api":{"playground":{"display":"simple"}},"background":{"color":{"light":"#FFFFFF","dark":"#090D0D"}},"navbar":{"links":[{"href":"https://mangopay.com/contact","label":"Contact sales"}],"primary":{"type":"button","label":"Dashboard","href":"https://hub.mangopay.com"}},"seo":{"metatags":{"og:image":"/images/seo_og_image_blank.png"},"indexing":"navigable"},"fonts":{"family":"Inter"},"styling":{"eyebrows":"section","latex":false},"integrations":{"gtm":{"tagId":"GTM-PM2TV97"},"hotjar":{"hjid":"5086558","hjsv":"6"}},"contextual":{"options":["copy","view"],"display":"header"},"interaction":{"drilldown":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mangopay","hasAudioNarration":false,"actualSubdomain":"mangopay","customDomains":["docs.mangopay.com"],"gitSource":{"type":"gitlab","owner":"mangopay/dev/offer","repo":"docs","projectId":76955225,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad9d6b35b6514564d510183","collectionId":"9fb7d867-d530-47b2-96ea-37cdbba0aab4","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad9d6b35b6514564d510183"},"feedback":{"thumbs":true,"edits":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"}},"buildId":"6ad9d6b35b6514564d510183","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API reference","count":338},{"language":"default","tag":"Guides","count":101},{"language":"default","tag":"APM pay-ins","count":59},{"language":"default","tag":"Integration","count":52},{"language":"default","tag":"Payments","count":40},{"language":"default","tag":"Disputes","count":34},{"language":"default","tag":"Banking pay-ins","count":33},{"language":"default","tag":"Card pay-ins","count":33},{"language":"default","tag":"Echo","count":32},{"language":"default","tag":"Users","count":31}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZJhiI2B.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZthiI2B.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZNhiI2B.woff2) format('woff2');\n unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZxhiI2B.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZBhiI2B.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZFhiI2B.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hiA.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: italic;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbX2o-flEEny0FZhsfKu5WU4xD-Cw6nSHrV.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: italic;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbX2o-flEEny0FZhsfKu5WU4xD-CwenSHrV.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: italic;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbX2o-flEEny0FZhsfKu5WU4xD-CwCnSHrV.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: italic;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbX2o-flEEny0FZhsfKu5WU4xD-CwynSHrV.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: italic;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbX2o-flEEny0FZhsfKu5WU4xD-Cw2nSHrV.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: italic;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbX2o-flEEny0FZhsfKu5WU4xD-CwOnSA.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD2OwG_TA.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD_OwG_TA.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD4OwG_TA.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD0OwG_TA.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD1OwG_TA.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD7OwE.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@font-face{font-family:\"AeonikMedium\";src:url(\"https://feature-redesign-2025--dev-mangopay.netlify.app/fonts/aeonik/aeonik-medium.woff\")\n format(\"woff\")}#chat-assistant-disclaimer-text{font-size:0.875rem!important;line-height:1.25rem!important;color:#4b5563!important}#chat-assistant-disclaimer-text .dark{color:#9ca3af!important}.pill{display:inline-flex;margin:12px 0px;padding:0px 8px;justify-content:center;align-items:center;gap:4px;border-radius:4px;font-family:\"JetBrains Mono\", monospace;font-size:14px;font-style:normal;font-weight:700;line-height:20px;text-transform:uppercase}.pill-green{background-color:#89E481;color:#12282F}.pill-orange{background-color:#FFD260;color:#12282F}.pill-red{background-color:#F5C1AE;color:#12282F}.pill-blue{background-color:#AAE0FF;color:#12282F}.pill-gray{margin:0px 12px 0px 0px;background-color:#f5f3f5;color:#2d0f37}.background-color-yellow{background-color:#12282f}.dark .background-color-yellow{background-color:#e5e5e5}.background-color-yellow:hover{background-color:#2a3e44}.dark .background-color-yellow:hover{background-color:#ffffff}.background-color-yellow:hover svg path:first-child{fill:#ffffff}.background-color-yellow:hover svg path:last-child{stroke:#ffffff}.dark .background-color-yellow svg path:first-child{fill:#00000e}.dark .background-color-yellow svg path:last-child{stroke:#00000e}.dark .background-color-yellow:hover svg path:first-child{fill:#00000e}.dark .background-color-yellow:hover svg path:last-child{stroke:#00000e}.card-header-color-yellow{color:#ffffff!important}.dark .card-header-color-yellow{color:#00000e!important}.background-color-lavander{background-color:#dbd9ff}.dark .background-color-lavander{background-color:#b6b2ff}.background-color-lavander:hover{background-color:#b6b2ff}.dark .background-color-lavander:hover{background-color:#867eff}.background-color-lavander:hover svg path:first-child{fill:#00000e}.background-color-lavander:hover svg path:last-child{stroke:#00000e}#search-bar-entry span{color:inherit}#topbar-cta-button a:hover .bg-primary-dark{--primary-dark: 65 83 89}html.dark #topbar-cta-button .bg-primary-dark{--primary-dark: 34 37 37}html.dark #topbar-cta-button a:hover .bg-primary-dark{--primary-dark: 58 61 61}:is(.dark #navbar>div:nth-child(2) .dark\\:border-primary-light){border-color:white}.flex.font-mono.text-sm .font-bold.text-primary.dark\\:text-primary-light{font-size:15px}.flex.font-mono.text-sm .font-bold.text-primary.dark\\:text-primary-light~div>div{color:rgb(var(--gray-600))}html.dark .flex.font-mono.text-sm .font-bold.text-primary.dark\\:text-primary-light~div>div{color:rgb(var(--gray-200))}.flex.font-mono.text-sm~.mt-4.prose-sm.prose-gray.dark\\:prose-invert>ul,.flex.font-mono.text-sm~.mt-4.prose-sm.prose-gray.dark\\:prose-invert>ol,.flex.font-mono.text-sm~.mt-4.prose-sm.prose-gray.dark\\:prose-invert>p{font-size:15px;line-height:1.5rem}html.dark .prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;border-bottom-color:white}#page-title{font-family:\"AeonikMedium\", sans-serif;font-weight:500;font-size:48px;line-height:56px}code.language-ruby,code.language-dotnet,code.language-python,code.language-java{color:#fff}code.language-php span,code.language-ruby span{color:#fff}.prose :where(strong):not(:where([class~=\"not-prose\"] *)){color:inherit}:is(.dark .prose strong){color:inherit}#text{color:#fff}.dark .card-header h2,.dark .card-body p{color:#2d0f37}html:not(.dark) .prose{color:#2d0f37}html.dark .prose{color:white}html:not(.dark) .text-gray-600,html:not(.dark) .text-gray-700,html:not(.dark) .text-gray-800,html:not(.dark) .text-gray-900{color:#2d0f37}html.dark .dark\\:text-gray-200,html.dark .dark\\:text-gray-300{color:white}h1{font-weight:800}h2,h3,h4,h5,h6{font-weight:600!important}html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5,html.dark h6{color:white}html:not(.dark) h1,html:not(.dark) h2,html:not(.dark) h3,html:not(.dark) h4,html:not(.dark) h5,html:not(.dark) h6{color:#2d0f37}.resize-text{font-size:15px}code.language-ruby,code.language-python,code.language-java{color:#fff}code.language-php span,code.language-ruby span{color:#fff}#text{color:#fff}.dark .card-header h2,.dark .card-body p{color:#2d0f37}.prose :where(ol>li):not(:where([class~=\"not-prose\"] *))::marker{color:inherit}.prose :where(blockquote):not(:where([class~=\"not-prose\"] *)){border-color:#2d0f37;color:#2d0f37}:is(.dark .prose blockquote){border-color:white;color:white}html #sidebar{text-wrap:pretty}html #sidebar li{transition:0.15s}html.dark #sidebar .dark\\:text-gray-400 p{color:rgb(159, 158, 160)}:is(.dark .prose a){color:white}:is(.dark .dark\\:decoration-gray-500){text-decoration-color:inherit}.home-card-grid{display:grid;gap:0 1rem;grid-template-columns:1fr}@media (min-width: 640px){.home-card-grid-2{grid-template-columns:repeat(2, minmax(0, 1fr))}.home-card-grid-3{grid-template-columns:repeat(3, minmax(0, 1fr))}}.card,.card *{transition-duration:150ms}.card div.h-6.w-6{width:auto;height:auto}.dark .card:not(.card-variation){background:rgb(20, 23, 23);border:none}.dark .card:not(.card-variation):hover{background-color:#2d2e2f}.card:not(.card-variation):not(.sdk-card)>div{padding:1.5rem}.card:not(.card-variation) p{font-size:16px;margin-top:1rem}.card.shadow-md{box-shadow:unset}.card-variation .card-header{display:flex;justify-content:space-between;align-items:center}.card-variation.background-color-yellow:hover .card-header>h2{color:#ffffff}.card-variation.background-color-lavander:hover .card-header>h2{color:#00000e}.card-variation .card-header>h2{font-size:1.5rem}.card-variation .card-body{margin-top:48px}.card-variation .card-body p{line-height:24px}.card-variation.background-color-yellow:hover .card-body p{color:#ffffff}.dark .card-variation.background-color-yellow:hover .card-body p{color:#00000e}.card-variation.background-color-lavander:hover .card-body p{color:#00000e}.sdk-card{background-color:#f5f5f6;border:hidden}:not(.dark).sdk-card:hover{border:hidden;background-color:#e5e5e9;color:#00000e!important}.dark .sdk-card p{color:#dfdee0}table{border:none;font-size:15px!important;line-height:1.5rem!important}.hx-inside h4{margin-top:0!important}.prose :where(thead th):not(:where([class~=\"not-prose\"] *)){color:#2d0f37}.dark .prose :where(thead th):not(:where([class~=\"not-prose\"] *)){color:white}.header{vertical-align:middle;text-align:left;padding:10px 16px;font-weight:600}.header-compact{vertical-align:middle;text-align:left;font-weight:600}.header-compact-2{padding:10px 16px 10px 0px;vertical-align:top;text-align:left;font-weight:600}.compact{white-space:nowrap}.table-content{padding:10px 16px;vertical-align:top}.table-content p{margin-top:0}.table-content p:last-child{margin-bottom:0}.table-content li{padding-left:1.5rem!important}.table-content>ul:first-child{margin-top:0px!important;margin-bottom:0px!important;vertical-align:top}.table-content>ul:first-child>li:first-child{margin-top:0px!important;margin-bottom:0px!important;vertical-align:top}td:first-child,th:first-child,.dark td:first-child,.dark th:first-child{border-left:none}td:last-child,th:last-child,.dark td:last-child,.dark th:last-child{border-right:none}th{border-right:1px solid #d0d3d0;border-left:1px solid #d0d3d0;border-bottom:1px solid #d0d3d0;border-collapse:collapse}td{border-bottom:1px solid #d0d3d0;border-right:1px solid #d0d3d0;border-left:none;border-collapse:collapse}.dark td{border-bottom:1px solid #4e5251;border-right:1px solid #4e5251;border-left:none}.dark th{border-bottom:1px solid #4e5251;border-right:1px solid #4e5251}.header-column .header{vertical-align:top;margin-top:0em!important}.row-span{border-right:none;border-left:1px solid #d0d3d0}.dark .row-span{border-right:none;border-left:1px solid #4e5251}.no-borders{border:hidden!important}.hug-content{width:1%;white-space:nowrap}.min-height-4-lines{height:7.25rem}.min-height-3-lines{height:5.75rem}.min-height-2-lines{height:4.25rem}.currenciesTable{height:80vh;border-collapse:separate;border-spacing:0}.currenciesTable td{border-bottom:1px solid #d0d3d0;border-right:1px solid #d0d3d0;border-left:none;border-collapse:collapse;color:#374151}.dark .currenciesTable td{border-bottom:1px solid #4e5251;border-right:1px solid #4e5251;color:#9ca3af}.currenciesTable .header{border:1px solid #d0d3d0;border-top:none;border-left:none;background-color:#f3f5f3!important}.dark .currenciesTable .header{border:1px solid #4e5251;border-top:none;border-left:none;background-color:#171919!important}.currenciesTable thead tr:first-child th:first-child,.currenciesTable tbody th:first-child{position:sticky;left:0;z-index:1}.currenciesTable thead{position:sticky;top:0;z-index:2}.dark .currenciesTable thead{position:sticky;top:0;z-index:2}.header-normal-weight{font-weight:normal}.hide{display:none}.release-notes-cards .card h2{margin-top:0px}.release-notes-cards .card h4{font-size:1rem;font-weight:400}.release-notes-cards .card li{font-size:1rem}.release-notes-cards .pill{margin-top:1.2em!important;margin-bottom:0em!important}.release-notes-page :where(h3):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)){margin-top:0.2em!important}.release-notes-page :where(h2):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)){margin-top:0.2em!important}.release-notes-page .pill{margin-top:1.2em!important}html.dark #content-area button.dark:hover\\:bg-white\\/5{background-color:rgb(20, 23, 23)}html.dark #content-area button.dark:hover\\:bg-white\\/5:hover{background-color:#2d2e2f}#content-area .dark\\:bg-codeblock>button p{font-weight:600}html.dark #content-area div[role=\"listitem\"].border{background-color:rgb(20, 23, 23);border:none}.bar-of-progress{color:#fcb069!important}.bar-of-progress .glow{box-shadow:#fcb069 3px 0px 2px 0px!important}html.dark .bar-of-progress{color:#fcb069!important}html.dark .bar-of-progress .glow{box-shadow:#fcb069 3px 0px 2px 0px!important}.bar-of-progress:after{box-shadow:0px 0px 0px 0px!important}.text-sm.prose{font-size:15px;line-height:1.5rem}:is(.dark :not(pre)>code){border-color:#2d2e2f;background-color:rgb(20, 23, 23)}.not-prose.dark\\:bg-codeblock.rounded-xl{background:rgb(20, 23, 23)}.not-prose.dark\\:bg-codeblock.rounded-xl svg.fill-gray-700{fill:rgb(var(--gray-400))}.not-prose.dark\\:bg-codeblock.rounded-xl>div:first-child{background:#2d2e2f}.not-prose.dark\\:bg-codeblock.rounded-xl>div:first-child>.flex.overflow-x-auto{overflow-y:hidden}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-thumb{border-radius:2px;background:rgba(0, 0, 0, 0.1)}html.dark ::-webkit-scrollbar-thumb{background:rgba(255, 255, 255, 0.1)}::-webkit-scrollbar-track{background:rgba(0, 0, 0, 0.1)}html.dark::-webkit-scrollbar-track{background:rgba(255, 255, 255, 0.1)}.z-50.bg-tooltip.max-w-\\[16rem\\].text-center.text-gray-50.text-xs.px-1\\.5.py-1.rounded-lg.border.border-gray-50.dark\\:border-gray-500{font-size:14px;line-height:1.5rem}.lucide-arrow-up-right{visibility:hidden}footer{visibility:hidden}.mermaid{width:100%}.currency-dropdown-container{margin-bottom:25px}.currency-dropdown-label{font-size:15px;margin-right:10px;font-weight:600;display:block;margin-bottom:8px}.currency-dropdown-select{align-items:center;height:2.25rem;line-height:1.5rem;padding-right:0.75em;padding-left:0.875em;border-radius:4px;border:1px solid #ccc;width:25%;box-sizing:border-box;margin-bottom:20px;border-radius:var(--rounded-xl, 0.75rem)}.currency-details-section{font-size:15px}.currency-routes-list{list-style-type:none;padding-left:0}"},{"filePath":"_cookie-banner.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZJhiI2B.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZthiI2B.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZNhiI2B.woff2) format('woff2');\n unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZxhiI2B.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZBhiI2B.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZFhiI2B.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hiA.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: italic;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbX2o-flEEny0FZhsfKu5WU4xD-Cw6nSHrV.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: italic;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbX2o-flEEny0FZhsfKu5WU4xD-CwenSHrV.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: italic;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbX2o-flEEny0FZhsfKu5WU4xD-CwCnSHrV.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: italic;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbX2o-flEEny0FZhsfKu5WU4xD-CwynSHrV.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: italic;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbX2o-flEEny0FZhsfKu5WU4xD-Cw2nSHrV.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: italic;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbX2o-flEEny0FZhsfKu5WU4xD-CwOnSA.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD2OwG_TA.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD_OwG_TA.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD4OwG_TA.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD0OwG_TA.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD1OwG_TA.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 100 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbV2o-flEEny0FZhsfKu5WU4xD7OwE.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@media (min-width: 600px){#onetrust-button-group{display:flex!important;justify-content:space-between!important}}@media (min-width: 600px){#onetrust-button-group{display:flex!important;flex-direction:row-reverse!important}}@media (min-width: 600px){#onetrust-button-group button{margin-right:12px!important}}#onetrust-pc-btn-handler,#onetrust-reject-all-handler,#onetrust-accept-btn-handler,.ot-pc-refuse-all-handler,.save-preference-btn-handler,#accept-recommended-btn-handler{border-radius:56px!important;font-size:12px!important;font-family:\"JetBrains Mono\", monospace!important;font-weight:500!important;transition:0.2s;min-width:0!important;letter-spacing:normal}#onetrust-reject-all-handler,.ot-pc-refuse-all-handler{border:1px solid #eae7eb!important;color:#12282f!important;background-color:transparent!important;padding:10px 24px!important}#onetrust-reject-all-handler:hover,.ot-pc-refuse-all-handler:hover,#onetrust-reject-all-handler:focus,.ot-pc-refuse-all-handler:focus{border-color:#eae7eb!important;background-color:#eae7eb!important;opacity:1!important}#onetrust-accept-btn-handler,.save-preference-btn-handler,#accept-recommended-btn-handler{background:#867eff!important;border:1px solid #867eff!important;color:#ffffff!important;padding:10px 24px!important}#onetrust-accept-btn-handler:hover,.save-preference-btn-handler:hover,#accept-recommended-btn-handler:hover,#onetrust-accept-btn-handler:focus,.save-preference-btn-handler:focus,#accept-recommended-btn-handler:focus{border-color:#665eff!important;background-color:#665eff!important;color:#ffffff!important;opacity:1!important}#onetrust-pc-btn-handler{border:none!important;color:#12282f!important;background-color:transparent!important;padding:10px 24px!important}#onetrust-pc-btn-handler:hover,#onetrust-pc-btn-handler:focus{color:#12282f!important;padding:10px 24px!important;border-color:#eae7eb!important;background-color:#eae7eb!important;opacity:1!important}#onetrust-consent-sdk #onetrust-pc-sdk div.ot-always-active{color:#867eff!important}#onetrust-consent-sdk #onetrust-pc-sdk .category-menu-switch-handler h3{transition:0.2s}#onetrust-consent-sdk #onetrust-pc-sdk .category-menu-switch-handler:hover h3{color:#867eff}#onetrust-consent-sdk #onetrust-pc-sdk,#onetrust-consent-sdk #onetrust-banner-sdk{border-radius:16px!important}#onetrust-consent-sdk #onetrust-pc-sdk p,#onetrust-consent-sdk #onetrust-banner-sdk p{color:#12282f!important}#onetrust-consent-sdk #onetrust-pc-sdk *:focus,#onetrust-consent-sdk #onetrust-banner-sdk *:focus{outline:none!important}#onetrust-consent-sdk #onetrust-pc-sdk:focus,#onetrust-consent-sdk #onetrust-banner-sdk:focus{outline:none!important}#onetrust-consent-sdk #onetrust-pc-sdk .privacy-notice-link{color:#2d0f37!important;text-decoration:underline!important;transition:0.2s}#onetrust-consent-sdk #onetrust-pc-sdk .privacy-notice-link:hover{color:#867eff!important;text-decoration:underline!important}#onetrust-consent-sdk #onetrust-pc-sdk .ot-active-menu{border-color:#867eff!important}#onetrust-consent-sdk #onetrust-banner-sdk{box-shadow:none!important;background-color:#ffffff!important}@media (min-width: 600px){#onetrust-consent-sdk #onetrust-banner-sdk.otCenterRounded{top:auto!important;bottom:24px!important}}#onetrust-consent-sdk #onetrust-banner-sdk #onetrust-policy-text{font-size:14px!important;line-height:24px!important}#onetrust-consent-sdk #onetrust-banner-sdk a[href]{color:#12282f!important;text-decoration:underline!important;transition:0.2s;font-weight:400!important}#onetrust-consent-sdk #onetrust-banner-sdk a[href]:hover{color:#867eff!important;text-decoration:underline!important}#onetrust-consent-sdk #onetrust-banner-sdk.ot-bnr-w-logo #onetrust-policy{margin-top:30px!important}#onetrust-consent-sdk #onetrust-banner-sdk.ot-bnr-w-logo .ot-bnr-logo{margin-left:0.875rem!important}@media (min-width: 601px){#onetrust-consent-sdk #onetrust-banner-sdk.ot-bnr-w-logo .ot-bnr-logo{margin-left:1.375rem!important}}@media (min-width: 600px){#onetrust-consent-sdk #onetrust-banner-sdk.ot-bnr-w-logo .ot-bnr-logo{margin-left:1.5rem!important}}#onetrust-consent-sdk .ot-bnr-logo{display:none!important}#onetrust-consent-sdk #onetrust-pc-sdk{overflow:hidden!important;background:#f9f8f9!important;box-shadow:0px 8px 12px rgba(45, 12, 45, 0.05),\n 0px -2px 4px rgba(45, 12, 45, 0.02), 0px 2px 4px rgba(0, 0, 0, 0.05)!important}#onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-footer-logo{display:none!important}#onetrust-consent-sdk #onetrust-pc-sdk .save-preference-btn-handler,#onetrust-consent-sdk #onetrust-pc-sdk .ot-pc-refuse-all-handler,#onetrust-consent-sdk #onetrust-pc-sdk #accept-recommended-btn-handler{border-radius:1.38rem!important}#onetrust-consent-sdk #onetrust-pc-sdk .ot-always-active{color:#867eff!important}#onetrust-consent-sdk #onetrust-pc-sdk .ot-sdk-container{border-radius:0!important}#onetrust-consent-sdk #onetrust-pc-sdk #ot-pc-desc br{display:none}.footer-ot-cookie-settings-btn .ot-sdk-show-settings,.legal-page .ot-sdk-show-settings{border:none!important;padding:0!important}.footer-ot-cookie-settings-btn .ot-sdk-show-settings:hover,.legal-page .ot-sdk-show-settings:hover{background-color:transparent!important}.legal-page .ot-sdk-show-settings{color:#867eff!important;font-size:inherit!important}.legal-page .ot-sdk-show-settings:hover{color:#867eff!important}#ot-sdk-cookie-policy .ot-sdk-cookie-policy.ot-sdk-container{box-shadow:none!important}#ot-sdk-cookie-policy .ot-sdk-cookie-policy.ot-sdk-container *{color:#2d0c2d!important}#ot-sdk-cookie-policy .ot-sdk-cookie-policy.ot-sdk-container a{text-decoration:none!important;background-color:transparent!important;color:#867eff!important}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-title,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h5,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h6,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy p{font-size:1.25rem!important}@media only screen and (min-width: 768px){#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-title,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy .ot-sdk-cookie-policy-group,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy #cookie-policy-description,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h5,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy h6,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy li,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy p{font-size:1.25rem!important;line-height:2rem!important}}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td{font-size:0.9rem!important}@media only screen and (min-width: 768px){#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy a,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy span,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td{font-size:1.25rem!important;line-height:2rem!important}}@media only screen and (max-width: 720px){#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy thead,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tbody,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy tr{display:block!important}}@media only screen and (min-width: 720px){#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy th,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy td{max-width:200px}}#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:auto!important}@media only screen and (min-width: 720px){#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-host,#ot-sdk-cookie-policy-v2.ot-sdk-cookie-policy table .ot-cookies-type{width:25%!important}}@media only screen and (min-width: 400px){#onetrust-banner-sdk .ot-sdk-container,#onetrust-pc-sdk .ot-sdk-container,#ot-sdk-cookie-policy .ot-sdk-container{width:100%!important}}.cookie-page a{display:inline-block;word-wrap:break-word;max-width:100%!important}.cookie-page table .ot-host-td{word-wrap:break-word!important}"}],"page":{"pagePath":"api-reference/users/categorize-legal-user","slug":"/api-reference/users/categorize-legal-user","pageMetadata":{"title":"Categorize a Legal User","api":"PUT /v2.01/{ClientId}/sca/users/legal/{UserId}/category","description":"Transition a Legal Payer to Owner and enroll them in SCA","href":"/api-reference/users/categorize-legal-user"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Transition a Legal Payer to Owner and enroll them in SCA\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const Aml=({content})=>{const{Tooltip}=_provideComponents()||{};if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsx(Tooltip,{tip:`Regulations which require companies like Mangopay to implement measures that help ensure the money transacting through their system is legitimate.`,children:content})};function _createMdxContent(props){const _components={a:`a`,br:`br`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This endpoint allows you to transition a user whose `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),` into an `,_jsx(_components.code,{children:`OWNER`}),` by providing the required information and redirecting them on the `,_jsx(_components.code,{children:`PendingUserAction.RedirectUrl`}),` response value to complete SCA enrollment.`]}),`\n`,_jsxs(_components.p,{children:[`SCA applies to all `,_jsx(_components.code,{children:`LegalPersonType`}),`: `,_jsx(_components.code,{children:`BUSINESS`}),`, `,_jsx(_components.code,{children:`ORGANIZATION`}),`, `,_jsx(_components.code,{children:`PARTNERSHIP`}),`, and `,_jsx(_components.code,{children:`SOLETRADER`}),`. In Sandbox the `,_jsx(_components.code,{children:`RedirectUrl`}),` is returned for all legal user types (see `,_jsx(_components.a,{href:`/guides/sca/users#legal-user-integration`,children:`legal user integration`}),` and `,_jsx(_components.a,{href:`/guides/sca/users#sca-triggers-in-sandbox`,children:`SCA triggers in Sandbox`}),`).`]}),`\n`,_jsxs(_components.p,{children:[`Optionally, you can update the `,_jsx(_components.code,{children:`LegalRepresentative.Email`}),` (in not already present) and provide or update the `,_jsx(_components.code,{children:`LegalRepresentative.PhoneNumber`}),` and `,_jsx(_components.code,{children:`LegalRepresentative.PhoneNumberCountry`}),` before SCA redirection.`]}),`\n`,_jsxs(_components.p,{children:[`If the user’s `,_jsx(_components.code,{children:`UserCategory`}),` is already `,_jsx(_components.code,{children:`OWNER`}),`, use the `,_jsx(_components.a,{href:`/api-reference/users/enroll-user`,children:`POST Enroll a User in SCA`}),` endpoint to obtain an SCA session link.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/guides/sca/session`,children:`Read more about SCA redirection`}),` `,_jsx(_components.strong,{children:`→`})]}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Note – Country-based restrictions apply to users`})}),_jsxs(_components.p,{children:[`Due to Mangopay’s `,_jsx(_components.a,{href:`/guides/users/country-restrictions`,children:`country restrictions`}),`, it is not possible to use blocked countries as the following:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LegalRepresentative.Nationality`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LegalRepresentative.CountryOfResidence`})}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body parameters`}),`\n`,_jsxs(ParamField,{body:`UserCategory`,type:`string`,required:true,id:`param-user-category`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Allowed values:`}),` `,_jsx(_components.code,{children:`OWNER`})]}),_jsxs(_components.p,{children:[`The new category of the user, which must be `,_jsx(_components.code,{children:`OWNER`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`TermsAndConditionsAccepted`,type:`boolean`,required:true,id:`param-terms-and-conditions-accepted`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Allowed values:`}),` `,_jsx(_components.code,{children:`true`})]}),_jsxs(_components.p,{children:[`Whether the user has accepted Mangopay’s terms and conditions (as defined by your contract, see the `,_jsx(_components.a,{href:`/guides/users/terms`,children:`T\u0026Cs guide`}),` for details).`]})]}),`\n`,_jsxs(ParamField,{body:`LegalRepresentative`,type:`object`,required:true,id:`param-legal-representative`,children:[_jsx(_components.p,{children:`Information about the legal representative declared for the user.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ParamField,{body:`Birthday`,type:`Unix timestamp`,required:true,id:`param-birthday`,children:[_jsx(_components.p,{children:`The date of birth of the individual.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),` This is a Unix timestamp in UTC. Ensure you convert your timezone to UTC to avoid midnight being interpreted as the day before.`]})]}),_jsxs(ParamField,{body:`Nationality`,type:`string`,required:true,id:`param-nationality`,children:[_jsxs(_components.p,{children:[`Format: Two-letter country code (`,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`ISO 3166-1 alpha-2 format`}),`)`]}),_jsx(_components.p,{children:`The nationality of the individual.`})]}),_jsxs(ParamField,{body:`CountryOfResidence`,type:`string`,required:true,id:`param-country-of-residence`,children:[_jsxs(_components.p,{children:[`Format: Two-letter country code (`,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`ISO 3166-1 alpha-2 format`}),`)`]}),_jsx(_components.p,{children:`The country of residence of the individual.`})]}),_jsxs(ParamField,{body:`Email`,type:`string`,required:true,id:`param-email`,children:[_jsx(_components.p,{children:`Format: A valid email address`}),_jsxs(_components.p,{children:[`The individual’s email address. For `,_jsx(_components.code,{children:`OWNER`}),` users, SCA uses this email address to build a `,_jsx(_components.a,{href:`/guides/sca/factors#email-confirmation-behavioral-biometrics`,children:`behavioral biometrics profile`}),` and as a backup communication channel.`]})]}),_jsxs(ParamField,{body:`PhoneNumber`,type:`string`,id:`param-phone-number`,children:[_jsx(_components.p,{children:`Format: International E.164 standard (preceded by plus sign and country code) or local format`}),_jsxs(_components.p,{children:[`The individual’s phone number. The local format (recommended) requires `,_jsx(_components.code,{children:`PhoneNumberCountry`}),` to ensure correct formatting.`]}),_jsx(_components.p,{children:`If present, the phone number forms part of card transaction data that is passed to issuers to improve authentication rates.`}),_jsxs(_components.p,{children:[`For users with `,_jsx(_components.code,{children:`UserCategory`}),` `,_jsx(_components.code,{children:`OWNER`}),` , the phone number is used to pre-populate the SCA session for them to confirm and receive an SMS OTP. If the individual modifies the phone number during the session, this data is not updated in the API.`]})]}),_jsxs(ParamField,{body:`PhoneNumberCountry`,type:`string`,id:`param-phone-number-country`,children:[_jsxs(_components.p,{children:[`Format: Two-letter country code (`,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`ISO 3166-1 alpha-2 format`}),`)`]}),_jsxs(_components.p,{children:[`Required if the `,_jsx(_components.code,{children:`PhoneNumber`}),` is provided in local format (recommended), to render the value in the E.164 standard.`]})]})]})]}),`\n`,_jsxs(ParamField,{body:`HeadquartersAddress`,type:`object`,required:true,id:`param-headquarters-address`,children:[_jsx(_components.p,{children:`The legally registered address of the entity’s administrative center.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ParamField,{body:`AddressLine1`,type:`string`,required:true,id:`param-address-line1`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The first line of the address.`})]}),_jsxs(ParamField,{body:`AddressLine2`,type:`string`,id:`param-address-line2`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The second line of the address.`})]}),_jsxs(ParamField,{body:`City`,type:`string`,required:true,id:`param-city`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The city of the address.`})]}),_jsxs(ParamField,{body:`Region`,type:`string`,id:`param-region`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`Country`}),` is US, CA, or MX.`]}),_jsx(_components.p,{children:`The region of the address.`})]}),_jsxs(ParamField,{body:`PostalCode`,type:`string`,required:true,id:`param-postal-code`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The postal code of the address. The postal code can contain the following characters: alphanumeric, dashes, and spaces.`})]}),_jsx(ParamField,{body:`Country`,type:`string`,required:true,id:`param-country`,children:_jsx(_components.p,{children:`The country of the address.`})})]})]}),`\n`,_jsxs(ParamField,{body:`CompanyNumber`,type:`string`,id:`param-company-number`,children:[_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`LegalPersonType`}),` is `,_jsx(_components.code,{children:`BUSINESS`}),`.`]}),_jsxs(_components.p,{children:[`The registration number of the entity, assigned by the relevant national authority. For information on the expected format for a specific country, see the `,_jsx(_components.a,{href:`/guides/users/verification/company-number`,children:`Company number`}),` guide. To validate the format of a number before submitting documents for verification, use `,_jsx(_components.a,{href:`/api-reference/user-data-format/validate-user-data-format`,children:`POST Validate the format of User data`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`ScaContext`,type:`string`,id:`param-sca-context`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Possible values:`}),` `,_jsx(_components.code,{children:`USER_PRESENT`}),`, `,_jsx(_components.code,{children:`USER_NOT_PRESENT`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Default value:`}),` `,_jsx(_components.code,{children:`USER_PRESENT`})]}),_jsxs(_components.p,{children:[`The SCA context of the request, which is `,_jsx(_components.strong,{children:`required`}),` if the `,_jsx(_components.code,{children:`OWNER`}),` value is being assigned for `,_jsx(_components.code,{children:`UserCategory`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`USER_PRESENT`}),` – The user is on session during `,_jsx(_components.code,{children:`OWNER`}),` account creation and can enroll in SCA at the same time. The platform must `,_jsx(_components.a,{href:`/guides/sca/session`,children:`redirect the user`}),` using the `,_jsx(_components.code,{children:`PendingUserAction.RedirectUrl`}),` returned so that the user can complete the SCA session.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`USER_NOT_PRESENT`}),` – The platform has explicit permission from Mangopay to create the `,_jsx(_components.code,{children:`OWNER`}),` user account without simultaneous SCA enrollment.`]}),`\n`]}),_jsxs(_components.p,{children:[`Read more about `,_jsx(_components.a,{href:`/guides/sca/proxy-management#user-account-creation`,children:`asynchronous SCA enrollment`}),` `,_jsx(_components.strong,{children:`→`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),` On User endpoints, `,_jsx(_components.code,{children:`ScaContext`}),` is not returned in the API response as it does not form part of the User data – it’s only related to the action being performed on the user.`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`responses`,children:`Responses`}),`\n`,_jsx(AccordionGroup,{children:_jsxs(Accordion,{title:`200`,id:`200`,children:[_jsxs(ResponseField,{name:`Name`,type:`string`,id:`param-name`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsxs(_components.p,{children:[`The registered legal name of the entity. The `,_jsx(_components.code,{children:`Name`}),` value should be the one registered with the relevant national authority.`]})]}),_jsxs(ResponseField,{name:`LegalPersonType`,type:`string`,id:`param-legal-person-type`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returned values:`}),` BUSINESS, PARTNERSHIP, ORGANIZATION, SOLETRADER`]}),_jsxs(_components.p,{children:[`The type of legal user. For information on which `,_jsx(_components.code,{children:`LegalPersonType`}),` to use for a particular local legal structure, see the `,_jsx(_components.a,{href:`/guides/users/verification/requirements`,target:`_blank`,children:`verification requirements`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Caution:`}),` Modification of the `,_jsx(_components.code,{children:`LegalPersonType`}),` may result in a `,_jsx(_components.a,{href:`/guides/users/verification/downgrade`,target:`_blank`,children:`verification downgrade`}),`.`]})]}),_jsxs(ResponseField,{name:`LegalRepresentative`,type:`object`,id:`param-legal-representative-1`,children:[_jsx(_components.p,{children:`Information about the legal representative declared for the user.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ResponseField,{name:`FirstName`,type:`string`,id:`param-first-name`,children:[_jsx(_components.p,{children:`Min. length: 1; max. length: 100`}),_jsx(_components.p,{children:`The first name of the individual.`})]}),_jsxs(ResponseField,{name:`LastName`,type:`string`,id:`param-last-name`,children:[_jsx(_components.p,{children:`Min. length: 1; max. length: 100`}),_jsx(_components.p,{children:`The last name of the individual.`})]}),_jsx(ResponseField,{name:`ProofOfIdentity`,type:`string`,id:`param-proof-of-identity`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Id`}),` of the KYC Document whose `,_jsx(_components.code,{children:`Type`}),` is `,_jsx(_components.code,{children:`IDENTITY_PROOF`}),` if validated for the user. If no identity proof is validated, then this value is `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsxs(ResponseField,{name:`Birthday`,type:`Unix timestamp`,id:`param-birthday-1`,children:[_jsxs(_components.p,{children:[`Returned `,_jsx(_components.code,{children:`null`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]}),_jsx(_components.p,{children:`The date of birth of the individual.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),` This is a Unix timestamp in UTC. Ensure you convert your timezone to UTC to avoid midnight being interpreted as the day before.`]})]}),_jsxs(ResponseField,{name:`Nationality`,type:`string`,id:`param-nationality-1`,children:[_jsxs(_components.p,{children:[`Returned `,_jsx(_components.code,{children:`null`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]}),_jsx(_components.p,{children:`The nationality of the individual.`})]}),_jsxs(ResponseField,{name:`CountryOfResidence`,type:`string`,id:`param-country-of-residence-1`,children:[_jsxs(_components.p,{children:[`Returned `,_jsx(_components.code,{children:`null`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]}),_jsx(_components.p,{children:`The country of residence of the individual.`})]}),_jsxs(ResponseField,{name:`Email`,type:`string`,id:`param-email-1`,children:[_jsx(_components.p,{children:`Format: A valid email address`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`OWNER`}),`. Returned `,_jsx(_components.code,{children:`null`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]}),_jsxs(_components.p,{children:[`The individual’s email address. For `,_jsx(_components.code,{children:`OWNER`}),` users, SCA uses this email address to build a `,_jsx(_components.a,{href:`/guides/sca/factors#email-confirmation-behavioral-biometrics`,children:`behavioral biometrics profile`}),` and as a backup communication channel.`]})]}),_jsxs(ResponseField,{name:`PhoneNumberCountry`,type:`string`,id:`param-phone-number-country-1`,children:[_jsxs(_components.p,{children:[`Format: Two-letter country code (`,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`ISO 3166-1 alpha-2 format`}),`)`]}),_jsxs(_components.p,{children:[`Required if the `,_jsx(_components.code,{children:`PhoneNumber`}),` is provided in local format (recommended), to render the value in the E.164 standard.`]})]}),_jsxs(ResponseField,{name:`PhoneNumber`,type:`string`,id:`param-phone-number-1`,children:[_jsx(_components.p,{children:`Format: International E.164 standard (preceded by plus sign and country code) or local format`}),_jsxs(_components.p,{children:[`The individual’s phone number. The local format (recommended) requires `,_jsx(_components.code,{children:`PhoneNumberCountry`}),` to ensure correct formatting.`]}),_jsx(_components.p,{children:`If present, the phone number forms part of card transaction data that is passed to issuers to improve authentication rates.`}),_jsxs(_components.p,{children:[`For users with `,_jsx(_components.code,{children:`UserCategory`}),` `,_jsx(_components.code,{children:`OWNER`}),` , the phone number is used to pre-populate the SCA session for them to confirm and receive an SMS OTP. If the individual modifies the phone number during the session, this data is not updated in the API.`]})]})]})]}),_jsx(ResponseField,{name:`ProofOfRegistration`,type:`string`,id:`param-proof-of-registration`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Id`}),` of the KYC Document whose `,_jsx(_components.code,{children:`Type`}),` is `,_jsx(_components.code,{children:`REGISTRATION_PROOF`}),` if validated for the user. If no registration proof is validated, then this value is `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`ShareholderDeclaration`,type:`string`,id:`param-shareholder-declaration`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Id`}),` of the KYC Document whose `,_jsx(_components.code,{children:`Type`}),` is `,_jsx(_components.code,{children:`SHAREHOLDERS_DECLARATION`}),` if validated for the user. If no Shareholder Declaration is validated, then this value is `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`Statute`,type:`string`,id:`param-statute`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Id`}),` of the KYC Document whose `,_jsx(_components.code,{children:`Type`}),` is `,_jsx(_components.code,{children:`ARTICLES_OF_ASSOCIATION`}),` if validated for the user. If no articles of association document is validated, then this value is `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsxs(ResponseField,{name:`CompanyNumber`,type:`string`,id:`param-company-number-1`,children:[_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`OWNER`}),` and `,_jsx(_components.code,{children:`LegalPersonType`}),` is `,_jsx(_components.code,{children:`BUSINESS`}),`. Returned `,_jsx(_components.code,{children:`null`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]}),_jsxs(_components.p,{children:[`The registration number of the entity, assigned by the relevant national authority. For information on the expected format for a specific country, see the `,_jsx(_components.a,{href:`/guides/users/verification/company-number`,children:`Company number`}),` guide. To validate the format of a number before submitting documents for verification, use `,_jsx(_components.a,{href:`/api-reference/user-data-format/validate-user-data-format`,children:`POST Validate the format of User data`}),`.`]})]}),_jsxs(ResponseField,{name:`PendingUserAction`,type:`object`,id:`param-pending-user-action`,children:[_jsxs(_components.p,{children:[`Object containing the link needed for SCA redirection if triggered by the API call (otherwise returned `,_jsx(_components.code,{children:`null`}),`).`]}),_jsx(Expandable,{title:`properties`,defaultOpen:true,children:_jsxs(ResponseField,{name:`RedirectUrl`,type:`string`,id:`param-redirect-url`,children:[_jsx(_components.p,{children:`The URL to which to redirect the user to perform strong customer authentication (SCA) via a Mangopay-hosted webpage. This value is a variable and should not be hardcoded.`}),_jsx(_components.p,{children:`The SCA session link expires 10 minutes after it’s generated.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Caution:`}),` Before redirecting the user on this URL, you must add the query parameter `,_jsx(_components.code,{children:`ReturnUrl`}),` with the percent-encoded URL to which you want the SCA session to return the user after authentication (whether successful or not).`]}),_jsxs(_components.p,{children:[`For more details, see `,_jsx(_components.a,{href:`/guides/sca/session#how-to-redirect-a-user-for-sca`,children:`How to redirect a user for an SCA session`}),`.`]})]})})]}),_jsxs(ResponseField,{name:`HeadquartersAddress`,type:`object`,id:`param-headquarters-address-1`,children:[_jsxs(_components.p,{children:[`The legally registered address of the entity’s administrative center.`,_jsx(_components.br,{}),`\n`,`This object’s sub-parameters are `,_jsx(_components.code,{children:`null`}),` if the `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ResponseField,{name:`AddressLine1`,type:`string`,id:`param-address-line1-1`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The first line of the address.`})]}),_jsxs(ResponseField,{name:`AddressLine2`,type:`string`,id:`param-address-line2-1`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The second line of the address.`})]}),_jsxs(ResponseField,{name:`City`,type:`string`,id:`param-city-1`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The city of the address.`})]}),_jsxs(ResponseField,{name:`Region`,type:`string`,id:`param-region-1`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsxs(_components.p,{children:[`The region of the address. This field is optional except if the `,_jsx(_components.code,{children:`Country`}),` is US, CA, or MX.`]})]}),_jsxs(ResponseField,{name:`PostalCode`,type:`string`,id:`param-postal-code-1`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The postal code of the address. The postal code can contain the following characters: alphanumeric, dashes, and spaces.`})]}),_jsxs(ResponseField,{name:`Country`,type:`string`,id:`param-country-1`,children:[_jsxs(_components.p,{children:[`Format: Two-letter country code (`,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`ISO 3166-1 alpha-2 format`}),`)`]}),_jsx(_components.p,{children:`The country of the address.`})]})]})]}),_jsxs(ResponseField,{name:`LegalRepresentativeAddress`,type:`object`,id:`param-legal-representative-address`,children:[_jsx(_components.p,{children:`The address of the entity’s legal representative.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ResponseField,{name:`AddressLine1`,type:`string`,id:`param-address-line1-2`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The first line of the address.`})]}),_jsxs(ResponseField,{name:`AddressLine2`,type:`string`,id:`param-address-line2-2`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The second line of the address.`})]}),_jsxs(ResponseField,{name:`City`,type:`string`,id:`param-city-2`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The city of the address.`})]}),_jsxs(ResponseField,{name:`Region`,type:`string`,id:`param-region-2`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsxs(_components.p,{children:[`The region of the address. This field is optional except if the `,_jsx(_components.code,{children:`Country`}),` is US, CA, or MX.`]})]}),_jsxs(ResponseField,{name:`PostalCode`,type:`string`,id:`param-postal-code-2`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The postal code of the address. The postal code can contain the following characters: alphanumeric, dashes, and spaces.`})]}),_jsxs(ResponseField,{name:`Country`,type:`string`,id:`param-country-2`,children:[_jsxs(_components.p,{children:[`Format: Two-letter country code (`,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`ISO 3166-1 alpha-2 format`}),`)`]}),_jsx(_components.p,{children:`The country of the address.`})]})]})]}),_jsxs(ResponseField,{name:`Id`,type:`string`,id:`param-id`,children:[_jsxs(_components.p,{children:[`Max length: 128 characters (see `,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`data formats`}),` for details)`]}),_jsx(_components.p,{children:`The unique identifier of the object.`})]}),_jsxs(ResponseField,{name:`Tag`,type:`string`,id:`param-tag`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`Custom data that you can add to this object.`})]}),_jsx(ResponseField,{name:`CreationDate`,type:`Unix timestamp`,id:`param-creation-date`,children:_jsx(_components.p,{children:`The date and time at which the object was created.`})}),_jsxs(ResponseField,{name:`PersonType`,type:`string`,id:`param-person-type`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returned values:`}),` NATURAL, LEGAL`]}),_jsx(_components.p,{children:`The type of the user:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NATURAL`}),` – Natural users are individuals (natural persons).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LEGAL`}),` – Legal users are legal entities (legal persons) like companies, non-profits, and sole proprietors.`]}),`\n`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`PersonType`}),` is defined by the endpoint used to create the user and can’t be modified.`]})]}),_jsxs(ResponseField,{name:`Email`,type:`string`,id:`param-email-2`,children:[_jsx(_components.p,{children:`Format: A valid email address`}),_jsx(_components.p,{children:`The email address for the entity.`})]}),_jsxs(ResponseField,{name:`KYCLevel`,type:`string`,id:`param-kyc-level`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Default value:`}),` `,_jsx(_components.code,{children:`LIGHT`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returned values:`}),` `,_jsx(_components.code,{children:`LIGHT`}),`, `,_jsx(_components.code,{children:`REGULAR`})]}),_jsx(_components.p,{children:`The verification status of the user set by Mangopay:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LIGHT`}),` – Unverified, assigned by default to all users.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`REGULAR`}),` – Verified, meaning the user has successfully completed the verification process and had the necessary documents validated by Mangopay. Only users whose `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`OWNER`}),` can submit verification documents for validation. Only users whose `,_jsx(_components.code,{children:`KYCLevel`}),` is `,_jsx(_components.code,{children:`REGULAR`}),` can request payouts.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`TermsAndConditionsAccepted`,type:`boolean`,id:`param-terms-and-conditions-accepted-1`,children:[_jsxs(_components.p,{children:[`Whether the user has accepted Mangopay’s terms and conditions (as defined by your contract, see the `,_jsx(_components.a,{href:`/guides/users/terms`,children:`T\u0026Cs guide`}),` for details).`]}),_jsxs(_components.p,{children:[`Must be `,_jsx(_components.code,{children:`true`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`OWNER`}),`.`]})]}),_jsxs(ResponseField,{name:`TermsAndConditionsAcceptedDate`,type:`Unix timestamp`,id:`param-terms-and-conditions-accepted-date`,children:[_jsxs(_components.p,{children:[`The date and time at which the `,_jsx(_components.code,{children:`TermsAndConditionsAccepted`}),` value was set to `,_jsx(_components.code,{children:`true`}),`.`]}),_jsxs(_components.p,{children:[`Returned `,_jsx(_components.code,{children:`null`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]})]}),_jsxs(ResponseField,{name:`UserCategory`,type:`string`,id:`param-user-category-1`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Possible values:`}),` `,_jsx(_components.code,{children:`PAYER`}),`, `,_jsx(_components.code,{children:`OWNER`}),`, `,_jsx(_components.code,{children:`PLATFORM`})]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/guides/users/categories`,children:`category`}),` of the user:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PAYER`}),` – User who can only make pay-ins to their wallets and transfers to other wallets (as well as refunds for pay-ins and transfers).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`OWNER`}),` – User who can also receive transfers to their wallets. Owners are able to request `,_jsx(_components.a,{href:`/guides/users/verification`,children:`KYC verification`}),`, which if successful gives them the `,_jsx(_components.code,{children:`KYCLevel`}),` of `,_jsx(_components.code,{children:`REGULAR`}),` and the ability to request payouts.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PLATFORM`}),` – Single specific user that represents the platform. The `,_jsx(_components.code,{children:`PLATFORM`}),` value is only assigned by Mangopay and may be used as part of the validated workflow implemented by the platform.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`UserStatus`,type:`string`,id:`param-user-status`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returned values:`}),` `,_jsx(_components.code,{children:`PENDING_USER_ACTION`}),`, `,_jsx(_components.code,{children:`ACTIVE`}),`, `,_jsx(_components.code,{children:`CLOSED`})]}),_jsx(_components.p,{children:`The status of the user:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PENDING_USER_ACTION`}),` – The user must enroll in SCA before they can become `,_jsx(_components.code,{children:`ACTIVE`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ACTIVE`}),` – The user account is active and the user can access Mangopay features.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CLOSED`}),` – The user account is permanently closed. This value is used by Mangopay to close an account following the procedure outlined in the terms and conditions.`]}),`\n`]})]})]})}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`400 - LegalRepresentative.Email required`,id:`400-legalrepresentative-email-required`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"param_error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"939c4b8c-3e82-4012-a5bd-a3aa2727432a\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1751881519.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"errors\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"LegalRepresentative.Email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"'Email' must not be empty.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsxs(Accordion,{title:`400 - Endpoint not allowed if category already OWNER`,id:`400-endpoint-not-allowed-if-category-already-owner`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This endpoint is not allowed for User categorized as OWNER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"not_allowed_for_user_category_owner\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"68d1c3e0-ea28-465b-9ef1-36f388fc896d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1734348365.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"errors\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`If the user’s `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`OWNER`}),`, use the `,_jsx(_components.a,{href:`/api-reference/users/enroll-user`,children:`POST Enroll a User in SCA`}),` endpoint to obtain an SCA session link.`]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{Aml,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Categorize a Legal User","api":"PUT /v2.01/{ClientId}/sca/users/legal/{UserId}/category","description":"Transition a Legal Payer to Owner and enroll them in SCA","href":"/api-reference/users/categorize-legal-user"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const Aml=({content})=>{const{Tooltip}=_provideComponents()||{};if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsx(Tooltip,{tip:`Regulations which require companies like Mangopay to implement measures that help ensure the money transacting through their system is legitimate.`,children:content})};function _createMdxContent(props){const _components={a:`a`,br:`br`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This endpoint allows you to transition a user whose `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),` into an `,_jsx(_components.code,{children:`OWNER`}),` by providing the required information and redirecting them on the `,_jsx(_components.code,{children:`PendingUserAction.RedirectUrl`}),` response value to complete SCA enrollment.`]}),`\n`,_jsxs(_components.p,{children:[`SCA applies to all `,_jsx(_components.code,{children:`LegalPersonType`}),`: `,_jsx(_components.code,{children:`BUSINESS`}),`, `,_jsx(_components.code,{children:`ORGANIZATION`}),`, `,_jsx(_components.code,{children:`PARTNERSHIP`}),`, and `,_jsx(_components.code,{children:`SOLETRADER`}),`. In Sandbox the `,_jsx(_components.code,{children:`RedirectUrl`}),` is returned for all legal user types (see `,_jsx(_components.a,{href:`/guides/sca/users#legal-user-integration`,children:`legal user integration`}),` and `,_jsx(_components.a,{href:`/guides/sca/users#sca-triggers-in-sandbox`,children:`SCA triggers in Sandbox`}),`).`]}),`\n`,_jsxs(_components.p,{children:[`Optionally, you can update the `,_jsx(_components.code,{children:`LegalRepresentative.Email`}),` (in not already present) and provide or update the `,_jsx(_components.code,{children:`LegalRepresentative.PhoneNumber`}),` and `,_jsx(_components.code,{children:`LegalRepresentative.PhoneNumberCountry`}),` before SCA redirection.`]}),`\n`,_jsxs(_components.p,{children:[`If the user’s `,_jsx(_components.code,{children:`UserCategory`}),` is already `,_jsx(_components.code,{children:`OWNER`}),`, use the `,_jsx(_components.a,{href:`/api-reference/users/enroll-user`,children:`POST Enroll a User in SCA`}),` endpoint to obtain an SCA session link.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/guides/sca/session`,children:`Read more about SCA redirection`}),` `,_jsx(_components.strong,{children:`→`})]}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Note – Country-based restrictions apply to users`})}),_jsxs(_components.p,{children:[`Due to Mangopay’s `,_jsx(_components.a,{href:`/guides/users/country-restrictions`,children:`country restrictions`}),`, it is not possible to use blocked countries as the following:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LegalRepresentative.Nationality`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`LegalRepresentative.CountryOfResidence`})}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body parameters`}),`\n`,_jsxs(ParamField,{body:`UserCategory`,type:`string`,required:true,id:`param-user-category`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Allowed values:`}),` `,_jsx(_components.code,{children:`OWNER`})]}),_jsxs(_components.p,{children:[`The new category of the user, which must be `,_jsx(_components.code,{children:`OWNER`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`TermsAndConditionsAccepted`,type:`boolean`,required:true,id:`param-terms-and-conditions-accepted`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Allowed values:`}),` `,_jsx(_components.code,{children:`true`})]}),_jsxs(_components.p,{children:[`Whether the user has accepted Mangopay’s terms and conditions (as defined by your contract, see the `,_jsx(_components.a,{href:`/guides/users/terms`,children:`T\u0026Cs guide`}),` for details).`]})]}),`\n`,_jsxs(ParamField,{body:`LegalRepresentative`,type:`object`,required:true,id:`param-legal-representative`,children:[_jsx(_components.p,{children:`Information about the legal representative declared for the user.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ParamField,{body:`Birthday`,type:`Unix timestamp`,required:true,id:`param-birthday`,children:[_jsx(_components.p,{children:`The date of birth of the individual.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),` This is a Unix timestamp in UTC. Ensure you convert your timezone to UTC to avoid midnight being interpreted as the day before.`]})]}),_jsxs(ParamField,{body:`Nationality`,type:`string`,required:true,id:`param-nationality`,children:[_jsxs(_components.p,{children:[`Format: Two-letter country code (`,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`ISO 3166-1 alpha-2 format`}),`)`]}),_jsx(_components.p,{children:`The nationality of the individual.`})]}),_jsxs(ParamField,{body:`CountryOfResidence`,type:`string`,required:true,id:`param-country-of-residence`,children:[_jsxs(_components.p,{children:[`Format: Two-letter country code (`,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`ISO 3166-1 alpha-2 format`}),`)`]}),_jsx(_components.p,{children:`The country of residence of the individual.`})]}),_jsxs(ParamField,{body:`Email`,type:`string`,required:true,id:`param-email`,children:[_jsx(_components.p,{children:`Format: A valid email address`}),_jsxs(_components.p,{children:[`The individual’s email address. For `,_jsx(_components.code,{children:`OWNER`}),` users, SCA uses this email address to build a `,_jsx(_components.a,{href:`/guides/sca/factors#email-confirmation-behavioral-biometrics`,children:`behavioral biometrics profile`}),` and as a backup communication channel.`]})]}),_jsxs(ParamField,{body:`PhoneNumber`,type:`string`,id:`param-phone-number`,children:[_jsx(_components.p,{children:`Format: International E.164 standard (preceded by plus sign and country code) or local format`}),_jsxs(_components.p,{children:[`The individual’s phone number. The local format (recommended) requires `,_jsx(_components.code,{children:`PhoneNumberCountry`}),` to ensure correct formatting.`]}),_jsx(_components.p,{children:`If present, the phone number forms part of card transaction data that is passed to issuers to improve authentication rates.`}),_jsxs(_components.p,{children:[`For users with `,_jsx(_components.code,{children:`UserCategory`}),` `,_jsx(_components.code,{children:`OWNER`}),` , the phone number is used to pre-populate the SCA session for them to confirm and receive an SMS OTP. If the individual modifies the phone number during the session, this data is not updated in the API.`]})]}),_jsxs(ParamField,{body:`PhoneNumberCountry`,type:`string`,id:`param-phone-number-country`,children:[_jsxs(_components.p,{children:[`Format: Two-letter country code (`,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`ISO 3166-1 alpha-2 format`}),`)`]}),_jsxs(_components.p,{children:[`Required if the `,_jsx(_components.code,{children:`PhoneNumber`}),` is provided in local format (recommended), to render the value in the E.164 standard.`]})]})]})]}),`\n`,_jsxs(ParamField,{body:`HeadquartersAddress`,type:`object`,required:true,id:`param-headquarters-address`,children:[_jsx(_components.p,{children:`The legally registered address of the entity’s administrative center.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ParamField,{body:`AddressLine1`,type:`string`,required:true,id:`param-address-line1`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The first line of the address.`})]}),_jsxs(ParamField,{body:`AddressLine2`,type:`string`,id:`param-address-line2`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The second line of the address.`})]}),_jsxs(ParamField,{body:`City`,type:`string`,required:true,id:`param-city`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The city of the address.`})]}),_jsxs(ParamField,{body:`Region`,type:`string`,id:`param-region`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`Country`}),` is US, CA, or MX.`]}),_jsx(_components.p,{children:`The region of the address.`})]}),_jsxs(ParamField,{body:`PostalCode`,type:`string`,required:true,id:`param-postal-code`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The postal code of the address. The postal code can contain the following characters: alphanumeric, dashes, and spaces.`})]}),_jsx(ParamField,{body:`Country`,type:`string`,required:true,id:`param-country`,children:_jsx(_components.p,{children:`The country of the address.`})})]})]}),`\n`,_jsxs(ParamField,{body:`CompanyNumber`,type:`string`,id:`param-company-number`,children:[_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`LegalPersonType`}),` is `,_jsx(_components.code,{children:`BUSINESS`}),`.`]}),_jsxs(_components.p,{children:[`The registration number of the entity, assigned by the relevant national authority. For information on the expected format for a specific country, see the `,_jsx(_components.a,{href:`/guides/users/verification/company-number`,children:`Company number`}),` guide. To validate the format of a number before submitting documents for verification, use `,_jsx(_components.a,{href:`/api-reference/user-data-format/validate-user-data-format`,children:`POST Validate the format of User data`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`ScaContext`,type:`string`,id:`param-sca-context`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Possible values:`}),` `,_jsx(_components.code,{children:`USER_PRESENT`}),`, `,_jsx(_components.code,{children:`USER_NOT_PRESENT`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Default value:`}),` `,_jsx(_components.code,{children:`USER_PRESENT`})]}),_jsxs(_components.p,{children:[`The SCA context of the request, which is `,_jsx(_components.strong,{children:`required`}),` if the `,_jsx(_components.code,{children:`OWNER`}),` value is being assigned for `,_jsx(_components.code,{children:`UserCategory`}),`:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`USER_PRESENT`}),` – The user is on session during `,_jsx(_components.code,{children:`OWNER`}),` account creation and can enroll in SCA at the same time. The platform must `,_jsx(_components.a,{href:`/guides/sca/session`,children:`redirect the user`}),` using the `,_jsx(_components.code,{children:`PendingUserAction.RedirectUrl`}),` returned so that the user can complete the SCA session.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`USER_NOT_PRESENT`}),` – The platform has explicit permission from Mangopay to create the `,_jsx(_components.code,{children:`OWNER`}),` user account without simultaneous SCA enrollment.`]}),`\n`]}),_jsxs(_components.p,{children:[`Read more about `,_jsx(_components.a,{href:`/guides/sca/proxy-management#user-account-creation`,children:`asynchronous SCA enrollment`}),` `,_jsx(_components.strong,{children:`→`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),` On User endpoints, `,_jsx(_components.code,{children:`ScaContext`}),` is not returned in the API response as it does not form part of the User data – it’s only related to the action being performed on the user.`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`responses`,children:`Responses`}),`\n`,_jsx(AccordionGroup,{children:_jsxs(Accordion,{title:`200`,id:`200`,children:[_jsxs(ResponseField,{name:`Name`,type:`string`,id:`param-name`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsxs(_components.p,{children:[`The registered legal name of the entity. The `,_jsx(_components.code,{children:`Name`}),` value should be the one registered with the relevant national authority.`]})]}),_jsxs(ResponseField,{name:`LegalPersonType`,type:`string`,id:`param-legal-person-type`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returned values:`}),` BUSINESS, PARTNERSHIP, ORGANIZATION, SOLETRADER`]}),_jsxs(_components.p,{children:[`The type of legal user. For information on which `,_jsx(_components.code,{children:`LegalPersonType`}),` to use for a particular local legal structure, see the `,_jsx(_components.a,{href:`/guides/users/verification/requirements`,target:`_blank`,children:`verification requirements`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Caution:`}),` Modification of the `,_jsx(_components.code,{children:`LegalPersonType`}),` may result in a `,_jsx(_components.a,{href:`/guides/users/verification/downgrade`,target:`_blank`,children:`verification downgrade`}),`.`]})]}),_jsxs(ResponseField,{name:`LegalRepresentative`,type:`object`,id:`param-legal-representative-1`,children:[_jsx(_components.p,{children:`Information about the legal representative declared for the user.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ResponseField,{name:`FirstName`,type:`string`,id:`param-first-name`,children:[_jsx(_components.p,{children:`Min. length: 1; max. length: 100`}),_jsx(_components.p,{children:`The first name of the individual.`})]}),_jsxs(ResponseField,{name:`LastName`,type:`string`,id:`param-last-name`,children:[_jsx(_components.p,{children:`Min. length: 1; max. length: 100`}),_jsx(_components.p,{children:`The last name of the individual.`})]}),_jsx(ResponseField,{name:`ProofOfIdentity`,type:`string`,id:`param-proof-of-identity`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Id`}),` of the KYC Document whose `,_jsx(_components.code,{children:`Type`}),` is `,_jsx(_components.code,{children:`IDENTITY_PROOF`}),` if validated for the user. If no identity proof is validated, then this value is `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsxs(ResponseField,{name:`Birthday`,type:`Unix timestamp`,id:`param-birthday-1`,children:[_jsxs(_components.p,{children:[`Returned `,_jsx(_components.code,{children:`null`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]}),_jsx(_components.p,{children:`The date of birth of the individual.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),` This is a Unix timestamp in UTC. Ensure you convert your timezone to UTC to avoid midnight being interpreted as the day before.`]})]}),_jsxs(ResponseField,{name:`Nationality`,type:`string`,id:`param-nationality-1`,children:[_jsxs(_components.p,{children:[`Returned `,_jsx(_components.code,{children:`null`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]}),_jsx(_components.p,{children:`The nationality of the individual.`})]}),_jsxs(ResponseField,{name:`CountryOfResidence`,type:`string`,id:`param-country-of-residence-1`,children:[_jsxs(_components.p,{children:[`Returned `,_jsx(_components.code,{children:`null`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]}),_jsx(_components.p,{children:`The country of residence of the individual.`})]}),_jsxs(ResponseField,{name:`Email`,type:`string`,id:`param-email-1`,children:[_jsx(_components.p,{children:`Format: A valid email address`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`OWNER`}),`. Returned `,_jsx(_components.code,{children:`null`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]}),_jsxs(_components.p,{children:[`The individual’s email address. For `,_jsx(_components.code,{children:`OWNER`}),` users, SCA uses this email address to build a `,_jsx(_components.a,{href:`/guides/sca/factors#email-confirmation-behavioral-biometrics`,children:`behavioral biometrics profile`}),` and as a backup communication channel.`]})]}),_jsxs(ResponseField,{name:`PhoneNumberCountry`,type:`string`,id:`param-phone-number-country-1`,children:[_jsxs(_components.p,{children:[`Format: Two-letter country code (`,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`ISO 3166-1 alpha-2 format`}),`)`]}),_jsxs(_components.p,{children:[`Required if the `,_jsx(_components.code,{children:`PhoneNumber`}),` is provided in local format (recommended), to render the value in the E.164 standard.`]})]}),_jsxs(ResponseField,{name:`PhoneNumber`,type:`string`,id:`param-phone-number-1`,children:[_jsx(_components.p,{children:`Format: International E.164 standard (preceded by plus sign and country code) or local format`}),_jsxs(_components.p,{children:[`The individual’s phone number. The local format (recommended) requires `,_jsx(_components.code,{children:`PhoneNumberCountry`}),` to ensure correct formatting.`]}),_jsx(_components.p,{children:`If present, the phone number forms part of card transaction data that is passed to issuers to improve authentication rates.`}),_jsxs(_components.p,{children:[`For users with `,_jsx(_components.code,{children:`UserCategory`}),` `,_jsx(_components.code,{children:`OWNER`}),` , the phone number is used to pre-populate the SCA session for them to confirm and receive an SMS OTP. If the individual modifies the phone number during the session, this data is not updated in the API.`]})]})]})]}),_jsx(ResponseField,{name:`ProofOfRegistration`,type:`string`,id:`param-proof-of-registration`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Id`}),` of the KYC Document whose `,_jsx(_components.code,{children:`Type`}),` is `,_jsx(_components.code,{children:`REGISTRATION_PROOF`}),` if validated for the user. If no registration proof is validated, then this value is `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`ShareholderDeclaration`,type:`string`,id:`param-shareholder-declaration`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Id`}),` of the KYC Document whose `,_jsx(_components.code,{children:`Type`}),` is `,_jsx(_components.code,{children:`SHAREHOLDERS_DECLARATION`}),` if validated for the user. If no Shareholder Declaration is validated, then this value is `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`Statute`,type:`string`,id:`param-statute`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`Id`}),` of the KYC Document whose `,_jsx(_components.code,{children:`Type`}),` is `,_jsx(_components.code,{children:`ARTICLES_OF_ASSOCIATION`}),` if validated for the user. If no articles of association document is validated, then this value is `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsxs(ResponseField,{name:`CompanyNumber`,type:`string`,id:`param-company-number-1`,children:[_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`OWNER`}),` and `,_jsx(_components.code,{children:`LegalPersonType`}),` is `,_jsx(_components.code,{children:`BUSINESS`}),`. Returned `,_jsx(_components.code,{children:`null`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]}),_jsxs(_components.p,{children:[`The registration number of the entity, assigned by the relevant national authority. For information on the expected format for a specific country, see the `,_jsx(_components.a,{href:`/guides/users/verification/company-number`,children:`Company number`}),` guide. To validate the format of a number before submitting documents for verification, use `,_jsx(_components.a,{href:`/api-reference/user-data-format/validate-user-data-format`,children:`POST Validate the format of User data`}),`.`]})]}),_jsxs(ResponseField,{name:`PendingUserAction`,type:`object`,id:`param-pending-user-action`,children:[_jsxs(_components.p,{children:[`Object containing the link needed for SCA redirection if triggered by the API call (otherwise returned `,_jsx(_components.code,{children:`null`}),`).`]}),_jsx(Expandable,{title:`properties`,defaultOpen:true,children:_jsxs(ResponseField,{name:`RedirectUrl`,type:`string`,id:`param-redirect-url`,children:[_jsx(_components.p,{children:`The URL to which to redirect the user to perform strong customer authentication (SCA) via a Mangopay-hosted webpage. This value is a variable and should not be hardcoded.`}),_jsx(_components.p,{children:`The SCA session link expires 10 minutes after it’s generated.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Caution:`}),` Before redirecting the user on this URL, you must add the query parameter `,_jsx(_components.code,{children:`ReturnUrl`}),` with the percent-encoded URL to which you want the SCA session to return the user after authentication (whether successful or not).`]}),_jsxs(_components.p,{children:[`For more details, see `,_jsx(_components.a,{href:`/guides/sca/session#how-to-redirect-a-user-for-sca`,children:`How to redirect a user for an SCA session`}),`.`]})]})})]}),_jsxs(ResponseField,{name:`HeadquartersAddress`,type:`object`,id:`param-headquarters-address-1`,children:[_jsxs(_components.p,{children:[`The legally registered address of the entity’s administrative center.`,_jsx(_components.br,{}),`\n`,`This object’s sub-parameters are `,_jsx(_components.code,{children:`null`}),` if the `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ResponseField,{name:`AddressLine1`,type:`string`,id:`param-address-line1-1`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The first line of the address.`})]}),_jsxs(ResponseField,{name:`AddressLine2`,type:`string`,id:`param-address-line2-1`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The second line of the address.`})]}),_jsxs(ResponseField,{name:`City`,type:`string`,id:`param-city-1`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The city of the address.`})]}),_jsxs(ResponseField,{name:`Region`,type:`string`,id:`param-region-1`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsxs(_components.p,{children:[`The region of the address. This field is optional except if the `,_jsx(_components.code,{children:`Country`}),` is US, CA, or MX.`]})]}),_jsxs(ResponseField,{name:`PostalCode`,type:`string`,id:`param-postal-code-1`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The postal code of the address. The postal code can contain the following characters: alphanumeric, dashes, and spaces.`})]}),_jsxs(ResponseField,{name:`Country`,type:`string`,id:`param-country-1`,children:[_jsxs(_components.p,{children:[`Format: Two-letter country code (`,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`ISO 3166-1 alpha-2 format`}),`)`]}),_jsx(_components.p,{children:`The country of the address.`})]})]})]}),_jsxs(ResponseField,{name:`LegalRepresentativeAddress`,type:`object`,id:`param-legal-representative-address`,children:[_jsx(_components.p,{children:`The address of the entity’s legal representative.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ResponseField,{name:`AddressLine1`,type:`string`,id:`param-address-line1-2`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The first line of the address.`})]}),_jsxs(ResponseField,{name:`AddressLine2`,type:`string`,id:`param-address-line2-2`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The second line of the address.`})]}),_jsxs(ResponseField,{name:`City`,type:`string`,id:`param-city-2`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The city of the address.`})]}),_jsxs(ResponseField,{name:`Region`,type:`string`,id:`param-region-2`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsxs(_components.p,{children:[`The region of the address. This field is optional except if the `,_jsx(_components.code,{children:`Country`}),` is US, CA, or MX.`]})]}),_jsxs(ResponseField,{name:`PostalCode`,type:`string`,id:`param-postal-code-2`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`The postal code of the address. The postal code can contain the following characters: alphanumeric, dashes, and spaces.`})]}),_jsxs(ResponseField,{name:`Country`,type:`string`,id:`param-country-2`,children:[_jsxs(_components.p,{children:[`Format: Two-letter country code (`,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`ISO 3166-1 alpha-2 format`}),`)`]}),_jsx(_components.p,{children:`The country of the address.`})]})]})]}),_jsxs(ResponseField,{name:`Id`,type:`string`,id:`param-id`,children:[_jsxs(_components.p,{children:[`Max length: 128 characters (see `,_jsx(_components.a,{href:`/api-reference/overview/data-formats`,children:`data formats`}),` for details)`]}),_jsx(_components.p,{children:`The unique identifier of the object.`})]}),_jsxs(ResponseField,{name:`Tag`,type:`string`,id:`param-tag`,children:[_jsx(_components.p,{children:`Max. length: 255 characters`}),_jsx(_components.p,{children:`Custom data that you can add to this object.`})]}),_jsx(ResponseField,{name:`CreationDate`,type:`Unix timestamp`,id:`param-creation-date`,children:_jsx(_components.p,{children:`The date and time at which the object was created.`})}),_jsxs(ResponseField,{name:`PersonType`,type:`string`,id:`param-person-type`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returned values:`}),` NATURAL, LEGAL`]}),_jsx(_components.p,{children:`The type of the user:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NATURAL`}),` – Natural users are individuals (natural persons).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LEGAL`}),` – Legal users are legal entities (legal persons) like companies, non-profits, and sole proprietors.`]}),`\n`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`PersonType`}),` is defined by the endpoint used to create the user and can’t be modified.`]})]}),_jsxs(ResponseField,{name:`Email`,type:`string`,id:`param-email-2`,children:[_jsx(_components.p,{children:`Format: A valid email address`}),_jsx(_components.p,{children:`The email address for the entity.`})]}),_jsxs(ResponseField,{name:`KYCLevel`,type:`string`,id:`param-kyc-level`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Default value:`}),` `,_jsx(_components.code,{children:`LIGHT`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returned values:`}),` `,_jsx(_components.code,{children:`LIGHT`}),`, `,_jsx(_components.code,{children:`REGULAR`})]}),_jsx(_components.p,{children:`The verification status of the user set by Mangopay:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LIGHT`}),` – Unverified, assigned by default to all users.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`REGULAR`}),` – Verified, meaning the user has successfully completed the verification process and had the necessary documents validated by Mangopay. Only users whose `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`OWNER`}),` can submit verification documents for validation. Only users whose `,_jsx(_components.code,{children:`KYCLevel`}),` is `,_jsx(_components.code,{children:`REGULAR`}),` can request payouts.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`TermsAndConditionsAccepted`,type:`boolean`,id:`param-terms-and-conditions-accepted-1`,children:[_jsxs(_components.p,{children:[`Whether the user has accepted Mangopay’s terms and conditions (as defined by your contract, see the `,_jsx(_components.a,{href:`/guides/users/terms`,children:`T\u0026Cs guide`}),` for details).`]}),_jsxs(_components.p,{children:[`Must be `,_jsx(_components.code,{children:`true`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`OWNER`}),`.`]})]}),_jsxs(ResponseField,{name:`TermsAndConditionsAcceptedDate`,type:`Unix timestamp`,id:`param-terms-and-conditions-accepted-date`,children:[_jsxs(_components.p,{children:[`The date and time at which the `,_jsx(_components.code,{children:`TermsAndConditionsAccepted`}),` value was set to `,_jsx(_components.code,{children:`true`}),`.`]}),_jsxs(_components.p,{children:[`Returned `,_jsx(_components.code,{children:`null`}),` if `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`PAYER`}),`.`]})]}),_jsxs(ResponseField,{name:`UserCategory`,type:`string`,id:`param-user-category-1`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Possible values:`}),` `,_jsx(_components.code,{children:`PAYER`}),`, `,_jsx(_components.code,{children:`OWNER`}),`, `,_jsx(_components.code,{children:`PLATFORM`})]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/guides/users/categories`,children:`category`}),` of the user:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PAYER`}),` – User who can only make pay-ins to their wallets and transfers to other wallets (as well as refunds for pay-ins and transfers).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`OWNER`}),` – User who can also receive transfers to their wallets. Owners are able to request `,_jsx(_components.a,{href:`/guides/users/verification`,children:`KYC verification`}),`, which if successful gives them the `,_jsx(_components.code,{children:`KYCLevel`}),` of `,_jsx(_components.code,{children:`REGULAR`}),` and the ability to request payouts.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PLATFORM`}),` – Single specific user that represents the platform. The `,_jsx(_components.code,{children:`PLATFORM`}),` value is only assigned by Mangopay and may be used as part of the validated workflow implemented by the platform.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`UserStatus`,type:`string`,id:`param-user-status`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Returned values:`}),` `,_jsx(_components.code,{children:`PENDING_USER_ACTION`}),`, `,_jsx(_components.code,{children:`ACTIVE`}),`, `,_jsx(_components.code,{children:`CLOSED`})]}),_jsx(_components.p,{children:`The status of the user:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PENDING_USER_ACTION`}),` – The user must enroll in SCA before they can become `,_jsx(_components.code,{children:`ACTIVE`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ACTIVE`}),` – The user account is active and the user can access Mangopay features.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CLOSED`}),` – The user account is permanently closed. This value is used by Mangopay to close an account following the procedure outlined in the terms and conditions.`]}),`\n`]})]})]})}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`400 - LegalRepresentative.Email required`,id:`400-legalrepresentative-email-required`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"param_error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"939c4b8c-3e82-4012-a5bd-a3aa2727432a\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1751881519.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"errors\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"LegalRepresentative.Email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"'Email' must not be empty.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsxs(Accordion,{title:`400 - Endpoint not allowed if category already OWNER`,id:`400-endpoint-not-allowed-if-category-already-owner`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This endpoint is not allowed for User categorized as OWNER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"not_allowed_for_user_category_owner\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"68d1c3e0-ea28-465b-9ef1-36f388fc896d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1734348365.0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"errors\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`If the user’s `,_jsx(_components.code,{children:`UserCategory`}),` is `,_jsx(_components.code,{children:`OWNER`}),`, use the `,_jsx(_components.a,{href:`/api-reference/users/enroll-user`,children:`POST Enroll a User in SCA`}),` endpoint to obtain an SCA session link.`]})]})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200 - Owner pending SCA`,numberOfLines:`48`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`48`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Alex Smith\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"LegalPersonType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SOLETRADER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"LegalRepresentative\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"FirstName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Alex\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"LastName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Smith\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ProofOfIdentity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Birthday\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`652117514`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Nationality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"CountryOfResidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"alex.smith@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"PhoneNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0611111111\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"PhoneNumberCountry\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FR\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ProofOfRegistration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ShareholderDeclaration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Statute\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"CompanyNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"PendingUserAction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"RedirectUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://sca.sandbox.mangopay.com/?token=0193cef9efe7782881459b02bed1986c\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"HeadquartersAddress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"AddressLine1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3 rue de la Cité\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"AddressLine2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Appartement 7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"City\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Paris\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Region\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Île-de-France\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"PostalCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"75004\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FR\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"LegalRepresentativeAddress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"AddressLine1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3 rue de la Cité\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"AddressLine2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Appartement 7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"City\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Paris\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Region\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Île-de-France\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"PostalCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"75004\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FR\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_m_01JF7FKVP51PS3TYKCN79VZZ8M\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Tag\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Created using Mangopay API Collection Postman\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"CreationDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1734344306`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"PersonType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LEGAL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"alex.smith.services@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"KYCLevel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LIGHT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"TermsAndConditionsAccepted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"TermsAndConditionsAcceptedDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1734344306`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"UserCategory\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OWNER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"UserStatus\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PENDING_USER_ACTION\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`REST`,numberOfLines:`21`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"UserCategory\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OWNER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"TermsAndConditionsAccepted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"LegalRepresentative\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // \"Email\": \"alex.smith@example.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // \"PhoneNumber\": \"0611111111\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // \"PhoneNumberCountry\": \"FR\",`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Birthday\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`652117514`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Nationality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"CountryOfResidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"HeadquartersAddress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"AddressLine1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3 rue de la Cité\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"AddressLine2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Appartement 7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"City\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Paris\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Region\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Île-de-France\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"PostalCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"75004\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FR\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"CompanyNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123456789\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`.NET`,numberOfLines:`45`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`45`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`using`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` MangoPay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`SDK`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`using`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` MangoPay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`SDK`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Core`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Enumerations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`using`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` MangoPay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`SDK`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Entities`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`PUT`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`using`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Newtonsoft`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CategorizeUser`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` void`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Run`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Task`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Run`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` MangoPayApi`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` MangoPayApi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` api`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ClientId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"your-client-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` api`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ClientPassword`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"your-api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` categorizeLegal`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CategorizeUserLegalPutDTO`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` HeadquartersAddress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Address`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` AddressLine1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"17 Rue de la République\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` City`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Paris\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Region`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Ile-de-France\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` PostalCode`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"75001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Country`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` CountryIso`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`FR`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` CompanyNumber`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"325698745\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` LegalRepresentative`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` LegalRepresentative`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Birthday`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` DateTime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1980`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Nationality`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` CountryIso`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`FR`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` CountryOfResidence`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` CountryIso`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`FR`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` TermsAndConditionsAccepted`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` UserCategory`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` UserCategory`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`OWNER`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` categorized`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` api`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Users`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`CategorizeLegalAsync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`categorizeLegal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_m_01K8B28H25JBHX1QFVC0T54S1Q\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` string`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` prettyPrint`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` JsonConvert`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`SerializeObject`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`categorized`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Formatting`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Indented`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`WriteLine`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`prettyPrint`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`GetAwaiter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`GetResult`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Ruby`,numberOfLines:`41`,language:`ruby`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`ruby`,children:_jsxs(_components.code,{language:`ruby`,numberOfLines:`41`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`require`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'mangopay'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`MangoPay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`configure`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` do`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`|`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`preproduction`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`client_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'your-mangopay-client-id'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`client_apiKey`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'your-mangopay-api-key'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log_file`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` File`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`join`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Dir`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`pwd`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'mangopay.log'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`end`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` categorizeLegalUser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`userId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`params`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` begin`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` MangoPay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`::`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`LegalUserSca`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`categorize`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(userId, params)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` puts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` rescue`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` MangoPay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`::`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`ResponseError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` => error`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` puts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Failed to categorize User: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`#{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`error.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`message`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` puts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Error details: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`#{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`error.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`details`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` end`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`end`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`myLegalUserSca`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` UserCategory:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'OWNER'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` TermsAndConditionsAccepted:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` LegalRepresentative:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` Birthday:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 652117514`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` Nationality:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'FR'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` CountryOfResidence:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'FR'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` Email:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'name@example.com'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` HeadquartersAddress:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` AddressLine1:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '3 rue de la Cité'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` AddressLine2:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Appartement 7'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` City:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Paris'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` Region:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Île-de-France'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` PostalCode:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '75004'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` Country:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'FR'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`categorizeLegalUser`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'user_m_01K85X5HKK3YD61Y3YXD9FHV7H'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, myLegalUserSca)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`PHP`,numberOfLines:`48`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`48`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c?`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`php`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`require_once`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'vendor/autoload.php'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`use`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` MangoPay\\\\Libraries\\\\`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Exception`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` as`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` MGPException`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`use`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` MangoPay\\\\Libraries\\\\`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`ResponseException`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` as`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` MGPResponseException`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`use`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` MangoPay\\\\`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`MangoPayApi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`use`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` MangoPay\\\\`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`UserCategory`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$api`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` MangoPayApi`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$api`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ClientId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'your-client-id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$api`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ClientPassword`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'your-mangopay-api-key'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$api`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`TemporaryFolder`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'tmp/'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$api`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DebugMode`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`try`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $api`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Users`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`GetLegalSca`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'user_m_01K8932FJ54AF8BY7PY80G0JG1'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $legalRepresentative`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` LegalRepresentative`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $legalRepresentative`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Email`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"john.sca@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $legalRepresentative`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Birthday`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` mktime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`21`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1975`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $legalRepresentative`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Nationality`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'FR'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $legalRepresentative`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CountryOfResidence`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'FR'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $legalRepresentative`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PhoneNumber`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"+33611111111\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $legalRepresentative`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PhoneNumberCountry`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"FR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`LegalRepresentative`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $legalRepresentative`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`UserCategory`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` UserCategory`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`::`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`Owner`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CompanyNumber`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"LU123456\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`TermsAndConditionsAccepted`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $address`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\MangoPay\\\\`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Address`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $address`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`AddressLine1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Rue des plantes'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $address`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`AddressLine2`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '2nd floor'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $address`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`City`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Paris'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $address`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Country`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'FR'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $address`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PostalCode`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '75000'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $address`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Region`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'IDF'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`HeadquartersAddress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $address`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $api`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Users`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Categorize`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print_r`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`MGPResponseException`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print_r`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`MGPException`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print_r`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{Aml,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Categorize a Legal User","api":"PUT /v2.01/{ClientId}/sca/users/legal/{UserId}/category","description":"Transition a Legal Payer to Owner and enroll them in SCA","href":"/api-reference/users/categorize-legal-user"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Body parameters","slug":"body-parameters","depth":3,"children":[]},{"title":"Responses","slug":"responses","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"REST","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"21\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"UserCategory\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"OWNER\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"TermsAndConditionsAccepted\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"LegalRepresentative\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> // \"Email\": \"alex.smith@example.com\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> // \"PhoneNumber\": \"0611111111\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> // \"PhoneNumberCountry\": \"FR\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Birthday\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">652117514\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Nationality\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"CountryOfResidence\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"HeadquartersAddress\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"AddressLine1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3 rue de la Cité\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"AddressLine2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Appartement 7\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"City\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Paris\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Region\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Île-de-France\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"PostalCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"75004\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Country\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FR\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"CompanyNumber\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"123456789\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":".NET","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"csharp\">\u003ccode language=\"csharp\" numberOfLines=\"45\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">using\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> MangoPay\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">SDK\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">using\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> MangoPay\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">SDK\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">Core\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">Enumerations\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">using\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> MangoPay\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">SDK\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">Entities\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">PUT\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">using\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> Newtonsoft\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\">Json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">public\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> class\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> CategorizeUser\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> public\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> void\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> Run\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Task\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">Run\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">async\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> () \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=>\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> MangoPayApi\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> api\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> MangoPayApi\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> api\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Config\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">ClientId\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"your-client-id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> api\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Config\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">ClientPassword\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"your-api-key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> var\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> categorizeLegal\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> CategorizeUserLegalPutDTO\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> HeadquartersAddress\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> Address\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> AddressLine1\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"17 Rue de la République\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> City\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Paris\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Region\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Ile-de-France\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> PostalCode\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"75001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Country\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> CountryIso\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">FR\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> CompanyNumber\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"325698745\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> LegalRepresentative\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> LegalRepresentative\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Birthday\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"> DateTime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1980\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">3\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">15\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Nationality\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> CountryIso\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">FR\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> CountryOfResidence\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> CountryIso\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">FR\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> TermsAndConditionsAccepted\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> UserCategory\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> UserCategory\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">OWNER\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> };\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> var\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> categorized\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> api\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Users\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">CategorizeLegalAsync\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">categorizeLegal\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user_m_01K8B28H25JBHX1QFVC0T54S1Q\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> string\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> prettyPrint\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> JsonConvert\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">SerializeObject\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">categorized\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Formatting\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Indented\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">WriteLine\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">prettyPrint\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }).\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">GetAwaiter\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">().\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">GetResult\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Ruby","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"ruby\">\u003ccode language=\"ruby\" numberOfLines=\"41\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">require\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'mangopay'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\">MangoPay\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">configure\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> do\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> |\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">client\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">|\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> client.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">preproduction\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> client.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">client_id\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'your-mangopay-client-id'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> client.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">client_apiKey\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'your-mangopay-api-key'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> client.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log_file\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\"> File\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">join\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\">Dir\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">pwd\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'mangopay.log'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">end\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">def\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> categorizeLegalUser\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">userId\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">params\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> begin\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\"> MangoPay\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#4EC9B0\">::\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\">LegalUserSca\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">categorize\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(userId, params)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> puts\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> response\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> return\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> response\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> rescue\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\"> MangoPay\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#4EC9B0\">::\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\">ResponseError\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> => error\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> puts\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Failed to categorize User: \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">#{\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">error.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">message\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> puts\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Error details: \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">#{\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#D4D4D4\">error.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">details\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> return\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> false\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> end\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">end\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">myLegalUserSca\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> UserCategory:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'OWNER'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> TermsAndConditionsAccepted:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> LegalRepresentative:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> Birthday:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 652117514\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> Nationality:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'FR'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> CountryOfResidence:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'FR'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> Email:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'name@example.com'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> HeadquartersAddress:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> AddressLine1:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '3 rue de la Cité'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> AddressLine2:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Appartement 7'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> City:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Paris'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> Region:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Île-de-France'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> PostalCode:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '75004'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> Country:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'FR'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">categorizeLegalUser\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'user_m_01K85X5HKK3YD61Y3YXD9FHV7H'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, myLegalUserSca)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"PHP","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"php\">\u003ccode language=\"php\" numberOfLines=\"48\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">\u0026#x3C;?\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\">php\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">require_once\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'vendor/autoload.php'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">use\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> MangoPay\\Libraries\\\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\">Exception\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> as\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> MGPException\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">use\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> MangoPay\\Libraries\\\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\">ResponseException\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> as\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> MGPResponseException\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">use\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> MangoPay\\\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\">MangoPayApi\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">use\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> MangoPay\\\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\">UserCategory\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$api\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\"> MangoPayApi\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$api\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Config\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">ClientId\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'your-client-id'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$api\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Config\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">ClientPassword\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'your-mangopay-api-key'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$api\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Config\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">TemporaryFolder\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'tmp/'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$api\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Config\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">DebugMode\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">try\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $user\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $api\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Users\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">GetLegalSca\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'user_m_01K8932FJ54AF8BY7PY80G0JG1'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $legalRepresentative\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\"> LegalRepresentative\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $legalRepresentative\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Email\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"john.sca@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $legalRepresentative\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Birthday\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> mktime\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">12\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">21\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1975\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $legalRepresentative\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Nationality\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'FR'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $legalRepresentative\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">CountryOfResidence\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'FR'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $legalRepresentative\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">PhoneNumber\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"+33611111111\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $legalRepresentative\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">PhoneNumberCountry\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"FR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $user\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">LegalRepresentative\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $legalRepresentative\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> \u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $user\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">UserCategory\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\"> UserCategory\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">::\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\">Owner\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $user\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">CompanyNumber\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"LU123456\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $user\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">TermsAndConditionsAccepted\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> \u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $address\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#D4D4D4\"> \\MangoPay\\\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\">Address\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $address\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">AddressLine1\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Rue des plantes'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $address\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">AddressLine2\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '2nd floor'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $address\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">City\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Paris'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $address\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Country\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'FR'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $address\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">PostalCode\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '75000'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $address\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Region\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'IDF'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $user\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">HeadquartersAddress\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $address\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $api\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">Users\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">->\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">Categorize\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$user\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> print_r\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">} \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">catch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> (\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\">MGPResponseException\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $e\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">) {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> print_r\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$e\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">} \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">catch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> (\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\">MGPException\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> $e\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">) {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"> print_r\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$e\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200 - Owner pending SCA","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"48\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Alex Smith\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"LegalPersonType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SOLETRADER\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"LegalRepresentative\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"FirstName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Alex\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"LastName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Smith\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ProofOfIdentity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Birthday\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">652117514\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Nationality\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"CountryOfResidence\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"alex.smith@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"PhoneNumber\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0611111111\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"PhoneNumberCountry\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FR\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ProofOfRegistration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ShareholderDeclaration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Statute\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"CompanyNumber\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"123456789\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"PendingUserAction\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"RedirectUrl\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://sca.sandbox.mangopay.com/?token=0193cef9efe7782881459b02bed1986c\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"HeadquartersAddress\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"AddressLine1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3 rue de la Cité\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"AddressLine2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Appartement 7\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"City\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Paris\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Region\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Île-de-France\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"PostalCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"75004\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Country\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FR\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"LegalRepresentativeAddress\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"AddressLine1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3 rue de la Cité\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"AddressLine2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Appartement 7\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"City\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Paris\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Region\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Île-de-France\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"PostalCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"75004\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Country\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"FR\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"user_m_01JF7FKVP51PS3TYKCN79VZZ8M\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Tag\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Created using Mangopay API Collection Postman\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"CreationDate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1734344306\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"PersonType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"LEGAL\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"Email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"alex.smith.services@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"KYCLevel\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"LIGHT\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"TermsAndConditionsAccepted\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"TermsAndConditionsAcceptedDate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1734344306\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"UserCategory\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"OWNER\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"UserStatus\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"PENDING_USER_ACTION\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Categorize a Legal User","path":"/v2.01/{ClientId}/sca/users/legal/{UserId}/category","method":"put","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"UserCategory":[{"type":"string","description":"Allowed values: `OWNER` The new category of the user, which must be `OWNER` .","required":true}],"TermsAndConditionsAccepted":[{"type":"boolean","description":"Allowed values: `true` Whether the user has accepted Mangopay’s terms and conditions (as defined by your contract, see the T\u0026Cs guide for details).","required":true}],"LegalRepresentative":[{"type":"object","properties":{"Birthday":[{"type":"object","properties":{},"description":"The date of birth of the individual. Note: This is a Unix timestamp in UTC. Ensure you convert your timezone to UTC to avoid midnight being interpreted as the day before.","required":true}],"Nationality":[{"type":"string","description":"Format: Two-letter country code ( ISO 3166-1 alpha-2 format ) The nationality of the individual.","required":true}],"CountryOfResidence":[{"type":"string","description":"Format: Two-letter country code ( ISO 3166-1 alpha-2 format ) The country of residence of the individual.","required":true}],"Email":[{"type":"string","description":"Format: A valid email address The individual’s email address. For `OWNER` users, SCA uses this email address to build a behavioral biometrics profile and as a backup communication channel.","required":true}],"PhoneNumber":[{"type":"string","description":"Format: International E.164 standard (preceded by plus sign and country code) or local format The individual’s phone number. The local format (recommended) requires `PhoneNumberCountry` to ensure correct formatting. If present, the phone number forms part of card transaction data that is passed to issuers to improve authentication rates. For users with `UserCategory` `OWNER` , the phone number is used to pre-populate the SCA session for them to confirm and receive an SMS OTP. If the individual modifies the phone number during the session, this data is not updated in the API."}],"PhoneNumberCountry":[{"type":"string","description":"Format: Two-letter country code ( ISO 3166-1 alpha-2 format ) Required if the `PhoneNumber` is provided in local format (recommended), to render the value in the E.164 standard."}]},"description":"Information about the legal representative declared for the user.","required":true}],"HeadquartersAddress":[{"type":"object","properties":{"AddressLine1":[{"type":"string","description":"Max. length: 255 characters The first line of the address.","required":true}],"AddressLine2":[{"type":"string","description":"Max. length: 255 characters The second line of the address."}],"City":[{"type":"string","description":"Max. length: 255 characters The city of the address.","required":true}],"Region":[{"type":"string","description":"Max. length: 255 characters Required if `Country` is US, CA, or MX. The region of the address."}],"PostalCode":[{"type":"string","description":"Max. length: 255 characters The postal code of the address. The postal code can contain the following characters: alphanumeric, dashes, and spaces.","required":true}],"Country":[{"type":"string","description":"The country of the address.","required":true}]},"description":"The legally registered address of the entity’s administrative center.","required":true}],"CompanyNumber":[{"type":"string","description":"Required if `LegalPersonType` is `BUSINESS` . The registration number of the entity, assigned by the relevant national authority. For information on the expected format for a specific country, see the Company number guide. To validate the format of a number before submitting documents for verification, use POST Validate the format of User data ."}],"ScaContext":[{"type":"string","description":"Possible values: `USER_PRESENT` , `USER_NOT_PRESENT` Default value: `USER_PRESENT` The SCA context of the request, which is required if the `OWNER` value is being assigned for `UserCategory` : `USER_PRESENT` – The user is on session during `OWNER` account creation and can enroll in SCA at the same time. The platform must redirect the user using the `PendingUserAction.RedirectUrl` returned so that the user can complete the SCA session. `USER_NOT_PRESENT` – The platform has explicit permission from Mangopay to create the `OWNER` user account without simultaneous SCA enrollment. Read more about asynchronous SCA enrollment → Note: On User endpoints, `ScaContext` is not returned in the API response as it does not form part of the User data – it’s only related to the action being performed on the user."}]}}],"examples":{"example":{"value":{"UserCategory":"\u003cstring>","TermsAndConditionsAccepted":true,"LegalRepresentative":{"Birthday":{},"Nationality":"\u003cstring>","CountryOfResidence":"\u003cstring>","Email":"\u003cstring>","PhoneNumber":"\u003cstring>","PhoneNumberCountry":"\u003cstring>"},"HeadquartersAddress":{"AddressLine1":"\u003cstring>","AddressLine2":"\u003cstring>","City":"\u003cstring>","Region":"\u003cstring>","PostalCode":"\u003cstring>","Country":"\u003cstring>"},"CompanyNumber":"\u003cstring>","ScaContext":"\u003cstring>"}}}}}},"response":{},"deprecated":false}},"jsLinks":["/_mintlify/custom/mangopay/bbdec5e85a0c0aa0/script.js"],"subdomain":"mangopay","siteName":"Mangopay docs","title":"Categorize a Legal User - Mangopay docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-28T15:47:13.337Z","originalFileLocation":"api-reference/users/categorize-legal-user.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Transition a Legal Payer to Owner and enroll them in SCA\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mangopay docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mangopay/56CZuSSE4eb-08HU/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mangopay/56CZuSSE4eb-08HU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mangopay/56CZuSSE4eb-08HU/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mangopay/56CZuSSE4eb-08HU/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mangopay/56CZuSSE4eb-08HU/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mangopay/56CZuSSE4eb-08HU/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mangopay/56CZuSSE4eb-08HU/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mangopay/56CZuSSE4eb-08HU/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mangopay/56CZuSSE4eb-08HU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Categorize a Legal User - Mangopay docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Transition a Legal Payer to Owner and enroll them in SCA\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mangopay docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mangopay.com/api-reference/users/categorize-legal-user\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mangopay.mintlify.site/images/seo_og_image_blank.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Categorize a Legal User - Mangopay docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Transition a Legal Payer to Owner and enroll them in SCA\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mangopay.mintlify.site/images/seo_og_image_blank.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mangopay/56CZuSSE4eb-08HU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mangopay docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00000E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mangopay.com/api-reference/users/categorize-legal-user\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/users/categorize-legal-user.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mangopay.com/#organization\",\"name\":\"Mangopay docs\",\"url\":\"https://docs.mangopay.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mangopay/EHwmKiFob2p48DHF/logo/mgp-light.svg?fit=max\u0026auto=format\u0026n=EHwmKiFob2p48DHF\u0026q=85\u0026s=f2bf5f88a1d39831377b5952b46b031c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mangopay.com#website\",\"name\":\"Mangopay docs\",\"url\":\"https://docs.mangopay.com\",\"publisher\":{\"@id\":\"https://docs.mangopay.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mangopay.com/api-reference/users/categorize-legal-user#webpage\",\"url\":\"https://docs.mangopay.com/api-reference/users/categorize-legal-user\",\"name\":\"Categorize a Legal User\",\"description\":\"Transition a Legal Payer to Owner and enroll them in SCA\",\"dateModified\":\"2026-01-28T15:47:13.337Z\",\"isPartOf\":{\"@id\":\"https://docs.mangopay.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mangopay.com/api-reference/users/categorize-legal-user#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mangopay.com/api-reference/users/categorize-legal-user#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"User management\",\"item\":\"https://docs.mangopay.com/api-reference/users/natural-user-object-sca\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Users\",\"item\":\"https://docs.mangopay.com/api-reference/users/natural-user-object-sca\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Categorize a Legal User\",\"item\":\"https://docs.mangopay.com/api-reference/users/categorize-legal-user\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.mangopay.com/api-reference/users/categorize-legal-user#apireference\",\"headline\":\"Categorize a Legal User\",\"name\":\"Categorize a Legal User\",\"description\":\"Transition a Legal Payer to Owner and enroll them in SCA\",\"url\":\"https://docs.mangopay.com/api-reference/users/categorize-legal-user\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mangopay.com/api-reference/users/categorize-legal-user#webpage\"},\"image\":\"https://docs.mangopay.com/images/seo_og_image_blank.png\",\"dateModified\":\"2026-01-28T15:47:13.337Z\",\"publisher\":{\"@id\":\"https://docs.mangopay.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mangopay.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mangopay docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Mangopay docs","nav":{"global":null,"tabs":[{"tab":"Integration","pages":[{"title":"Integration","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/e-wallet-system"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","mode":"wide","href":"/api-reference/overview/introduction"},{"group":"API keys","pages":[{"title":"Managing API keys","sidebarTitle":"Management","href":"/api-reference/overview/api-keys"},{"title":"Permission scopes","sidebarTitle":"Scopes","href":"/api-reference/overview/api-keys/scopes"}]},{"group":"Authentication","pages":[{"title":"Authentication","sidebarTitle":"Overview","href":"/api-reference/overview/authentication"},{"api":"POST /v2.01/oauth/token","title":"Create OAuth bearer token","href":"/api-reference/overview/authentication/create-oauth-token"},{"api":"POST /v2.01/oauth/token/embedded/recipient","title":"Create an access token for the Recipients embedded experience","href":"/api-reference/overview/authentication/create-access-token-recipient"},{"api":"POST /v2.01/oauth/token/embedded/recipient","title":"Create an access token for Checkout SDK features","href":"/api-reference/overview/authentication/create-access-token-checkout"}]},{"title":"Rate limiting","href":"/api-reference/overview/rate-limiting"},{"title":"Filtering and sorting","href":"/api-reference/overview/filtering-sorting"},{"title":"Pagination","href":"/api-reference/overview/pagination"},{"title":"Idempotency","href":"/api-reference/overview/idempotency"},{"title":"Data formats","href":"/api-reference/overview/data-formats"},{"title":"Data availability periods","href":"/api-reference/overview/data-availability-periods"}]},{"group":"User management","pages":[{"group":"Users","pages":[{"title":"The Natural User object (SCA)","href":"/api-reference/users/natural-user-object-sca"},{"title":"Create a Natural User (SCA)","api":"POST /v2.01/{ClientId}/sca/users/natural","href":"/api-reference/users/create-natural-user-sca"},{"title":"Update a Natural User (SCA)","api":"PUT /v2.01/{ClientId}/sca/users/natural/{UserId}","href":"/api-reference/users/update-natural-user-sca"},{"title":"Categorize a Natural User","api":"PUT /v2.01/{ClientId}/sca/users/natural/{UserId}/category","href":"/api-reference/users/categorize-natural-user"},{"title":"The Legal User object (SCA)","href":"/api-reference/users/legal-user-object-sca"},{"title":"Create a Legal User (SCA)","api":"POST /v2.01/{ClientId}/sca/users/legal","href":"/api-reference/users/create-legal-user-sca"},{"title":"Update a Legal User (SCA)","api":"PUT /v2.01/{ClientId}/sca/users/legal/{UserId}","description":"Modify details for a Legal Payer or Owner without changing category","href":"/api-reference/users/update-legal-user-sca"},{"title":"Categorize a Legal User","api":"PUT /v2.01/{ClientId}/sca/users/legal/{UserId}/category","href":"/api-reference/users/categorize-legal-user"},{"title":"Enroll a User in SCA","api":"POST /v2.01/{ClientId}/sca/users/{UserId}/enrollment","description":"Obtain an SCA redirection link to enroll an Owner user","href":"/api-reference/users/enroll-user"},{"title":"Manage proxy consent for a User","api":"POST /v2.01/{ClientId}/sca/users/{UserId}/consent","href":"/api-reference/users/manage-proxy-consent"},{"title":"View the SCA status of a User","api":"GET /v2.01/{ClientId}/sca/users/{UserId}/sca-status","href":"/api-reference/users/view-user-sca-status"},{"title":"View a User (SCA)","api":"GET /v2.01/{ClientId}/sca/users/{UserId}","href":"/api-reference/users/view-user-sca"},{"title":"List all Users","api":"GET /v2.01/{ClientId}/users","href":"/api-reference/users/list-users"},{"title":"Close a Natural User","api":"DELETE /v2.01/{ClientId}/users/natural/{UserId}","href":"/api-reference/users/close-natural-user"},{"title":"Close a Legal User","api":"DELETE /v2.01/{ClientId}/users/legal/{UserId}","href":"/api-reference/users/close-legal-user"},{"group":"Non-SCA endpoints","tag":"DEPRECATED","pages":[{"title":"The Natural User object","mode":"wide","tag":"DEPRECATED","href":"/api-reference/users/natural-user-object"},{"title":"Create a Natural User","api":"POST /v2.01/{ClientId}/users/natural","tag":"DEPRECATED","href":"/api-reference/users/create-natural-user"},{"title":"Update a Natural User","api":"PUT /v2.01/{ClientId}/users/natural/{UserId}","tag":"DEPRECATED","href":"/api-reference/users/update-natural-user"},{"title":"The Legal User object","tag":"DEPRECATED","href":"/api-reference/users/legal-user-object"},{"title":"Create a Legal User","api":"POST /v2.01/{ClientId}/users/legal","tag":"DEPRECATED","href":"/api-reference/users/create-legal-user"},{"title":"Update a Legal User","api":"PUT /v2.01/{ClientId}/users/legal/{UserId}","tag":"DEPRECATED","href":"/api-reference/users/update-legal-user"},{"title":"View a User","api":"GET /v2.01/{ClientId}/users/{UserId}","tag":"DEPRECATED","href":"/api-reference/users/view-user"}]}]},{"group":"User regulatory status","pages":[{"title":"The User Regulatory Status object","href":"/api-reference/user-regulatory-status/user-regulatory-status-object"},{"title":"View a User Regulatory Status","api":"GET /v2.01/{ClientId}/users/{UserId}/regulatory","href":"/api-reference/user-regulatory-status/view-user-regulatory-status"}]},{"group":"User e-money","pages":[{"title":"The User EMoney object","href":"/api-reference/user-emoney/user-emoney-object"},{"title":"View User EMoney","api":"GET /v2.01/{ClientId}/users/{UserId}/emoney/{Year}/{Month}","href":"/api-reference/user-emoney/view-user-emoney"}]}]},{"group":"User verification","pages":[{"group":"IDV sessions","pages":[{"title":"The IDV Session object","href":"/api-reference/idv-sessions/idv-session-object"},{"title":"Create an IDV Session","api":"POST /v2.01/{ClientId}/users/{UserId}/identity-verifications","href":"/api-reference/idv-sessions/create-idv-session"},{"title":"View an IDV Session","api":"GET /v2.01/{ClientId}/identity-verifications/{IdvSessionId}","href":"/api-reference/idv-sessions/view-idv-session"},{"title":"List IDV Sessions for a User","api":"GET /v2.01/{ClientId}/users/{UserId}/identity-verifications","href":"/api-reference/idv-sessions/list-idv-sessions-user"}]},{"group":"User data format","pages":[{"title":"The User Data Format object","href":"/api-reference/user-data-format/user-data-format-object"},{"title":"Validate the format of User data","api":"POST /v2.01/{ClientId}/users/data-formats/validation","href":"/api-reference/user-data-format/validate-user-data-format"}]},{"group":"KYC documents","pages":[{"title":"The KYC Document object","href":"/api-reference/kyc-documents/kyc-document-object"},{"title":"Create a KYC Document","api":"POST /v2.01/{ClientId}/users/{UserId}/kyc/documents","href":"/api-reference/kyc-documents/create-kyc-document"},{"title":"Create a KYC Document Page","api":"POST /v2.01/{ClientId}/users/{UserId}/kyc/documents/{KycDocumentId}/pages","href":"/api-reference/kyc-documents/create-kyc-document-page"},{"title":"Submit a KYC Document","api":"PUT /v2.01/{ClientId}/users/{UserId}/kyc/documents/{KycDocumentId}","href":"/api-reference/kyc-documents/submit-kyc-document"},{"title":"View a KYC Document","api":"GET /v2.01/{ClientId}/kyc/documents/{KycDocumentId}","href":"/api-reference/kyc-documents/view-kyc-document"},{"title":"List KYC Documents for a User","api":"GET /v2.01/{ClientId}/users/{UserId}/kyc/documents","href":"/api-reference/kyc-documents/list-kyc-documents-user"},{"title":"List all KYC Documents","api":"GET /v2.01/{ClientId}/kyc/documents","href":"/api-reference/kyc-documents/list-kyc-documents"}]},{"group":"UBO declarations","pages":[{"title":"The UBO Declaration object","href":"/api-reference/ubo-declarations/ubo-declaration-object"},{"title":"Create a UBO Declaration","api":"POST /v2.01/{ClientId}/users/{UserId}/kyc/ubodeclarations","href":"/api-reference/ubo-declarations/create-ubo-declaration"},{"title":"The UBO object","href":"/api-reference/ubo-declarations/ubo-object"},{"title":"Create a UBO","api":"POST /v2.01/{ClientId}/users/{UserId}/kyc/ubodeclarations/{UboDeclarationId}/ubos","href":"/api-reference/ubo-declarations/create-ubo"},{"title":"Submit a UBO Declaration","api":"PUT /v2.01/{ClientId}/users/{UserId}/kyc/ubodeclarations/{UboDeclarationId}","href":"/api-reference/ubo-declarations/submit-ubo-declaration"},{"title":"Update a UBO","api":"PUT /v2.01/{ClientId}/users/{UserId}/kyc/ubodeclarations/{UboDeclarationId}/ubos/{UboId}","href":"/api-reference/ubo-declarations/update-ubo"},{"title":"View a UBO Declaration","api":"GET /v2.01/{ClientId}/kyc/ubodeclarations/{UboDeclarationId}","href":"/api-reference/ubo-declarations/view-ubo-declaration"},{"title":"View a UBO","api":"GET /v2.01/{ClientId}/users/{UserId}/kyc/ubodeclarations/{UboDeclarationId}/ubos/{UboId}","href":"/api-reference/ubo-declarations/view-ubo"},{"title":"List UBO Declarations for a User","api":"GET /v2.01/{ClientId}/users/{UserId}/kyc/ubodeclarations","href":"/api-reference/ubo-declarations/list-ubo-declarations-user"}]}]},{"group":"Wallets","pages":[{"group":"User wallets","pages":[{"title":"The Wallet object","href":"/api-reference/wallets/wallet-object"},{"title":"Create a Wallet","api":"POST /v2.01/{ClientId}/wallets","href":"/api-reference/wallets/create-wallet"},{"title":"Update a Wallet","api":"PUT /v2.01/{ClientId}/wallets/{WalletId}","href":"/api-reference/wallets/update-wallet"},{"title":"View a Wallet","api":"GET /v2.01/{ClientId}/wallets/{WalletId}","href":"/api-reference/wallets/view-wallet"},{"title":"List Wallets for a User","api":"GET /v2.01/{ClientId}/users/{UserId}/wallets","href":"/api-reference/wallets/list-wallets-user"}]},{"group":"Client wallets","pages":[{"title":"The Client Wallet object","href":"/api-reference/client-wallets/client-wallet-object"},{"title":"View a Client Wallet","api":"GET /v2.01/{ClientId}/clients/wallets/{FundsType}/{Currency}","href":"/api-reference/client-wallets/view-client-wallet"},{"title":"List all Client Wallets","api":"GET /v2.01/{ClientId}/clients/wallets","href":"/api-reference/client-wallets/list-client-wallets"},{"title":"List Client Wallets by FundsType","api":"GET /v2.01/{ClientId}/clients/wallets/{FundsType}","href":"/api-reference/client-wallets/list-client-wallets-fundstype"}]}]},{"group":"Cards","pages":[{"group":"Card registrations","pages":[{"title":"The Card Registration object","href":"/api-reference/card-registrations/card-registration-object"},{"title":"Create a Card Registration","api":"POST /v2.01/{ClientId}/cardregistrations","href":"/api-reference/card-registrations/create-card-registration"},{"title":"Tokenize the card","api":"POST {CardRegistrationURL}","href":"/api-reference/card-registrations/tokenize-card"},{"title":"Update a Card Registration","api":"PUT /v2.01/{ClientId}/cardregistrations/{CardRegistrationId}","href":"/api-reference/card-registrations/update-card-registration"},{"title":"View a Card Registration","api":"GET /v2.01/{ClientId}/cardregistrations/{CardRegistrationId}","href":"/api-reference/card-registrations/view-card-registration"}]},{"group":"Cards","pages":[{"title":"The Card object","href":"/api-reference/cards/card-object"},{"title":"Deactivate or edit a Card","api":"PUT /v2.01/{ClientId}/cards/{CardId}","href":"/api-reference/cards/deactivate-edit-card"},{"title":"View a Card","api":"GET /v2.01/{ClientId}/cards/{CardId}","href":"/api-reference/cards/view-card"},{"title":"List Cards for a User","api":"GET /v2.01/{ClientId}/users/{UserId}/cards","href":"/api-reference/cards/list-cards-user"},{"title":"List Cards for a Fingerprint","api":"GET /v2.01/{ClientId}/cards/fingerprints/{Fingerprint}","href":"/api-reference/cards/list-cards-fingerprint"}]},{"group":"Metadata","pages":[{"title":"The Payment Method Metadata object","href":"/api-reference/payment-method-metadata/payment-method-metadata-object"},{"title":"Look up metadata for a payment method","api":"POST /v2.01/{ClientId}/payment-methods/metadata","href":"/api-reference/payment-method-metadata/lookup-payment-method-metadata"}]},{"group":"Card validations","pages":[{"title":"The Card Validation object","href":"/api-reference/card-validations/card-validation-object"},{"title":"Create a Card Validation","api":"POST /V2.01/{ClientId}/cards/{CardId}/validation","href":"/api-reference/card-validations/create-card-validation"},{"title":"View a Card Validation","api":"GET /V2.01/{ClientId}/cards/{CardId}/validation/{ValidationId}","href":"/api-reference/card-validations/view-card-validation"}]}]},{"group":"Card pay-ins","pages":[{"group":"Direct card pay-ins","pages":[{"title":"The Direct Card PayIn object","href":"/api-reference/direct-card-payins/direct-card-payin-object"},{"title":"Create a Direct Card PayIn","api":"POST /v2.01/{ClientId}/payins/card/direct","href":"/api-reference/direct-card-payins/create-direct-card-payin"},{"title":"View a PayIn (Direct Card)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/direct-card-payins/view-payin-direct-card"}]},{"group":"Recurring card pay-ins","pages":[{"title":"The Recurring PayIn Registration object","href":"/api-reference/recurring-payin-registrations/recurring-payin-registration-object"},{"title":"Create a Recurring PayIn Registration (Card)","api":"POST /v2.01/{ClientId}/recurringpayinregistrations","href":"/api-reference/recurring-payin-registrations/create-recurring-payin-registration"},{"title":"Update a Recurring PayIn Registration","api":"PUT /v2.01/{ClientId}/recurringpayinregistrations/{RecurringPayinRegistrationId}","href":"/api-reference/recurring-payin-registrations/update-recurring-payin-registration"},{"title":"View a Recurring PayIn Registration","api":"GET /v2.01/{ClientId}/recurringpayinregistrations/{RecurringPayinRegistrationId}","href":"/api-reference/recurring-payin-registrations/view-recurring-payin-registration"},{"title":"The Recurring PayIn object","href":"/api-reference/recurring-card-payins/recurring-payin-object"},{"title":"Create a Recurring PayIn (CIT)","api":"POST /v2.01/{ClientId}/payins/recurring/card/direct","href":"/api-reference/recurring-card-payins/create-recurring-payin-cit"},{"title":"Create a Recurring PayIn (MIT)","api":"POST /v2.01/{ClientId}/payins/recurring/card/direct","href":"/api-reference/recurring-card-payins/create-recurring-payin-mit"},{"title":"View a PayIn (Recurring Card)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/recurring-card-payins/view-payin-recurring"}]},{"group":"Preauthorizations","pages":[{"title":"The Preauthorization object","href":"/api-reference/preauthorizations/preauthorization-object"},{"title":"Create a Preauthorization","api":"POST /v2.01/{ClientId}/preauthorizations/card/direct","href":"/api-reference/preauthorizations/create-preauthorization"},{"title":"Cancel or validate a Preauthorization","api":"PUT /v2.01/{ClientId}/preauthorizations/{PreauthorizationId}","href":"/api-reference/preauthorizations/cancel-validate-preauthorization"},{"title":"View a Preauthorization","api":"GET /v2.01/{ClientId}/preauthorizations/{PreauthorizationId}/","href":"/api-reference/preauthorizations/view-preauthorization"},{"title":"List Preauthorizations for a Card","api":"GET /v2.01/{ClientId}/cards/{CardId}/preauthorizations","href":"/api-reference/preauthorizations/list-preauthorizations-card"},{"title":"List Preauthorizations for a User","api":"GET /v2.01/{ClientId}/users/{UserId}/preauthorizations","href":"/api-reference/preauthorizations/list-preauthorizations-user"},{"title":"The Preauthorized PayIn object","href":"/api-reference/preauthorizations/preauthorized-payin-object"},{"title":"Create a Preauthorized PayIn","api":"POST /v2.01/{ClientId}/payins/preauthorized/direct","href":"/api-reference/preauthorizations/create-preauthorized-payin"},{"title":"View a PayIn (Preauthorized Card)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/preauthorizations/view-payin-preauthorized"}]},{"group":"Deposit preauthorizations","pages":[{"title":"The Deposit Preauthorization object","href":"/api-reference/deposit-preauthorizations/deposit-preauthorization-object"},{"title":"Create deposit preauthorization","href":"/api-reference/deposit-preauthorizations/create-deposit-preauthorization"},{"title":"Cancel a Deposit Preauthorization","api":"PUT /v2.01/{ClientId}/deposit-preauthorizations/{DepositId}","href":"/api-reference/deposit-preauthorizations/cancel-deposit-preauthorization"},{"title":"View a Deposit Preauthorization (Card, PayPal)","api":"GET /v2.01/{ClientId}/deposit-preauthorizations/{DepositId}","href":"/api-reference/deposit-preauthorizations/view-deposit-preauthorization"},{"title":"List Deposit Preauthorizations for a Card","api":"GET /v2.01/{ClientId}/cards/{CardId}/deposit-preauthorizations","href":"/api-reference/deposit-preauthorizations/list-deposit-preauthorizations-card"},{"title":"List Deposit Preauthorizations for a User","api":"GET /v2.01/{ClientId}/users/{UserId}/deposit-preauthorizations","href":"/api-reference/deposit-preauthorizations/list-deposit-preauthorizations-user"},{"title":"The Deposit Preauthorized PayIn object","href":"/api-reference/deposit-preauthorizations/deposit-preauthorized-payin-object"},{"title":"Create a Deposit Preauthorized PayIn","api":"POST /v2.01/{ClientId}/payins/deposit-preauthorized/direct/full-capture","href":"/api-reference/deposit-preauthorizations/create-deposit-preauthorized-payin"},{"title":"View a PayIn (Deposit Preauthorized Card)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/deposit-preauthorizations/view-payin-deposit-preauthorized"}]},{"group":"Web card pay-ins","pages":[{"title":"The Web Card PayIn object","href":"/api-reference/web-card-payins/web-card-payin-object"},{"title":"Create a Web Card PayIn","api":"POST /v2.01/{ClientId}/payins/card/web","href":"/api-reference/web-card-payins/create-web-card-payin"},{"title":"View a PayIn (Web Card)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/web-card-payins/view-payin-web-card"},{"title":"The Extended Web Card PayIn object","href":"/api-reference/web-card-payins/extended-web-card-payin-object"},{"title":"View card details for a Web Card PayIn","api":"GET /v2.01/{ClientId}/payins/card/web/{PayInId}/extended","href":"/api-reference/web-card-payins/view-card-details-web-card-payin"}]}]},{"group":"Banking pay-ins","pages":[{"group":"Bank wires","pages":[{"title":"The Bank Wire PayIn object","href":"/api-reference/bank-wire-payins/bank-wire-payin-object"},{"title":"Create a Bank Wire PayIn","api":"POST /v2.01/{ClientId}/payins/bankwire/direct/","href":"/api-reference/bank-wire-payins/create-bank-wire-payin"},{"title":"View a PayIn (Bank Wire)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/bank-wire-payins/view-payin-bank-wire"}]},{"group":"Pay by bank","pages":[{"title":"The Pay by Bank PayIn object","href":"/api-reference/pay-by-bank/pay-by-bank-payin-object"},{"title":"View supported banks for Pay by Bank","api":"GET /v2.01/{ClientId}/payment-methods/openbanking/metadata/supported-banks","href":"/api-reference/pay-by-bank/view-supported-banks-pay-by-bank"},{"title":"Create a Pay by Bank PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/openbanking","href":"/api-reference/pay-by-bank/create-pay-by-bank-payin"},{"title":"View a PayIn (Pay by Bank)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/pay-by-bank/view-payin-pay-by-bank"}]},{"group":"Virtual IBAN","pages":[{"title":"The Virtual Account object","href":"/api-reference/virtual-accounts/virtual-account-object"},{"title":"View Virtual Account availabilities","api":"GET /v2.01/{ClientId}/virtual-accounts/availability","href":"/api-reference/virtual-accounts/view-virtual-account-availabilities"},{"title":"Create a Virtual Account","api":"POST /v2.01/{ClientId}/wallets/{WalletId}/virtual-accounts","href":"/api-reference/virtual-accounts/create-virtual-account"},{"title":"Deactivate a Virtual Account","api":"PUT /v2.01/{ClientId}/wallets/{WalletId}/virtual-accounts/{VirtualAccountId}","href":"/api-reference/virtual-accounts/deactivate-virtual-account"},{"title":"View a Virtual Account","api":"GET /v2.01/{ClientId}/wallets/{WalletId}/virtual-accounts/{VirtualAccountId}","href":"/api-reference/virtual-accounts/view-virtual-account"},{"title":"List Virtual Accounts for a Wallet","api":"GET /v2.01/{ClientId}/wallets/{WalletId}/virtual-accounts","href":"/api-reference/virtual-accounts/list-virtual-accounts-wallet"},{"group":"Banking alias","pages":[{"title":"The Banking Alias object","tag":"DEPRECATED","href":"/api-reference/banking-aliases/banking-alias-object"},{"title":"Create an IBAN Banking Alias","api":"POST /v2.01/{ClientId}/wallets/{WalletId}/bankingaliases/iban","tag":"DEPRECATED","href":"/api-reference/banking-aliases/create-iban-banking-alias"},{"title":"Deactivate a Banking Alias","api":"PUT /v2.01/{ClientId}/bankingaliases/{BankingAliasId}","tag":"DEPRECATED","href":"/api-reference/banking-aliases/deactivate-banking-alias"},{"title":"View a Banking Alias","api":"GET /v2.01/{ClientId}/bankingaliases/{BankingAliasId}","tag":"DEPRECATED","href":"/api-reference/banking-aliases/view-banking-alias"},{"title":"View a Banking Alias for a Wallet","api":"GET /v2.01/{ClientId}/wallets/{WalletId}/bankingaliases","tag":"DEPRECATED","href":"/api-reference/banking-aliases/view-banking-alias-wallet"}]},{"title":"The External Instruction Bank Wire PayIn object","href":"/api-reference/virtual-accounts/external-instruction-bank-wire-payin-object"},{"title":"View a PayIn (External Instruction)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/virtual-accounts/view-payin-external-instruction"}]},{"group":"Direct debits","pages":[{"title":"The Mandate object","href":"/api-reference/mandates/mandate-object"},{"title":"Create a Mandate","api":"POST /v2.01/{ClientId}/mandates/directdebit/web","href":"/api-reference/mandates/create-mandate"},{"title":"Cancel a Mandate","api":"PUT /v2.01/{ClientId}/mandates/{MandateId}/cancel","href":"/api-reference/mandates/cancel-mandate"},{"title":"View a Mandate","api":"GET /v2.01/{ClientId}/mandates/{MandateId}","href":"/api-reference/mandates/view-mandate"},{"title":"List all Mandates","api":"GET /v2.01/{ClientId}/mandates","href":"/api-reference/mandates/list-mandates"},{"title":"List Mandates for a User","api":"GET /v2.01/{ClientId}/users/{UserId}/mandates","href":"/api-reference/mandates/list-mandates-user"},{"title":"List Mandates for a Bank Account","api":"GET /v2.01/{ClientId}/users/{UserId}/bankaccounts/{BankAccountId}/mandates","href":"/api-reference/mandates/list-mandates-bank-account"},{"title":"The Direct Debit PayIn object","href":"/api-reference/direct-debit-payins/direct-debit-payin-object"},{"title":"Create a Direct Debit PayIn","api":"POST /v2.01/{ClientId}/payins/directdebit/direct","href":"/api-reference/direct-debit-payins/create-direct-debit-payin"},{"title":"View a PayIn (Direct Debit)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/direct-debit-payins/view-payin-direct-debit"}]},{"group":"Web direct debits","pages":[{"title":"[Deprecated] The Web Direct-Debit PayIn object","href":"/api-reference/web-direct-debit-payins/web-direct-debit-payin-object"},{"title":"[Deprecated] Create a Web Direct-Debit PayIn","api":"POST /v2.01/{ClientId}/payins/directdebit/web","href":"/api-reference/web-direct-debit-payins/create-web-direct-debit-payin"},{"title":"View a PayIn","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/web-direct-debit-payins/view-payin-web-direct-debit"}]}]},{"group":"APM pay-ins","pages":[{"group":"Apple Pay","pages":[{"title":"The Apple Pay PayIn object","href":"/api-reference/apple-pay/apple-pay-payin-object"},{"title":"Create an Apple Pay PayIn","api":"POST /v2.01/{ClientId}/payins/applepay/direct","href":"/api-reference/apple-pay/create-apple-pay-payin"},{"title":"View a PayIn (Apple Pay)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/apple-pay/view-payin-apple-pay"}]},{"group":"Bancontact","pages":[{"title":"The Bancontact PayIn object","href":"/api-reference/bancontact/bancontact-payin-object"},{"title":"Create a Bancontact PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/bancontact","href":"/api-reference/bancontact/create-bancontact-payin"},{"title":"View a PayIn (Bancontact)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/bancontact/view-payin-bancontact"}]},{"group":"Bizum","pages":[{"title":"The Bizum PayIn object","href":"/api-reference/bizum/bizum-payin-object"},{"title":"Create a Bizum PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/bizum","href":"/api-reference/bizum/create-bizum-payin"},{"title":"View a PayIn (Bizum)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/bizum/view-payin-bizum"}]},{"group":"BLIK","pages":[{"title":"The BLIK PayIn object","href":"/api-reference/blik/blik-payin-object"},{"title":"Create a BLIK PayIn (with code)","api":"POST /v2.01/{ClientId}/payins/payment-methods/blik","href":"/api-reference/blik/create-blik-payin-with-code"},{"title":"Create a BLIK PayIn (without code)","api":"POST /v2.01/{ClientId}/payins/payment-methods/blik","href":"/api-reference/blik/create-blik-payin-without-code"},{"title":"View a PayIn (BLIK)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/blik/view-payin-blik"}]},{"group":"Giropay","pages":[{"title":"[Deprecated] The Giropay PayIn object","href":"/api-reference/giropay/giropay-payin-object"},{"title":"[Deprecated] Create a Giropay PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/giropay","href":"/api-reference/giropay/create-giropay-payin"},{"title":"View a PayIn (Giropay)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/giropay/view-payin-giropay"}]},{"group":"Google Pay","pages":[{"title":"The Google Pay PayIn object","href":"/api-reference/google-pay/google-pay-payin-object"},{"title":"Create a Google Pay PayIn","api":"POST /V2.01/{ClientId}/payins/payment-methods/googlepay","href":"/api-reference/google-pay/create-google-pay-payin"},{"title":"View a PayIn (Google Pay)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/google-pay/view-payin-google-pay"}]},{"group":"iDEAL","pages":[{"title":"The iDEAL PayIn object","href":"/api-reference/ideal/ideal-payin-object"},{"title":"Create an iDEAL PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/ideal","href":"/api-reference/ideal/create-ideal-payin"},{"title":"View a PayIn (iDEAL)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/ideal/view-payin-ideal"},{"title":"[Deprecated] Create a Web Card PayIn (iDEAL)","api":"POST /v2.01/{ClientId}/payins/card/web","href":"/api-reference/ideal/create-web-card-payin-ideal"}]},{"group":"Klarna","pages":[{"title":"The Klarna PayIn object","href":"/api-reference/klarna/klarna-payin-object"},{"title":"Create a Klarna PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/klarna","href":"/api-reference/klarna/create-klarna-payin"},{"title":"View a PayIn (Klarna)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/klarna/view-payin-klarna"}]},{"group":"MB WAY","pages":[{"title":"The MB WAY PayIn object","href":"/api-reference/mb-way/mb-way-payin-object"},{"title":"Create an MB WAY PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/mbway","href":"/api-reference/mb-way/create-mb-way-payin"},{"title":"View a PayIn (MB WAY)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/mb-way/view-payin-mb-way"}]},{"group":"Multibanco","pages":[{"title":"The Multibanco PayIn object","href":"/api-reference/multibanco/multibanco-payin-object"},{"title":"Create an Multibanco PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/multibanco","href":"/api-reference/multibanco/create-multibanco-payin"},{"title":"View a PayIn (Multibanco)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/multibanco/view-payin-multibanco"}]},{"group":"Payconiq","pages":[{"title":"The Payconiq PayIn object","tag":"DEPRECATED","href":"/api-reference/payconiq/payconiq-payin-object"},{"title":"Create a Payconiq PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/payconiq","tag":"DEPRECATED","href":"/api-reference/payconiq/create-payconiq-payin"},{"title":"View a PayIn (Payconiq)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","tag":"DEPRECATED","href":"/api-reference/payconiq/view-payin-payconiq"}]},{"group":"PayPal","pages":[{"title":"Submit data for a PayPal PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/paypal/data-collection","href":"/api-reference/paypal/submit-data-paypal-payin"},{"title":"View data submitted for a PayPal PayIn","api":"GET /v2.01/{ClientId}/payins/payment-methods/paypal/data-collection/{DataCollectionId}","href":"/api-reference/paypal/view-data-paypal-payin"},{"group":"One-time payment","pages":[{"title":"The PayPal PayIn object","href":"/api-reference/paypal/paypal-payin-object"},{"title":"Create a PayPal PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/paypal","href":"/api-reference/paypal/create-paypal-payin"},{"title":"[Deprecated] Create a PayPal PayIn","api":"POST /v2.01/{ClientId}/payins/paypal/web","href":"/api-reference/paypal/create-paypal-payin-web"}]},{"group":"Recurring payments","pages":[{"title":"The Recurring PayIn Registration object (PayPal)","href":"/api-reference/recurring-payin-registrations/recurring-payin-registration-object-paypal"},{"title":"Create a Recurring PayIn Registration (PayPal)","api":"POST /v2.01/{ClientId}/recurringpayinregistrations","href":"/api-reference/recurring-payin-registrations/create-recurring-payin-registration-paypal"},{"title":"Update a Recurring PayIn Registration (PayPal)","api":"PUT /v2.01/{ClientId}/recurringpayinregistrations/{RecurringPayinRegistrationId}","href":"/api-reference/recurring-payin-registrations/update-recurring-payin-registration-paypal"},{"title":"View a Recurring PayIn Registration (PayPal)","api":"GET /v2.01/{ClientId}/recurringpayinregistrations/{RecurringPayinRegistrationId}","href":"/api-reference/recurring-payin-registrations/view-recurring-payin-registration-paypal"},{"title":"The Recurring PayPal PayIn object","href":"/api-reference/paypal/recurring-paypal-payin-object"},{"title":"Create a Recurring PayPal PayIn (CIT)","api":"POST /v2.01/{ClientId}/payins/payment-methods/paypal/recurring","href":"/api-reference/paypal/create-recurring-paypal-payin-cit"},{"title":"Create a Recurring PayPal PayIn (MIT)","api":"POST /v2.01/{ClientId}/payins/payment-methods/paypal/recurring","href":"/api-reference/paypal/create-recurring-paypal-payin-mit"}]},{"group":"Preauthorized payments","pages":[{"title":"Create a PayPal Deposit Preauthorization","api":"POST /v2.01/{ClientId}/deposit-preauthorizations/payment-methods/paypal","href":"/api-reference/deposit-preauthorizations/create-paypal-deposit-preauthorization"}]},{"title":"View a PayIn (PayPal)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/paypal/view-payin-paypal"},{"title":"Add tracking information to a PayPal PayIn","api":"PUT /v2.01/{ClientId}/payins/{PayInId}/trackings","href":"/api-reference/paypal/add-tracking-paypal-payin"}]},{"group":"Satispay","pages":[{"title":"The Satispay PayIn object","href":"/api-reference/satispay/satispay-payin-object"},{"title":"Create a Satispay PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/satispay","href":"/api-reference/satispay/create-satispay-payin"},{"title":"View a PayIn (Satispay)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/satispay/view-payin-satispay"}]},{"group":"Swish","pages":[{"title":"The Swish PayIn object","href":"/api-reference/swish/swish-payin-object"},{"title":"Create a Swish PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/swish","href":"/api-reference/swish/create-swish-payin"},{"title":"View a PayIn (Swish)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/swish/view-payin-swish"}]},{"group":"TWINT","pages":[{"title":"The TWINT PayIn object","href":"/api-reference/twint/twint-payin-object"},{"title":"Create a TWINT PayIn","api":"POST /v2.01/{ClientId}/payins/payment-methods/twint","href":"/api-reference/twint/create-twint-payin"},{"title":"View a PayIn (TWINT)","api":"GET /v2.01/{ClientId}/payins/{PayInId}","href":"/api-reference/twint/view-payin-twint"}]}]},{"group":"Transfers","pages":[{"group":"Transfers","pages":[{"title":"The Transfer object","href":"/api-reference/transfers/transfer-object"},{"title":"Create a Transfer","api":"POST /v2.01/{ClientId}/transfers","href":"/api-reference/transfers/create-transfer"},{"title":"View a Transfer","api":"GET /v2.01/{ClientId}/transfers/{TransferId}","href":"/api-reference/transfers/view-transfer"}]}]},{"group":"Refunds","pages":[{"group":"Refunds","pages":[{"title":"The Refund object","href":"/api-reference/refunds/refund-object"},{"title":"Create a Refund for a PayIn","api":"POST /v2.01/{ClientId}/payins/{PayInId}/refunds","href":"/api-reference/refunds/create-refund-payin"},{"title":"Create a Refund for a Transfer","api":"POST /v2.01/{ClientId}/transfers/{TransferId}/refunds","href":"/api-reference/refunds/create-refund-transfer"},{"title":"View a Refund","api":"GET /v2.01/{ClientId}/refunds/{RefundId}","href":"/api-reference/refunds/view-refund"},{"title":"List Refunds for a PayIn","api":"GET /v2.01/{ClientId}/payins/{PayInId}/refunds","href":"/api-reference/refunds/list-refunds-payin"},{"title":"List Refunds for a Transfer","api":"GET /v2.01/{ClientId}/transfers/{TransferId}/refunds","href":"/api-reference/refunds/list-refunds-transfer"},{"title":"List Refunds for a Payout","api":"GET /v2.01/{ClientId}/payouts/{PayoutId}/refunds","href":"/api-reference/refunds/list-refunds-payout"},{"title":"List Refunds for a Repudiation","api":"GET /v2.01/{ClientId}/repudiations/{RepudiationId}/refunds","href":"/api-reference/refunds/list-refunds-repudiation"}]}]},{"group":"Disputes","pages":[{"group":"Disputes","pages":[{"title":"The Dispute object","href":"/api-reference/disputes/dispute-object"},{"title":"View a Dispute","api":"GET /v2.01/{ClientId}/disputes/{DisputeId}","href":"/api-reference/disputes/view-dispute"},{"title":"Submit a Dispute","api":"PUT /v2.01/{ClientId}/disputes/{DisputeId}/submit","href":"/api-reference/disputes/submit-dispute"},{"title":"Update a Dispute","api":"PUT /v2.01/{ClientId}/disputes/{DisputeId}","href":"/api-reference/disputes/update-dispute"},{"title":"Close a Dispute","api":"PUT /v2.01/{ClientId}/disputes/{DisputeId}/close","href":"/api-reference/disputes/close-dispute"},{"title":"List all Disputes","api":"GET /v2.01/{ClientId}/disputes","href":"/api-reference/disputes/list-disputes"},{"title":"List Disputes pending settlement","api":"GET /v2.01/{ClientId}/disputes/pendingsettlement","href":"/api-reference/disputes/list-disputes-settlement"},{"title":"List Disputes for a PayIn","api":"GET /v2.01/{ClientId}/payins/{PayInId}/disputes","href":"/api-reference/disputes/list-disputes-payin"},{"title":"List Disputes for a User","api":"GET /v2.01/{ClientId}/users/{UserId}/disputes","href":"/api-reference/disputes/list-disputes-user"},{"title":"List Disputes for a Wallet","api":"GET /v2.01/{ClientId}/wallets/{WalletId}/disputes","href":"/api-reference/disputes/list-disputes-wallet"}]},{"group":"Dispute documents","pages":[{"title":"The Dispute Document object","href":"/api-reference/dispute-documents/dispute-document-object"},{"title":"Create a Dispute Document","api":"POST /v2.01/{ClientId}/disputes/{DisputeId}/documents","href":"/api-reference/dispute-documents/create-dispute-document"},{"title":"View a Dispute Document","api":"GET /v2.01/{ClientId}/dispute-documents/{DisputeDocumentId}","href":"/api-reference/dispute-documents/view-dispute-document"},{"title":"Submit a Dispute Document","api":"PUT /v2.01/{ClientId}/disputes/{DisputeId}/documents/{DisputeDocumentId}","href":"/api-reference/dispute-documents/submit-dispute-document"},{"title":"List all Dispute Documents","api":"GET /v2.01/{ClientId}/dispute-documents","href":"/api-reference/dispute-documents/list-dispute-documents"},{"title":"Create a Dispute Document Page","api":"POST /v2.01/{ClientId}/disputes/{DisputeId}/documents/{DisputeDocumentId}/pages","href":"/api-reference/dispute-documents/create-dispute-document-page"},{"title":"Create a weblink to view the Pages of a Dispute Document","api":"POST /v2.01/{ClientId}/dispute-documents/{DisputeDocumentId}/consult","href":"/api-reference/dispute-documents/create-weblink-to-view-dispute-document-pages"},{"title":"List Documents for a Dispute","api":"GET /v2.01/{ClientId}/disputes/{DisputeId}/documents","href":"/api-reference/dispute-documents/list-documents-dispute"}]},{"group":"Repudiations","pages":[{"title":"The Repudiation object","href":"/api-reference/repudiations/repudiation-object"},{"title":"View a Repudiation","api":"GET /v2.01/{ClientId}/repudiations/{RepudiationId}","href":"/api-reference/repudiations/view-repudiation"}]},{"group":"Dispute settlement","pages":[{"title":"The Settlement Transfer object","href":"/api-reference/dispute-settlement/settlement-transfer-object"},{"title":"Create a Settlement Transfer","api":"POST /v2.01/{ClientId}/repudiations/{RepudiationId}/settlementtransfer","href":"/api-reference/dispute-settlement/create-settlement-transfer"},{"title":"View a Settlement Transfer","api":"GET /v2.01/{ClientId}/settlements/{SettlementId}","href":"/api-reference/dispute-settlement/view-settlement-transfer"},{"title":"Create a Bank Wire PayIn to the Repudiation Wallet","api":"POST /v2.01/{ClientId}/clients/payins/bankwire/direct/","href":"/api-reference/dispute-settlement/create-bank-wire-payin-to-repudiation-wallet"}]}]},{"group":"Payouts","pages":[{"group":"Recipients","pages":[{"title":"The Recipient object","href":"/api-reference/recipients/recipient-object"},{"title":"View payout methods","api":"GET /v2.01/{ClientId}/recipients/payout-methods","href":"/api-reference/recipients/view-payout-methods"},{"title":"View the schema for a Recipient","api":"GET /v2.01/{ClientId}/recipients/schema","href":"/api-reference/recipients/view-recipient-schema"},{"title":"Validate data for a Recipient","api":"POST /v2.01/{ClientId}/users/{UserId}/recipients/validate","href":"/api-reference/recipients/validate-recipient-data"},{"title":"Create a Recipient","api":"POST /v2.01/{ClientId}/users/{UserId}/recipients","href":"/api-reference/recipients/create-recipient"},{"title":"Deactivate a Recipient","api":"PUT /v2.01/{ClientId}/recipients/{RecipientId}","href":"/api-reference/recipients/deactivate-recipient"},{"title":"View a Recipient","api":"GET /v2.01/{ClientId}/recipients/{RecipientId}","href":"/api-reference/recipients/view-recipient"},{"title":"List Recipients for a User","api":"GET /v2.01/{ClientId}/users/{UserId}/recipients","href":"/api-reference/recipients/list-recipients-user"}]},{"group":"Bank accounts","pages":[{"title":"The Bank Account object","href":"/api-reference/bank-accounts/bank-account-object"},{"title":"Create an IBAN Bank Account","api":"POST /v2.01/{ClientId}/users/{UserId}/bankaccounts/iban","href":"/api-reference/bank-accounts/create-iban-bank-account"},{"title":"Create a US Bank Account","api":"POST /v2.01/{ClientId}/users/{UserId}/bankaccounts/us","href":"/api-reference/bank-accounts/create-us-bank-account"},{"title":"Create a CA Bank Account","api":"POST /v2.01/{ClientId}/users/{UserId}/bankaccounts/ca","href":"/api-reference/bank-accounts/create-ca-bank-account"},{"title":"Create a GB Bank Account","api":"POST /v2.01/{ClientId}/users/{UserId}/bankaccounts/gb","href":"/api-reference/bank-accounts/create-gb-bank-account"},{"title":"Create an OTHER Bank Account","api":"POST /v2.01/{ClientId}/users/{UserId}/bankaccounts/other","href":"/api-reference/bank-accounts/create-other-bank-account"},{"title":"Deactivate a Bank Account","api":"PUT /v2.01/{ClientId}/users/{UserId}/bankaccounts/{BankAccountId}","href":"/api-reference/bank-accounts/deactivate-bank-account"},{"title":"View a Bank Account","api":"GET /v2.01/{ClientId}/users/{UserId}/bankaccounts/{BankAccountId}","href":"/api-reference/bank-accounts/view-bank-account"},{"title":"List Bank Accounts for a User","api":"GET /v2.01/{ClientId}/users/{UserId}/bankaccounts","href":"/api-reference/bank-accounts/list-bank-accounts-user"}]},{"group":"Payouts","pages":[{"title":"The Payout object","href":"/api-reference/payouts/payout-object"},{"title":"Create a Payout","api":"POST /v2.01/{ClientId}/payouts/bankwire","href":"/api-reference/payouts/create-payout"},{"title":"Check Instant Payout eligibility","api":"POST /v2.01/{ClientId}/payouts/reachability","href":"/api-reference/payouts/check-instant-payout-eligibility"},{"title":"View a Payout","api":"GET /v2.01/{ClientId}/payouts/{PayoutId}","href":"/api-reference/payouts/view-payout"},{"title":"View a Payout and check mode applied","api":"GET /v2.01/{ClientId}/payouts/bankwire/{PayOutId}","href":"/api-reference/payouts/view-payout-check-mode-applied"}]}]},{"group":"FX conversions","pages":[{"group":"Conversion rates","pages":[{"title":"The Conversion Rate object (FX)","href":"/api-reference/conversion-rates/conversion-rate-object"},{"title":"View an indicative Conversion Rate","api":"GET /v2.01/{ClientId}/conversions/rate/{DebitedCurrency}/{CreditedCurrency}","href":"/api-reference/conversion-rates/view-conversion-rate"}]},{"group":"Quotes","pages":[{"title":"The Quote object (Guaranteed FX)","href":"/api-reference/quotes/quote-object"},{"title":"Create a Quote","api":"POST /v2.01/{ClientId}/conversions/quote","href":"/api-reference/quotes/create-quote"},{"title":"View a Quote","api":"GET /v2.01/{ClientId}/conversions/quote/{QuoteId}","href":"/api-reference/quotes/view-quote"}]},{"group":"Conversions","pages":[{"title":"The Conversion object (FX)","href":"/api-reference/conversions/conversion-object"},{"title":"Create a Quoted Conversion between user Wallets","api":"POST /v2.01/{ClientId}/conversions/quoted-conversion","href":"/api-reference/conversions/create-quoted-conversion-user-wallets"},{"title":"Create an Instant Conversion between user Wallets","api":"POST /v2.01/{ClientId}/conversions/instant-conversion","href":"/api-reference/conversions/create-instant-conversion-user-wallets"},{"title":"Create a Quoted Conversion between Client Wallets","api":"POST /v2.01/{ClientId}/clients/conversions/quoted-conversion","href":"/api-reference/conversions/create-quoted-conversion-client-wallets"},{"title":"Create an Instant Conversion between Client Wallets","api":"POST /v2.01/{ClientId}/clients/conversions/instant-conversion","href":"/api-reference/conversions/create-instant-conversion-client-wallets"},{"title":"View a Conversion","api":"GET /v2.01/{ClientId}/conversions/{ConversionId}","href":"/api-reference/conversions/view-conversion"}]}]},{"group":"Transactions","pages":[{"group":"Transactions","pages":[{"title":"The Transaction object","href":"/api-reference/transactions/transaction-object"},{"title":"List Transactions for a User","api":"GET /v2.01/{ClientId}/users/{UserId}/transactions","href":"/api-reference/transactions/list-transactions-user"},{"title":"List Transactions for a Wallet","api":"GET /v2.01/{ClientId}/wallets/{WalletId}/transactions","href":"/api-reference/transactions/list-transactions-wallet"},{"title":"List Transactions for a Client Wallet","api":"GET /v2.01/{ClientId}/clients/wallets/{FundsType}/{Currency}/transactions","href":"/api-reference/transactions/list-transactions-client-wallet"},{"title":"List Transactions for a Card","api":"GET /v2.01/{ClientId}/cards/{CardId}/transactions","href":"/api-reference/transactions/list-transactions-card"},{"title":"List Transactions for a Card Fingerprint","api":"GET /v2.01/{ClientId}/cards/fingerprints/{Fingerprint}/transactions","href":"/api-reference/transactions/list-transactions-card-fingerprint"},{"title":"List Transactions for a Preauthorization","api":"GET /v2.01/{ClientId}/preauthorizations/{PreauthorizationId}/transactions","href":"/api-reference/transactions/list-transactions-preauthorization"},{"title":"List Transactions for a Deposit Preauthorization","api":"GET /v2.01/{ClientId}/deposit-preauthorizations/{DepositId}/transactions ","href":"/api-reference/transactions/list-transactions-deposit-preauthorization"},{"title":"List Transactions for a Bank Account","api":"GET /v2.01/{ClientId}/bankaccounts/{BankAccountId}/transactions","href":"/api-reference/transactions/list-transactions-bank-account"},{"title":"List Transactions for a Mandate","api":"GET /v2.01/{ClientId}/mandates/{MandateId}/transactions","href":"/api-reference/transactions/list-transactions-mandate"},{"title":"List Transactions for a Dispute","api":"GET /v2.01/{ClientId}/disputes/{DisputeId}/transactions","href":"/api-reference/transactions/list-transactions-dispute"}]}]},{"group":"Echo","pages":[{"title":"Supported providers","sidebarTitle":"Supported PSPs","href":"/api-reference/echo/supported-providers"},{"title":"Supported payment methods","sidebarTitle":"Payment methods","href":"/api-reference/echo/supported-payment-methods"},{"group":"Intents","pages":[{"title":"The Intent object","href":"/api-reference/intents/intent-object"},{"title":"Create an Intent","api":"POST /v3.0/{ClientId}/payins/intents","href":"/api-reference/intents/create-intent"},{"title":"View an Intent","api":"GET /v3.0/{ClientId}/payins/intents/{IntentId}","href":"/api-reference/intents/view-intent"},{"title":"Cancel an Intent","api":"POST /v3.0/{ClientId}/payins/intents/{IntentId}/cancel","href":"/api-reference/intents/cancel-intent"},{"title":"Create an Intent Capture","api":"POST /v3.0/{ClientId}/payins/intents/{IntentId}/captures","href":"/api-reference/intents/create-intent-capture"},{"title":"Create an Intent Refund","api":"POST /v3.0/{ClientId}/payins/intents/{IntentId}/refunds","href":"/api-reference/intents/create-intent-refund"},{"title":"Reverse an Intent Refund","api":"POST /v3.0/{ClientId}/payins/intents/{IntentId}/refunds/{RefundId}/reverse","href":"/api-reference/intents/reverse-intent-refund"},{"title":"Create an Intent Dispute","api":"POST /v3.0/{ClientId}/payins/intents/{IntentId}/capture/{CaptureId}/disputes","href":"/api-reference/intents/create-intent-dispute"},{"title":"Update an Intent Dispute","api":"PUT /v3.0/{ClientId}/payins/intents/{IntentId}/capture/{CaptureId}/disputes/{DisputeId}/decision","href":"/api-reference/intents/update-intent-dispute"}]},{"group":"Intent splits","pages":[{"title":"Create an Intent Split","api":"POST /v3.0/{ClientId}/payins/intents/{IntentId}/splits","href":"/api-reference/intents/create-intent-split"},{"title":"Update an Intent Split","api":"PUT /v3.0/{ClientId}/payins/intents/{IntentId}/splits/{SplitId}","href":"/api-reference/intents/update-intent-split"},{"title":"Execute an Intent Split","api":"POST /v3.0/{ClientId}/payins/intents/{IntentId}/splits/{SplitId}/execute","href":"/api-reference/intents/execute-intent-split"},{"title":"Reverse an Intent Split","api":"POST /v3.0/{ClientId}/payins/intents/{IntentId}/splits/{SplitId}/reverse","href":"/api-reference/intents/reverse-intent-split"},{"title":"View an Intent Split","api":"GET /v3.0/{ClientId}/payins/intents/{IntentId}/splits/{SplitId}","href":"/api-reference/intents/view-intent-split"}]},{"group":"Settlements","pages":[{"title":"Settlement file format requirements","sidebarTitle":"Settlement file format","href":"/api-reference/settlements/settlement-file"},{"title":"The Settlement Object","href":"/api-reference/settlements/settlement-object"},{"title":"Create a Settlement and generate a secure URL for file upload","api":"POST /v3.0/{ClientId}/payins/intents/settlements","href":"/api-reference/settlements/create-settlement"},{"title":"Upload settlement file to secure URL","api":"PUT {UploadUrl}","href":"/api-reference/settlements/upload-settlement-file"},{"title":"Update a Settlement and generate a new upload URL","api":"PUT /v3.0/{ClientId}/payins/intents/settlements/{SettlementId}","href":"/api-reference/settlements/update-settlement"},{"title":"Cancel a Settlement","api":"POST /v3.0/{ClientId}/payins/intents/settlements/{SettlementId}/cancel","href":"/api-reference/settlements/cancel-settlement"},{"title":"View a Settlement","api":"GET /v3.0/{ClientId}/payins/intents/settlements/{SettlementId}","href":"/api-reference/settlements/view-settlement"},{"title":"View validation errors for a Settlement","api":"GET /v3.0/{ClientId}/payins/intents/settlements/{SettlementId}/validations","href":"/api-reference/settlements/view-settlement-validations"}]}]},{"group":"Helpers","pages":[{"group":"API responses","pages":[{"title":"The API Response object","href":"/api-reference/api-responses/api-response-object"},{"title":"View an API Response","api":"GET /v2.01/{ClientId}/responses/{IdempotencyKey}","href":"/api-reference/api-responses/view-api-response"}]},{"group":"Country authorizations","pages":[{"title":"The Country Authorizations object","href":"/api-reference/country-authorizations/country-authorizations-object"},{"title":"View Authorizations for a country","api":"GET /v2.01/countries/{CountryCode}/authorizations","href":"/api-reference/country-authorizations/view-authorizations-country"},{"title":"List Authorizations for all countries","api":"GET /v2.01/countries/authorizations","href":"/api-reference/country-authorizations/list-authorizations-countries"}]},{"group":"Webhooks","pages":[{"title":"The Hook object","href":"/api-reference/webhooks/hook-object"},{"title":"Create a Hook","api":"POST /v2.01/{ClientId}/hooks","href":"/api-reference/webhooks/create-hook"},{"title":"Update a Hook","api":"PUT /v.2.01/{ClientId}/hooks/{HookId}","href":"/api-reference/webhooks/update-hook"},{"title":"View a Hook","api":"GET /v2.01/{ClientId}/hooks/{HookId}","href":"/api-reference/webhooks/view-hook"},{"title":"List all Hooks","api":"GET /v2.01/{CliendId}/hooks","href":"/api-reference/webhooks/list-hooks"}]},{"group":"Events","pages":[{"title":"The Event object","href":"/api-reference/events/event-object"},{"title":"List all Events","api":"GET /v2.01/{ClientId}/events","href":"/api-reference/events/list-events"}]},{"group":"Reports","pages":[{"title":"The Report object","href":"/api-reference/reporting/report-object"},{"title":"Create a Report","api":"POST /v2.01/{ClientId}/reporting/reports","href":"/api-reference/reporting/create-report"},{"title":"View a Report","api":"GET /v2.01/{ClientId}/reporting/reports/{ReportingId}","href":"/api-reference/reporting/view-report"},{"title":"List all Reports","api":"GET /v2.01/{ClientId}/reporting/reports","href":"/api-reference/reporting/list-reports"},{"group":"Legacy reports","pages":[{"title":"The legacy Report object","href":"/api-reference/reports/report-object"},{"title":"Create a Transactions Report","api":"POST /v2.01/{ClientId}/reports/transactions","href":"/api-reference/reports/create-transactions-report"},{"title":"Create a Wallets Report","api":"POST /v2.01/{ClientId}/reports/wallets","href":"/api-reference/reports/create-wallets-report"},{"title":"View a Report","api":"GET /v2.01/{ClientId}/reports/{ReportId}","href":"/api-reference/reports/view-report"},{"title":"List all Reports","api":"GET /v2.01/{ClientId}/reports","href":"/api-reference/reports/list-reports"}]}]}]},{"group":"Platform account","pages":[{"group":"Client","pages":[{"title":"The Client object","href":"/api-reference/client/client-object"},{"title":"Update a Client","api":"PUT /v2.01/{ClientId}/clients","href":"/api-reference/client/update-client"},{"title":"Upload a Client logo","api":"PUT /v2.01/{ClientId}/clients/logo","href":"/api-reference/client/upload-client-logo"},{"title":"View a Client","api":"GET /v2.01/{ClientId}/clients","href":"/api-reference/client/view-client"}]}]}]}]},"basePath":"","title":"Categorize a Legal User - Mangopay docs","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js"]}