-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #253 from blockchyp/develop
Develop
- Loading branch information
1 parent
c3bb5b1
commit bc66bc2
Showing
14 changed files
with
816 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
// For composer based systems | ||
require_once('vendor/autoload.php'); | ||
|
||
// For manual installation | ||
#require_once('/path/to/blockchyp/init.php'); | ||
|
||
use BlockChyp\BlockChyp; | ||
|
||
BlockChyp::setApiKey(getenv('BC_API_KEY')); | ||
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN')); | ||
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY')); | ||
|
||
// Populate request values | ||
$request = [ | ||
]; | ||
|
||
|
||
$response = BlockChyp::merchantInvoiceDetail($request); | ||
|
||
|
||
// View the result | ||
echo 'Response: ' . print_r($response, true) . PHP_EOL; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
// For composer based systems | ||
require_once('vendor/autoload.php'); | ||
|
||
// For manual installation | ||
#require_once('/path/to/blockchyp/init.php'); | ||
|
||
use BlockChyp\BlockChyp; | ||
|
||
BlockChyp::setApiKey(getenv('BC_API_KEY')); | ||
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN')); | ||
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY')); | ||
|
||
// Populate request values | ||
$request = [ | ||
]; | ||
|
||
|
||
$response = BlockChyp::merchantInvoices($request); | ||
|
||
|
||
// View the result | ||
echo 'Response: ' . print_r($response, true) . PHP_EOL; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
// For composer based systems | ||
require_once('vendor/autoload.php'); | ||
|
||
// For manual installation | ||
#require_once('/path/to/blockchyp/init.php'); | ||
|
||
use BlockChyp\BlockChyp; | ||
|
||
BlockChyp::setApiKey(getenv('BC_API_KEY')); | ||
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN')); | ||
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY')); | ||
|
||
// Populate request values | ||
$request = [ | ||
]; | ||
|
||
|
||
$response = BlockChyp::partnerCommissionBreakdown($request); | ||
|
||
|
||
// View the result | ||
echo 'Response: ' . print_r($response, true) . PHP_EOL; |
Oops, something went wrong.