- Authorization
- Orders
- Payments
- Invoices
- Invoices
- Templates
- Subscriptions
- Catalog Products
- Plans
- Subscriptions
- Payouts
- Webhooks
- Shipment Tracking
- Transaction Search
- Disputes
- List disputes
- Show dispute details
- Accept claim
- Appeal dispute
- Settle dispute
- Update dispute status
- Make offer to resolve dispute
- Provide evidence
- Acknowledge returned item
- Provide supporting information for dispute
- Escalate dispute to claim
- Accept offer to resolve dispute
- Send message about dispute to other party
- Deny offer to resolve dispute
- Partially update dispute
- Onboarding (Limited Release)
Search managed account by Seller Id
GET
/v3/customer/managed-accounts/{id}
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
id
string
必需
示例值:
{{managed_path_account_id}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api-m.sandbox.paypal.com/v3/customer/managed-accounts/{{managed_path_account_id}}'
返回响应
🟢200200 - Get Account with Process View
application/json
Body
account_id
string
必需
legal_country_code
string
必需
individual_owners
array [object {5}]
必需
id
string
可选
names
array [object {4}]
可选
citizenship
string
可选
primary_residence
object
可选
birth_details
object
可选
business_entity
object
必需
type
string
必需
merchant_category_code
string
必需
incorporation_details
object
必需
names
array [object {3}]
必需
registered_business_address
object
必需
phone_numbers
array [object {4}]
必需
declarations
array [object {2}]
必需
agreements
array [object {2}]
必 需
type
string
可选
accepted_time
string
可选
external_id
string
必需
organization
string
必需
user_id
string
必需
financial_instruments
object
必需
banks
array [object {10}]
必需
primary_currency_code
string
必需
soft_descriptor
string
必需
capabilities
array [object {2}]
必需
name
string
必需
status
string
必需
process_view
object
必需
processes
array [object {3}]
必需
links
array [object {3}]
必需
href
string
必需
rel
string
必需
method
string
必需
示例
{
"account_id": "N4UJ5Z7GUXWM8",
"legal_country_code": "FR",
"individual_owners": [
{
"id": "N4UJ5Z7GUXWM8",
"names": [
{
"given_name": "TONY",
"surname": "MALLUWA",
"id": "LAZGPW7KPQQ3S",
"type": "LEGAL"
}
],
"citizenship": "FR",
"primary_residence": {
"address_line_1": "Lane 100 W STR",
"admin_area_2": "Paris",
"postal_code": "75012",
"country_code": "FR"
},
"birth_details": {
"date_of_birth": "1990-01-01"
}
}
],
"business_entity": {
"type": "INDIVIDUAL",
"merchant_category_code": "5462",
"incorporation_details": {},
"names": [
{
"business_name": "Abishak MALLUWA",
"id": "RW9UBHCR7BTZ6",
"type": "LEGAL"
}
],
"registered_business_address": {
"address_line_1": "30 Rue Erard",
"address_line_2": "BAT D4",
"admin_area_2": "Paris",
"postal_code": "75012",
"country_code": "FR"
},
"phone_numbers": [
{
"country_code": "33",
"national_number": "0182222222",
"id": "NU3UFGVL7BJHQ",
"type": "CUSTOMER_SERVICE"
}
],
"declarations": [
{
"name": "TWENTY_FIVE_PERCENT_BENEFICIAL_OWNER",
"value": "NO"
}
]
},
"agreements": [
{
"type": "TERMS_ACCEPTED",
"accepted_time": "2022-09-10T00:00:00Z"
}
],
"external_id": "EXT-1682048105",
"organization": "us",
"user_id": "1682048105",
"financial_instruments": {
"banks": [
{
"id": "BA-M8UJ2ST7HQYZC",
"last_4_digits": "6690",
"account_number_type": "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
"account_type": "CHECKING",
"routing_number": "61262345",
"currency_code": "EUR",
"country_code": "DE",
"account_holder_details": {
"name": "Abishak MALLUWA"
},
"bank_name": "Bernhauser Bank eG",
"branch_location": "70794 Filderstadt DE"
}
]
},
"primary_currency_code": "EUR",
"soft_descriptor": "ABISHAKMALL",
"capabilities": [
{
"name": "RECEIVE_MONEY",
"status": "ACTIVE"
},
{
"name": "WITHDRAW_MONEY",
"status": "ACTIVE"
}
],
"process_view": {
"processes": [
{
"name": "MANAGED_PATH_CIP_COLLECTION",
"status": "COMPLETED",
"capabilities": [
{
"name": "WITHDRAW_MONEY"
},
{
"name": "RECEIVE_MONEY"
}
]
},
{
"name": "MANAGED_PATH_KYC",
"status": "COMPLETED",
"capabilities": [
{
"name": "WITHDRAW_MONEY"
},
{
"name": "RECEIVE_MONEY"
}
]
}
]
},
"links": [
{
"href": "https://api-m.sandbox.paypal.com/v3/customer/managed-accounts/N4UJ5Z7GUXWM8",
"rel": "self",
"method": "GET"
},
{
"href": "https://api-m.sandbox.paypal.com/v3/customer/managed-accounts/N4UJ5Z7GUXWM8",
"rel": "edit",
"method": "PATCH"
}
]
}
🟢200200 - Get Account without Process View
🟠400400 Bad Request - Account Does Not Exist
🟠403403 Forbidden - Invalid Token
🟠404404 Not Found - Seller ID Not Found
修改于 2023-08-16 07:18:59