Thanks for the examples, @aakashgameium!
Looking at our webhook logs, Iβm seeing the right resource Id for each webhook. Here are some examples:
CASE 1:
REQUEST
Request Idempotency-Key: 4d16e25b-1e46-48d5-b500-dd6e467fcece
URL in response: https://api-sandbox.dwolla.com/transfers/96bf15a4-fe42-ee11-8154-ee5b5eeb80f1
Path in response: /transfers/96bf15a4-fe42-ee11-8154-ee5b5eeb80f1
Webhook
{
"id": "9f79fd5c-8353-43c6-99c9-b09db21eaf04",
"eventId": "83a3df1e-2e90-41ce-b7d1-7d5b30d0b73f",
"subscriptionId": "03e5021c-5e29-40d9-bf2a-570817b0daf1",
"accountId": "ee587602-8e57-450f-9f2a-199d187c3254",
"url": "https://webhook.site/9c085cd0-a3de-4256-8f26-672cdc4fc3b5",
"topic": "customer_bank_transfer_completed",
"body": "{\"id\":\"83a3df1e-2e90-41ce-b7d1-7d5b30d0b73f\",\"resourceId\":\"95bf15a4-fe42-ee11-8154-ee5b5eeb80f1\",\"topic\":\"customer_bank_transfer_completed\",\"timestamp\":\"2023-08-25T04:28:53.260Z\",\"_links\":{\"self\":{\"href\":\"https://api-sandbox.dwolla.com/events/83a3df1e-2e90-41ce-b7d1-7d5b30d0b73f\"},\"account\":{\"href\":\"https://api-sandbox.dwolla.com/accounts/ee587602-8e57-450f-9f2a-199d187c3254\"},\"resource\":{\"href\":\"https://api-sandbox.dwolla.com/transfers/95bf15a4-fe42-ee11-8154-ee5b5eeb80f1\"},\"customer\":{\"href\":\"https://api-sandbox.dwolla.com/customers/06be5f6a-c66d-4d3d-916c-e60ce8436dff\"}},\"created\":\"2023-08-25T04:28:53.260Z\"}",
"signature": "242945501672212916e809a39032fcf38bf5d2fb",
"signatureSha256": "d8b7a65f62ef274ec10b9b430895ffbc8c87645f911f1e79e019437eb3e319ee",
"timestamp": "2023-08-25T04:28:52.255Z"
}
CASE 2
Request Idempotency-Key: cd1c0e81-a444-4909-84e9-4b4bbd1f5bd5
URL in response: https://api-sandbox.dwolla.com/transfers/d54ca59f-0043-ee11-8154-ee5b5eeb80f1
Path in response: /transfers/d54ca59f-0043-ee11-8154-ee5b5eeb80f1
Webhook
{
"id": "750c014e-a12e-4f39-846d-81c8afdf19ed",
"eventId": "3e173d99-fa21-47c3-a12f-f31efb7c20a5",
"subscriptionId": "03e5021c-5e29-40d9-bf2a-570817b0daf1",
"accountId": "ee587602-8e57-450f-9f2a-199d187c3254",
"url": "https://webhook.site/9c085cd0-a3de-4256-8f26-672cdc4fc3b5",
"topic": "customer_transfer_completed",
"body": "{\"id\":\"3e173d99-fa21-47c3-a12f-f31efb7c20a5\",\"resourceId\":\"d54ca59f-0043-ee11-8154-ee5b5eeb80f1\",\"topic\":\"customer_transfer_completed\",\"timestamp\":\"2023-08-25T04:37:06.608Z\",\"_links\":{\"self\":{\"href\":\"https://api-sandbox.dwolla.com/events/3e173d99-fa21-47c3-a12f-f31efb7c20a5\"},\"account\":{\"href\":\"https://api-sandbox.dwolla.com/accounts/ee587602-8e57-450f-9f2a-199d187c3254\"},\"resource\":{\"href\":\"https://api-sandbox.dwolla.com/transfers/d54ca59f-0043-ee11-8154-ee5b5eeb80f1\"},\"customer\":{\"href\":\"https://api-sandbox.dwolla.com/customers/06be5f6a-c66d-4d3d-916c-e60ce8436dff\"}},\"created\":\"2023-08-25T04:37:06.608Z\",\"correlationId\":\"cd1c0e81-a444-4909-84e9-4b4bbd1f5bd5\"}",
"signature": "115d87031b01a18c75d1e57dfa9da34b40c5f4c6",
"signatureSha256": "8cce53cb8e287c5b42b69fde10c4ac023442f29f2775b0b8a97f1352b553ebc2",
"timestamp": "2023-08-25T04:37:05.591Z"
}
Could it be that the webhook processing logic on your end is retaining the same "Resource: href"
value for all new webhooks?
I can confirm that the webhooks we are sending has the correct Resource link populated in the payload. Let us know if we can help provide any more information!