芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/myvyralapp.com/bck/vendor/srmklive/paypal/src/Traits/PayPalAPI/PartnerReferrals.php
apiEndPoint = 'v2/customer/partner-referrals'; $this->options['json'] = $partner_data; $this->verb = 'post'; return $this->doPayPalRequest(); } /** * Get Partner Referral Details. * * @param string $partner_referral_id * * @throws \Throwable * * @return array|\Psr\Http\Message\StreamInterface|string * * @see https://developer.paypal.com/docs/api/partner-referrals/v2/#partner-referrals_read */ public function showReferralData(string $partner_referral_id) { $this->apiEndPoint = "v2/customer/partner-referrals/{$partner_referral_id}"; $this->verb = 'get'; return $this->doPayPalRequest(); } }