All URIs are relative to https://api.exactpaysandbox.com, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
accountDeleteWebhook() | DELETE /account/{accountId}/webhook/{webhookId} | Delete Webhook |
accountDisableWebhook() | PUT /account/{accountId}/webhook/{webhookId}/disable | Disable Webhook |
accountEnableWebhook() | PUT /account/{accountId}/webhook/{webhookId}/enable | Enable Webhook |
accountGetListWebhooks() | GET /account/{accountId}/webhook | List Webhooks |
accountGetRetrieveWebhook() | GET /account/{accountId}/webhook/{webhookId} | Retrieve Webhook |
accountPostCreateWebhook() | POST /account/{accountId}/webhook | Create Webhook |
accountUpdateWebhook() | PUT /account/{accountId}/webhook/{webhookId} | Update Webhook |
organizationOrganizationIdWebhookGet() | GET /organization/{organizationId}/webhook | List Webhooks |
organizationOrganizationIdWebhookPost() | POST /organization/{organizationId}/webhook | Create Webhook |
organizationOrganizationIdWebhookWebhookIdDelete() | DELETE /organization/{organizationId}/webhook/{webhookId} | Delete Webhook |
organizationOrganizationIdWebhookWebhookIdDisablePut() | PUT /organization/{organizationId}/webhook/{webhookId}/disable | Disable Webhook |
organizationOrganizationIdWebhookWebhookIdEnablePut() | PUT /organization/{organizationId}/webhook/{webhookId}/enable | Enable Webhook |
organizationOrganizationIdWebhookWebhookIdGet() | GET /organization/{organizationId}/webhook/{webhookId} | Retrieve Webhook |
organizationOrganizationIdWebhookWebhookIdPut() | PUT /organization/{organizationId}/webhook/{webhookId} | Update Webhook |
accountDeleteWebhook($account_id, $webhook_id)
Delete Webhook
Delete a webhook and its associated properties.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$account_id = 6151ffdbefd963001c6c9d2d; // string | The Account identifier. Represents the Merchant that this operation is going to be executed for.
$webhook_id = 61e8607bd569a196900527c5; // string | The customers webhook definition Id
try {
$apiInstance->accountDeleteWebhook($account_id, $webhook_id);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->accountDeleteWebhook: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
account_id | string | The Account identifier. Represents the Merchant that this operation is going to be executed for. | |
webhook_id | string | The customers webhook definition Id |
void (empty response body)
- Content-Type: Not defined
- Accept:
text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
accountDisableWebhook($account_id, $webhook_id)
Disable Webhook
Disable a webhook notification.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$account_id = 6151ffdbefd963001c6c9d2d; // string | The Account identifier. Represents the Merchant that this operation is going to be executed for.
$webhook_id = 61e8607bd569a196900527c5; // string | The customers webhook definition Id
try {
$apiInstance->accountDisableWebhook($account_id, $webhook_id);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->accountDisableWebhook: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
account_id | string | The Account identifier. Represents the Merchant that this operation is going to be executed for. | |
webhook_id | string | The customers webhook definition Id |
void (empty response body)
- Content-Type: Not defined
- Accept:
text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
accountEnableWebhook($account_id, $webhook_id)
Enable Webhook
Enable a webhook notification to be sent to requestor
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$account_id = 6151ffdbefd963001c6c9d2d; // string | The Account identifier. Represents the Merchant that this operation is going to be executed for.
$webhook_id = 61e8607bd569a196900527c5; // string | The customers webhook definition Id
try {
$apiInstance->accountEnableWebhook($account_id, $webhook_id);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->accountEnableWebhook: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
account_id | string | The Account identifier. Represents the Merchant that this operation is going to be executed for. | |
webhook_id | string | The customers webhook definition Id |
void (empty response body)
- Content-Type: Not defined
- Accept:
text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
accountGetListWebhooks($account_id, $skip, $limit, $sort): \TheLogicStudio\ExactPay\Model\WebhookResponse[]
List Webhooks
Retrieve a list of webhooks created under an organization.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$account_id = 6151ffdbefd963001c6c9d2d; // string | The Account identifier. Represents the Merchant that this operation is going to be executed for.
$skip = 10; // int | The number of records to be skipped per call. By default, starts with `0` and you should provide the current value plus the `$limit` value in subsequent calls to retrieve following sets of values (pages). So it will skip the number of records on the previous page and bring the next set of records.
$limit = 20; // int | The maximum number of items to retrieve within the current page of results. Defaults to 100 if not set.
$sort = -name; // string | Sets the sort order If an object is passed, values allowed are asc, desc, ascending, descending, 1, and -1. If a string is passed, it must be a space delimited list of path names. The sort order of each path is ascending unless the path name is prefixed with - which will be treated as descending.
try {
$result = $apiInstance->accountGetListWebhooks($account_id, $skip, $limit, $sort);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->accountGetListWebhooks: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
account_id | string | The Account identifier. Represents the Merchant that this operation is going to be executed for. | |
skip | int | The number of records to be skipped per call. By default, starts with `0` and you should provide the current value plus the `$limit` value in subsequent calls to retrieve following sets of values (pages). So it will skip the number of records on the previous page and bring the next set of records. | [optional] [default to 0] |
limit | int | The maximum number of items to retrieve within the current page of results. Defaults to 100 if not set. | [optional] [default to 100] |
sort | string | Sets the sort order If an object is passed, values allowed are asc, desc, ascending, descending, 1, and -1. If a string is passed, it must be a space delimited list of path names. The sort order of each path is ascending unless the path name is prefixed with - which will be treated as descending. | [optional] |
\TheLogicStudio\ExactPay\Model\WebhookResponse[]
- Content-Type: Not defined
- Accept:
application/json
,text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
accountGetRetrieveWebhook($account_id, $webhook_id): \TheLogicStudio\ExactPay\Model\WebhookResponse
Retrieve Webhook
Retrieve the details associated with an existing webhook.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$account_id = 6151ffdbefd963001c6c9d2d; // string | The Account identifier. Represents the Merchant that this operation is going to be executed for.
$webhook_id = 61e8607bd569a196900527c5; // string | The customers webhook definition Id
try {
$result = $apiInstance->accountGetRetrieveWebhook($account_id, $webhook_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->accountGetRetrieveWebhook: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
account_id | string | The Account identifier. Represents the Merchant that this operation is going to be executed for. | |
webhook_id | string | The customers webhook definition Id |
\TheLogicStudio\ExactPay\Model\WebhookResponse
- Content-Type: Not defined
- Accept:
application/json
,text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
accountPostCreateWebhook($account_id, $webhook_request): \TheLogicStudio\ExactPay\Model\WebhookResponse
Create Webhook
Create a new webhook and associate a callback URL.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$account_id = 6151ffdbefd963001c6c9d2d; // string | The Account identifier. Represents the Merchant that this operation is going to be executed for.
$webhook_request = new \TheLogicStudio\ExactPay\Model\WebhookRequest(); // \TheLogicStudio\ExactPay\Model\WebhookRequest | Fields that compose a webhook definition inside Exact Payments ecosystem.
try {
$result = $apiInstance->accountPostCreateWebhook($account_id, $webhook_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->accountPostCreateWebhook: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
account_id | string | The Account identifier. Represents the Merchant that this operation is going to be executed for. | |
webhook_request | \TheLogicStudio\ExactPay\Model\WebhookRequest | Fields that compose a webhook definition inside Exact Payments ecosystem. |
\TheLogicStudio\ExactPay\Model\WebhookResponse
- Content-Type:
application/json
- Accept:
application/json
,text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
accountUpdateWebhook($account_id, $webhook_id, $updatable_webhook_request)
Update Webhook
Update the properties of an existing webhook.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$account_id = 6151ffdbefd963001c6c9d2d; // string | The Account identifier. Represents the Merchant that this operation is going to be executed for.
$webhook_id = 61e8607bd569a196900527c5; // string | The customers webhook definition Id
$updatable_webhook_request = new \TheLogicStudio\ExactPay\Model\UpdatableWebhookRequest(); // \TheLogicStudio\ExactPay\Model\UpdatableWebhookRequest | Fields that are updatable in the webhook definition.
try {
$apiInstance->accountUpdateWebhook($account_id, $webhook_id, $updatable_webhook_request);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->accountUpdateWebhook: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
account_id | string | The Account identifier. Represents the Merchant that this operation is going to be executed for. | |
webhook_id | string | The customers webhook definition Id | |
updatable_webhook_request | \TheLogicStudio\ExactPay\Model\UpdatableWebhookRequest | Fields that are updatable in the webhook definition. |
void (empty response body)
- Content-Type:
application/json
- Accept:
text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
organizationOrganizationIdWebhookGet($organization_id, $skip, $limit, $sort): \TheLogicStudio\ExactPay\Model\WebhookResponse[]
List Webhooks
Retrieve a list of webhooks created under an organization.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$organization_id = 63efb229903e470516491e7c; // string | The Organization identifier.
$skip = 10; // int | The number of records to be skipped per call. By default, starts with `0` and you should provide the current value plus the `$limit` value in subsequent calls to retrieve following sets of values (pages). So it will skip the number of records on the previous page and bring the next set of records.
$limit = 20; // int | The maximum number of items to retrieve within the current page of results. Defaults to 100 if not set.
$sort = -name; // string | Sets the sort order If an object is passed, values allowed are asc, desc, ascending, descending, 1, and -1. If a string is passed, it must be a space delimited list of path names. The sort order of each path is ascending unless the path name is prefixed with - which will be treated as descending.
try {
$result = $apiInstance->organizationOrganizationIdWebhookGet($organization_id, $skip, $limit, $sort);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->organizationOrganizationIdWebhookGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
organization_id | string | The Organization identifier. | |
skip | int | The number of records to be skipped per call. By default, starts with `0` and you should provide the current value plus the `$limit` value in subsequent calls to retrieve following sets of values (pages). So it will skip the number of records on the previous page and bring the next set of records. | [optional] [default to 0] |
limit | int | The maximum number of items to retrieve within the current page of results. Defaults to 100 if not set. | [optional] [default to 100] |
sort | string | Sets the sort order If an object is passed, values allowed are asc, desc, ascending, descending, 1, and -1. If a string is passed, it must be a space delimited list of path names. The sort order of each path is ascending unless the path name is prefixed with - which will be treated as descending. | [optional] |
\TheLogicStudio\ExactPay\Model\WebhookResponse[]
- Content-Type: Not defined
- Accept:
application/json
,text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
organizationOrganizationIdWebhookPost($organization_id, $webhook_request): \TheLogicStudio\ExactPay\Model\WebhookResponse
Create Webhook
Create a new webhook and associate a callback URL.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$organization_id = 63efb229903e470516491e7c; // string | The Organization identifier.
$webhook_request = new \TheLogicStudio\ExactPay\Model\WebhookRequest(); // \TheLogicStudio\ExactPay\Model\WebhookRequest | Fields that compose a webhook definition inside Exact Payments ecosystem.
try {
$result = $apiInstance->organizationOrganizationIdWebhookPost($organization_id, $webhook_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->organizationOrganizationIdWebhookPost: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
organization_id | string | The Organization identifier. | |
webhook_request | \TheLogicStudio\ExactPay\Model\WebhookRequest | Fields that compose a webhook definition inside Exact Payments ecosystem. |
\TheLogicStudio\ExactPay\Model\WebhookResponse
- Content-Type:
application/json
- Accept:
application/json
,text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
organizationOrganizationIdWebhookWebhookIdDelete($organization_id, $webhook_id)
Delete Webhook
Delete a webhook and its associated properties.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$organization_id = 63efb229903e470516491e7c; // string | The Organization identifier.
$webhook_id = 61e8607bd569a196900527c5; // string | The customers webhook definition Id
try {
$apiInstance->organizationOrganizationIdWebhookWebhookIdDelete($organization_id, $webhook_id);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->organizationOrganizationIdWebhookWebhookIdDelete: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
organization_id | string | The Organization identifier. | |
webhook_id | string | The customers webhook definition Id |
void (empty response body)
- Content-Type: Not defined
- Accept:
text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
organizationOrganizationIdWebhookWebhookIdDisablePut($organization_id, $webhook_id)
Disable Webhook
Disable a webhook notification.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$organization_id = 63efb229903e470516491e7c; // string | The Organization identifier.
$webhook_id = 61e8607bd569a196900527c5; // string | The customers webhook definition Id
try {
$apiInstance->organizationOrganizationIdWebhookWebhookIdDisablePut($organization_id, $webhook_id);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->organizationOrganizationIdWebhookWebhookIdDisablePut: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
organization_id | string | The Organization identifier. | |
webhook_id | string | The customers webhook definition Id |
void (empty response body)
- Content-Type: Not defined
- Accept:
text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
organizationOrganizationIdWebhookWebhookIdEnablePut($organization_id, $webhook_id)
Enable Webhook
Enable a webhook notification to be sent to requestor
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$organization_id = 63efb229903e470516491e7c; // string | The Organization identifier.
$webhook_id = 61e8607bd569a196900527c5; // string | The customers webhook definition Id
try {
$apiInstance->organizationOrganizationIdWebhookWebhookIdEnablePut($organization_id, $webhook_id);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->organizationOrganizationIdWebhookWebhookIdEnablePut: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
organization_id | string | The Organization identifier. | |
webhook_id | string | The customers webhook definition Id |
void (empty response body)
- Content-Type: Not defined
- Accept:
text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
organizationOrganizationIdWebhookWebhookIdGet($organization_id, $webhook_id): \TheLogicStudio\ExactPay\Model\WebhookResponse
Retrieve Webhook
Retrieve the details associated with an existing webhook.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$organization_id = 63efb229903e470516491e7c; // string | The Organization identifier.
$webhook_id = 61e8607bd569a196900527c5; // string | The customers webhook definition Id
try {
$result = $apiInstance->organizationOrganizationIdWebhookWebhookIdGet($organization_id, $webhook_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->organizationOrganizationIdWebhookWebhookIdGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
organization_id | string | The Organization identifier. | |
webhook_id | string | The customers webhook definition Id |
\TheLogicStudio\ExactPay\Model\WebhookResponse
- Content-Type: Not defined
- Accept:
application/json
,text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
organizationOrganizationIdWebhookWebhookIdPut($organization_id, $webhook_id, $updatable_webhook_request)
Update Webhook
Update the properties of an existing webhook.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = TheLogicStudio\ExactPay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new TheLogicStudio\ExactPay\Api\WebhooksApi(
// 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
);
$organization_id = 63efb229903e470516491e7c; // string | The Organization identifier.
$webhook_id = 61e8607bd569a196900527c5; // string | The customers webhook definition Id
$updatable_webhook_request = new \TheLogicStudio\ExactPay\Model\UpdatableWebhookRequest(); // \TheLogicStudio\ExactPay\Model\UpdatableWebhookRequest | Fields that are updatable in the webhook definition.
try {
$apiInstance->organizationOrganizationIdWebhookWebhookIdPut($organization_id, $webhook_id, $updatable_webhook_request);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->organizationOrganizationIdWebhookWebhookIdPut: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
organization_id | string | The Organization identifier. | |
webhook_id | string | The customers webhook definition Id | |
updatable_webhook_request | \TheLogicStudio\ExactPay\Model\UpdatableWebhookRequest | Fields that are updatable in the webhook definition. |
void (empty response body)
- Content-Type:
application/json
- Accept:
text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]