Detach PaymentMethod from Shop
DELETE/shop/:guid/payment_methods/:payment_method_guid
Detach a PaymentMethod from a Shop.
Request
Path Parameters
guid uuidrequired
The guid of the Shop.
payment_method_guid uuidrequired
The guid of the PaymentMethod.
Responses
- 200
- 403
- 404
- 406
- 500
PaymentMethod detached from Shop. This returns an empty response.
Unauthorized. You do not have permission to manage the Shop.
- application/json
- Schema
- Example (from schema)
Schema
error_code string
The general error code.
error_description stringrequired
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Shop or PaymentMethod not found.
- application/json
- Schema
- Example (from schema)
Schema
error_code string
The general error code.
error_description stringrequired
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
The PaymentMethod is not attached to the Shop. Or the PaymentMethod is the last the PaymentMethod of the Shop, there need to be at least 1.
- application/json
- Schema
- Example (from schema)
Schema
error_code string
The general error code.
error_description stringrequired
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Internal server error. Detaching the PaymentMethod from the Shop failed.
- application/json
- Schema
- Example (from schema)
Schema
error_code string
The general error code.
error_description stringrequired
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Loading...