Skip to content
This repository was archived by the owner on Oct 4, 2019. It is now read-only.

Commit a839309

Browse files
Updated README
1 parent 09700e4 commit a839309

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

README.md

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
## Satispay Online API PHP SDK
22

3-
### Check Bearer
3+
### Documentation
4+
https://s3-eu-west-1.amazonaws.com/docs.online.satispay.com/index.html
5+
6+
### Install with Composer
7+
`composer require satispay/online-api-php-sdk`
8+
9+
### Check bearer
410

511
```php
612
\SatispayOnline\Api::setSecurityBearer('yoursecuritybearer');
@@ -15,8 +21,7 @@ try {
1521

1622
### Users
1723

18-
#### Create a user
19-
Example:
24+
#### Create user
2025
```php
2126
\SatispayOnline\Api::setSecurityBearer('yoursecuritybearer');
2227

@@ -25,16 +30,14 @@ $user = \SatispayOnline\User::create([
2530
]);
2631
```
2732

28-
#### Get a user list
29-
Example:
33+
#### Get users
3034
```php
3135
\SatispayOnline\Api::setSecurityBearer('yoursecuritybearer');
3236

3337
$users = \SatispayOnline\User::all();
3438
```
3539

36-
#### Get a user
37-
Example:
40+
#### Get user
3841
```php
3942
\SatispayOnline\Api::setSecurityBearer('yoursecuritybearer');
4043

@@ -43,8 +46,7 @@ $user = \SatispayOnline\User::get('userid');
4346

4447
### Charges
4548

46-
#### Create a charge
47-
Example:
49+
#### Create charge
4850
```php
4951
\SatispayOnline\Api::setSecurityBearer('yoursecuritybearer');
5052

@@ -55,24 +57,21 @@ $charge = \SatispayOnline\Charge::create([
5557
]);
5658
```
5759

58-
#### Get a charge list
59-
Example:
60+
#### Get charges
6061
```php
6162
\SatispayOnline\Api::setSecurityBearer('yoursecuritybearer');
6263

6364
$charges = \SatispayOnline\Charge::all();
6465
```
6566

66-
#### Get a charge
67-
Example:
67+
#### Get charge
6868
```php
6969
\SatispayOnline\Api::setSecurityBearer('yoursecuritybearer');
7070

7171
$charge = \SatispayOnline\Charge::get('chargeid');
7272
```
7373

74-
#### Update a charge
75-
Example:
74+
#### Update charge
7675
```php
7776
\SatispayOnline\Api::setSecurityBearer('yoursecuritybearer');
7877

@@ -83,8 +82,7 @@ $charge = \SatispayOnline\Charge::update('chargeid', [
8382

8483
### Refunds
8584

86-
#### Create a refund
87-
Example:
85+
#### Create refund
8886
```php
8987
\SatispayOnline\Api::setSecurityBearer('yoursecuritybearer');
9088

@@ -95,16 +93,14 @@ $refund = \SatispayOnline\Refund::create([
9593
]);
9694
```
9795

98-
#### Get a refund list
99-
Example:
96+
#### Get refunds
10097
```php
10198
\SatispayOnline\Api::setSecurityBearer('yoursecuritybearer');
10299

103100
$refunds = \SatispayOnline\Refund::all();
104101
```
105102

106-
#### Get a refund
107-
Example:
103+
#### Get refund
108104
```php
109105
\SatispayOnline\Api::setSecurityBearer('yoursecuritybearer');
110106

0 commit comments

Comments
 (0)