Skip to main content
POST
/
v2
/
webhooks
Completed
curl --request POST \
  --url https://api-sandbox.argyle.com/v2/webhooks \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "events": [
    "<string>"
  ],
  "name": "<string>",
  "url": "<string>",
  "secret": "<string>"
}
'
{
  "event": "direct_deposit_switches.completed",
  "name": "name-for-the-webhook-subscription",
  "data": {
    "account": "0187c66e-e7e5-811c-b006-2232f00f426a",
    "user": "018051aa-f7a9-a0db-2f38-6cfa325e9d69",
    "deposit_destination": "0176e1ea-60ca-c561-eb8e-6dcdb33b1b55",
    "direct_deposit_changed": true,
    "type": "ach_deposit_account",
    "flow": "update",
    "details": null,
    "resource": {}
  }
}
Sent when a deposit switch flow in Link has completed.

Authorizations

Authorization
string
header
required

Username = api_key_id, Password = api_key_secret

Body

application/json
events
string[]

direct_deposit_switches.completed

name
string

Your name for the webhook subscription.

url
string

Where you want to receive webhook delivery. This can be either a backend URL that you manage, or a URL provided by a webhook management service.

secret
string

Optional secret used to verify webhooks.

Response

Success

event
string

The event type. Value: direct_deposit_switches.completed

Example:

"direct_deposit_switches.completed"

name
string

Name used for the webhook subscription.

Example:

"name-for-the-webhook-subscription"

data
object