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 through external id

GET
/v3/customer/managed-accounts
Show details for managed accounts, based on search criteria.
The detailed description for the endpoint can be found on PayPal Developer Portal under Managed Accounts.

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Query 参数
external_id
string 
必需
The external_id query parameter can be used to request managed accounts with the given external_id. Searches for the managed account that has the given external_id. To locate a particular account, you should set this to the same value that you provided in the /external_id property in your Create Managed Account request.
示例值:
{{managed_path_external_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?external_id={{managed_path_external_id}}'

返回响应

🟢200200 - Get Account with Process View
application/json
Body
managed_accounts
array [object {14}] 
必需
account_id
string 
可选
legal_country_code
string 
可选
individual_owners
array [object {5}] 
可选
business_entity
object 
可选
agreements
array [object {2}] 
可选
external_id
string 
可选
organization
string 
可选
user_id
string 
可选
financial_instruments
object 
可选
primary_currency_code
string 
可选
soft_descriptor
string 
可选
capabilities
array [object {2}] 
可选
process_view
object 
可选
links
array [object {3}] 
可选
示例
{
  "managed_accounts": [
    {
      "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
🟢200200 - No Managed Accounts Found
🟠400400 Bad Request - Invalid Query Parameter
修改于 2023-08-16 07:18:59
上一页
Create managed account
下一页
Search managed account by Seller Id
Built with