All URIs are relative to https://api.zipmoney.com.au/merchant/v1
Method | HTTP request | Description |
---|---|---|
customersGet | GET /customers/{id} | Retrieve customer |
customersList | GET /customers | List customers |
customersGet($id)
Retrieve customer
Retrieves the details of a customer by id. This will only return customer details for customers who have transacted previously via the zip Merchant API.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new zipMoney\Api\CustomersApi();
$id = "id_example"; // string |
try {
$api_instance->customersGet($id);
} catch (Exception $e) {
echo 'Exception when calling CustomersApi->customersGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string |
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]
customersList()
List customers
Returns a list of all customers who have transacted previously with your merchant account.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new zipMoney\Api\CustomersApi();
try {
$api_instance->customersList();
} catch (Exception $e) {
echo 'Exception when calling CustomersApi->customersList: ', $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]