New to the community? Welcome! Please read our Community Rules and Guidelines
Coming soon: We are giving your Community a new look.
<?php $ch = curl_init('https://api.sandbox.paypal.com/v1/payments/payment/PAY-XXXXXXX'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Authorization: Bearer ' . $accessToken, 'Accept: application/json', 'Content-Type: application/xml' )); $result = curl_exec($ch); ?>
©1999-2023 PayPal, Inc. All rights reserved.