Understanding the process_view object
Last updated: Apr 24th, 3:22am
The process_view
object in the JSON response body shows the verification process that PayPal applies to your merchant, along with merchant information and the account status.
Analyze process_view
The process_view object has the following sections:
name
: Name of the data collection and verification checks, called processes, that PayPal runs on the merchant. The processes include the following:- Verification policies such as
MANAGED_PATH_KYC_VERIFICATION
- Collection policies such as
MANAGED_PATH_KYC_COLLECTION
.
For more information on various countries' data collection policies, see Data elements for account creation
- Verification policies such as
status
: Result of the data collection and verification checks that PayPal runs on the merchant. The statuses include the following:COMPLETED
- indicates when a collection or verification process is completeNEED_MORE_DATA
- indicates when a collection or verification process is incomplete and needs more data
capabilities
: Array containing information about account abilities, current statuses, and associated payment processing limits.
- The status in the
capabilities
section describes the status of the associated capability. If capabilities
show any status other than ACTIVE
, the limits
block may apply.
required
: Additional data points you need to provide. Collect the attributes shown inrequired
from the merchant through data field collection and document upload collection.required_correction
Data points you need to correct to finalize the verification process. This section shows up only after you attempt verification and lists the attributes that need correction to finalize the verification process. The attributes in therequired_correction
section differ from those in therequired
section because they represent merchant details that need correction, such as updating data fields or re-uploading documents, rather than collecting new data.
required
and required_correction
sections contain a customized dynamic nested structure that requires (Breadth-First Search) BFS or (Depth-First Search) DFS tree parsing. Avoid hard-coding logic or values in these sections, as this would not work for all use cases. For more information, see Structure and logic of required and required_correction.
required_documents
: Lists all the documents that the merchant should upload. Depending on therequired
andrequired_correction
requirements, you may need to upload only a subset of documents from this list to fulfill the verification requirements. Eachrequired_document
object within this array contains the following:id
: number associated with the document and referenced in therequired
andrequired_document
sections.name
: name of the document that needs to be uploaded.entity
: entity associated with the document.links
: array of links that shows what actions you can take. For example, you can upload the required document to a unique tokenized upload link using the POST method.
Structure and logic of required and required_correction
Aggregators
The required
and required_correction
sections include the following aggregators:
ALL_OF
: indicates that all the attributes within the array of the same level should be collected or corrected.ONE_OF
: indicates that only one of the attributes within the array of the same level should be collected or corrected.
Attributes
The required
and required_correction
sections include the following attributes:
path
The path
attribute type is presented in the form of JSONPath and points to a specific field in the API response object.
The following table provides sample PATCH requests for common scenarios where the original POST API request does not contain all the required data. A path ending in /-
indicates an append operation, allowing you to add specified data to a list or array.
Sample |
Description |
Patch object to provide the data points |
|
The |
|
|
The |
|
|
The |
|
|
The |
|
|
The |
|
|
The |
|
|
The |
|
|
The |
The legal name is a mandatory field for the beneficial owner and does not require a PATCH request. |
|
The |
In this scenario, the beneficial owner is missing birth details. In such cases, you can complete either of the following:
|
|
The |
In this scenario, the beneficial owner is missing a home address. In such cases, you can complete either of the following:
|
|
The |
In this scenario, the office bearer is missing tax identification documents. In such cases, you can complete either of the following:
|
|
The |
In this scenario, the office bearer is missing social security identification documents. In such cases, you can complete either of the following:
|
|
The |
|
|
If |
|
|
If |
|
|
If |
|
|
If |
|
|
If |
|
|
If |
|
|
The |
|
|
The |
|
|
The |
|
|
The |
|
Document Upload Reference
The document upload reference is represented as a string, where the string value is used as the document upload requirement reference id in the required_documents
array that contains the document upload link.
1"required_documents": [23 {45 "id": "c1c63",67 "name": "BUSINESS_REGISTRATION",89 "entity": "$.business_entity",1011 "links": [1213 {1415 "href": "https://api.paypal.com/v1/customer/supporting-documents/8442128f-b54d-4d9b-88f7-32c675f1780f/upload",1617 "rel": "upload",1819 "method": "POST"2021 }2223 ]2425 }2627 ]
Sample response of process_view
1{2 "processes": [3 {4 "name": "MANAGED_PATH_KYC",5 "status": "NEED_MORE_DATA",6 "capabilities": [7 {8 "name": "CUSTOM_CARD_PROCESSING",9 "limits": [10 {11 "type": "AMOUNT",12 "unit": "EUR",13 "value": "1000.00",14 "remaining_value": "0.00"15 }16 ],17 "grace_periods": [18 {19 "start_time": "2025-03-09T17:57:24.212Z",20 "expiry_time": "2025-03-23T17:57:24.212Z"21 }22 ]23 },24 {25 "name": "RECEIVE_MONEY",26 "limits": [27 {28 "type": "AMOUNT",29 "unit": "EUR",30 "value": "1000.00",31 "remaining_value": "0.00"32 }33 ],34 "grace_periods": [35 {36 "start_time": "2025-03-09T17:57:24.212Z",37 "expiry_time": "2025-03-23T17:57:24.212Z"38 }39 ]40 },41 {42 "name": "APPLE_PAY",43 "limits": [44 {45 "type": "AMOUNT",46 "unit": "EUR",47 "value": "1000.00",48 "remaining_value": "0.00"49 }50 ],51 "grace_periods": [52 {53 "start_time": "2025-03-09T17:57:24.212Z",54 "expiry_time": "2025-03-23T17:57:24.212Z"55 }56 ]57 },58 {59 "name": "WITHDRAW_MONEY",60 "limits": [61 {62 "type": "AMOUNT",63 "unit": "EUR",64 "value": "1000.00",65 "remaining_value": "0.00"66 }67 ]68 }69 ],70 "required": {71 "op": "ALL_OF",72 "attributes": [73 "$.business_entity.merchant_category_code",74 "c1c63"75 ,76 {77 "op": "ALL_OF",78 "attributes": [79 "$.individual_owners[?(@['id']=='TH2SLRZ8X24TU')].birth_details.date_of_birth",80 "$.individual_owners[?(@['id']=='TH2SLRZ8X24TU')].primary_residence",81 "$.individual_owners[?(@['id']=='TH2SLRZ8X24TU')].occupation",82 "$.individual_owners[?(@['id']=='TH2SLRZ8X24TU')].citizenship",83 {84 "op": "ONE_OF",85 "attributes": [86 "$.individual_owners[?(@['id']=='TH2SLRZ8X24TU')].phone_numbers[?(@['type']=='BUSINESS')]",87 "$.individual_owners[?(@['id']=='TH2SLRZ8X24TU')].phone_numbers[?(@['type']=='HOME')]",88 "$.individual_owners[?(@['id']=='TH2SLRZ8X24TU')].phone_numbers[?(@['type']=='MOBILE')]"89 ]90 }91 ]92 },93 {94 "op": "ONE_OF",95 "attributes": [96 "$.business_entity.office_bearer[?(@['id']=='4864XNNGRU7AY')].identification_documents[?(@['type']=='INDIVIDUAL_TAX_IDENTIFICATION_NUMBER')]",97 "$.business_entity.office_bearer[?(@['id']=='4864XNNGRU7AY')].identification_documents[?(@['type']=='SOCIAL_SECURITY_NUMBER')]"98 ]99 },100 {101 "op": "ALL_OF",102 "attributes": [103 "$.business_entity.identification_documents[?(@['type']=='BUSINESS_REGISTRATION_NUMBER')]"104 ]105 }106 ]107 },108 "required_corrections": {109 "op": "ALL_OF",110 "attributes": [111 "$.business_entity.beneficial_owners.individuals[?(@['id']=='GHLRS5QFH7JHU')].names[?(@['type']=='LEGAL')]",112 "$.business_entity.beneficial_owners.individuals[?(@['id']=='GHLRS5QFH7JHU')].birth_details.date_of_birth",113 "$.business_entity.beneficial_owners.individuals[?(@['id']=='GHLRS5QFH7JHU')].addresses[?(@['type']=='HOME')]",114 "$.business_entity.registered_business_address",115 "c1c63"116 ]117 }118 },119 {120 "name": "MANAGED_PATH_CIP_COLLECTION",121 "status": "COMPLETED",122 "capabilities": [123 {124 "name": "APPLE_PAY"125 },126 {127 "name": "CUSTOM_CARD_PROCESSING"128 },129 {130 "name": "RECEIVE_MONEY"131 },132 {133 "name": "WITHDRAW_MONEY"134 }135 ]136 }137 ],138 "required_documents": [139 {140 "id": "c1c63",141 "name": "BUSINESS_REGISTRATION",142 "entity": "$.business_entity",143 "links": [144 {145 "href": "https://api.paypal.com/v1/customer/supporting-documents/8442128f-b54d-4d9b-88f7-32c675f1780f/upload",146 "rel": "upload",147 "method": "POST"148 }149 ]150 }151 ]152}