Accounts-accountId-paymentInfo-default:DELETE

From Hostway API Documentation
Jump to: navigation, search

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


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox