Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenefvdm committed Oct 22, 2024
1 parent 1fee24e commit f6a8d20
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `whmcs-api` will be documented in this file.

## 22 Oct 2024

- Added AcceptOrder and tagged a new version 1.02

## 19 Oct 2024

- Moved the repo from `fintech-systems/whmcs-php-api` to `eugenefvdm/whmcs-api`
Expand Down
14 changes: 14 additions & 0 deletions src/Whmcs.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@ public function __construct($client)
];
}

/**
* Accept order
*
* https://developers.whmcs.com/api-reference/acceptorder/
*
* @param $data
* @return array|mixed
* @throws Exception
*/
public function acceptOrder($data): mixed
{
return $this->call('AcceptOrder', $data);
}

/**
* Add client
*
Expand Down

0 comments on commit f6a8d20

Please sign in to comment.