Fetch the authorization amount for a given contract
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Parameters
id
integer
required
The id of the contractapi-version
integer
required
Target API version
Responses
200 Success
object
- amount
float
Authorization amount for contract - currency_code
string
Applicable currency code for the contract - links
object- contract
object
Contract object
- contract
401 Unauthorized
403 Forbidden
404 Not found
406 Not Acceptable
Example Request
curl --request GET \
--url https://api.dealerware.com/admin/contracts/id/authorization \
--header 'accept: application/json'
Example Response
{
"amount": 123.45,
"currency_code": "USD",
"links": {
"contract": {
"id": 2,
"href": "https://api.dw-tst.com/admin/some_resources/2"
}
}
}