curl --request POST \
--url https://api.stage.localpayment.com/api/entity/v1/entities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "550e8400-e29b-41d4-a716-446655440000",
"type": "INDIVIDUAL",
"name": "Jane",
"lastname": "Doe",
"birthdate": "1990-01-15",
"nationality": "BRA",
"birthCountry": "BRA",
"residenceCountry": "BRA",
"isPep": false,
"email": "jane.doe@example.com",
"phone": {
"countryCode": "55",
"areaCode": "11",
"number": "999990001"
},
"address": {
"street": "Rua Exemplo",
"number": "123",
"city": "São Paulo",
"state": "SP",
"zipCode": "01310-100",
"country": "BRA"
},
"document": {
"type": "CPF",
"id": "00000000000",
"issuingCountry": "BRA"
}
}
'
{
"internalId": "5aced5da-40c1-4bec-85ff-c8cd1bcb4526",
"externalId": "550e8400-e29b-41d4-a716-446655440000",
"type": "INDIVIDUAL",
"status": "PENDING_KYC",
"name": "Jane",
"lastname": "Doe",
"birthdate": "1990-01-15",
"gender": null,
"nationality": "BRA",
"birthCountry": "BRA",
"residenceCountry": "BRA",
"occupation": null,
"isPep": false,
"incorporationDate": null,
"incorporationCountry": null,
"website": null,
"legalRepresentativeName": null,
"email": "jane.doe@example.com",
"phone": {
"countryCode": "55",
"areaCode": "11",
"number": "999990001"
},
"address": {
"street": "Rua Exemplo",
"city": "São Paulo",
"state": "SP",
"zipCode": "01310-100",
"number": "123",
"comment": null,
"country": "BRA",
"line2": null,
"line3": null
},
"attributes": null,
"documentationStatus": "NO_FILES",
"document": {
"documentId": "2e16d844-4fa9-4295-9a21-83ec32ef241a",
"entityId": "5aced5da-40c1-4bec-85ff-c8cd1bcb4526",
"type": "CPF",
"id": "00000000000",
"issuingCountry": "BRA",
"issueDate": null,
"expirationDate": null,
"isPrimary": true,
"status": "PENDING",
"metadata": null,
"proofs": [],
"createdAt": "2024-01-15T17:03:10Z",
"updatedAt": "2024-01-15T17:03:10Z"
},
"documents": [],
"version": 0,
"createdAt": "2024-01-15T17:03:10Z",
"updatedAt": "2024-01-15T17:03:10Z",
"customFieldSchemaVersion": null
}
Entitäten
Entität erstellen
POST
/
api
/
entity
/
v1
/
entities
curl --request POST \
--url https://api.stage.localpayment.com/api/entity/v1/entities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "550e8400-e29b-41d4-a716-446655440000",
"type": "INDIVIDUAL",
"name": "Jane",
"lastname": "Doe",
"birthdate": "1990-01-15",
"nationality": "BRA",
"birthCountry": "BRA",
"residenceCountry": "BRA",
"isPep": false,
"email": "jane.doe@example.com",
"phone": {
"countryCode": "55",
"areaCode": "11",
"number": "999990001"
},
"address": {
"street": "Rua Exemplo",
"number": "123",
"city": "São Paulo",
"state": "SP",
"zipCode": "01310-100",
"country": "BRA"
},
"document": {
"type": "CPF",
"id": "00000000000",
"issuingCountry": "BRA"
}
}
'
{
"internalId": "5aced5da-40c1-4bec-85ff-c8cd1bcb4526",
"externalId": "550e8400-e29b-41d4-a716-446655440000",
"type": "INDIVIDUAL",
"status": "PENDING_KYC",
"name": "Jane",
"lastname": "Doe",
"birthdate": "1990-01-15",
"gender": null,
"nationality": "BRA",
"birthCountry": "BRA",
"residenceCountry": "BRA",
"occupation": null,
"isPep": false,
"incorporationDate": null,
"incorporationCountry": null,
"website": null,
"legalRepresentativeName": null,
"email": "jane.doe@example.com",
"phone": {
"countryCode": "55",
"areaCode": "11",
"number": "999990001"
},
"address": {
"street": "Rua Exemplo",
"city": "São Paulo",
"state": "SP",
"zipCode": "01310-100",
"number": "123",
"comment": null,
"country": "BRA",
"line2": null,
"line3": null
},
"attributes": null,
"documentationStatus": "NO_FILES",
"document": {
"documentId": "2e16d844-4fa9-4295-9a21-83ec32ef241a",
"entityId": "5aced5da-40c1-4bec-85ff-c8cd1bcb4526",
"type": "CPF",
"id": "00000000000",
"issuingCountry": "BRA",
"issueDate": null,
"expirationDate": null,
"isPrimary": true,
"status": "PENDING",
"metadata": null,
"proofs": [],
"createdAt": "2024-01-15T17:03:10Z",
"updatedAt": "2024-01-15T17:03:10Z"
},
"documents": [],
"version": 0,
"createdAt": "2024-01-15T17:03:10Z",
"updatedAt": "2024-01-15T17:03:10Z",
"customFieldSchemaVersion": null
}
Registriert eine natürliche Person (INDIVIDUAL) oder eine juristische Person (COMPANY) mit ihrem Identifikationsdokument. Die Entität wird mit dem Status PENDING_KYC und ohne Dateien erstellt. Laden Sie die unterstützenden Dateien anschließend mit „Nachweis hochladen“ hoch.
- Die KYC-Mindestdaten werden bei der Erstellung validiert: name und lastname für INDIVIDUAL, name für COMPANY. Andernfalls gibt die API 422 INCOMPLETE_KYC_DATA zurück.
- Unbekannte Eigenschaften werden mit 400 VALIDATION_ERROR abgelehnt. Legen Sie zusätzliche Daten in attributes ab.
- Ländercodes müssen im Format ISO 3166-1 alpha-3 angegeben werden (BRA, nicht BR).
- Eine Steuernummer (CPF, CNPJ, CUIT, RFC, …) ist ein Dokument und kein Feld der Entität. Senden Sie sie in document. documents[] wird bei der Erstellung nicht akzeptiert (400 VALIDATION_ERROR).
- Fügen Sie die weiteren Dokumente (Ausweisdokument, Adressnachweis, Gesellschaftsvertrag) mit „Dokument hinzufügen“ hinzu.
- Bewahren Sie document.documentId aus der Antwort auf: Dies ist die docId, mit der Sie Dateien zum primären Dokument hochladen.
application/problem+json mit einem stabilen code. Vollständiger Katalog: Entitätsstatus und Fehlercodes.Autorisierungen
Header
Bearer-Zugriffstoken zur Authentifizierung. Dieses Token erhalten Sie über die Endpunkte Zugriffstoken abrufen oder Zugriffstoken aktualisieren. Ihr Händlerkonto und der handelnde Benutzer werden daraus ermittelt.
Beispiel:
"Bearer <your_access_token>"
Body
application/json
Antwort
Erstellt.
Zuletzt geändert am 22. November 2026

