Refueling Transactions
Get Refueling Transaction
Changed onEndpoint to get a specific Refueling by ID.
get/business/v2/refueling/{refuelingId}
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopestransaction_read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
refuelingIdstring required
The Refueling ID.
Example:7bf79328-a7ae-4222-aa54-091ff7f429a7
Headers
X-Soldo-Fingerprintstring required
Advanced authentication: SHA512SUM of the fingerprint values listed in the fingerprint order for this endpoint.
Example:{{fingerprint}}
X-Soldo-Fingerprint-Signaturestring required
Advanced authentication: Signature of the X-Soldo-Fingerprint.
Example:{{fingerprint_signature}}
Response
The returned resource is a single Refueling.
Example response
{
"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
}Changes
- info
added the optional property
to the response with the status - info
response property
public_iddeprecated
- info
- warning
added the new
QZZenum value to theresponse property for the response status
- warning