Webhooks
Refueling Transactions
Refueling - Refueling Deleted
A Refueling has been deleted.
postWebhookrefueling_deleted
Headers
X-Soldo-Fingerprintstring required
Webhook authentication: SHA-512 hash (lowercase hexadecimal) of the values listed in X-Soldo-Fingerprint-Order, concatenated in that order, followed by your fingerprint token.
Example:{{fingerprint}}
X-Soldo-Fingerprint-Orderstring required
Webhook authentication: The comma-separated list of the fields used to calculate the X-Soldo-Fingerprint, in the order they must be concatenated.
Example:id, transactionId, cardId, vehicleId, mileage, quantity, unitPrice, txFuelType
X-Soldo-Fingerprint-Signaturestring required
Webhook authentication: Signature of the X-Soldo-Fingerprint, generated with the SHA512withRSA algorithm and encoded in Base64. It must be verified using the Soldo public key.
Example:{{fingerprint_signature}}
Payload
Example payload
{
"event_uuid": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"company_account_id": "XMPL1234",
"data": {
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"public_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"transaction_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"card_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"tx_amount": 10.25,
"tx_date": "2017-06-01T12:48:40Z",
"tx_settlement_date": "2017-06-01T12:48:40Z",
"update_time": "2017-06-01T12:48:40Z",
"tx_vat_amount": 10.25,
"vehicle_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"plate": "AA000BB",
"vat_deductibility_percentage": "40%",
"mileage": 125000,
"quantity": 80,
"unit_price": 1.41,
"invoice_id": 4421109,
"invoice_number": "NVC112200987",
"invoice_date": "2017-06-01T12:48:40Z",
"invoice_total_amount": 10.25,
"invoice_row": 4,
"invoice_row_amount": 10.25,
"supplier_vat_id": "VT09138461",
"dri": "DRI00099881",
"to_be_ignored": true
},
"subscription_id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
}Response
Success.
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.