Capture payment for order
POST
/v2/checkout/orders/{order_id}/capture
Note: For error handling and troubleshooting, see Orders v2 errors.
请求参数
Path 参数
order_id
string
必需
示例值:
{{order_id}}
Header 参数
Content-Type
string
必需
示例值:
application/json
Prefer
string
必需
return=minimal
. The server returns a minimal response to optimize communication between the API caller and the server. A minimal response includes theid
,status
and HATEOAS links.return=representation
. The server returns a complete resource representation, including the current state of the resource.
示例值:
{{prefer_representation_detailed}}
PayPal-Request-Id
string
必需
示例值:
{{$guid}}
Body 参数application/json