Create an identity
/v1/compliance/identitiesawait bird.complianceIdentities.create({ name: "Goldcrest" });client.compliance_identities.create(name="Goldcrest")result, err := client.ComplianceIdentities.Create(ctx, bird.ComplianceIdentitiesCreateParams{Name: "Goldcrest"})
if err != nil {
log.Fatal(err)
}
fmt.Println(result)$bird->complianceIdentities->create((new \MessageBird\Wire\Model\ComplianceIdentityCreate())->setName('Goldcrest'));curl -X POST "https://us1.platform.bird.com/v1/compliance/identities" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Goldcrest Communications SAS"
}'{
"id": "cid_01krdgeqcxet5s7t44vh8rt9mg",
"name": "Goldcrest Communications SAS"
}
Stores a party you register on behalf of, so its business details can prefill the countries you register in next.
An identity belongs to the workspace that creates it. Register the same party from another workspace and it is a party of its own there, reviewed on its own terms.
You can name a party now and fill its business details in later. Required details depend on the destination country and are validated when you submit a registration.
Cuerpo de la solicitud
nameWhat you call this party. Yours to choose; it is never sent to a carrier.
Carga de respuesta
idnameWhat you call this party. Yours to choose; it is never sent to a carrier.
answersThe business details this party has supplied, keyed by requirement. Filled in for you: a single-value detail lands here the moment you file it on one of your registrations, so the next one prefills it rather than asking again. Only requirements a country marks as being about the party appear; anything about a specific sender is asked fresh each time.
created_atupdated_atRecursos relacionados
Continúa con la documentación, guías y ejemplos de este tema.