-
-
Save Teino1978-Corp/697c361147c3a22cd2ba to your computer and use it in GitHub Desktop.
Retrieve specific Payment resource
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'ConfigFactory.php'; | |
require 'OAuthRequest.php'; | |
$c = new Creds(); | |
$creds = $c->creds(); | |
$links = $c->links(); | |
$accessTokenData = getAccessToken($links, $creds); | |
$paymentId = ""; | |
$payment = new OAuthRequest($endpoint['getPaymentById'], $accessTokenData, null, $paymentId); | |
$payment->createHeader(); | |
echo $payment->sendRequest(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment