Create batch payout
POST
/v1/payments/payouts
sender_batch_header
and an items
array. The sender_batch_header
defines how to handle the payout. The items
array defines the payout items.You can make payouts to one or more recipients.
Notes:
PayPal does not process duplicate payouts. If you specify a sender_batch_id
that was used in the last 30 days, the API rejects the request with an error message that shows the duplicatesender_batch_id
and includes a HATEOAS link to the original payout with the samesender_batch_id
.If you receive an HTTP 5nn
status code, you can safely retry the request with the samesender_batch_id
.The Payouts API does not support build notation (BN) codes. In a future Payouts release, you can optionally provide BN codes in the PayPal-Partner-Attribution-Id
request header.For information about the PayPal-Partner-Attribution-Id
header, see HTTP request headers. To learn about or request a BN code, contact your partner manager or see PayPal Partner Program.
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
PayPal-Request-Id
string
必需
示例值:
{{$guid}}
Body 参数application/json