public interface WebhookEndpointsApi
| Modifier and Type | Method and Description |
|---|---|
WebhookEndpointResponse |
create(WebhookEndpoint endpoint)
Creates a new webhook endpoint and returns its details.
|
DeletionResult |
delete(java.lang.String endpointToken)
Deletes a webhook endpoint and all of its webhook requests.
|
WebhookEndpointResponse |
fetch(java.lang.String endpointToken)
Returns the details of a webhook endpoint.
|
WebhookEndpointListResponse |
list(int page)
Returns a paginated list of all webhook endpoints.
|
WebhookEndpointResponse create(WebhookEndpoint endpoint) throws java.io.IOException
endpoint - The endpoint specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.WebhookEndpointListResponse list(int page) throws java.io.IOException
page - The page number specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.WebhookEndpointResponse fetch(java.lang.String endpointToken) throws java.io.IOException
endpointToken - The endpoint token specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.DeletionResult delete(java.lang.String endpointToken) throws java.io.IOException
endpointToken - The endpoint token specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.