- 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)
Show payout item details
GET
/v1/payments/payouts-item/{payout_item_id}
payout_item_id
helps you identify denied payments. If a payment is denied, you can use the payout_item_id
to identify the payment even if it lacks a transaction_id
.请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Basic 之后拼接空格,以及经过 Base64 编码的 username:password
示例:
Authorization: Basic *****************
Path 参数
payout_item_id
string
必需
示例值:
{{payout_item_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/v1/payments/payouts-item/{{payout_item_id}}' \
--header 'Authorization: Basic Og=='
返回响应
🟢200200 - Show Payout Item Details
application/json
Body
payout_item_id
string
必需
transaction_id
string
必需
activity_id
string
必需
transaction_status
string
必需
payout_item_fee
object
必需
currency
string
必需
value
string
必需
payout_batch_id
string
必需
sender_batch_id
string
必需
payout_item
object
必需
recipient_type
string
必需
amount
object
必需
note
string
必需
receiver
string
必需
sender_item_id
string
必需
recipient_wallet
string
必需
time_processed
string
必需
errors
object
必需
name
string
必需
message
string
必需
information_link
string
必需
details
array
必需
links
array
必需
links
array [object {4}]
必需
href
string
必需
rel
string
必需
method
string
必需
encType
string
必需
示例
{
"payout_item_id": "4FNYP6JKEW28S",
"transaction_id": "7S520406M51625248",
"activity_id": "9MA543628Y061272E",
"transaction_status": "UNCLAIMED",
"payout_item_fee": {
"currency": "USD",
"value": "0.25"
},
"payout_batch_id": "42WWRAXUXYSQQ",
"sender_batch_id": "Payouts_1643784368",
"payout_item": {
"recipient_type": "EMAIL",
"amount": {
"currency": "USD",
"value": "10.00"
},
"note": "Thanks for your patronage!",
"receiver": "Barry4@yahoo.com",
"sender_item_id": "201403140001",
"recipient_wallet": "PAYPAL"
},
"time_processed": "2022-02-02T06:46:09Z",
"errors": {
"name": "RECEIVER_UNREGISTERED",
"message": "The recipient for this payout does not have an account. A link to sign up for an account was sent to the recipient. However, if the recipient does not claim this payout within 30 days, the funds will be returned to your account.",
"information_link": "https://developer.paypal.com/docs/api/payments.payouts-batch/#errors",
"details": [],
"links": []
},
"links": [
{
"href": "https://api.sandbox.paypal.com/v1/payments/payouts-item/4FNYP6JKEW28S",
"rel": "self",
"method": "GET",
"encType": "application/json"
},
{
"href": "https://api.sandbox.paypal.com/v1/payments/payouts/42WWRAXUXYSQQ",
"rel": "batch",
"method": "GET",
"encType": "application/json"
}
]
}
🟠401401 Unauthorized - Invalid Token
🟠404404 Not Found - Payout Item Not Found
修改于 2023-08-16 07:18:59