Skip to content

ayhan-dev/Payment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

NowPayments PHP API Wrapper

This PHP class provides a convenient way to interact with the NowPayments API.

Usage

  1. Installation:

    • Clone the repository:

      git clone https://github.com/ayhan-dev/Paymen.git
    • Include the Pay_API class in your PHP project:

      <?php
      require_once 'path/to/Pay_API.php';
      
      $apiKey = 'your-api-key';
      $paymentAPI = new Pay_API($apiKey);
      ?>
  2. Examples:

    // Check API Status
    $status = $paymentAPI->status();
    
    // Get List of Currencies
    $currencies = $paymentAPI->getCurrencies();
    
    // Create Payment
    $params = [
    ];
    $payment = $paymentAPI->createPayment($params);

Releases

No releases published

Packages

No packages published

Languages