Update the payment method for the given contract
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
id
integer
required
The id of the contract
id
integer
required
Id of the payment method to update the contract with
api-version
integer
required
Target API version
``204 No Content
``401 Unauthorized
``403 Forbidden
``404 Not found
``415 Unsupported Media Type
``422 Unprocessable Content
Updated3 months ago
ShellNodeRubyPHPPython
Bearer
Base URL
https://api.dealerware.com/admin/contracts/{id}/payment_method
``
xxxxxxxxxx
curl --request PUT \
--url https://api.dealerware.com/admin/contracts/id/payment_method \
--header 'accept: application/json' \
--header 'content-type: application/json' ``
Click Try It! to start a request and see the response here! Or choose an example:
application/json
401403404415``422
Updated3 months ago