diff --git a/README.md b/README.md index 85eaaf2..8f41bad 100644 --- a/README.md +++ b/README.md @@ -3953,48 +3953,6 @@ the standard underwriting process via offer codes and invitations. -#### Retrieve Pricing Policy - - - -* **API Credential Types:** Partner -* **Required Role:** Read Pricing API - -The API returns the current pricing policy for a merchant. This API is valid for partner scoped API credentials -and `merchantId` is a required parameter. By default this API returns the currently in-force pricing policy for a merchant, -but other inactive policies can be returned by providing the `id` parameter. - - - - -```php -loadTestConfiguration(); + + BlockChyp::setApiKey($config->apiKey); + BlockChyp::setBearerToken($config->bearerToken); + BlockChyp::setSigningKey($config->signingKey); + BlockChyp::setGatewayHost($config->gatewayHost); + BlockChyp::setTestGatewayHost($config->testGatewayHost); + BlockChyp::setDashboardHost($config->dashboardHost); + + echo 'Running PartnerStatementsTest...' . PHP_EOL; // Set request values + $request = [ + 'test' => true, + ]; + + // self::logRequest($request); + + try { + + $response = BlockChyp::partnerStatements($request); + + // self::logResponse($response); + + // Response assertions + + $this->assertTrue($response['success']); + + } catch (Exception $ex) { + + echo $ex->getTraceAsString(); + $this->assertEmpty($ex); + + } + $this->processResponseDelay($request); + } +}