payment-api\ListPaymentForwards.php
<?php

Get All PaymentForwards Sample

Use this call to list all the PaymentForwards, as documented here at: http://dev.blockcypher.com/#list-payments-endpoint API used: GET /v1/btc/main/payments?token=

require __DIR__ . '/../bootstrap.php';

Get List of All PaymentForwards

try { $output = \BlockCypher\Api\PaymentForward::getAll(array(), $apiContexts['BTC.main']); } catch (Exception $ex) { ResultPrinter::printError("List all PaymentForwards", "PaymentForward[]", null, null, $ex); exit(1); } ResultPrinter::printResult("List all PaymentForwards", "PaymentForward[]", null, null, $output); return $output;