We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd85b21 commit 240d177Copy full SHA for 240d177
src/Paystack.php
@@ -467,6 +467,19 @@ public function disableSubscription(){
467
468
}
469
470
+ /**
471
+ * Fetch details about a certain subscription
472
+ * @param $subscription_id
473
+ * @return array
474
+ */
475
+ public function fetchSubscription($subscription_id){
476
+
477
+ $this->setRequestOptions();
478
479
+ return $this->setGetResponse('/subscription/'.$subscription_id)->getResponse();
480
481
+ }
482
483
484
485
0 commit comments