Files
medusa-store/docs/api/admin/paths/regions_{id}_payment-providers.yaml
2022-08-05 14:06:12 +02:00

34 lines
785 B
YAML

post:
operationId: PostRegionsRegionPaymentProviders
summary: Add Payment Provider
description: Adds a Payment Provider to a Region
x-authenticated: true
parameters:
- in: path
name: id
required: true
description: The ID of the Region.
schema:
type: string
requestBody:
content:
application/json:
schema:
required:
- provider_id
properties:
provider_id:
description: The ID of the Payment Provider to add.
type: string
tags:
- Region
responses:
'200':
description: OK
content:
application/json:
schema:
properties:
region:
$ref: ../components/schemas/region.yaml