Update bank link webhook
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
bankLinkId
- Type: string
- Required: Yes
- Length: between 1 and 256
- Pattern:
^[a-zA-Z0-9_-]+$
The client-provided identifier of the bank link.
Webhook URL update request
- webhookUrl: uri
- Required: Yes
The HTTPS URL where webhook events will be delivered.
- accept: string
- Enum: Defaults to application/json
Generated from available response content types:
application/jsonapplication/problem+json
Allowed:
application/jsonapplication/problem+json
Responses
200 Webhook URL updated
type: object
- status: string
- Enum: required
- The webhook update status. Always
pendingimmediately after updating.- Example:
pending
- Example:
- status: string
message: string
- Required: Yes
- Human-readable confirmation message.
webhookUrl: string
- Required: Yes
The webhook URL that was requested for update.
Error Responses
400: The server cannot or will not process the request due to something that is perceived to be a client error401: Authentication credentials were either missing or incorrect403: Authentication credentials used do not have permissions to perform the request404: The requested resource was not found on the server409: Request conflict with the current state of the target resource500: The server encountered an unexpected condition that prevented it from fulfilling the request
Example Request
curl --request PATCH \
--url https://api.astrada.co/bank-links/bankLinkId/webhook \
--header 'accept: application/json' \
--header 'content-type: application/json'
Example Response
{
"status": "pending",
"message": "Webhook update requested. The update will be confirmed when a WEBHOOK_UPDATE_ACKNOWLEDGED webhook is received from Plaid.",
"webhookUrl": "https://example.com/webhooks/banking"
}