All URIs are relative to https://api.reepay.com/api.reepay.com
Method | HTTP request | Description |
---|---|---|
getCreditNote | GET /v1/credit_note/{id} | Get credit note |
\Reepay\Model\InvoiceCreditNoteV2 getCreditNote($id)
Get credit note
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = Reepay\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Reepay\Api\CreditNoteApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$id = "id_example"; // string | Credit note id
try {
$result = $apiInstance->getCreditNote($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CreditNoteApi->getCreditNote: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
id | string | Credit note id |
\Reepay\Model\InvoiceCreditNoteV2
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]