Skip to main content

List Webhook

Allows the partner to list registered webhooks addresses.

The call must be made using the GET method.

URL
{BaseUrl}/api/v1/webhooks
HTTP Request Body
{
"url": "https://test2.com",
"authorization": "authorization_value"
}

Description of Attributes

ATTRIBUTEDESCRIPTIONTYPE
url
(Required)
Destination address of the webhook messageSTRING
255 character limit,
starting with https://
authorization
(Optional)
Value that will be sent in the Authorization header to prove that it is Pay2m that is sending the messageSTRING
100 character limit

In case of errors, a json will be returned with the error attribute specifying the reason why the operation was invalidated.

HTTP 404 Response Body - Example
{
"error": "Configuration not found"
}