Crypto Ramp API
Update a webhook
api
patch
/webhooks/{webhook_id}

Update a webhook

Update the details of a specific webhook.

For more information, see the guides: Work with webhooks -> Track order and payment lifecycle.

X-API-KEY

Each Crypto Ramp API request must contain an authorization header in the following format to make a call: X-API-KEY: {your_API_key}.

Before you start, make sure that you have the correct API key. For more information, see the Get started guides: Integrate with Revolut Ramp -> 2. Get Partner keys.

Request

Path Parameters
Path Parameters

The ID of the webhook.

Header Parameters
Header Parameters

Your API key that you received during integration setup. For more information, see the Authorization section above.

Request body
Body object

The webhook's URL to which event notifications will be sent. Must be a valid HTTP or HTTPS URL, capable of receiving POST requests.

Possible values: [ORDER_CREATED, ORDER_PROCESSING, ORDER_COMPLETED, ORDER_FAILED]

List of event types that the webhook is configured to listen to.

Response

The successfully updated webhook

Response body
Body object

The UUID of the webhook.

The webhook's URL to which event notifications will be sent. Must be a valid HTTP or HTTPS URL, capable of receiving POST requests.

Possible values: [ORDER_CREATED, ORDER_PROCESSING, ORDER_COMPLETED, ORDER_FAILED]

The list of event types that the webhook is configured to listen to.

The signing secret for the webhook. Use it to verify the signature for the webhook's request payload.

Was this page helpful?
Loading...