Accounts-accountId-paymentInfo-default:DELETE

From Hostway API Documentation
(Difference between revisions)
Jump to: navigation, search
(DELETE /accounts/{accountId}/paymentInfo/default)
 
m (1 revision: Release 92)
 

Latest revision as of 11:20, 8 April 2014

[edit] 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

[edit] Request

DELETE /accounts/{accountId}/paymentInfo/default

[edit] Parameters

accountId - string
The Id of the account.

[edit] URI Parameters

None.

[edit] Request Headers

Authorization - HTTP Authorization header [1]
The Authentication credentials of the client application.

[edit] Request Body

None.

[edit] Response

[edit] 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

[edit] Response Body

None.

[edit] See also


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox