Apruve v0.1.0 Apruve.WebhookEndpoint View Source
Module for Apruve webhook endpoints.
More information available at https://docs.apruve.com/v4.0/reference#webhookendpoints
Link to this section Summary
Functions
Get all webhook endpoints belonging to a merchant. By merchant id
Create a new webhook endpoint
Delete a webhook endpoint by merchant id and webhook endpoint id
WebhookEndpoint struct from JSON string
Get a single webhook endpoint by merchant id and webhook endpoint id
JSON string from WebhookEndpoint struct
Link to this section Types
Link to this section Functions
all_by_merchant_id( Apruve.Merchant.merchant_id(), Apruve.ClientConfig.t() | :from_app_config ) :: {:ok, [t()]} | {:error, any()}
Get all webhook endpoints belonging to a merchant. By merchant id.
create(t(), Apruve.ClientConfig.t() | :from_app_config) :: {:ok, t()} | {:error, any()}
Create a new webhook endpoint.
version should be “v4”
delete( Apruve.Merchant.merchant_id(), webhook_endpoint_id(), Apruve.ClientConfig.t() | :from_app_config ) :: :ok | {:error, any()}
Delete a webhook endpoint by merchant id and webhook endpoint id.
WebhookEndpoint struct from JSON string.
get( Apruve.Merchant.merchant_id(), webhook_endpoint_id(), Apruve.ClientConfig.t() | :from_app_config ) :: {:ok, t()} | {:error, any()}
Get a single webhook endpoint by merchant id and webhook endpoint id.
JSON string from WebhookEndpoint struct.