> This page is for BaaS.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.api.corpx.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.api.corpx.com/_mcp/server.

# Create individual accreditation (Pessoa Física)

POST https://tenant.api.corpx.com/v1/accreditations/pf
Content-Type: application/json

Opens an individual (PF) account. By default CorpX generates a Unico
facial-biometrics link (`persons[].biometryLink`) that you deliver to
the end user; the account is opened automatically once the biometrics
is approved. Tenants with an external biometrics provider enabled by
CorpX on request may instead send the `person.biometry` object.

**CPF that already has an account.** When the CPF is already an account
holder there is no new account to open, and the outcome depends on
whether automatic portability is enabled for the tenant (contractual,
**off by default** — talk to CorpX to enable it).

With portability enabled, the response comes back with
`status: PENDING_CONSENT` and `persons[].consentLink` instead of
`biometryLink`: deliver that link to the account holder, who authorizes
this tenant to operate the existing account after an identity
verification (live selfie checked against official records by CPF) and
after seeing the account number and current balance. On authorization
you receive `accreditation.active` with `sharedAccount: true` — the same
account, same balance, and every previously authorized tenant keeps its
access. Rejection, expiry or a failed identity check end the
accreditation as `FAILED` with a `consent_*` reason.

Without portability enabled, no `consentLink` is issued: the
accreditation ends as `FAILED` with `errorReason=existing_partner_account`
and a message instructing the holder to request portability from
support, which handles it manually.

**Does not deduplicate.** While status is `PENDING_BIOMETRY` or
`PENDING_CONSENT`, repeating `POST` with the same CPF creates another
accreditation (`201`). After biometry is confirmed, a further `POST` for
a document already claimed by the tenant returns `409
already_accredited`. Cancel abandoned pendings with
`POST /v1/accreditations/{id}/cancel`. **BaaS integrators only.**

**Sending the holder back to your app.** The optional `callbackUri`
takes the holder back to your app or site when the step is finished,
with the outcome in the URI itself. It requires the URI to be registered
for your tenant beforehand — an unregistered URI returns
`400 invalid_callback_uri`.

Reference: https://docs.api.corpx.com/baas/referencia/accreditations/create-accreditation-pf

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Headers

- `X-Tenant-Id` (string, required) — Tenant context used for authorization and routing.
- `Idempotency-Key` (string, optional) — Optional client-generated idempotency token (recommended for safe retries).

### Body (application/json)

This endpoint expects an AccreditationCreatePFRequest.

- `person` (AccreditationCreatePfRequestPerson, required)
- `address` (AccreditationAddress, required) — Holder/company address. `cityIbgeCode` is the 7-digit IBGE municipality code.
- `callbackUri` (string, optional) — Optional. Where to send the account holder back to when the step is finished (facial capture, terms acceptance or portability authorization). Without it the holder ends on a CorpX completion page, as before. The URI must be registered for your tenant by CorpX support before the first use, and the match is **exact** — no wildcards, no prefix matching. An unregistered URI is rejected at creation time with `400 invalid_callback_uri`. Accepted: `https://` and your application's own scheme (deeplink). Rejected: `http://`, `javascript:`, `data:`, `file:`, credentials in the URI, fragments (`#`), `localhost`, private/link-local IP ranges and internal suffixes (`.local`, `.internal`). On return, CorpX appends `accreditationId`, `outcome`, `personId` (for per-person steps) and `remainingPeople` (when the accreditation has more than one person). **These parameters are not proof of anything**: they travel in the address bar and the holder can edit them. Any decision with an effect must rely on the webhook or on `GET /v1/accreditations/{accreditationId}`.

## Response

### 201

Accreditation created. Biometrics/acceptance links are being issued, or — when the CPF already has an account — `status` is `PENDING_CONSENT` and `persons[].consentLink` carries the authorization page for the account holder.

- `accreditationId` (string, optional)
- `accountId` (string, optional) — Account id — usable in all banking endpoints once status is ACTIVE.
- `type` (enum, optional)
  - Allowed values: `pf`, `pj`
- `document` (string, optional)
- `status` (enum, optional) — Accreditation lifecycle status.
  - Allowed values: `PENDING_BIOMETRY`, `PENDING_CONSENT`, `BIOMETRY_APPROVED`, `PENDING_REVIEW`, `INTEGRATING`, `ACTIVE`, `FAILED`
- `biometryMode` (enum, optional) — unico = CorpX-managed facial biometrics (default); external = provider enabled by CorpX on request.
  - Allowed values: `unico`, `external`
- `legalForm` (enum, optional) — PJ only — corporate form from create.
  - Allowed values: `mei`, `ltda`, `sa`, `cooperative`
- `documents` (list of AccreditationCompanyDocument, optional) — PJ only — uploaded company PDFs.
- `requiredDocumentKinds` (list of enum, optional) — PJ only — kinds required for this legalForm (operator approve gate).
  - Allowed values: `company_articles`, `company_proof_of_address`, `cnpj_card`, `financial_statements`, `business_license`, `regulatory_license`, `account_opening_terms`, `other`
- `missingDocumentKinds` (list of enum, optional) — PJ only — required kinds not yet uploaded.
  - Allowed values: `company_articles`, `company_proof_of_address`, `cnpj_card`, `financial_statements`, `business_license`, `regulatory_license`, `account_opening_terms`, `other`
- `documentsOverride` (boolean, optional) — true when an operator forced approve with incomplete docs.
- `documentsOverrideBy` (string, optional)
- `documentsOverrideReason` (string, optional)
- `documentsOverrideMissing` (list of string, optional)
- `documentsOverrideAt` (datetime, optional)
- `callbackUri` (string, optional) — Optional. Where to send the account holder back to when the step is finished (facial capture, terms acceptance or portability authorization). Without it the holder ends on a CorpX completion page, as before. The URI must be registered for your tenant by CorpX support before the first use, and the match is **exact** — no wildcards, no prefix matching. An unregistered URI is rejected at creation time with `400 invalid_callback_uri`. Accepted: `https://` and your application's own scheme (deeplink). Rejected: `http://`, `javascript:`, `data:`, `file:`, credentials in the URI, fragments (`#`), `localhost`, private/link-local IP ranges and internal suffixes (`.local`, `.internal`). On return, CorpX appends `accreditationId`, `outcome`, `personId` (for per-person steps) and `remainingPeople` (when the accreditation has more than one person). **These parameters are not proof of anything**: they travel in the address bar and the holder can edit them. Any decision with an effect must rely on the webhook or on `GET /v1/accreditations/{accreditationId}`.
- `persons` (list of AccreditationPersonView, optional)
- `errorReason` (string, optional)
- `errorMessage` (string, optional)
- `partner` (AccreditationDetailPartner, optional) — Raw refusal from the banking provider, present only when a `FAILED` accreditation was refused by it. It is the same block delivered in the `accreditation.failed` webhook — the query never shows less than the webhook. `code`, `message` and `field` are the item the catalog recognized, or `message` alone when none of the provider's codes was recognized. `errors` lists every item the provider sent, in its order, with the same three keys. Every key is optional: some refusals carry `message` only, and an accreditation refused before `errors` existed has no list. Informative — branch your code on `errorReason`, not on this.
- `createdAt` (datetime, optional)
- `updatedAt` (datetime, optional)

## Errors

### 400 Bad Request Error

Invalid request sent by client.

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

### 409 Conflict Error

Document already claimed by this tenant after biometry (`already_accredited`).

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

### 422 Unprocessable Entity Error

Validation error (invalid field, unsupported/disabled biometry provider, etc).

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

### 429 Too Many Requests Error

Too many authorization requests for existing account holders in the last hour (`rate_limited`). Retry later; sustained bursts are reviewed by CorpX.

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

### 500 Internal Server Error

Unexpected server error.

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

## Types

### AccreditationCreatePfRequestPerson

- `name` (string, required)
- `cpf` (string, required) — 11 digits, no punctuation.
- `birthDate` (date, required)
- `email` (string, required)
- `phone` (string, required)
- `motherName` (string, optional)
- `monthlyIncome` (double, optional)
- `biometry` (AccreditationBiometry, optional) — Dracma verification already completed by the integrator. Send it on the holder (PF) or on every partner (PJ). The API reads the verification with the tenant Dracma credential and finishes biometrics in that call: there is no capture link and no acceptance page. Requires an active Dracma credential on the tenant.

### AccreditationAddress

Holder/company address. `cityIbgeCode` is the 7-digit IBGE municipality code.

- `zipCode` (string, required)
- `street` (string, required)
- `number` (string, required)
- `city` (string, required)
- `state` (string, required)
- `cityIbgeCode` (string, required)
- `complement` (string, optional)
- `neighborhood` (string, optional)

### AccreditationCompanyDocument

- `documentId` (string, optional)
- `kind` (enum, optional)
  - Allowed values: `company_articles`, `company_proof_of_address`, `cnpj_card`, `financial_statements`, `business_license`, `regulatory_license`, `account_opening_terms`, `other`
- `fileName` (string, optional)
- `deliveryStatus` (enum, optional) — pending_upload means the slot exists but no file was PUT. Only delivered fulfils the requirement.
  - Allowed values: `pending_upload`, `scanning`, `delivered`, `rejected`
- `uploadedAt` (datetime, optional) — Present only when deliveryStatus is delivered.
- `sizeBytes` (long, optional) — Present only when deliveryStatus is delivered.

### AccreditationPersonView

Per-person biometrics/acceptance progress.

- `personId` (string, optional) — Stable identifier of this person inside the accreditation. It is the value returned in the `personId` parameter of the `callbackUri` redirect — the CPF is never placed in a URI that ends up in browser history and proxy logs.
- `cpf` (string, optional)
- `name` (string, optional)
- `biometryStatus` (enum, optional)
  - Allowed values: `PENDING`, `APPROVED`, `FAILED`, `EXPIRED`
- `biometryLink` (string, optional) — Facial capture link (default Unico flow). May be absent right after creation — it is delivered via the `accreditation.biometry.link.created` webhook as soon as it is issued.
- `acceptanceStatus` (string, optional) — External biometrics flow only (PENDING, ACCEPTED, DENIED).
- `acceptanceLink` (string, optional) — Terms acceptance page URL (external biometrics flow only). Built from the stored token; may be absent right after creation — also delivered via `accreditation.acceptance.link.created`.
- `consentStatus` (enum, optional) — Present only when the CPF already has an account and the tenant has automatic portability enabled (status `PENDING_CONSENT`). There is no new account to open: the account holder must authorize this tenant to operate the existing account.
  - Allowed values: `PENDING`, `ACCEPTED`, `DECLINED`, `DENIED`, `EXPIRED`
- `consentLink` (string, optional) — Authorization page URL — deliver it to the account holder. The page requires an identity verification (live selfie checked against official records by CPF) and discloses account number and current balance before the authorization. Also delivered via `accreditation.consent.link.created`.
- `consentExpiresAt` (datetime, optional) — Consent link expiry (7 days). The journey expires after 30 days.
- `linkExpiresAt` (datetime, optional)

### AccreditationDetailPartner

Raw refusal from the banking provider, present only when a `FAILED` accreditation was refused by it. It is the same block delivered in the `accreditation.failed` webhook — the query never shows less than the webhook. `code`, `message` and `field` are the item the catalog recognized, or `message` alone when none of the provider's codes was recognized. `errors` lists every item the provider sent, in its order, with the same three keys. Every key is optional: some refusals carry `message` only, and an accreditation refused before `errors` existed has no list. Informative — branch your code on `errorReason`, not on this.

- `code` (string, optional)
- `message` (string, optional)
- `field` (string, optional)
- `errors` (list of AccreditationDetailPartnerErrorsItems, optional) — Every item from the provider's error list, in the order it sent them. `code`, `message` and `field` above stay the recognized item.

### ErrorResponsePartner

Raw error from the settlement bank, when the failure came from it. Diagnostic only.

- `code` (string, optional)
- `message` (string, optional)
- `field` (string, optional) — Field the partner pointed at, when any.

### AccreditationBiometry

Dracma verification already completed by the integrator. Send it on the holder (PF) or on every partner (PJ). The API reads the verification with the tenant Dracma credential and finishes biometrics in that call: there is no capture link and no acceptance page. Requires an active Dracma credential on the tenant.

- `provider` (enum, required)
  - Allowed values: `dracma`
- `evidenceId` (string, required) — Verification id returned by Dracma. Must be `approved` and bound to the same CPF. Each id approves one live accreditation.
- `metadata` (map from string to any, optional) — Ignored for `provider=dracma`.

### AccreditationDetailPartnerErrorsItems

- `code` (string, optional)
- `message` (string, optional)
- `field` (string, optional)

## Examples

**Request**

```json
{
  "person": {
    "name": "MARIA DA SILVA",
    "cpf": "12345678900",
    "birthDate": "2026-02-20",
    "email": "maria.silva@example.com",
    "phone": "+5511999998888",
    "motherName": "MARIA DA SILVA",
    "monthlyIncome": 150.75,
    "biometry": {
      "provider": "dracma",
      "evidenceId": "ver_01hxyz",
      "metadata": {}
    }
  },
  "address": {
    "zipCode": "01310100",
    "street": "Avenida Paulista",
    "number": "1000",
    "city": "São Paulo",
    "state": "SP",
    "cityIbgeCode": "3550308",
    "complement": "Sala 501",
    "neighborhood": "Centro"
  },
  "callbackUri": "https://app.yourcompany.com/onboarding/done"
}
```

**Response**

```json
{
  "accreditationId": "acr_9f8e7d6c5b4a",
  "accountId": "2e6b725b-84a0-400d-8740-22a5ba0f23e6",
  "type": "pf",
  "document": "12345678900",
  "status": "PENDING_BIOMETRY",
  "biometryMode": "unico",
  "legalForm": "mei",
  "documents": [
    {
      "documentId": "8c1f6a2e-4d3b-4b9a-9f0e-1a2b3c4d5e6f",
      "kind": "company_articles",
      "fileName": "MARIA DA SILVA",
      "deliveryStatus": "pending_upload",
      "uploadedAt": "2026-02-20T08:33:39Z",
      "sizeBytes": 50
    }
  ],
  "requiredDocumentKinds": [
    "company_articles"
  ],
  "missingDocumentKinds": [
    "company_articles"
  ],
  "documentsOverride": true,
  "documentsOverrideBy": "12345678900",
  "documentsOverrideReason": "12345678900",
  "documentsOverrideMissing": [
    "12345678900"
  ],
  "documentsOverrideAt": "2026-02-20T08:33:39Z",
  "callbackUri": "https://app.yourcompany.com/onboarding/done",
  "persons": [
    {
      "personId": "prs_3b1c9a7f2e4d",
      "cpf": "12345678900",
      "name": "MARIA DA SILVA",
      "biometryStatus": "PENDING",
      "biometryLink": "https://onboarding.corpx.com/c/8c1f6a2e",
      "acceptanceStatus": "COMPLETED",
      "acceptanceLink": "https://onboarding.corpx.com/c/8c1f6a2e",
      "consentStatus": "PENDING",
      "consentLink": "https://onboarding.corpx.com/c/8c1f6a2e",
      "consentExpiresAt": "2026-02-20T08:33:39Z",
      "linkExpiresAt": "2026-02-20T08:33:39Z"
    }
  ],
  "partner": {
    "code": "request.body.invalid",
    "message": "A solicitação é inválida: O número não pode exceder 10 caracteres.",
    "field": "address.number"
  },
  "createdAt": "2026-02-20T08:33:39Z",
  "updatedAt": "2026-02-20T08:33:39Z"
}
```

**SDK Code**

```python Accreditations_createAccreditationPf_example
import requests

url = "https://tenant.api.corpx.com/v1/accreditations/pf"

payload = {
    "person": {
        "name": "MARIA DA SILVA",
        "cpf": "12345678900",
        "birthDate": "2026-02-20",
        "email": "maria.silva@example.com",
        "phone": "+5511999998888",
        "motherName": "MARIA DA SILVA",
        "monthlyIncome": 150.75,
        "biometry": {
            "provider": "dracma",
            "evidenceId": "ver_01hxyz",
            "metadata": {}
        }
    },
    "address": {
        "zipCode": "01310100",
        "street": "Avenida Paulista",
        "number": "1000",
        "city": "São Paulo",
        "state": "SP",
        "cityIbgeCode": "3550308",
        "complement": "Sala 501",
        "neighborhood": "Centro"
    },
    "callbackUri": "https://app.yourcompany.com/onboarding/done"
}
headers = {
    "X-Tenant-Id": "X-Tenant-Id",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Accreditations_createAccreditationPf_example
const url = 'https://tenant.api.corpx.com/v1/accreditations/pf';
const options = {
  method: 'POST',
  headers: {
    'X-Tenant-Id': 'X-Tenant-Id',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: '{"person":{"name":"MARIA DA SILVA","cpf":"12345678900","birthDate":"2026-02-20","email":"maria.silva@example.com","phone":"+5511999998888","motherName":"MARIA DA SILVA","monthlyIncome":150.75,"biometry":{"provider":"dracma","evidenceId":"ver_01hxyz","metadata":{}}},"address":{"zipCode":"01310100","street":"Avenida Paulista","number":"1000","city":"São Paulo","state":"SP","cityIbgeCode":"3550308","complement":"Sala 501","neighborhood":"Centro"},"callbackUri":"https://app.yourcompany.com/onboarding/done"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Accreditations_createAccreditationPf_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://tenant.api.corpx.com/v1/accreditations/pf"

	payload := strings.NewReader("{\n  \"person\": {\n    \"name\": \"MARIA DA SILVA\",\n    \"cpf\": \"12345678900\",\n    \"birthDate\": \"2026-02-20\",\n    \"email\": \"maria.silva@example.com\",\n    \"phone\": \"+5511999998888\",\n    \"motherName\": \"MARIA DA SILVA\",\n    \"monthlyIncome\": 150.75,\n    \"biometry\": {\n      \"provider\": \"dracma\",\n      \"evidenceId\": \"ver_01hxyz\",\n      \"metadata\": {}\n    }\n  },\n  \"address\": {\n    \"zipCode\": \"01310100\",\n    \"street\": \"Avenida Paulista\",\n    \"number\": \"1000\",\n    \"city\": \"São Paulo\",\n    \"state\": \"SP\",\n    \"cityIbgeCode\": \"3550308\",\n    \"complement\": \"Sala 501\",\n    \"neighborhood\": \"Centro\"\n  },\n  \"callbackUri\": \"https://app.yourcompany.com/onboarding/done\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-Tenant-Id", "X-Tenant-Id")
	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Accreditations_createAccreditationPf_example
require 'uri'
require 'net/http'

url = URI("https://tenant.api.corpx.com/v1/accreditations/pf")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-Tenant-Id"] = 'X-Tenant-Id'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"person\": {\n    \"name\": \"MARIA DA SILVA\",\n    \"cpf\": \"12345678900\",\n    \"birthDate\": \"2026-02-20\",\n    \"email\": \"maria.silva@example.com\",\n    \"phone\": \"+5511999998888\",\n    \"motherName\": \"MARIA DA SILVA\",\n    \"monthlyIncome\": 150.75,\n    \"biometry\": {\n      \"provider\": \"dracma\",\n      \"evidenceId\": \"ver_01hxyz\",\n      \"metadata\": {}\n    }\n  },\n  \"address\": {\n    \"zipCode\": \"01310100\",\n    \"street\": \"Avenida Paulista\",\n    \"number\": \"1000\",\n    \"city\": \"São Paulo\",\n    \"state\": \"SP\",\n    \"cityIbgeCode\": \"3550308\",\n    \"complement\": \"Sala 501\",\n    \"neighborhood\": \"Centro\"\n  },\n  \"callbackUri\": \"https://app.yourcompany.com/onboarding/done\"\n}"

response = http.request(request)
puts response.read_body
```

```java Accreditations_createAccreditationPf_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://tenant.api.corpx.com/v1/accreditations/pf")
  .header("X-Tenant-Id", "X-Tenant-Id")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"person\": {\n    \"name\": \"MARIA DA SILVA\",\n    \"cpf\": \"12345678900\",\n    \"birthDate\": \"2026-02-20\",\n    \"email\": \"maria.silva@example.com\",\n    \"phone\": \"+5511999998888\",\n    \"motherName\": \"MARIA DA SILVA\",\n    \"monthlyIncome\": 150.75,\n    \"biometry\": {\n      \"provider\": \"dracma\",\n      \"evidenceId\": \"ver_01hxyz\",\n      \"metadata\": {}\n    }\n  },\n  \"address\": {\n    \"zipCode\": \"01310100\",\n    \"street\": \"Avenida Paulista\",\n    \"number\": \"1000\",\n    \"city\": \"São Paulo\",\n    \"state\": \"SP\",\n    \"cityIbgeCode\": \"3550308\",\n    \"complement\": \"Sala 501\",\n    \"neighborhood\": \"Centro\"\n  },\n  \"callbackUri\": \"https://app.yourcompany.com/onboarding/done\"\n}")
  .asString();
```

```php Accreditations_createAccreditationPf_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://tenant.api.corpx.com/v1/accreditations/pf', [
  'body' => '{
  "person": {
    "name": "MARIA DA SILVA",
    "cpf": "12345678900",
    "birthDate": "2026-02-20",
    "email": "maria.silva@example.com",
    "phone": "+5511999998888",
    "motherName": "MARIA DA SILVA",
    "monthlyIncome": 150.75,
    "biometry": {
      "provider": "dracma",
      "evidenceId": "ver_01hxyz",
      "metadata": {}
    }
  },
  "address": {
    "zipCode": "01310100",
    "street": "Avenida Paulista",
    "number": "1000",
    "city": "São Paulo",
    "state": "SP",
    "cityIbgeCode": "3550308",
    "complement": "Sala 501",
    "neighborhood": "Centro"
  },
  "callbackUri": "https://app.yourcompany.com/onboarding/done"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
    'X-Tenant-Id' => 'X-Tenant-Id',
  ],
]);

echo $response->getBody();
```

```csharp Accreditations_createAccreditationPf_example
using RestSharp;

var client = new RestClient("https://tenant.api.corpx.com/v1/accreditations/pf");
var request = new RestRequest(Method.POST);
request.AddHeader("X-Tenant-Id", "X-Tenant-Id");
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"person\": {\n    \"name\": \"MARIA DA SILVA\",\n    \"cpf\": \"12345678900\",\n    \"birthDate\": \"2026-02-20\",\n    \"email\": \"maria.silva@example.com\",\n    \"phone\": \"+5511999998888\",\n    \"motherName\": \"MARIA DA SILVA\",\n    \"monthlyIncome\": 150.75,\n    \"biometry\": {\n      \"provider\": \"dracma\",\n      \"evidenceId\": \"ver_01hxyz\",\n      \"metadata\": {}\n    }\n  },\n  \"address\": {\n    \"zipCode\": \"01310100\",\n    \"street\": \"Avenida Paulista\",\n    \"number\": \"1000\",\n    \"city\": \"São Paulo\",\n    \"state\": \"SP\",\n    \"cityIbgeCode\": \"3550308\",\n    \"complement\": \"Sala 501\",\n    \"neighborhood\": \"Centro\"\n  },\n  \"callbackUri\": \"https://app.yourcompany.com/onboarding/done\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Accreditations_createAccreditationPf_example
import Foundation

let headers = [
  "X-Tenant-Id": "X-Tenant-Id",
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "person": [
    "name": "MARIA DA SILVA",
    "cpf": "12345678900",
    "birthDate": "2026-02-20",
    "email": "maria.silva@example.com",
    "phone": "+5511999998888",
    "motherName": "MARIA DA SILVA",
    "monthlyIncome": 150.75,
    "biometry": [
      "provider": "dracma",
      "evidenceId": "ver_01hxyz",
      "metadata": []
    ]
  ],
  "address": [
    "zipCode": "01310100",
    "street": "Avenida Paulista",
    "number": "1000",
    "city": "São Paulo",
    "state": "SP",
    "cityIbgeCode": "3550308",
    "complement": "Sala 501",
    "neighborhood": "Centro"
  ],
  "callbackUri": "https://app.yourcompany.com/onboarding/done"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://tenant.api.corpx.com/v1/accreditations/pf")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```