Attach PaymentMethod to Shop
POST/shop/:guid/payment_methods/:payment_method_guid
Attach a PaymentMethod to a Shop.
Request
Path Parameters
guid uuidrequired
The guid of the Shop.
payment_method_guid uuidrequired
The guid of the PaymentMethod.
Responses
- 204
- 403
- 404
- 406
PaymentMethod attached to Shop.
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 already attached to 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"
}
Loading...