Creates a new person.

Parameters

  • addressassociative array

    The person’s address.

  • dobassociative array

    The person’s date of birth.

  • emailstring

    The person’s email address.

  • first_namestring

    The person’s first name.

  • id_numberstring

    The person’s ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a PII token provided by Stripe.js.

  • last_namestring

    The person’s last name.

  • metadataassociative array

    Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

  • phonestring

    The person’s phone number.

  • relationshipassociative array

    The relationship that this person has with the account’s legal entity.

  • ssn_last_4string

    The last four digits of the person’s Social Security number (U.S. only).

More parameters

  • additional_tos_acceptancesassociative array

  • address_kanaassociative array

  • address_kanjiassociative array

  • documentsassociative array

  • first_name_kanastring

  • first_name_kanjistring

  • full_name_aliasesarray of strings

  • genderenum

  • id_number_secondarystring

  • last_name_kanastring

  • last_name_kanjistring

  • maiden_namestring

  • nationalitystring

  • person_tokenstring

  • political_exposureenum

  • registered_addressassociative array

  • us_cfpb_dataassociative array

  • verificationassociative array

Returns

Returns a person object.

POST /v1/accounts/:id/persons
$stripe = new \Stripe\StripeClient('sk_test_BQokikJ...2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2');
$person = $stripe->accounts->createPerson(
'acct_1032D82eZvKYlo2C',
[
'first_name' => 'John',
'last_name' => 'Doe',
]
);
Response
{
"id": "person_1N9XNb2eZvKYlo2CjPX7xF6F",
"object": "person",
"account": "acct_1032D82eZvKYlo2C",
"created": 1684518375,
"dob": {
"day": null,
"month": null,
"year": null
},
"first_name": "John",
"future_requirements": {
"alternatives": [],
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": []
},
"id_number_provided": false,
"last_name": "Doe",
"metadata": {},
"relationship": {
"director": false,
"executive": false,
"owner": false,
"percent_ownership": null,
"representative": false,
"title": null
},
"requirements": {
"alternatives": [],
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": []
},
"ssn_last_4_provided": false,
"verification": {
"additional_document": {
"back": null,
"details": null,
"details_code": null,
"front": null
},
"details": null,
"details_code": null,
"document": {
"back": null,
"details": null,
"details_code": null,
"front": null
},
"status": "unverified"
}
}

Updates an existing person.

Parameters

  • addressassociative array

    The person’s address.

  • dobassociative array

    The person’s date of birth.

  • emailstring

    The person’s email address.

  • first_namestring

    The person’s first name.

  • id_numberstring

    The person’s ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a PII token provided by Stripe.js.

  • last_namestring

    The person’s last name.

  • metadataassociative array

    Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

  • phonestring

    The person’s phone number.

  • relationshipassociative array

    The relationship that this person has with the account’s legal entity.

  • ssn_last_4string

    The last four digits of the person’s Social Security number (U.S. only).

More parameters

  • additional_tos_acceptancesassociative array

  • address_kanaassociative array

  • address_kanjiassociative array

  • documentsassociative array

  • first_name_kanastring

  • first_name_kanjistring

  • full_name_aliasesarray of strings

  • genderenum

  • id_number_secondarystring

  • last_name_kanastring

  • last_name_kanjistring

  • maiden_namestring

  • nationalitystring

  • person_tokenstring

  • political_exposureenum

  • registered_addressassociative array

  • us_cfpb_dataassociative array

  • verificationassociative array

Returns

Returns a person object.

POST /v1/accounts/:id/persons/:id
$stripe = new \Stripe\StripeClient('sk_test_BQokikJ...2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2');
$person = $stripe->accounts->updatePerson(
'acct_1032D82eZvKYlo2C',
'person_1MqjB62eZvKYlo2CaeEJzKVR',
['metadata' => ['order_id' => '6735']]
);
Response
{
"id": "person_1MqjB62eZvKYlo2CaeEJzKVR",
"person": "person_1MqjB62eZvKYlo2CaeEJzKVR",
"object": "person",
"account": "acct_1032D82eZvKYlo2C",
"created": 1680035496,
"dob": {
"day": null,
"month": null,
"year": null
},
"first_name": "Jane",
"future_requirements": {
"alternatives": [],
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": []
},
"id_number_provided": false,
"last_name": "Diaz",
"metadata": {
"order_id": "6735"
},
"relationship": {
"director": false,
"executive": false,
"owner": false,
"percent_ownership": null,
"representative": false,
"title": null
},
"requirements": {
"alternatives": [],
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": []
},
"ssn_last_4_provided": false,
"verification": {
"additional_document": {
"back": null,
"details": null,
"details_code": null,
"front": null
},
"details": null,
"details_code": null,
"document": {
"back": null,
"details": null,
"details_code": null,
"front": null
},
"status": "unverified"
}
}

Retrieves an existing person.

Parameters

No parameters.

Returns

Returns a person object.

GET /v1/accounts/:id/persons/:id
$stripe = new \Stripe\StripeClient('sk_test_BQokikJ...2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2');
$person = $stripe->accounts->retrievePerson(
'acct_1032D82eZvKYlo2C',
'person_1MqjB62eZvKYlo2CaeEJzKVR',
[]
);
Response
{
"id": "person_1N9XNb2eZvKYlo2CjPX7xF6F",
"object": "person",
"account": "acct_1032D82eZvKYlo2C",
"created": 1684518375,
"dob": {
"day": null,
"month": null,
"year": null
},
"first_name": null,
"future_requirements": {
"alternatives": [],
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": []
},
"id_number_provided": false,
"last_name": null,
"metadata": {},
"relationship": {
"director": false,
"executive": false,
"owner": false,
"percent_ownership": null,
"representative": false,
"title": null
},
"requirements": {
"alternatives": [],
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": []
},
"ssn_last_4_provided": false,
"verification": {
"additional_document": {
"back": null,
"details": null,
"details_code": null,
"front": null
},
"details": null,
"details_code": null,
"document": {
"back": null,
"details": null,
"details_code": null,
"front": null
},
"status": "unverified"
}
}

Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.

Parameters

  • relationshipassociative array

    Filters on the list of people returned based on the person’s relationship to the account’s company.

More parameters

  • ending_beforestring

  • limitinteger

  • starting_afterstring

Returns

A associative array with a data property that contains an array of up to limit people, starting after person starting_after. Each entry in the array is a separate person object. If no more people are available, the resulting array will be empty.

GET /v1/accounts/:id/persons
$stripe = new \Stripe\StripeClient('sk_test_BQokikJ...2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2');
$persons = $stripe->accounts->allPersons('acct_1032D82eZvKYlo2C', ['limit' => 3]);
Response
{
"object": "list",
"url": "/v1/accounts/acct_1032D82eZvKYlo2C/persons",
"has_more": false,
"data": [
{
"id": "person_1MqjB62eZvKYlo2CaeEJzKVR",
"person": "person_1MqjB62eZvKYlo2CaeEJzKVR",
"object": "person",
"account": "acct_1032D82eZvKYlo2C",
"created": 1680035496,
"dob": {
"day": null,
"month": null,
"year": null
},
"first_name": "Jane",
"future_requirements": {
"alternatives": [],
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": []
},
"id_number_provided": false,
"last_name": "Diaz",
"metadata": {},
"relationship": {
"director": false,
"executive": false,
"owner": false,
"percent_ownership": null,
"representative": false,
"title": null
},
"requirements": {
"alternatives": [],
"currently_due": [],
"errors": [],
"eventually_due": [],
"past_due": [],
"pending_verification": []
},
"ssn_last_4_provided": false,
"verification": {
"additional_document": {
"back": null,
"details": null,
"details_code": null,
"front": null
},
"details": null,
"details_code": null,
"document": {
"back": null,
"details": null,
"details_code": null,
"front": null
},
"status": "unverified"
}
}
]
}

Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.

Parameters

No parameters.

Returns

Returns the deleted person object.

DELETE /v1/accounts/:id/persons/:id
$stripe = new \Stripe\StripeClient('sk_test_BQokikJ...2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2');
$deleted = $stripe->accounts->deletePerson(
'acct_1032D82eZvKYlo2C',
'person_1MqjB62eZvKYlo2CaeEJzKVR',
[]
);
Response
{
"id": "person_1MqjB62eZvKYlo2CaeEJzKVR",
"object": "person",
"deleted": true
}