All URIs are relative to https://api.zipmoney.com.au/merchant/v1
| Method | HTTP request | Description |
|---|---|---|
| settlementsGet | GET /settlements/{id} | Retrieve a settlement |
| settlementsList | GET /settlements | List settlements |
\zipMoney\Model\Settlement settlementsGet($id)
Retrieve a settlement
Retrieves the full transactional details of a settlement.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new zipMoney\Api\SettlementsApi();
$id = "id_example"; // string | The settlement id
try {
$result = $api_instance->settlementsGet($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SettlementsApi->settlementsGet: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The settlement id |
No authorization required
- Content-Type: application/javascript
- Accept: application/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]
settlementsList()
List settlements
This endpoint will allow a merchant to view the settlements which have occured. To view detailed transaction information for a specific settlement you can use the Retrieve a settlement endpoint.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new zipMoney\Api\SettlementsApi();
try {
$api_instance->settlementsList();
} catch (Exception $e) {
echo 'Exception when calling SettlementsApi->settlementsList: ', $e->getMessage(), PHP_EOL;
}
?>This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: application/javascript
- Accept: application/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]