My question relates to the webhook payload.
At https://developers.dwolla.com/concepts/webhook-events#example-webhook-payload, here is the example payload:
{
"_links": {
"account": {
"href": "https://api-sandbox.dwolla.com/accounts/0ee84069-47c5-455c-b425-633523291dc3",
"resource-type": "account",
"type": "application/vnd.dwolla.v1.hal+json"
},
"customer": {
"href": "https://api-sandbox.dwolla.com/customers/a6f09251-c2de-4833-94a8-5c70916cebbc",
"resource-type": "customer",
"type": "application/vnd.dwolla.v1.hal+json"
},
"resource": {
"href": "https://api-sandbox.dwolla.com/customers/a6f09251-c2de-4833-94a8-5c70916cebbc",
"type": "application/vnd.dwolla.v1.hal+json"
},
"self": {
"href": "https://api-sandbox.dwolla.com/events/29a82d20-a703-41cb-9b3c-bd409c499925",
"resource-type": "event",
"type": "application/vnd.dwolla.v1.hal+json"
}
},
"created": "2019-05-30T18:21:11.490Z",
"id": "29a82d20-a703-41cb-9b3c-bd409c499925",
"resourceId": "a6f09251-c2de-4833-94a8-5c70916cebbc",
"topic": "customer_created"
}
On this page: https://developers.dwolla.com/guides/webhooks/process-validate,
the example payload is
{
"id": "cac95329-9fa5-42f1-a4fc-c08af7b868fb",
"resourceId": "cdb5f11f-62df-e611-80ee-0aa34a9b2388",
"topic": "customer_transfer_created",
"timestamp": "2017-01-20T22:45:12.790Z",
"_links": {
"self": {
"href": "https://api-sandbox.dwolla.com/events/cac95329-9fa5-42f1-a4fc-c08af7b868fb"
},
"account": {
"href": "https://api-sandbox.dwolla.com/accounts/ad5f2162-404a-4c4c-994e-6ab6c3a13254"
},
"resource": {
"href": "https://api-sandbox.dwolla.com/transfers/cdb5f11f-62df-e611-80ee-0aa34a9b2388"
},
"customer": {
"href": "https://api-sandbox.dwolla.com/customers/e358a488-6699-4d79-bbfb-c5bf58100ea4"
}
},
"created": "2017-01-20T22:45:12.790Z"
}
Finally, on this page https://developers.dwolla.com/guides/webhooks, the example payload is
{
"id": "80d8ff7d-7e5a-4975-ade8-9e97306d6c15",
"resourceId": "36E9DCB2-889B-4873-8E52-0C9404EA002A",
"topic": "customer_created",
"timestamp": "2015-10-22T14:44:11.407Z",
"_links": {
"self": {
"href": "https://api-sandbox.dwolla.com/events/80d8ff7d-7e5a-4975-ade8-9e97306d6c15"
},
"account": {
"href": "https://api-sandbox.dwolla.com/accounts/b4cdac07-eeca-4059-a29c-48900e453d54"
},
"resource": {
"href": "https://api-sandbox.dwolla.com/customers/36E9DCB2-889B-4873-8E52-0C9404EA002A"
},
"customer": {
"href": "https://api-sandbox.dwolla.com/customers/36E9DCB2-889B-4873-8E52-0C9404EA002A"
}
}
}
My question relates to the created and timestamp properties. One of these examples has created, one has timestamp, and one has both. Which property is used? Does it vary? Or are both always present?