1 /**
2 * @oas [post] /hooks/payment/{provider}
3 * operationId: PostPaymentProvider
4 * summary: Update a Payment
5 * description: Update a payment's details.
6 * x-authenticated: false
7 * parameters:
8 * - name: provider
9 * in: path
10 * description: The payment's provider.
11 * required: true
12 * schema:
13 * type: string
14 * x-codeSamples:
15 * - lang: Shell
16 * label: cURL
17 * source: curl -X POST '{backend_url}/hooks/payment/{provider}'
18 * tags:
19 * - Payment
20 * responses:
21 * "200":
22 * description: OK
23 * content:
24 * text/plain:
25 * schema:
26 * type: string
27 * title: message
28 * description: The 200 status code's message.
29 * example: OK
30 * "400":
31 * $ref: "#/components/responses/400_error"
32 * "401":
33 * $ref: "#/components/responses/unauthorized"
34 * "404":
35 * $ref: "#/components/responses/not_found_error"
36 * "409":
37 * $ref: "#/components/responses/invalid_state_error"
38 * "422":
39 * $ref: "#/components/responses/invalid_request_error"
40 * "500":
41 * $ref: "#/components/responses/500_error"
42 *
43 */
44