Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Commit

Permalink
Clean up markdown a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Jun 24, 2013
1 parent bba96fe commit af1924e
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,26 +53,34 @@ this API with the Telephone Verification service.

These scripts can be run from the shell.

## API Documentation for minFraud service ##
## Usage ##

```php

$ccfs = new CreditCardFraudDetection;
This creates a new CreditCardFraudDetection object
$ccfs->input($hash);
$ccfs->query();
$hash = $ccfs->output();

```
### $ccfs->isSecure ###

$ccfs->isSecure
If isSecure is set to 0 then it uses regular HTTP.
If isSecure is set to 1 then it uses Secure HTTPS (requires Curl PHP binding)
If isSecure is set to 0 then it uses regular HTTP. If isSecure is set to 1
then it uses Secure HTTPS (requires Curl PHP binding)

$ccfs->input($hash)
Takes a hash and uses it as input for the server.
See http://dev.maxmind.com/minfraud/ for details on input fields.
### $ccfs->input($hash) ###

$ccfs->query();
Takes a hash and uses it as input for the server. See
http://dev.maxmind.com/minfraud/ for details on input fields.

### $ccfs->query() ###
Queries the server with the fields passed to the input method
and stores the output.

$hash = $ccfs->output();
Returns the output from the server.
See http://dev.maxmind.com/minfraud/ for details on output fields.
### $ccfs->output();

Returns the output from the server. See http://dev.maxmind.com/minfraud/
for details on output fields.

## Secure HTTPS ##

Expand Down

0 comments on commit af1924e

Please sign in to comment.