Webhooks
Retrieve a webhook endpoint
Changed onThis is used to fetch a webhook by its unique Id
get/webhooks/{webhookId}
Request
- Base URLhttps://sandbox-api.ryftpay.com/v1
- URLhttps://sandbox-api.ryftpay.com/v1/webhooks/{webhookId}
- AuthAPI key in header Authorization
Path parameters
webhookIdstring required
Example:wh_31fba123-0fef-41d6-92ad-fd7089f49f8a
Webhook Id to retrieve
Response
Webhook endpoint successfully retrieved
Example response
{
"id": "wh_31fba123-0fef-41d6-92ad-fd7089f49f8a",
"active": true,
"url": "https://example-endpoint.com/webhook",
"eventTypes": [
"PaymentSession.captured",
"PaymentSession.refunded"
],
"createdTimestamp": 1470989538,
"lastUpdatedTimestamp": 1470989538
}Changes
- warning
added the new
Conversion.createdenum value to the/response property for the response status - warning
added the new
Conversion.updatedenum value to the/response property for the response status
- warning