Retrieves a list of configured webhooks for a subscriber.
OAuth Grant type, Private JWT
Identifies the client of the api
Lists all the webhook subscriptions for the current user.
{
"data": [
{
"id": "2507b89c-b680-46df-9505-e0b6f78cf295",
"type": "payment-status",
"callbackUrl": "https://example.com/webhook",
"auth": {
"type": "mtls"
},
"maxSequenceNumber": "5"
},
{
"id": "00fe9330-9bdf-4cd4-ae8c-00cf22f736b2",
"type": "payment-status",
"callbackUrl": "https://example.com/webhook",
"auth": {
"type": "oauth-privatejwt",
"url": "https://onetrade.dev.api.pagonxt.com/oauth/token",
"scopes": "resource.read resource.write",
"subscription": "00fe9330-9bdf-4cd4-ae8c-00cf22f736b2"
},
"maxSequenceNumber": "0"
}
]
}Response to a request to retrieve a list of webhook subscriptions.
The response is an array of webhook subscriptions.
Array of webhook subscriptions
Webhook subscription details.
entityIds represents the entities that this callback applies to, if not specified it applies all entities.
Security information to load before calling the callback. Must set one of the valid types:
- mtls
- oauth-privatejwt
Security type for OAuth PrivateJWT authentication
Generic HTTPS URL with query parameters and fragment
Valid Universally Unique Identifier
Authorization scopes for OAuth PrivateJWT security
Security type for MTLS authentication
Generic HTTPS URL with query parameters and fragment
Valid Universally Unique Identifier
Sequence number of the webhook call. Calls are numbered starting from 1 as they are sent.
Customer ID
Entity IDs.
Entity ID. Varies depending on Webhook type. For payment-status is payment id, for accounts-entries is account id and for collections-status is collection id.
Customer ID
Entity IDs.
Entity ID. Varies depending on Webhook type. For payment-status is payment id, for accounts-entries is account id and for collections-status is collection id.
Customer ID
Entity IDs.
Entity ID. Varies depending on Webhook type. For payment-status is payment id, for accounts-entries is account id and for collections-status is collection id.
No content
Bad request
{
"errors": [
{
"code": "BAD_REQUEST",
"level": "FATAL",
"message": "Bad Request",
"description": "Error validating schema"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue.
The possible values are:
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Unauthorized
{
"errors": [
{
"code": "UNAUTHORIZED",
"message": "Unauthorized",
"level": "ERROR",
"description": "Authorization credentials are missing or invalid"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue.
The possible values are:
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Forbidden
{
"errors": [
{
"code": "FORBIDDEN",
"level": "FATAL",
"message": "Forbidden",
"description": "Logged in user is not authorized to access data"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue.
The possible values are:
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Not found
{
"errors": [
{
"code": "NOT_FOUND",
"level": "FATAL",
"message": "Not Found",
"description": "Requested resource was not found but may be available later"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue.
The possible values are:
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Not acceptable
{
"errors": [
{
"code": "NOT_ACCEPTABLE",
"level": "FATAL",
"message": "Not Acceptable",
"description": "Request content not acceptable"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue.
The possible values are:
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
URI too long
{
"errors": [
{
"code": "URI_TOO_LONG",
"level": "FATAL",
"message": "URI Too Long",
"description": "URI is longer than the maximum size allowed by the server"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue.
The possible values are:
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Unprocessable entity
{
"errors": [
{
"code": "UNPROCESSABLE_ENTITY",
"level": "FATAL",
"message": "Unprocessable Entity",
"description": "Request was well formed but there are semantic errors"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue.
The possible values are:
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Too many requests
{
"errors": [
{
"code": "TOO_MANY_REQUESTS",
"level": "ERROR",
"message": "Too Many Requests",
"description": "User has sent too many requests"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue.
The possible values are:
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Internal server error
{
"errors": [
{
"code": "INTERNAL_SERVER_ERROR",
"level": "FATAL",
"message": "Internal server error",
"description": "Server has encountered an error"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue.
The possible values are:
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Service unavailable
{
"errors": [
{
"code": "SERVICE_UNAVAILABLE",
"level": "ERROR",
"message": "Service unavailable",
"description": "Server is not ready to handle the request"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue.
The possible values are:
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Gateway timeout
{
"errors": [
{
"code": "GATEWAY_TIMEOUT",
"level": "ERROR",
"message": "Gateway timeout",
"description": "Server cannot get a gateway response in time"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue.
The possible values are:
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Default error
{
"errors": [
{
"code": "Error code",
"level": "ERROR",
"message": "Error message",
"description": "Error description"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue.
The possible values are:
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue