Paypal API
  1. Manage Accounts
Paypal API
  • Authorization
    • Generate access_token
      POST
    • Terminate access_token
      POST
    • User Info
      GET
    • Generate client_token
      POST
  • Orders
    • Create order
      POST
    • Show order details
      GET
    • Update order
      PATCH
    • Authorize payment for order
      POST
    • Capture payment for order
      POST
  • Payments
    • Show details for authorized payment
      GET
    • Reauthorize authorized payment
      POST
    • Void authorized payment
      POST
    • Capture authorized payment
      POST
    • Show captured payment details
      GET
    • Refund captured payment
      POST
    • Show refund details
      GET
  • Invoices
    • Invoices
      • Generate invoice number
      • Create draft invoice
      • Show invoice details
      • List invoices
      • Generate QR code
      • Fully update invoice
      • Send invoice
      • Send invoice reminder
      • Cancel sent invoice
      • Delete invoice
      • Search for invoices
      • Record payment for invoice
      • Delete external payment
      • Record refund for invoice
      • Delete external refund
    • Templates
      • List templates
      • Create template
      • Show template details
      • Fully update template
      • Delete template
  • Subscriptions
    • Catalog Products
      • Create product
      • List products
      • Show product details
      • Update product
    • Plans
      • Create plan
      • List plans
      • Show plan details
      • Update plan
      • Deactivate plan
      • Activate plan
      • Update pricing
    • Subscriptions
      • Create subscription
      • Show subscription details
      • Update subscription
      • Revise plan or quantity of subscription
      • Suspend subscription
      • Activate subscription
      • Cancel subscription
      • Capture authorized payment on subscription
      • List transactions for subscription
  • Payouts
    • Create batch payout
    • Show payout batch details
    • Show payout item details
    • Cancel unclaimed payout item
  • Webhooks
    • List available events
    • Create webhook
    • List webhooks
    • Show webhook details
    • List event notifications
    • List event subscriptions for webhook
    • Show event notification details
    • Trigger a sample event
    • Verify webhook signature
    • Resend event notification
    • Simulate webhook event
    • Update webhook
    • Delete webhook
  • Shipment Tracking
    • Add tracking information for multiple PayPal transactions
    • Show tracking information
    • Update or cancel tracking information for PayPal transaction
  • Transaction Search
    • List transactions
    • List all balances
  • 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)
    • Manage Accounts
      • Create managed account
        POST
      • Search managed account through external id
        GET
      • Search managed account by Seller Id
        GET
      • Partially updates information for a managed account
        PATCH
      • Shows collection of registered wallet domains
        GET
  1. Manage Accounts

Search managed account by Seller Id

GET
/v3/customer/managed-accounts/{id}
Shows details for a managed account, by account ID.
The detailed description for the endpoint can be found on PayPal Developer Portal under Managed Accounts.

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Path 参数
id
string 
必需
The ID of the seller.
示例值:
{{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
上一页
Search managed account through external id
下一页
Partially updates information for a managed account
Built with