Accounts-accountId-paymentInfo-default:DELETE
From Hostway API Documentation
(Difference between revisions)
(→DELETE /accounts/{accountId}/paymentInfo/default) |
Mike.robski (Talk | contribs) m (1 revision: Release 92) |
Latest revision as of 11:20, 8 April 2014
DELETE /accounts/{accountId}/paymentInfo/default
Unsets the default payment method. The default payment method is automatically set to "offline" payment. This method is applicable for those franchises where the "offline" payment is allowed.
Contents |
Request
DELETE /accounts/{accountId}/paymentInfo/default
Parameters
- accountId - string
- The Id of the account.
URI Parameters
None.
Request Headers
- Authorization - HTTP Authorization header [1]
- The Authentication credentials of the client application.
Request Body
None.
Response
Status Code
- 204 No Content
- Successful default payment change
- 404 Not Found
- The account Id was not found.
- 409 Conflict
- The "offline" payment method is not allowed
Response Body
None.
See also