Auth API
- How to authenticate
Deliver API
- Persons
- Businesses
- External Accounts
- Cards
- Transfers
- Eligibility
- Transfer Groups
- Balance
- Reports
Verify API
Webhooks API
- Overview And Set Up
- Event Types and Payloads
- Configure webhooks
- Trigger webhooks
- Secure webhooks
Close Person By ID
Close a person object so they are unable to transact.
curl --request DELETE \
--url https://api-sandbox.orum.io/deliver/persons/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Orum-Version: <orum-version>'
{
"person": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_reference_id": "<string>",
"first_name": "<string>",
"middle_name": "<string>",
"last_name": "<string>",
"date_of_birth": "<string>",
"status": "created",
"addresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "home",
"address1": "<string>",
"address2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "US",
"zip5": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "email",
"value": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"status_reasons": [
{
"reason_code": "invalid_address",
"reason_code_message": "Address submitted is a non-supported address type"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z",
"metadata": {}
}
}
Authorizations
The auth token received from Authentication endpoints.
Headers
Version of Deliver API. Use v2022-09-21.
v2022-09-21
Path Parameters
Orum generated unique id for the resource for the person resource you are updating.
Response
Orum generated unique id for the resource.
Unique reference id for the customer (business or person) resource. Generated by you.
1 - 255
Status of person in Orum system.
created
, verified
, rejected
, restricted
, closed
Timestamp when the resource was created.
Timestamp when the resource was last updated.
Date of birth in YYYY-MM-DD format. Note: This field is required for payouts, deposits, or account-to-account transfers. Age must be less than 100 years and greater than 18 years to be verified.
Address information for the person. Note: This field is required for payouts, deposits, or account-to-account transfers.
Address.
Orum generated unique id for the resource.
Type of address.
home
, legal
Address line 1.
255
City.
255
Uppercase two-character state code of the address.
2-character ISO country code.
US
5-digit ZIP Code. Numeric values (0-9) only.
Timestamp when the resource was created.
Timestamp when the resource was last updated.
Address line 2.
255
List of contact information for the person.
Contact information.
Orum generated unique id for the resource.
Type of contact information associated with a person - 'email' or 'phone'.
email
, phone
Email or phone number.
Timestamp when the resource was created.
Timestamp when the resource was last updated.
Array that explains why the person failed verification.
Timestamp when the status of the resource was set to "closed".
Additional data you would like to provide on the resource. The field supports valid JSON of up to 5 key-value pairs with a maximum of 20 characters for the key and 50 characters for the value. Do not include any sensitive information.
Was this page helpful?
curl --request DELETE \
--url https://api-sandbox.orum.io/deliver/persons/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Orum-Version: <orum-version>'
{
"person": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_reference_id": "<string>",
"first_name": "<string>",
"middle_name": "<string>",
"last_name": "<string>",
"date_of_birth": "<string>",
"status": "created",
"addresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "home",
"address1": "<string>",
"address2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "US",
"zip5": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"contacts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "email",
"value": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"status_reasons": [
{
"reason_code": "invalid_address",
"reason_code_message": "Address submitted is a non-supported address type"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z",
"metadata": {}
}
}